diff --git a/docs/dyn/admin_reports_v1.activities.html b/docs/dyn/admin_reports_v1.activities.html index 98fa9f3374..5936a6d09a 100644 --- a/docs/dyn/admin_reports_v1.activities.html +++ b/docs/dyn/admin_reports_v1.activities.html @@ -78,7 +78,7 @@

Instance Methods

close()

Close httplib2 connections.

- list(userKey, applicationName, actorIpAddress=None, applicationInfoFilter=None, customerId=None, endTime=None, eventName=None, filters=None, groupIdFilter=None, maxResults=None, networkInfoFilter=None, orgUnitID=None, pageToken=None, resourceDetailsFilter=None, startTime=None, statusFilter=None, x__xgafv=None)

+ list(userKey, applicationName, actorIpAddress=None, applicationInfoFilter=None, customerId=None, endTime=None, eventName=None, filters=None, groupIdFilter=None, includeSensitiveData=None, maxResults=None, networkInfoFilter=None, orgUnitID=None, pageToken=None, resourceDetailsFilter=None, startTime=None, statusFilter=None, x__xgafv=None)

Retrieves a list of activities for a specific customer's account and application such as the Admin console application or the Google Drive application. For more information, see the guides for administrator and Google Drive activity reports. For more information about the activity report's parameters, see the activity parameters reference guides.

list_next()

@@ -93,7 +93,7 @@

Method Details

- list(userKey, applicationName, actorIpAddress=None, applicationInfoFilter=None, customerId=None, endTime=None, eventName=None, filters=None, groupIdFilter=None, maxResults=None, networkInfoFilter=None, orgUnitID=None, pageToken=None, resourceDetailsFilter=None, startTime=None, statusFilter=None, x__xgafv=None) + list(userKey, applicationName, actorIpAddress=None, applicationInfoFilter=None, customerId=None, endTime=None, eventName=None, filters=None, groupIdFilter=None, includeSensitiveData=None, maxResults=None, networkInfoFilter=None, orgUnitID=None, pageToken=None, resourceDetailsFilter=None, startTime=None, statusFilter=None, x__xgafv=None)
Retrieves a list of activities for a specific customer's account and application such as the Admin console application or the Google Drive application. For more information, see the guides for administrator and Google Drive activity reports. For more information about the activity report's parameters, see the activity parameters reference guides. 
 
 Args:
@@ -145,6 +145,7 @@ 

Method Details

eventName: string, The name of the event being queried by the API. Each `eventName` is related to a specific Google Workspace service or feature which the API organizes into types of events. An example is the Google Calendar events in the Admin console application's reports. The Calendar Settings `type` structure has all of the Calendar `eventName` activities reported by the API. When an administrator changes a Calendar setting, the API reports this activity in the Calendar Settings `type` and `eventName` parameters. For more information about `eventName` query strings and parameters, see the list of event names for various applications above in `applicationName`. filters: string, The `filters` query string is a comma-separated list composed of event parameters manipulated by relational operators. Event parameters are in the form `{parameter1 name}{relational operator}{parameter1 value},{parameter2 name}{relational operator}{parameter2 value},...` These event parameters are associated with a specific `eventName`. An empty report is returned if the request's parameter doesn't belong to the `eventName`. For more information about the available `eventName` fields for each application and their associated parameters, go to the [ApplicationName](#applicationname) table, then click through to the Activity Events page in the Appendix for the application you want. In the following Drive activity examples, the returned list consists of all `edit` events where the `doc_id` parameter value matches the conditions defined by the relational operator. In the first example, the request returns all edited documents with a `doc_id` value equal to `12345`. In the second example, the report returns any edited documents where the `doc_id` value is not equal to `98765`. The `<>` operator is URL-encoded in the request's query string (`%3C%3E`): ``` GET...&eventName=edit&filters=doc_id==12345 GET...&eventName=edit&filters=doc_id%3C%3E98765 ``` A `filters` query supports these relational operators: * `==`—'equal to'. * `<>`—'not equal to'. Must be URL-encoded (%3C%3E). * `<`—'less than'. Must be URL-encoded (%3C). * `<=`—'less than or equal to'. Must be URL-encoded (%3C=). * `>`—'greater than'. Must be URL-encoded (%3E). * `>=`—'greater than or equal to'. Must be URL-encoded (%3E=). **Note:** The API doesn't accept multiple values of the same parameter. If a parameter is supplied more than once in the API request, the API only accepts the last value of that parameter. In addition, if an invalid parameter is supplied in the API request, the API ignores that parameter and returns the response corresponding to the remaining valid parameters. If no parameters are requested, all parameters are returned. groupIdFilter: string, Comma separated group ids (obfuscated) on which user activities are filtered, i.e. the response will contain activities for only those users that are a part of at least one of the group ids mentioned here. Format: "id:abc123,id:xyz456" *Important:* To filter by groups, you must explicitly add the groups to your filtering groups allowlist. For more information about adding groups to filtering groups allowlist, see [Filter results by Google Group](https://support.google.com/a/answer/11482175) + includeSensitiveData: boolean, Optional. When set to `true`, this field allows sensitive user-generated content to be included in the returned audit logs. This parameter is supported only for Rules (DLP) and Chat applications; using it with any other application will result in a permission error. maxResults: integer, Determines how many activity records are shown on each response page. For example, if the request sets `maxResults=1` and the report has two activities, the report has two pages. The response's `nextPageToken` property has the token to the second page. The `maxResults` query string is optional in the request. The default value is 1000. networkInfoFilter: string, Optional. Used to filter on the `regionCode` field present in [`NetworkInfo`](#networkinfo) message. **Usage** ``` GET...&networkInfoFilter=regionCode="IN" GET...&networkInfoFilter=regionCode=%22IN%22 ``` orgUnitID: string, ID of the organizational unit to report on. Activity records will be shown only for users who belong to the specified organizational unit. Data before Dec 17, 2018 doesn't appear in the filtered results. @@ -236,6 +237,60 @@

Method Details

"resourceIds": [ # Resource ids associated with the event. "A String", ], + "sensitiveParameters": [ # Includes sensitive parameter value pairs for various applications. + { + "boolValue": True or False, # Boolean value of the parameter. + "intValue": "A String", # Integer value of the parameter. + "messageValue": { # Nested parameter value pairs associated with this parameter. Complex value type for a parameter are returned as a list of parameter values. For example, the address parameter may have a value as `[{parameter: [{name: city, value: abc}]}]` + "parameter": [ # Parameter values + { # JSON template for a parameter used in various reports. + "boolValue": True or False, # Boolean value of the parameter. + "intValue": "A String", # Integer value of the parameter. + "multiBoolValue": [ # Multiple boolean values of the parameter. + True or False, + ], + "multiIntValue": [ # Multiple integer values of the parameter. + "A String", + ], + "multiValue": [ # Multiple string values of the parameter. + "A String", + ], + "name": "A String", # The name of the parameter. + "value": "A String", # String value of the parameter. + }, + ], + }, + "multiIntValue": [ # Integer values of the parameter. + "A String", + ], + "multiMessageValue": [ # List of `messageValue` objects. + { + "parameter": [ # Parameter values + { # JSON template for a parameter used in various reports. + "boolValue": True or False, # Boolean value of the parameter. + "intValue": "A String", # Integer value of the parameter. + "multiBoolValue": [ # Multiple boolean values of the parameter. + True or False, + ], + "multiIntValue": [ # Multiple integer values of the parameter. + "A String", + ], + "multiValue": [ # Multiple string values of the parameter. + "A String", + ], + "name": "A String", # The name of the parameter. + "value": "A String", # String value of the parameter. + }, + ], + }, + ], + "multiValue": [ # String values of the parameter. + "A String", + ], + "name": "A String", # The name of the parameter. + "value": "A String", # String value of the parameter. + }, + ], "status": { # Status of the event. Note: Not all events have status. # Status of the event. Note: Not all events have status. "errorCode": "A String", # Error code of the event. Note: Field can be empty. "errorMessage": "A String", # Error message of the event. Note: Field can be empty. diff --git a/docs/dyn/agentregistry_v1alpha.html b/docs/dyn/agentregistry_v1alpha.html new file mode 100644 index 0000000000..c0fc2128cc --- /dev/null +++ b/docs/dyn/agentregistry_v1alpha.html @@ -0,0 +1,111 @@ + + + +

Agent Registry API

+

Instance Methods

+

+ projects() +

+

Returns the projects Resource.

+ +

+ close()

+

Close httplib2 connections.

+

+ new_batch_http_request()

+

Create a BatchHttpRequest object based on the discovery document.

+

Method Details

+
+ close() +
Close httplib2 connections.
+
+ +
+ new_batch_http_request() +
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/agentregistry_v1alpha.projects.html b/docs/dyn/agentregistry_v1alpha.projects.html new file mode 100644 index 0000000000..044bd27b83 --- /dev/null +++ b/docs/dyn/agentregistry_v1alpha.projects.html @@ -0,0 +1,91 @@ + + + +

Agent Registry 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/agentregistry_v1alpha.projects.locations.agents.html b/docs/dyn/agentregistry_v1alpha.projects.locations.agents.html new file mode 100644 index 0000000000..4687e4f496 --- /dev/null +++ b/docs/dyn/agentregistry_v1alpha.projects.locations.agents.html @@ -0,0 +1,244 @@ + + + +

Agent Registry API . projects . locations . agents

+

Instance Methods

+

+ close()

+

Close httplib2 connections.

+

+ get(name, x__xgafv=None)

+

Gets details of a single Agent.

+

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

+

Lists Agents in a given project and location.

+

+ list_next()

+

Retrieves the next page of results.

+

Method Details

+
+ close() +
Close httplib2 connections.
+
+ +
+ get(name, x__xgafv=None) +
Gets details of a single Agent.
+
+Args:
+  name: string, Required. Name of the resource (required)
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Represents an Agent. "A2A" below refers to the Agent-to-Agent protocol.
+  "agentId": "A String", # Output only. A stable, globally unique identifier for agents.
+  "attributes": { # Output only. Attributes of the Agent. Valid values: * `agentregistry.googleapis.com/system/Framework`: {"framework": "google-adk"} - the agent framework used to develop the Agent. Example values: "google-adk", "langchain", "custom". * `agentregistry.googleapis.com/system/RuntimeIdentity`: {"principal": "principal://..."} - the runtime identity associated with the Agent. * `agentregistry.googleapis.com/system/RuntimeReference`: {"uri": "//..."} - the URI of the underlying resource hosting the Agent, for example, the Reasoning Engine URI.
+    "a_key": {
+      "a_key": "", # Properties of the object.
+    },
+  },
+  "card": { # Full Agent Card payload, often obtained from the A2A Agent Card. # Output only. Full Agent Card payload, when available.
+    "content": { # Output only. The content of the agent card.
+      "a_key": "", # Properties of the object.
+    },
+    "type": "A String", # Output only. The type of agent card.
+  },
+  "createTime": "A String", # Output only. Create time.
+  "description": "A String", # Output only. The description of the Agent, often obtained from the A2A Agent Card. Empty if Agent Card has no description.
+  "displayName": "A String", # Output only. The display name of the agent, often obtained from the A2A Agent Card.
+  "location": "A String", # Output only. The location where agent is hosted. The value is defined by the hosting environment (i.e. cloud provider).
+  "name": "A String", # Identifier. The resource name of an Agent. Format: `projects/{project}/locations/{location}/agents/{agent}`.
+  "protocols": [ # Output only. The connection details for the Agent.
+    { # Represents the protocol of an Agent.
+      "interfaces": [ # Output only. The connection details for the Agent.
+        { # Represents the connection details for an Agent or MCP Server.
+          "protocolBinding": "A String", # Required. The protocol binding of the interface.
+          "url": "A String", # Required. The destination URL.
+        },
+      ],
+      "protocolVersion": "A String", # Output only. The version of the protocol, for example, the A2A Agent Card version.
+      "type": "A String", # Output only. The type of the protocol.
+    },
+  ],
+  "skills": [ # Output only. Skills the agent possesses, often obtained from the A2A Agent Card.
+    { # Represents the skills of an Agent.
+      "description": "A String", # Output only. A more detailed description of the skill.
+      "examples": [ # Output only. Example prompts or scenarios this skill can handle.
+        "A String",
+      ],
+      "id": "A String", # Output only. A unique identifier for the agent's skill.
+      "name": "A String", # Output only. A human-readable name for the agent's skill.
+      "tags": [ # Output only. Keywords describing the skill.
+        "A String",
+      ],
+    },
+  ],
+  "uid": "A String", # Output only. A universally unique identifier for the Agent.
+  "updateTime": "A String", # Output only. Update time.
+  "version": "A String", # Output only. The version of the Agent, often obtained from the A2A Agent Card. Empty if Agent Card has no version or agent is not an A2A Agent.
+}
+
+ +
+ list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None) +
Lists Agents in a given project and location.
+
+Args:
+  parent: string, Required. Parent value for ListAgentsRequest (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.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Message for response to listing Agents
+  "agents": [ # The list of Agents.
+    { # Represents an Agent. "A2A" below refers to the Agent-to-Agent protocol.
+      "agentId": "A String", # Output only. A stable, globally unique identifier for agents.
+      "attributes": { # Output only. Attributes of the Agent. Valid values: * `agentregistry.googleapis.com/system/Framework`: {"framework": "google-adk"} - the agent framework used to develop the Agent. Example values: "google-adk", "langchain", "custom". * `agentregistry.googleapis.com/system/RuntimeIdentity`: {"principal": "principal://..."} - the runtime identity associated with the Agent. * `agentregistry.googleapis.com/system/RuntimeReference`: {"uri": "//..."} - the URI of the underlying resource hosting the Agent, for example, the Reasoning Engine URI.
+        "a_key": {
+          "a_key": "", # Properties of the object.
+        },
+      },
+      "card": { # Full Agent Card payload, often obtained from the A2A Agent Card. # Output only. Full Agent Card payload, when available.
+        "content": { # Output only. The content of the agent card.
+          "a_key": "", # Properties of the object.
+        },
+        "type": "A String", # Output only. The type of agent card.
+      },
+      "createTime": "A String", # Output only. Create time.
+      "description": "A String", # Output only. The description of the Agent, often obtained from the A2A Agent Card. Empty if Agent Card has no description.
+      "displayName": "A String", # Output only. The display name of the agent, often obtained from the A2A Agent Card.
+      "location": "A String", # Output only. The location where agent is hosted. The value is defined by the hosting environment (i.e. cloud provider).
+      "name": "A String", # Identifier. The resource name of an Agent. Format: `projects/{project}/locations/{location}/agents/{agent}`.
+      "protocols": [ # Output only. The connection details for the Agent.
+        { # Represents the protocol of an Agent.
+          "interfaces": [ # Output only. The connection details for the Agent.
+            { # Represents the connection details for an Agent or MCP Server.
+              "protocolBinding": "A String", # Required. The protocol binding of the interface.
+              "url": "A String", # Required. The destination URL.
+            },
+          ],
+          "protocolVersion": "A String", # Output only. The version of the protocol, for example, the A2A Agent Card version.
+          "type": "A String", # Output only. The type of the protocol.
+        },
+      ],
+      "skills": [ # Output only. Skills the agent possesses, often obtained from the A2A Agent Card.
+        { # Represents the skills of an Agent.
+          "description": "A String", # Output only. A more detailed description of the skill.
+          "examples": [ # Output only. Example prompts or scenarios this skill can handle.
+            "A String",
+          ],
+          "id": "A String", # Output only. A unique identifier for the agent's skill.
+          "name": "A String", # Output only. A human-readable name for the agent's skill.
+          "tags": [ # Output only. Keywords describing the skill.
+            "A String",
+          ],
+        },
+      ],
+      "uid": "A String", # Output only. A universally unique identifier for the Agent.
+      "updateTime": "A String", # Output only. Update time.
+      "version": "A String", # Output only. The version of the Agent, often obtained from the A2A Agent Card. Empty if Agent Card has no version or agent is not an A2A Agent.
+    },
+  ],
+  "nextPageToken": "A String", # A token identifying a page of results the server should return.
+}
+
+ +
+ list_next() +
Retrieves the next page of results.
+
+        Args:
+          previous_request: The request for the previous page. (required)
+          previous_response: The response from the request for the previous page. (required)
+
+        Returns:
+          A request object that you can call 'execute()' on to request the next
+          page. Returns None if there are no more items in the collection.
+        
+
+ + \ No newline at end of file diff --git a/docs/dyn/agentregistry_v1alpha.projects.locations.endpoints.html b/docs/dyn/agentregistry_v1alpha.projects.locations.endpoints.html new file mode 100644 index 0000000000..37c968664b --- /dev/null +++ b/docs/dyn/agentregistry_v1alpha.projects.locations.endpoints.html @@ -0,0 +1,187 @@ + + + +

Agent Registry API . projects . locations . endpoints

+

Instance Methods

+

+ close()

+

Close httplib2 connections.

+

+ get(name, x__xgafv=None)

+

Gets details of a single Endpoint.

+

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

+

Lists Endpoints in a given project and location.

+

+ list_next()

+

Retrieves the next page of results.

+

Method Details

+
+ close() +
Close httplib2 connections.
+
+ +
+ get(name, x__xgafv=None) +
Gets details of a single Endpoint.
+
+Args:
+  name: string, Required. The name of the endpoint to retrieve. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` (required)
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Represents an Endpoint.
+  "attributes": { # Output only. Attributes of the Endpoint. Valid values: * `agentregistry.googleapis.com/system/RuntimeReference`: {"uri": "//..."} - the URI of the underlying resource hosting the Endpoint, for example, the GKE Deployment.
+    "a_key": {
+      "a_key": "", # Properties of the object.
+    },
+  },
+  "createTime": "A String", # Output only. Create time.
+  "description": "A String", # Output only. Description of an Endpoint.
+  "displayName": "A String", # Output only. Display name for the Endpoint.
+  "endpointId": "A String", # Output only. A stable, globally unique identifier for Endpoint.
+  "interfaces": [ # Required. The connection details for the Endpoint.
+    { # Represents the connection details for an Agent or MCP Server.
+      "protocolBinding": "A String", # Required. The protocol binding of the interface.
+      "url": "A String", # Required. The destination URL.
+    },
+  ],
+  "name": "A String", # Identifier. The resource name of the Endpoint. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`.
+  "updateTime": "A String", # Output only. Update time.
+}
+
+ +
+ list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None) +
Lists Endpoints in a given project and location.
+
+Args:
+  parent: string, Required. The project and location to list endpoints in. Expected format: `projects/{project}/locations/{location}`. (required)
+  filter: string, Optional. A query string used to filter the list of endpoints returned. The filter expression must follow AIP-160 syntax. Filtering is supported on the `name`, `display_name`, `description`, `version`, and `interfaces` fields. Some examples: * `name = "projects/p1/locations/l1/endpoints/e1"` * `display_name = "my-endpoint"` * `description = "my-endpoint-description"` * `version = "v1"` * `interfaces.transport = "HTTP_JSON"`
+  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.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Message for response to listing Endpoints
+  "endpoints": [ # The list of Endpoint resources matching the parent and filter criteria in the request. Each Endpoint resource follows the format: `projects/{project}/locations/{location}/endpoints/{endpoint}`.
+    { # Represents an Endpoint.
+      "attributes": { # Output only. Attributes of the Endpoint. Valid values: * `agentregistry.googleapis.com/system/RuntimeReference`: {"uri": "//..."} - the URI of the underlying resource hosting the Endpoint, for example, the GKE Deployment.
+        "a_key": {
+          "a_key": "", # Properties of the object.
+        },
+      },
+      "createTime": "A String", # Output only. Create time.
+      "description": "A String", # Output only. Description of an Endpoint.
+      "displayName": "A String", # Output only. Display name for the Endpoint.
+      "endpointId": "A String", # Output only. A stable, globally unique identifier for Endpoint.
+      "interfaces": [ # Required. The connection details for the Endpoint.
+        { # Represents the connection details for an Agent or MCP Server.
+          "protocolBinding": "A String", # Required. The protocol binding of the interface.
+          "url": "A String", # Required. The destination URL.
+        },
+      ],
+      "name": "A String", # Identifier. The resource name of the Endpoint. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`.
+      "updateTime": "A String", # Output only. Update time.
+    },
+  ],
+  "nextPageToken": "A String", # A token identifying a page of results the server should return. Used in page_token.
+}
+
+ +
+ list_next() +
Retrieves the next page of results.
+
+        Args:
+          previous_request: The request for the previous page. (required)
+          previous_response: The response from the request for the previous page. (required)
+
+        Returns:
+          A request object that you can call 'execute()' on to request the next
+          page. Returns None if there are no more items in the collection.
+        
+
+ + \ No newline at end of file diff --git a/docs/dyn/agentregistry_v1alpha.projects.locations.html b/docs/dyn/agentregistry_v1alpha.projects.locations.html new file mode 100644 index 0000000000..d946577bc8 --- /dev/null +++ b/docs/dyn/agentregistry_v1alpha.projects.locations.html @@ -0,0 +1,197 @@ + + + +

Agent Registry API . projects . locations

+

Instance Methods

+

+ agents() +

+

Returns the agents Resource.

+ +

+ endpoints() +

+

Returns the endpoints Resource.

+ +

+ mcpServers() +

+

Returns the mcpServers Resource.

+ +

+ operations() +

+

Returns the operations Resource.

+ +

+ services() +

+

Returns the services 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()

+

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. It is unsupported and is ignored 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() +
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/agentregistry_v1alpha.projects.locations.mcpServers.html b/docs/dyn/agentregistry_v1alpha.projects.locations.mcpServers.html new file mode 100644 index 0000000000..1983a1cb88 --- /dev/null +++ b/docs/dyn/agentregistry_v1alpha.projects.locations.mcpServers.html @@ -0,0 +1,214 @@ + + + +

Agent Registry API . projects . locations . mcpServers

+

Instance Methods

+

+ close()

+

Close httplib2 connections.

+

+ get(name, x__xgafv=None)

+

Gets details of a single McpServer.

+

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

+

Lists McpServers in a given project and location.

+

+ list_next()

+

Retrieves the next page of results.

+

Method Details

+
+ close() +
Close httplib2 connections.
+
+ +
+ get(name, x__xgafv=None) +
Gets details of a single McpServer.
+
+Args:
+  name: string, Required. Name of the resource (required)
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Represents an MCP (Model Context Protocol) Server.
+  "attributes": { # Output only. Attributes of the MCP Server. Valid values: * `agentregistry.googleapis.com/system/RuntimeIdentity`: {"principal": "principal://..."} - the runtime identity associated with the MCP Server. * `agentregistry.googleapis.com/system/RuntimeReference`: {"uri": "//..."} - the URI of the underlying resource hosting the MCP Server, for example, the GKE Deployment.
+    "a_key": {
+      "a_key": "", # Properties of the object.
+    },
+  },
+  "createTime": "A String", # Output only. Create time.
+  "description": "A String", # Output only. The description of the MCP Server.
+  "displayName": "A String", # Output only. The display name of the MCP Server.
+  "interfaces": [ # Output only. The connection details for the MCP Server.
+    { # Represents the connection details for an Agent or MCP Server.
+      "protocolBinding": "A String", # Required. The protocol binding of the interface.
+      "url": "A String", # Required. The destination URL.
+    },
+  ],
+  "mcpServerId": "A String", # Output only. A stable, globally unique identifier for MCP Servers.
+  "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.
+      "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
+        "openWorldHint": True or False, # Output only. If true, this tool may interact with an "open world" of external entities. If false, the tool's domain of interaction is closed. For example, the world of a web search tool is open, whereas that of a memory tool is not. Default: true
+        "readOnlyHint": True or False, # Output only. If true, the tool does not modify its environment. Default: false
+        "title": "A String", # Output only. A human-readable title for the tool.
+      },
+      "description": "A String", # Output only. Description of what the tool does.
+      "name": "A String", # Output only. Human-readable name of the tool.
+    },
+  ],
+  "updateTime": "A String", # Output only. Update time.
+}
+
+ +
+ list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None) +
Lists McpServers in a given project and location.
+
+Args:
+  parent: string, Required. Parent value for ListMcpServersRequest. Format: `projects/{project}/locations/{location}`. (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.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Message for response to listing McpServers
+  "mcpServers": [ # The list of McpServers.
+    { # Represents an MCP (Model Context Protocol) Server.
+      "attributes": { # Output only. Attributes of the MCP Server. Valid values: * `agentregistry.googleapis.com/system/RuntimeIdentity`: {"principal": "principal://..."} - the runtime identity associated with the MCP Server. * `agentregistry.googleapis.com/system/RuntimeReference`: {"uri": "//..."} - the URI of the underlying resource hosting the MCP Server, for example, the GKE Deployment.
+        "a_key": {
+          "a_key": "", # Properties of the object.
+        },
+      },
+      "createTime": "A String", # Output only. Create time.
+      "description": "A String", # Output only. The description of the MCP Server.
+      "displayName": "A String", # Output only. The display name of the MCP Server.
+      "interfaces": [ # Output only. The connection details for the MCP Server.
+        { # Represents the connection details for an Agent or MCP Server.
+          "protocolBinding": "A String", # Required. The protocol binding of the interface.
+          "url": "A String", # Required. The destination URL.
+        },
+      ],
+      "mcpServerId": "A String", # Output only. A stable, globally unique identifier for MCP Servers.
+      "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.
+          "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
+            "openWorldHint": True or False, # Output only. If true, this tool may interact with an "open world" of external entities. If false, the tool's domain of interaction is closed. For example, the world of a web search tool is open, whereas that of a memory tool is not. Default: true
+            "readOnlyHint": True or False, # Output only. If true, the tool does not modify its environment. Default: false
+            "title": "A String", # Output only. A human-readable title for the tool.
+          },
+          "description": "A String", # Output only. Description of what the tool does.
+          "name": "A String", # Output only. Human-readable name of the tool.
+        },
+      ],
+      "updateTime": "A String", # Output only. Update time.
+    },
+  ],
+  "nextPageToken": "A String", # A token identifying a page of results the server should return.
+}
+
+ +
+ list_next() +
Retrieves the next page of results.
+
+        Args:
+          previous_request: The request for the previous page. (required)
+          previous_response: The response from the request for the previous page. (required)
+
+        Returns:
+          A request object that you can call 'execute()' on to request the next
+          page. Returns None if there are no more items in the collection.
+        
+
+ + \ No newline at end of file diff --git a/docs/dyn/agentregistry_v1alpha.projects.locations.operations.html b/docs/dyn/agentregistry_v1alpha.projects.locations.operations.html new file mode 100644 index 0000000000..6697727e9b --- /dev/null +++ b/docs/dyn/agentregistry_v1alpha.projects.locations.operations.html @@ -0,0 +1,239 @@ + + + +

Agent Registry 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()

+

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() +
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/agentregistry_v1alpha.projects.locations.services.html b/docs/dyn/agentregistry_v1alpha.projects.locations.services.html new file mode 100644 index 0000000000..353150de18 --- /dev/null +++ b/docs/dyn/agentregistry_v1alpha.projects.locations.services.html @@ -0,0 +1,400 @@ + + + +

Agent Registry API . projects . locations . services

+

Instance Methods

+

+ close()

+

Close httplib2 connections.

+

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

+

Creates a new Service in a given project and location.

+

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

+

Deletes a single Service.

+

+ get(name, x__xgafv=None)

+

Gets details of a single Service.

+

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

+

Lists Services in a given project and location.

+

+ list_next()

+

Retrieves the next page of results.

+

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

+

Updates the parameters of a single Service.

+

Method Details

+
+ close() +
Close httplib2 connections.
+
+ +
+ create(parent, body=None, requestId=None, serviceId=None, x__xgafv=None) +
Creates a new Service in a given project and location.
+
+Args:
+  parent: string, Required. The project and location to create the Service in. Expected format: `projects/{project}/locations/{location}`. (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # Represents a user-defined Service.
+  "agentSpec": { # The spec of the agent. # Optional. The spec of the Agent. When `agent_spec` is set, the type of the service is Agent.
+    "content": { # Optional. The content of the Agent spec in the JSON format. This payload is validated against the schema for the specified type. The content size is limited to `10KB`.
+      "a_key": "", # Properties of the object.
+    },
+    "type": "A String", # Required. The type of the agent spec content.
+  },
+  "createTime": "A String", # Output only. Create time.
+  "description": "A String", # Optional. User-defined description of an Service. Can have a maximum length of `2048` characters.
+  "displayName": "A String", # Optional. User-defined display name for the Service. Can have a maximum length of `63` characters.
+  "endpointSpec": { # The spec of the endpoint. # Optional. The spec of the Endpoint. When `endpoint_spec` is set, the type of the service is Endpoint.
+    "content": { # Optional. The content of the endpoint spec. Reserved for future use.
+      "a_key": "", # Properties of the object.
+    },
+    "type": "A String", # Required. The type of the endpoint spec content.
+  },
+  "interfaces": [ # Optional. The connection details for the Service.
+    { # Represents the connection details for an Agent or MCP Server.
+      "protocolBinding": "A String", # Required. The protocol binding of the interface.
+      "url": "A String", # Required. The destination URL.
+    },
+  ],
+  "mcpServerSpec": { # The spec of the MCP Server. # Optional. The spec of the MCP Server. When `mcp_server_spec` is set, the type of the service is MCP Server.
+    "content": { # Optional. The content of the MCP Server spec. This payload is validated against the schema for the specified type. The content size is limited to `10KB`.
+      "a_key": "", # Properties of the object.
+    },
+    "type": "A String", # Required. The type of the MCP Server spec content.
+  },
+  "name": "A String", # Identifier. The resource name of the Service. Format: `projects/{project}/locations/{location}/services/{service}`.
+  "updateTime": "A String", # Output only. Update time.
+}
+
+  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).
+  serviceId: string, Required. The ID to use for the service, which will become the final component of the service's resource name. This value should be 4-63 characters, and valid characters are `/a-z-/`.
+  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.
+  },
+}
+
+ +
+ delete(name, requestId=None, x__xgafv=None) +
Deletes a single Service.
+
+Args:
+  name: string, Required. The name of the Service. Format: `projects/{project}/locations/{location}/services/{service}`. (required)
+  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 after 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).
+  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.
+  },
+}
+
+ +
+ get(name, x__xgafv=None) +
Gets details of a single Service.
+
+Args:
+  name: string, Required. The name of the Service. Format: `projects/{project}/locations/{location}/services/{service}`. (required)
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Represents a user-defined Service.
+  "agentSpec": { # The spec of the agent. # Optional. The spec of the Agent. When `agent_spec` is set, the type of the service is Agent.
+    "content": { # Optional. The content of the Agent spec in the JSON format. This payload is validated against the schema for the specified type. The content size is limited to `10KB`.
+      "a_key": "", # Properties of the object.
+    },
+    "type": "A String", # Required. The type of the agent spec content.
+  },
+  "createTime": "A String", # Output only. Create time.
+  "description": "A String", # Optional. User-defined description of an Service. Can have a maximum length of `2048` characters.
+  "displayName": "A String", # Optional. User-defined display name for the Service. Can have a maximum length of `63` characters.
+  "endpointSpec": { # The spec of the endpoint. # Optional. The spec of the Endpoint. When `endpoint_spec` is set, the type of the service is Endpoint.
+    "content": { # Optional. The content of the endpoint spec. Reserved for future use.
+      "a_key": "", # Properties of the object.
+    },
+    "type": "A String", # Required. The type of the endpoint spec content.
+  },
+  "interfaces": [ # Optional. The connection details for the Service.
+    { # Represents the connection details for an Agent or MCP Server.
+      "protocolBinding": "A String", # Required. The protocol binding of the interface.
+      "url": "A String", # Required. The destination URL.
+    },
+  ],
+  "mcpServerSpec": { # The spec of the MCP Server. # Optional. The spec of the MCP Server. When `mcp_server_spec` is set, the type of the service is MCP Server.
+    "content": { # Optional. The content of the MCP Server spec. This payload is validated against the schema for the specified type. The content size is limited to `10KB`.
+      "a_key": "", # Properties of the object.
+    },
+    "type": "A String", # Required. The type of the MCP Server spec content.
+  },
+  "name": "A String", # Identifier. The resource name of the Service. Format: `projects/{project}/locations/{location}/services/{service}`.
+  "updateTime": "A String", # Output only. Update time.
+}
+
+ +
+ list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None) +
Lists Services in a given project and location.
+
+Args:
+  parent: string, Required. The project and location to list services in. Expected format: `projects/{project}/locations/{location}`. (required)
+  filter: string, Optional. A query string used to filter the list of services returned. The filter expression must follow AIP-160 syntax. Filtering is supported on the `name`, `display_name`, `description`, and `labels` fields. Some examples: * `name = "projects/p1/locations/l1/services/s1"` * `display_name = "my-service"` * `description : "myservice description"` * `labels.env = "prod"`
+  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.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Message for response to listing Services
+  "nextPageToken": "A String", # A token identifying a page of results the server should return. Used in page_token.
+  "services": [ # The list of Service resources matching the parent and filter criteria in the request. Each Service resource follows the format: `projects/{project}/locations/{location}/services/{service}`.
+    { # Represents a user-defined Service.
+      "agentSpec": { # The spec of the agent. # Optional. The spec of the Agent. When `agent_spec` is set, the type of the service is Agent.
+        "content": { # Optional. The content of the Agent spec in the JSON format. This payload is validated against the schema for the specified type. The content size is limited to `10KB`.
+          "a_key": "", # Properties of the object.
+        },
+        "type": "A String", # Required. The type of the agent spec content.
+      },
+      "createTime": "A String", # Output only. Create time.
+      "description": "A String", # Optional. User-defined description of an Service. Can have a maximum length of `2048` characters.
+      "displayName": "A String", # Optional. User-defined display name for the Service. Can have a maximum length of `63` characters.
+      "endpointSpec": { # The spec of the endpoint. # Optional. The spec of the Endpoint. When `endpoint_spec` is set, the type of the service is Endpoint.
+        "content": { # Optional. The content of the endpoint spec. Reserved for future use.
+          "a_key": "", # Properties of the object.
+        },
+        "type": "A String", # Required. The type of the endpoint spec content.
+      },
+      "interfaces": [ # Optional. The connection details for the Service.
+        { # Represents the connection details for an Agent or MCP Server.
+          "protocolBinding": "A String", # Required. The protocol binding of the interface.
+          "url": "A String", # Required. The destination URL.
+        },
+      ],
+      "mcpServerSpec": { # The spec of the MCP Server. # Optional. The spec of the MCP Server. When `mcp_server_spec` is set, the type of the service is MCP Server.
+        "content": { # Optional. The content of the MCP Server spec. This payload is validated against the schema for the specified type. The content size is limited to `10KB`.
+          "a_key": "", # Properties of the object.
+        },
+        "type": "A String", # Required. The type of the MCP Server spec content.
+      },
+      "name": "A String", # Identifier. The resource name of the Service. Format: `projects/{project}/locations/{location}/services/{service}`.
+      "updateTime": "A String", # Output only. Update time.
+    },
+  ],
+}
+
+ +
+ list_next() +
Retrieves the next page of results.
+
+        Args:
+          previous_request: The request for the previous page. (required)
+          previous_response: The response from the request for the previous page. (required)
+
+        Returns:
+          A request object that you can call 'execute()' on to request the next
+          page. Returns None if there are no more items in the collection.
+        
+
+ +
+ patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None) +
Updates the parameters of a single Service.
+
+Args:
+  name: string, Identifier. The resource name of the Service. Format: `projects/{project}/locations/{location}/services/{service}`. (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # Represents a user-defined Service.
+  "agentSpec": { # The spec of the agent. # Optional. The spec of the Agent. When `agent_spec` is set, the type of the service is Agent.
+    "content": { # Optional. The content of the Agent spec in the JSON format. This payload is validated against the schema for the specified type. The content size is limited to `10KB`.
+      "a_key": "", # Properties of the object.
+    },
+    "type": "A String", # Required. The type of the agent spec content.
+  },
+  "createTime": "A String", # Output only. Create time.
+  "description": "A String", # Optional. User-defined description of an Service. Can have a maximum length of `2048` characters.
+  "displayName": "A String", # Optional. User-defined display name for the Service. Can have a maximum length of `63` characters.
+  "endpointSpec": { # The spec of the endpoint. # Optional. The spec of the Endpoint. When `endpoint_spec` is set, the type of the service is Endpoint.
+    "content": { # Optional. The content of the endpoint spec. Reserved for future use.
+      "a_key": "", # Properties of the object.
+    },
+    "type": "A String", # Required. The type of the endpoint spec content.
+  },
+  "interfaces": [ # Optional. The connection details for the Service.
+    { # Represents the connection details for an Agent or MCP Server.
+      "protocolBinding": "A String", # Required. The protocol binding of the interface.
+      "url": "A String", # Required. The destination URL.
+    },
+  ],
+  "mcpServerSpec": { # The spec of the MCP Server. # Optional. The spec of the MCP Server. When `mcp_server_spec` is set, the type of the service is MCP Server.
+    "content": { # Optional. The content of the MCP Server spec. This payload is validated against the schema for the specified type. The content size is limited to `10KB`.
+      "a_key": "", # Properties of the object.
+    },
+    "type": "A String", # Required. The type of the MCP Server spec content.
+  },
+  "name": "A String", # Identifier. The resource name of the Service. Format: `projects/{project}/locations/{location}/services/{service}`.
+  "updateTime": "A String", # Output only. Update time.
+}
+
+  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 Service 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 present in the request will be overwritten.
+  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.
+  },
+}
+
+ + \ No newline at end of file diff --git a/docs/dyn/aiplatform_v1.endpoints.html b/docs/dyn/aiplatform_v1.endpoints.html index 26a6612b79..b8b2df3f39 100644 --- a/docs/dyn/aiplatform_v1.endpoints.html +++ b/docs/dyn/aiplatform_v1.endpoints.html @@ -336,7 +336,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -894,7 +894,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -1649,6 +1649,9 @@

Method Details

"instances": [ # Required. The instances that are the input to the prediction call. A DeployedModel may have an upper limit on the number of instances it supports per request, and when it is exceeded the prediction call errors in case of AutoML Models, or, in case of customer created Models, the behaviour is as documented by that Model. The schema of any single instance may be specified via Endpoint's DeployedModels' Model's PredictSchemata's instance_schema_uri. "", ], + "labels": { # Optional. The labels with user-defined metadata for the request. It is used for billing and reporting only. Label keys and values can be no longer than 63 characters (Unicode codepoints) and can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter. + "a_key": "A String", + }, "parameters": "", # Optional. The parameters that govern the prediction. The schema of the parameters may be specified via Endpoint's DeployedModels' Model's PredictSchemata's parameters_schema_uri. } @@ -1789,7 +1792,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], diff --git a/docs/dyn/aiplatform_v1.projects.locations.endpoints.html b/docs/dyn/aiplatform_v1.projects.locations.endpoints.html index e3bb6f47ee..e05b5489b6 100644 --- a/docs/dyn/aiplatform_v1.projects.locations.endpoints.html +++ b/docs/dyn/aiplatform_v1.projects.locations.endpoints.html @@ -404,7 +404,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -1858,7 +1858,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -3867,6 +3867,9 @@

Method Details

"instances": [ # Required. The instances that are the input to the prediction call. A DeployedModel may have an upper limit on the number of instances it supports per request, and when it is exceeded the prediction call errors in case of AutoML Models, or, in case of customer created Models, the behaviour is as documented by that Model. The schema of any single instance may be specified via Endpoint's DeployedModels' Model's PredictSchemata's instance_schema_uri. "", ], + "labels": { # Optional. The labels with user-defined metadata for the request. It is used for billing and reporting only. Label keys and values can be no longer than 63 characters (Unicode codepoints) and can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter. + "a_key": "A String", + }, "parameters": "", # Optional. The parameters that govern the prediction. The schema of the parameters may be specified via Endpoint's DeployedModels' Model's PredictSchemata's parameters_schema_uri. } @@ -4235,7 +4238,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], diff --git a/docs/dyn/aiplatform_v1.projects.locations.evaluationRuns.html b/docs/dyn/aiplatform_v1.projects.locations.evaluationRuns.html index 93be21e9d1..4e175834e4 100644 --- a/docs/dyn/aiplatform_v1.projects.locations.evaluationRuns.html +++ b/docs/dyn/aiplatform_v1.projects.locations.evaluationRuns.html @@ -187,7 +187,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -283,6 +283,7 @@

Method Details

}, "datasetCustomMetrics": [ # Optional. Specifications for custom dataset-level aggregations. { # Defines a custom dataset-level aggregation. + "aggregationFunction": "A String", # Required. The Python code string containing the aggregation function. Expected function signature: `def aggregate(instances: list[dict[str, Any]]) -> dict[str, float]:` The `instances` argument is a list of dictionaries, where each dictionary represents a single evaluation result item. The structure of each dictionary corresponds to the fields in the `EvaluationResult` message. This includes: - `"request"`: Contains the original input data and model inputs (from `EvaluationResult.EvaluationRequest`). - `"candidate_results"`: Contains the results of any instance-level metrics (from `EvaluationResult.CandidateResults`). Example of a single item in the `instances` list: { "request": { "prompt": {"text": "What is the capital of France?"}, "golden_response": {"text": "Paris"}, "candidate_responses": [{"candidate": "model-v1", "text": "Paris"}] }, "candidate_results": [ {"metric": "exact_match", "score": 1.0}, {"metric": "bleu", "score": 0.9} ] } "displayName": "A String", # Optional. A display name for this custom summary metric. Used to prefix keys in the output summaryMetrics map. If not provided, a default name like "dataset_custom_metric_1", "dataset_custom_metric_2", etc., will be generated based on the order in the repeated field. }, ], @@ -321,7 +322,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -423,6 +424,7 @@

Method Details

}, }, "rubricGenerationSpec": { # Specification for how rubrics should be generated. # Dynamically generate rubrics using this specification. + "metricResourceName": "A String", # Optional. Resource name of the metric definition. "modelConfig": { # The autorater config used for the evaluation run. # Optional. Configuration for the model used in rubric generation. Configs including sampling count and base model can be specified here. Flipping is not supported for rubric generation. "autoraterModel": "A String", # Optional. The fully qualified name of the publisher model or tuned autorater endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` "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. Configuration options for model generation and outputs. @@ -446,7 +448,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -596,7 +598,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -722,7 +724,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -825,6 +827,18 @@

Method Details

"rubricGroupKey": "A String", # Use a pre-defined group of rubrics associated with the input. Refers to a key in the rubric_groups map of EvaluationInstance. "systemInstruction": "A String", # Optional. System instructions for the judge model. }, + "metadata": { # Metadata about the metric, used for visualization and organization. # Optional. Metadata about the metric, used for visualization and organization. + "otherMetadata": { # Optional. Flexible metadata for user-defined attributes. + "a_key": "", # Properties of the object. + }, + "scoreRange": { # The range of possible scores for this metric, used for plotting. # Optional. The range of possible scores for this metric, used for plotting. + "description": "A String", # Optional. The description of the score explaining the directionality etc. + "max": 3.14, # Required. The maximum value of the score range (inclusive). + "min": 3.14, # Required. The minimum value of the score range (inclusive). + "step": 3.14, # Optional. The distance between discrete steps in the range. If unset, the range is assumed to be continuous. + }, + "title": "A String", # Optional. The user-friendly name for the metric. If not set for a registered metric, it will default to the metric's display name. + }, "pairwiseMetricSpec": { # Spec for pairwise metric. # Spec for pairwise metric. "baselineResponseFieldName": "A String", # Optional. The field name of the baseline response. "candidateResponseFieldName": "A String", # Optional. The field name of the candidate response. @@ -853,6 +867,7 @@

Method Details

"useStemmer": True or False, # Optional. Whether to use stemmer to compute rouge score. }, }, + "metricResourceName": "A String", # Optional. The resource name of the metric definition. "predefinedMetricSpec": { # Specification for a pre-defined metric. # Spec for a pre-defined metric. "metricSpecName": "A String", # Required. The name of a pre-defined metric, such as "instruction_following_v1" or "text_quality_v1". "parameters": { # Optional. The parameters needed to run the pre-defined metric. @@ -897,7 +912,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -993,6 +1008,7 @@

Method Details

}, "metricPromptTemplate": "A String", # Optional. Template for the prompt used by the judge model to evaluate against rubrics. "rubricGenerationSpec": { # Specification for how rubrics should be generated. # Dynamically generate rubrics for evaluation using this specification. + "metricResourceName": "A String", # Optional. Resource name of the metric definition. "modelConfig": { # The autorater config used for the evaluation run. # Optional. Configuration for the model used in rubric generation. Configs including sampling count and base model can be specified here. Flipping is not supported for rubric generation. "autoraterModel": "A String", # Optional. The fully qualified name of the publisher model or tuned autorater endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` "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. Configuration options for model generation and outputs. @@ -1016,7 +1032,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -1141,6 +1157,7 @@

Method Details

}, }, "rubricGenerationSpec": { # Specification for how rubrics should be generated. # Dynamically generate rubrics using this specification. + "metricResourceName": "A String", # Optional. Resource name of the metric definition. "modelConfig": { # The autorater config used for the evaluation run. # Optional. Configuration for the model used in rubric generation. Configs including sampling count and base model can be specified here. Flipping is not supported for rubric generation. "autoraterModel": "A String", # Optional. The fully qualified name of the publisher model or tuned autorater endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` "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. Configuration options for model generation and outputs. @@ -1164,7 +1181,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -1280,7 +1297,136 @@

Method Details

}, "evaluationSetSnapshot": "A String", # Output only. The specific evaluation set of the evaluation run. For runs with an evaluation set input, this will be that same set. For runs with BigQuery input, it's the sampled BigQuery dataset. "inferenceConfigs": { # Optional. The candidate to inference config map for the evaluation run. The candidate can be up to 128 characters long and can consist of any UTF-8 characters. - "a_key": { # An inference config used for model inference during the evaluation run. + "a_key": { # Defines the configuration for a candidate model or agent being evaluated. `InferenceConfig` encapsulates all the necessary information to invoke or scrape the candidate during the evaluation run. This includes direct model inference parameters, agent execution settings, and multi-turn scraping configurations (such as user simulators). It serves as the primary representation of the candidate across different stages of the evaluation process. + "agentRunConfig": { # Configuration for Agent Run. # Optional. Agent run config. + "agentEngine": "A String", # Optional. The resource name of the Agent Engine. Format: projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine} For example: projects/123/locations/us-central1/reasoningEngines/456 + "sessionInput": { # Session input to run an Agent. # Optional. The session input to get agent running results. + "parameters": { # Optional. Additional parameters for the session, like app_name, etc. For example, {"app_name": "my-app"}. + "a_key": "A String", + }, + "sessionState": { # Optional. Session specific memory which stores key conversation points. + "a_key": "", # Properties of the object. + }, + "userId": "A String", # Optional. The user id for the agent session. The ID can be up to 128 characters long. + }, + "userSimulatorConfig": { # Used for multi-turn agent scraping. Contains configuration for a user simulator that uses an LLM to generate messages on behalf of the user. # The configuration for a user simulator that uses an LLM to generate messages on behalf of the user. + "maxTurn": 42, # Maximum number of invocations allowed by the multi-turn agent scraping. This property allows us to stop a run-off conversation, where the agent and the user simulator get into a never ending loop. The initial fixed prompt is also counted as an invocation. + "modelConfig": { # 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. # The configuration for the model. + "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. + "candidateCount": 42, # Optional. The number of candidate responses to generate. A higher `candidate_count` can provide more options to choose from, but it also consumes more resources. This can be useful for generating a variety of responses and selecting the best one. + "enableAffectiveDialog": True or False, # Optional. If enabled, the model will detect emotions and adapt its responses accordingly. For example, if the model detects that the user is frustrated, it may provide a more empathetic response. + "frequencyPenalty": 3.14, # Optional. Penalizes tokens based on their frequency in the generated text. A positive value helps to reduce the repetition of words and phrases. Valid values can range from [-2.0, 2.0]. + "imageConfig": { # Configuration for image generation. This message allows you to control various aspects of image generation, such as the output format, aspect ratio, and whether the model can generate images of people. # Optional. Config for image generation features. + "aspectRatio": "A String", # Optional. The desired aspect ratio for the generated images. The following aspect ratios are supported: "1:1" "2:3", "3:2" "3:4", "4:3" "4:5", "5:4" "9:16", "16:9" "21:9" + "imageOutputOptions": { # The image output format for generated images. # Optional. The image output format for generated images. + "compressionQuality": 42, # Optional. The compression quality of the output image. + "mimeType": "A String", # Optional. The image format that the output should be saved as. + }, + "imageSize": "A String", # Optional. Specifies the size of generated images. Supported values are `1K`, `2K`, `4K`. If not specified, the model will use default value `1K`. + "personGeneration": "A String", # Optional. Controls whether the model can generate people. + "prominentPeople": "A String", # Optional. Controls whether prominent people (celebrities) generation is allowed. If used with personGeneration, personGeneration enum would take precedence. For instance, if ALLOW_NONE is set, all person generation would be blocked. If this field is unspecified, the default behavior is to allow prominent people. + }, + "logprobs": 42, # Optional. The number of top log probabilities to return for each token. This can be used to see which other tokens were considered likely candidates for a given position. A higher value will return more options, but it will also increase the size of the response. + "maxOutputTokens": 42, # Optional. The maximum number of tokens to generate in the response. A token is approximately four characters. The default value varies by model. This parameter can be used to control the length of the generated text and prevent overly long responses. + "mediaResolution": "A String", # Optional. The token resolution at which input media content is sampled. This is used to control the trade-off between the quality of the response and the number of tokens used to represent the media. A higher resolution allows the model to perceive more detail, which can lead to a more nuanced response, but it will also use more tokens. This does not affect the image dimensions sent to the model. + "presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. + "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. + "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. + "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. + "A String", + ], + "responseSchema": { # Defines the schema of input and output data. This is a subset of the [OpenAPI 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object). # Optional. Lets you to specify a schema for the model's response, ensuring that the output conforms to a particular structure. This is useful for generating structured data such as JSON. The schema is a subset of the [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema) object. When this field is set, you must also set the `response_mime_type` to `application/json`. + "additionalProperties": "", # Optional. If `type` is `OBJECT`, specifies how to handle properties not defined in `properties`. If it is a boolean `false`, no additional properties are allowed. If it is a schema, additional properties are allowed if they conform to the schema. + "anyOf": [ # Optional. The instance must be valid against any (one or more) of the subschemas listed in `any_of`. + # Object with schema name: GoogleCloudAiplatformV1Schema + ], + "default": "", # Optional. Default value to use if the field is not specified. + "defs": { # Optional. `defs` provides a map of schema definitions that can be reused by `ref` elsewhere in the schema. Only allowed at root level of the schema. + "a_key": # Object with schema name: GoogleCloudAiplatformV1Schema + }, + "description": "A String", # Optional. Describes the data. The model uses this field to understand the purpose of the schema and how to use it. It is a best practice to provide a clear and descriptive explanation for the schema and its properties here, rather than in the prompt. + "enum": [ # Optional. Possible values of the field. This field can be used to restrict a value to a fixed set of values. To mark a field as an enum, set `format` to `enum` and provide the list of possible values in `enum`. For example: 1. To define directions: `{type:STRING, format:enum, enum:["EAST", "NORTH", "SOUTH", "WEST"]}` 2. To define apartment numbers: `{type:INTEGER, format:enum, enum:["101", "201", "301"]}` + "A String", + ], + "example": "", # Optional. Example of an instance of this schema. + "format": "A String", # Optional. The format of the data. For `NUMBER` type, format can be `float` or `double`. For `INTEGER` type, format can be `int32` or `int64`. For `STRING` type, format can be `email`, `byte`, `date`, `date-time`, `password`, and other formats to further refine the data type. + "items": # Object with schema name: GoogleCloudAiplatformV1Schema # Optional. If type is `ARRAY`, `items` specifies the schema of elements in the array. + "maxItems": "A String", # Optional. If type is `ARRAY`, `max_items` specifies the maximum number of items in an array. + "maxLength": "A String", # Optional. If type is `STRING`, `max_length` specifies the maximum length of the string. + "maxProperties": "A String", # Optional. If type is `OBJECT`, `max_properties` specifies the maximum number of properties that can be provided. + "maximum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `maximum` specifies the maximum allowed value. + "minItems": "A String", # Optional. If type is `ARRAY`, `min_items` specifies the minimum number of items in an array. + "minLength": "A String", # Optional. If type is `STRING`, `min_length` specifies the minimum length of the string. + "minProperties": "A String", # Optional. If type is `OBJECT`, `min_properties` specifies the minimum number of properties that can be provided. + "minimum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `minimum` specifies the minimum allowed value. + "nullable": True or False, # Optional. Indicates if the value of this field can be null. + "pattern": "A String", # Optional. If type is `STRING`, `pattern` specifies a regular expression that the string must match. + "properties": { # Optional. If type is `OBJECT`, `properties` is a map of property names to schema definitions for each property of the object. + "a_key": # Object with schema name: GoogleCloudAiplatformV1Schema + }, + "propertyOrdering": [ # Optional. Order of properties displayed or used where order matters. This is not a standard field in OpenAPI specification, but can be used to control the order of properties. + "A String", + ], + "ref": "A String", # Optional. Allows referencing another schema definition to use in place of this schema. The value must be a valid reference to a schema in `defs`. For example, the following schema defines a reference to a schema node named "Pet": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the "pet" property is a reference to the schema node named "Pet". See details in https://json-schema.org/understanding-json-schema/structuring + "required": [ # Optional. If type is `OBJECT`, `required` lists the names of properties that must be present. + "A String", + ], + "title": "A String", # Optional. Title for the schema. + "type": "A String", # Optional. Data type of the schema field. + }, + "routingConfig": { # The configuration for routing the request to a specific model. This can be used to control which model is used for the generation, either automatically or by specifying a model name. # Optional. Routing configuration. + "autoMode": { # The configuration for automated routing. When automated routing is specified, the routing will be determined by the pretrained routing model and customer provided model routing preference. # In this mode, the model is selected automatically based on the content of the request. + "modelRoutingPreference": "A String", # The model routing preference. + }, + "manualMode": { # The configuration for manual routing. When manual routing is specified, the model will be selected based on the model name provided. # In this mode, the model is specified manually. + "modelName": "A String", # The name of the model to use. Only public LLM models are accepted. + }, + }, + "seed": 42, # Optional. A seed for the random number generator. By setting a seed, you can make the model's output mostly deterministic. For a given prompt and parameters (like temperature, top_p, etc.), the model will produce the same response every time. However, it's not a guaranteed absolute deterministic behavior. This is different from parameters like `temperature`, which control the *level* of randomness. `seed` ensures that the "random" choices the model makes are the same on every run, making it essential for testing and ensuring reproducible results. + "speechConfig": { # Configuration for speech generation. # Optional. The speech generation config. + "languageCode": "A String", # Optional. The language code (ISO 639-1) for the speech synthesis. + "multiSpeakerVoiceConfig": { # Configuration for a multi-speaker text-to-speech request. # The configuration for a multi-speaker text-to-speech request. This field is mutually exclusive with `voice_config`. + "speakerVoiceConfigs": [ # Required. A list of configurations for the voices of the speakers. Exactly two speaker voice configurations must be provided. + { # Configuration for a single speaker in a multi-speaker setup. + "speaker": "A String", # Required. The name of the speaker. This should be the same as the speaker name used in the prompt. + "voiceConfig": { # Configuration for a voice. # Required. The configuration for the voice of this speaker. + "prebuiltVoiceConfig": { # Configuration for a prebuilt voice. # The configuration for a prebuilt voice. + "voiceName": "A String", # The name of the prebuilt voice to use. + }, + "replicatedVoiceConfig": { # The configuration for the replicated voice to use. # Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample. + "mimeType": "A String", # Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set. + "voiceSampleAudio": "A String", # Optional. The sample of the custom voice. + }, + }, + }, + ], + }, + "voiceConfig": { # Configuration for a voice. # The configuration for the voice to use. + "prebuiltVoiceConfig": { # Configuration for a prebuilt voice. # The configuration for a prebuilt voice. + "voiceName": "A String", # The name of the prebuilt voice to use. + }, + "replicatedVoiceConfig": { # The configuration for the replicated voice to use. # Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample. + "mimeType": "A String", # Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set. + "voiceSampleAudio": "A String", # Optional. The sample of the custom voice. + }, + }, + }, + "stopSequences": [ # Optional. A list of character sequences that will stop the model from generating further tokens. If a stop sequence is generated, the output will end at that point. This is useful for controlling the length and structure of the output. For example, you can use ["\n", "###"] to stop generation at a new line or a specific marker. + "A String", + ], + "temperature": 3.14, # Optional. Controls the randomness of the output. A higher temperature results in more creative and diverse responses, while a lower temperature makes the output more predictable and focused. The valid range is (0.0, 2.0]. + "thinkingConfig": { # Configuration for the model's thinking features. "Thinking" is a process where the model breaks down a complex task into smaller, manageable steps. This allows the model to reason about the task, plan its approach, and execute the plan to generate a high-quality response. # Optional. Configuration for thinking features. An error will be returned if this field is set for models that don't support thinking. + "includeThoughts": True or False, # Optional. If true, the model will include its thoughts in the response. "Thoughts" are the intermediate steps the model takes to arrive at the final response. They can provide insights into the model's reasoning process and help with debugging. If this is true, thoughts are returned only when available. + "thinkingBudget": 42, # Optional. The token budget for the model's thinking process. The model will make a best effort to stay within this budget. This can be used to control the trade-off between response quality and latency. + "thinkingLevel": "A String", # Optional. The number of thoughts tokens that the model should generate. + }, + "topK": 3.14, # Optional. Specifies the top-k sampling threshold. The model considers only the top k most probable tokens for the next token. This can be useful for generating more coherent and less random text. For example, a `top_k` of 40 means the model will choose the next word from the 40 most likely words. + "topP": 3.14, # Optional. Specifies the nucleus sampling threshold. The model considers only the smallest set of tokens whose cumulative probability is at least `top_p`. This helps generate more diverse and less repetitive responses. For example, a `top_p` of 0.9 means the model considers tokens until the cumulative probability of the tokens to select from reaches 0.9. It's recommended to adjust either temperature or `top_p`, but not both. + }, + "modelName": "A String", # The model name to use for multi-turn agent scraping to get next user message, e.g. "gemini-3-flash-preview". + }, + }, "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. "candidateCount": 42, # Optional. The number of candidate responses to generate. A higher `candidate_count` can provide more options to choose from, but it also consumes more resources. This can be useful for generating a variety of responses and selecting the best one. @@ -1302,7 +1448,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -1394,7 +1540,7 @@

Method Details

"topK": 3.14, # Optional. Specifies the top-k sampling threshold. The model considers only the top k most probable tokens for the next token. This can be useful for generating more coherent and less random text. For example, a `top_k` of 40 means the model will choose the next word from the 40 most likely words. "topP": 3.14, # Optional. Specifies the nucleus sampling threshold. The model considers only the smallest set of tokens whose cumulative probability is at least `top_p`. This helps generate more diverse and less repetitive responses. For example, a `top_p` of 0.9 means the model considers tokens until the cumulative probability of the tokens to select from reaches 0.9. It's recommended to adjust either temperature or `top_p`, but not both. }, - "model": "A String", # Optional. The fully qualified name of the publisher model or endpoint to use. Anthropic and Llama third-party models are also supported through Model Garden. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Third-party model format: `projects/{project}/locations/{location}/publishers/anthropic/models/{model}` `projects/{project}/locations/{location}/publishers/llama/models/{model}` Endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` + "model": "A String", # Optional. The fully qualified name of the publisher model or endpoint to use. Anthropic and Llama third-party models are also supported through Model Garden. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Third-party model formats: `projects/{project}/locations/{location}/publishers/anthropic/models/{model}` or `projects/{project}/locations/{location}/publishers/llama/models/{model}` Endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` }, }, "labels": { # Optional. Labels for the evaluation run. @@ -1466,7 +1612,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -1562,6 +1708,7 @@

Method Details

}, "datasetCustomMetrics": [ # Optional. Specifications for custom dataset-level aggregations. { # Defines a custom dataset-level aggregation. + "aggregationFunction": "A String", # Required. The Python code string containing the aggregation function. Expected function signature: `def aggregate(instances: list[dict[str, Any]]) -> dict[str, float]:` The `instances` argument is a list of dictionaries, where each dictionary represents a single evaluation result item. The structure of each dictionary corresponds to the fields in the `EvaluationResult` message. This includes: - `"request"`: Contains the original input data and model inputs (from `EvaluationResult.EvaluationRequest`). - `"candidate_results"`: Contains the results of any instance-level metrics (from `EvaluationResult.CandidateResults`). Example of a single item in the `instances` list: { "request": { "prompt": {"text": "What is the capital of France?"}, "golden_response": {"text": "Paris"}, "candidate_responses": [{"candidate": "model-v1", "text": "Paris"}] }, "candidate_results": [ {"metric": "exact_match", "score": 1.0}, {"metric": "bleu", "score": 0.9} ] } "displayName": "A String", # Optional. A display name for this custom summary metric. Used to prefix keys in the output summaryMetrics map. If not provided, a default name like "dataset_custom_metric_1", "dataset_custom_metric_2", etc., will be generated based on the order in the repeated field. }, ], @@ -1600,7 +1747,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -1702,6 +1849,7 @@

Method Details

}, }, "rubricGenerationSpec": { # Specification for how rubrics should be generated. # Dynamically generate rubrics using this specification. + "metricResourceName": "A String", # Optional. Resource name of the metric definition. "modelConfig": { # The autorater config used for the evaluation run. # Optional. Configuration for the model used in rubric generation. Configs including sampling count and base model can be specified here. Flipping is not supported for rubric generation. "autoraterModel": "A String", # Optional. The fully qualified name of the publisher model or tuned autorater endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` "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. Configuration options for model generation and outputs. @@ -1725,7 +1873,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -1875,7 +2023,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -2001,7 +2149,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -2104,6 +2252,18 @@

Method Details

"rubricGroupKey": "A String", # Use a pre-defined group of rubrics associated with the input. Refers to a key in the rubric_groups map of EvaluationInstance. "systemInstruction": "A String", # Optional. System instructions for the judge model. }, + "metadata": { # Metadata about the metric, used for visualization and organization. # Optional. Metadata about the metric, used for visualization and organization. + "otherMetadata": { # Optional. Flexible metadata for user-defined attributes. + "a_key": "", # Properties of the object. + }, + "scoreRange": { # The range of possible scores for this metric, used for plotting. # Optional. The range of possible scores for this metric, used for plotting. + "description": "A String", # Optional. The description of the score explaining the directionality etc. + "max": 3.14, # Required. The maximum value of the score range (inclusive). + "min": 3.14, # Required. The minimum value of the score range (inclusive). + "step": 3.14, # Optional. The distance between discrete steps in the range. If unset, the range is assumed to be continuous. + }, + "title": "A String", # Optional. The user-friendly name for the metric. If not set for a registered metric, it will default to the metric's display name. + }, "pairwiseMetricSpec": { # Spec for pairwise metric. # Spec for pairwise metric. "baselineResponseFieldName": "A String", # Optional. The field name of the baseline response. "candidateResponseFieldName": "A String", # Optional. The field name of the candidate response. @@ -2132,6 +2292,7 @@

Method Details

"useStemmer": True or False, # Optional. Whether to use stemmer to compute rouge score. }, }, + "metricResourceName": "A String", # Optional. The resource name of the metric definition. "predefinedMetricSpec": { # Specification for a pre-defined metric. # Spec for a pre-defined metric. "metricSpecName": "A String", # Required. The name of a pre-defined metric, such as "instruction_following_v1" or "text_quality_v1". "parameters": { # Optional. The parameters needed to run the pre-defined metric. @@ -2176,7 +2337,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -2272,6 +2433,7 @@

Method Details

}, "metricPromptTemplate": "A String", # Optional. Template for the prompt used by the judge model to evaluate against rubrics. "rubricGenerationSpec": { # Specification for how rubrics should be generated. # Dynamically generate rubrics for evaluation using this specification. + "metricResourceName": "A String", # Optional. Resource name of the metric definition. "modelConfig": { # The autorater config used for the evaluation run. # Optional. Configuration for the model used in rubric generation. Configs including sampling count and base model can be specified here. Flipping is not supported for rubric generation. "autoraterModel": "A String", # Optional. The fully qualified name of the publisher model or tuned autorater endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` "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. Configuration options for model generation and outputs. @@ -2295,7 +2457,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -2420,6 +2582,7 @@

Method Details

}, }, "rubricGenerationSpec": { # Specification for how rubrics should be generated. # Dynamically generate rubrics using this specification. + "metricResourceName": "A String", # Optional. Resource name of the metric definition. "modelConfig": { # The autorater config used for the evaluation run. # Optional. Configuration for the model used in rubric generation. Configs including sampling count and base model can be specified here. Flipping is not supported for rubric generation. "autoraterModel": "A String", # Optional. The fully qualified name of the publisher model or tuned autorater endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` "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. Configuration options for model generation and outputs. @@ -2443,7 +2606,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -2559,7 +2722,136 @@

Method Details

}, "evaluationSetSnapshot": "A String", # Output only. The specific evaluation set of the evaluation run. For runs with an evaluation set input, this will be that same set. For runs with BigQuery input, it's the sampled BigQuery dataset. "inferenceConfigs": { # Optional. The candidate to inference config map for the evaluation run. The candidate can be up to 128 characters long and can consist of any UTF-8 characters. - "a_key": { # An inference config used for model inference during the evaluation run. + "a_key": { # Defines the configuration for a candidate model or agent being evaluated. `InferenceConfig` encapsulates all the necessary information to invoke or scrape the candidate during the evaluation run. This includes direct model inference parameters, agent execution settings, and multi-turn scraping configurations (such as user simulators). It serves as the primary representation of the candidate across different stages of the evaluation process. + "agentRunConfig": { # Configuration for Agent Run. # Optional. Agent run config. + "agentEngine": "A String", # Optional. The resource name of the Agent Engine. Format: projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine} For example: projects/123/locations/us-central1/reasoningEngines/456 + "sessionInput": { # Session input to run an Agent. # Optional. The session input to get agent running results. + "parameters": { # Optional. Additional parameters for the session, like app_name, etc. For example, {"app_name": "my-app"}. + "a_key": "A String", + }, + "sessionState": { # Optional. Session specific memory which stores key conversation points. + "a_key": "", # Properties of the object. + }, + "userId": "A String", # Optional. The user id for the agent session. The ID can be up to 128 characters long. + }, + "userSimulatorConfig": { # Used for multi-turn agent scraping. Contains configuration for a user simulator that uses an LLM to generate messages on behalf of the user. # The configuration for a user simulator that uses an LLM to generate messages on behalf of the user. + "maxTurn": 42, # Maximum number of invocations allowed by the multi-turn agent scraping. This property allows us to stop a run-off conversation, where the agent and the user simulator get into a never ending loop. The initial fixed prompt is also counted as an invocation. + "modelConfig": { # 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. # The configuration for the model. + "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. + "candidateCount": 42, # Optional. The number of candidate responses to generate. A higher `candidate_count` can provide more options to choose from, but it also consumes more resources. This can be useful for generating a variety of responses and selecting the best one. + "enableAffectiveDialog": True or False, # Optional. If enabled, the model will detect emotions and adapt its responses accordingly. For example, if the model detects that the user is frustrated, it may provide a more empathetic response. + "frequencyPenalty": 3.14, # Optional. Penalizes tokens based on their frequency in the generated text. A positive value helps to reduce the repetition of words and phrases. Valid values can range from [-2.0, 2.0]. + "imageConfig": { # Configuration for image generation. This message allows you to control various aspects of image generation, such as the output format, aspect ratio, and whether the model can generate images of people. # Optional. Config for image generation features. + "aspectRatio": "A String", # Optional. The desired aspect ratio for the generated images. The following aspect ratios are supported: "1:1" "2:3", "3:2" "3:4", "4:3" "4:5", "5:4" "9:16", "16:9" "21:9" + "imageOutputOptions": { # The image output format for generated images. # Optional. The image output format for generated images. + "compressionQuality": 42, # Optional. The compression quality of the output image. + "mimeType": "A String", # Optional. The image format that the output should be saved as. + }, + "imageSize": "A String", # Optional. Specifies the size of generated images. Supported values are `1K`, `2K`, `4K`. If not specified, the model will use default value `1K`. + "personGeneration": "A String", # Optional. Controls whether the model can generate people. + "prominentPeople": "A String", # Optional. Controls whether prominent people (celebrities) generation is allowed. If used with personGeneration, personGeneration enum would take precedence. For instance, if ALLOW_NONE is set, all person generation would be blocked. If this field is unspecified, the default behavior is to allow prominent people. + }, + "logprobs": 42, # Optional. The number of top log probabilities to return for each token. This can be used to see which other tokens were considered likely candidates for a given position. A higher value will return more options, but it will also increase the size of the response. + "maxOutputTokens": 42, # Optional. The maximum number of tokens to generate in the response. A token is approximately four characters. The default value varies by model. This parameter can be used to control the length of the generated text and prevent overly long responses. + "mediaResolution": "A String", # Optional. The token resolution at which input media content is sampled. This is used to control the trade-off between the quality of the response and the number of tokens used to represent the media. A higher resolution allows the model to perceive more detail, which can lead to a more nuanced response, but it will also use more tokens. This does not affect the image dimensions sent to the model. + "presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. + "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. + "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. + "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. + "A String", + ], + "responseSchema": { # Defines the schema of input and output data. This is a subset of the [OpenAPI 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object). # Optional. Lets you to specify a schema for the model's response, ensuring that the output conforms to a particular structure. This is useful for generating structured data such as JSON. The schema is a subset of the [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema) object. When this field is set, you must also set the `response_mime_type` to `application/json`. + "additionalProperties": "", # Optional. If `type` is `OBJECT`, specifies how to handle properties not defined in `properties`. If it is a boolean `false`, no additional properties are allowed. If it is a schema, additional properties are allowed if they conform to the schema. + "anyOf": [ # Optional. The instance must be valid against any (one or more) of the subschemas listed in `any_of`. + # Object with schema name: GoogleCloudAiplatformV1Schema + ], + "default": "", # Optional. Default value to use if the field is not specified. + "defs": { # Optional. `defs` provides a map of schema definitions that can be reused by `ref` elsewhere in the schema. Only allowed at root level of the schema. + "a_key": # Object with schema name: GoogleCloudAiplatformV1Schema + }, + "description": "A String", # Optional. Describes the data. The model uses this field to understand the purpose of the schema and how to use it. It is a best practice to provide a clear and descriptive explanation for the schema and its properties here, rather than in the prompt. + "enum": [ # Optional. Possible values of the field. This field can be used to restrict a value to a fixed set of values. To mark a field as an enum, set `format` to `enum` and provide the list of possible values in `enum`. For example: 1. To define directions: `{type:STRING, format:enum, enum:["EAST", "NORTH", "SOUTH", "WEST"]}` 2. To define apartment numbers: `{type:INTEGER, format:enum, enum:["101", "201", "301"]}` + "A String", + ], + "example": "", # Optional. Example of an instance of this schema. + "format": "A String", # Optional. The format of the data. For `NUMBER` type, format can be `float` or `double`. For `INTEGER` type, format can be `int32` or `int64`. For `STRING` type, format can be `email`, `byte`, `date`, `date-time`, `password`, and other formats to further refine the data type. + "items": # Object with schema name: GoogleCloudAiplatformV1Schema # Optional. If type is `ARRAY`, `items` specifies the schema of elements in the array. + "maxItems": "A String", # Optional. If type is `ARRAY`, `max_items` specifies the maximum number of items in an array. + "maxLength": "A String", # Optional. If type is `STRING`, `max_length` specifies the maximum length of the string. + "maxProperties": "A String", # Optional. If type is `OBJECT`, `max_properties` specifies the maximum number of properties that can be provided. + "maximum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `maximum` specifies the maximum allowed value. + "minItems": "A String", # Optional. If type is `ARRAY`, `min_items` specifies the minimum number of items in an array. + "minLength": "A String", # Optional. If type is `STRING`, `min_length` specifies the minimum length of the string. + "minProperties": "A String", # Optional. If type is `OBJECT`, `min_properties` specifies the minimum number of properties that can be provided. + "minimum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `minimum` specifies the minimum allowed value. + "nullable": True or False, # Optional. Indicates if the value of this field can be null. + "pattern": "A String", # Optional. If type is `STRING`, `pattern` specifies a regular expression that the string must match. + "properties": { # Optional. If type is `OBJECT`, `properties` is a map of property names to schema definitions for each property of the object. + "a_key": # Object with schema name: GoogleCloudAiplatformV1Schema + }, + "propertyOrdering": [ # Optional. Order of properties displayed or used where order matters. This is not a standard field in OpenAPI specification, but can be used to control the order of properties. + "A String", + ], + "ref": "A String", # Optional. Allows referencing another schema definition to use in place of this schema. The value must be a valid reference to a schema in `defs`. For example, the following schema defines a reference to a schema node named "Pet": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the "pet" property is a reference to the schema node named "Pet". See details in https://json-schema.org/understanding-json-schema/structuring + "required": [ # Optional. If type is `OBJECT`, `required` lists the names of properties that must be present. + "A String", + ], + "title": "A String", # Optional. Title for the schema. + "type": "A String", # Optional. Data type of the schema field. + }, + "routingConfig": { # The configuration for routing the request to a specific model. This can be used to control which model is used for the generation, either automatically or by specifying a model name. # Optional. Routing configuration. + "autoMode": { # The configuration for automated routing. When automated routing is specified, the routing will be determined by the pretrained routing model and customer provided model routing preference. # In this mode, the model is selected automatically based on the content of the request. + "modelRoutingPreference": "A String", # The model routing preference. + }, + "manualMode": { # The configuration for manual routing. When manual routing is specified, the model will be selected based on the model name provided. # In this mode, the model is specified manually. + "modelName": "A String", # The name of the model to use. Only public LLM models are accepted. + }, + }, + "seed": 42, # Optional. A seed for the random number generator. By setting a seed, you can make the model's output mostly deterministic. For a given prompt and parameters (like temperature, top_p, etc.), the model will produce the same response every time. However, it's not a guaranteed absolute deterministic behavior. This is different from parameters like `temperature`, which control the *level* of randomness. `seed` ensures that the "random" choices the model makes are the same on every run, making it essential for testing and ensuring reproducible results. + "speechConfig": { # Configuration for speech generation. # Optional. The speech generation config. + "languageCode": "A String", # Optional. The language code (ISO 639-1) for the speech synthesis. + "multiSpeakerVoiceConfig": { # Configuration for a multi-speaker text-to-speech request. # The configuration for a multi-speaker text-to-speech request. This field is mutually exclusive with `voice_config`. + "speakerVoiceConfigs": [ # Required. A list of configurations for the voices of the speakers. Exactly two speaker voice configurations must be provided. + { # Configuration for a single speaker in a multi-speaker setup. + "speaker": "A String", # Required. The name of the speaker. This should be the same as the speaker name used in the prompt. + "voiceConfig": { # Configuration for a voice. # Required. The configuration for the voice of this speaker. + "prebuiltVoiceConfig": { # Configuration for a prebuilt voice. # The configuration for a prebuilt voice. + "voiceName": "A String", # The name of the prebuilt voice to use. + }, + "replicatedVoiceConfig": { # The configuration for the replicated voice to use. # Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample. + "mimeType": "A String", # Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set. + "voiceSampleAudio": "A String", # Optional. The sample of the custom voice. + }, + }, + }, + ], + }, + "voiceConfig": { # Configuration for a voice. # The configuration for the voice to use. + "prebuiltVoiceConfig": { # Configuration for a prebuilt voice. # The configuration for a prebuilt voice. + "voiceName": "A String", # The name of the prebuilt voice to use. + }, + "replicatedVoiceConfig": { # The configuration for the replicated voice to use. # Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample. + "mimeType": "A String", # Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set. + "voiceSampleAudio": "A String", # Optional. The sample of the custom voice. + }, + }, + }, + "stopSequences": [ # Optional. A list of character sequences that will stop the model from generating further tokens. If a stop sequence is generated, the output will end at that point. This is useful for controlling the length and structure of the output. For example, you can use ["\n", "###"] to stop generation at a new line or a specific marker. + "A String", + ], + "temperature": 3.14, # Optional. Controls the randomness of the output. A higher temperature results in more creative and diverse responses, while a lower temperature makes the output more predictable and focused. The valid range is (0.0, 2.0]. + "thinkingConfig": { # Configuration for the model's thinking features. "Thinking" is a process where the model breaks down a complex task into smaller, manageable steps. This allows the model to reason about the task, plan its approach, and execute the plan to generate a high-quality response. # Optional. Configuration for thinking features. An error will be returned if this field is set for models that don't support thinking. + "includeThoughts": True or False, # Optional. If true, the model will include its thoughts in the response. "Thoughts" are the intermediate steps the model takes to arrive at the final response. They can provide insights into the model's reasoning process and help with debugging. If this is true, thoughts are returned only when available. + "thinkingBudget": 42, # Optional. The token budget for the model's thinking process. The model will make a best effort to stay within this budget. This can be used to control the trade-off between response quality and latency. + "thinkingLevel": "A String", # Optional. The number of thoughts tokens that the model should generate. + }, + "topK": 3.14, # Optional. Specifies the top-k sampling threshold. The model considers only the top k most probable tokens for the next token. This can be useful for generating more coherent and less random text. For example, a `top_k` of 40 means the model will choose the next word from the 40 most likely words. + "topP": 3.14, # Optional. Specifies the nucleus sampling threshold. The model considers only the smallest set of tokens whose cumulative probability is at least `top_p`. This helps generate more diverse and less repetitive responses. For example, a `top_p` of 0.9 means the model considers tokens until the cumulative probability of the tokens to select from reaches 0.9. It's recommended to adjust either temperature or `top_p`, but not both. + }, + "modelName": "A String", # The model name to use for multi-turn agent scraping to get next user message, e.g. "gemini-3-flash-preview". + }, + }, "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. "candidateCount": 42, # Optional. The number of candidate responses to generate. A higher `candidate_count` can provide more options to choose from, but it also consumes more resources. This can be useful for generating a variety of responses and selecting the best one. @@ -2581,7 +2873,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -2673,7 +2965,7 @@

Method Details

"topK": 3.14, # Optional. Specifies the top-k sampling threshold. The model considers only the top k most probable tokens for the next token. This can be useful for generating more coherent and less random text. For example, a `top_k` of 40 means the model will choose the next word from the 40 most likely words. "topP": 3.14, # Optional. Specifies the nucleus sampling threshold. The model considers only the smallest set of tokens whose cumulative probability is at least `top_p`. This helps generate more diverse and less repetitive responses. For example, a `top_p` of 0.9 means the model considers tokens until the cumulative probability of the tokens to select from reaches 0.9. It's recommended to adjust either temperature or `top_p`, but not both. }, - "model": "A String", # Optional. The fully qualified name of the publisher model or endpoint to use. Anthropic and Llama third-party models are also supported through Model Garden. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Third-party model format: `projects/{project}/locations/{location}/publishers/anthropic/models/{model}` `projects/{project}/locations/{location}/publishers/llama/models/{model}` Endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` + "model": "A String", # Optional. The fully qualified name of the publisher model or endpoint to use. Anthropic and Llama third-party models are also supported through Model Garden. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Third-party model formats: `projects/{project}/locations/{location}/publishers/anthropic/models/{model}` or `projects/{project}/locations/{location}/publishers/llama/models/{model}` Endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` }, }, "labels": { # Optional. Labels for the evaluation run. @@ -2787,7 +3079,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -2883,6 +3175,7 @@

Method Details

}, "datasetCustomMetrics": [ # Optional. Specifications for custom dataset-level aggregations. { # Defines a custom dataset-level aggregation. + "aggregationFunction": "A String", # Required. The Python code string containing the aggregation function. Expected function signature: `def aggregate(instances: list[dict[str, Any]]) -> dict[str, float]:` The `instances` argument is a list of dictionaries, where each dictionary represents a single evaluation result item. The structure of each dictionary corresponds to the fields in the `EvaluationResult` message. This includes: - `"request"`: Contains the original input data and model inputs (from `EvaluationResult.EvaluationRequest`). - `"candidate_results"`: Contains the results of any instance-level metrics (from `EvaluationResult.CandidateResults`). Example of a single item in the `instances` list: { "request": { "prompt": {"text": "What is the capital of France?"}, "golden_response": {"text": "Paris"}, "candidate_responses": [{"candidate": "model-v1", "text": "Paris"}] }, "candidate_results": [ {"metric": "exact_match", "score": 1.0}, {"metric": "bleu", "score": 0.9} ] } "displayName": "A String", # Optional. A display name for this custom summary metric. Used to prefix keys in the output summaryMetrics map. If not provided, a default name like "dataset_custom_metric_1", "dataset_custom_metric_2", etc., will be generated based on the order in the repeated field. }, ], @@ -2921,7 +3214,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -3023,6 +3316,7 @@

Method Details

}, }, "rubricGenerationSpec": { # Specification for how rubrics should be generated. # Dynamically generate rubrics using this specification. + "metricResourceName": "A String", # Optional. Resource name of the metric definition. "modelConfig": { # The autorater config used for the evaluation run. # Optional. Configuration for the model used in rubric generation. Configs including sampling count and base model can be specified here. Flipping is not supported for rubric generation. "autoraterModel": "A String", # Optional. The fully qualified name of the publisher model or tuned autorater endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` "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. Configuration options for model generation and outputs. @@ -3046,7 +3340,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -3196,7 +3490,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -3322,7 +3616,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -3425,6 +3719,18 @@

Method Details

"rubricGroupKey": "A String", # Use a pre-defined group of rubrics associated with the input. Refers to a key in the rubric_groups map of EvaluationInstance. "systemInstruction": "A String", # Optional. System instructions for the judge model. }, + "metadata": { # Metadata about the metric, used for visualization and organization. # Optional. Metadata about the metric, used for visualization and organization. + "otherMetadata": { # Optional. Flexible metadata for user-defined attributes. + "a_key": "", # Properties of the object. + }, + "scoreRange": { # The range of possible scores for this metric, used for plotting. # Optional. The range of possible scores for this metric, used for plotting. + "description": "A String", # Optional. The description of the score explaining the directionality etc. + "max": 3.14, # Required. The maximum value of the score range (inclusive). + "min": 3.14, # Required. The minimum value of the score range (inclusive). + "step": 3.14, # Optional. The distance between discrete steps in the range. If unset, the range is assumed to be continuous. + }, + "title": "A String", # Optional. The user-friendly name for the metric. If not set for a registered metric, it will default to the metric's display name. + }, "pairwiseMetricSpec": { # Spec for pairwise metric. # Spec for pairwise metric. "baselineResponseFieldName": "A String", # Optional. The field name of the baseline response. "candidateResponseFieldName": "A String", # Optional. The field name of the candidate response. @@ -3453,6 +3759,7 @@

Method Details

"useStemmer": True or False, # Optional. Whether to use stemmer to compute rouge score. }, }, + "metricResourceName": "A String", # Optional. The resource name of the metric definition. "predefinedMetricSpec": { # Specification for a pre-defined metric. # Spec for a pre-defined metric. "metricSpecName": "A String", # Required. The name of a pre-defined metric, such as "instruction_following_v1" or "text_quality_v1". "parameters": { # Optional. The parameters needed to run the pre-defined metric. @@ -3497,7 +3804,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -3593,6 +3900,7 @@

Method Details

}, "metricPromptTemplate": "A String", # Optional. Template for the prompt used by the judge model to evaluate against rubrics. "rubricGenerationSpec": { # Specification for how rubrics should be generated. # Dynamically generate rubrics for evaluation using this specification. + "metricResourceName": "A String", # Optional. Resource name of the metric definition. "modelConfig": { # The autorater config used for the evaluation run. # Optional. Configuration for the model used in rubric generation. Configs including sampling count and base model can be specified here. Flipping is not supported for rubric generation. "autoraterModel": "A String", # Optional. The fully qualified name of the publisher model or tuned autorater endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` "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. Configuration options for model generation and outputs. @@ -3616,7 +3924,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -3741,6 +4049,7 @@

Method Details

}, }, "rubricGenerationSpec": { # Specification for how rubrics should be generated. # Dynamically generate rubrics using this specification. + "metricResourceName": "A String", # Optional. Resource name of the metric definition. "modelConfig": { # The autorater config used for the evaluation run. # Optional. Configuration for the model used in rubric generation. Configs including sampling count and base model can be specified here. Flipping is not supported for rubric generation. "autoraterModel": "A String", # Optional. The fully qualified name of the publisher model or tuned autorater endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` "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. Configuration options for model generation and outputs. @@ -3764,7 +4073,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -3880,7 +4189,136 @@

Method Details

}, "evaluationSetSnapshot": "A String", # Output only. The specific evaluation set of the evaluation run. For runs with an evaluation set input, this will be that same set. For runs with BigQuery input, it's the sampled BigQuery dataset. "inferenceConfigs": { # Optional. The candidate to inference config map for the evaluation run. The candidate can be up to 128 characters long and can consist of any UTF-8 characters. - "a_key": { # An inference config used for model inference during the evaluation run. + "a_key": { # Defines the configuration for a candidate model or agent being evaluated. `InferenceConfig` encapsulates all the necessary information to invoke or scrape the candidate during the evaluation run. This includes direct model inference parameters, agent execution settings, and multi-turn scraping configurations (such as user simulators). It serves as the primary representation of the candidate across different stages of the evaluation process. + "agentRunConfig": { # Configuration for Agent Run. # Optional. Agent run config. + "agentEngine": "A String", # Optional. The resource name of the Agent Engine. Format: projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine} For example: projects/123/locations/us-central1/reasoningEngines/456 + "sessionInput": { # Session input to run an Agent. # Optional. The session input to get agent running results. + "parameters": { # Optional. Additional parameters for the session, like app_name, etc. For example, {"app_name": "my-app"}. + "a_key": "A String", + }, + "sessionState": { # Optional. Session specific memory which stores key conversation points. + "a_key": "", # Properties of the object. + }, + "userId": "A String", # Optional. The user id for the agent session. The ID can be up to 128 characters long. + }, + "userSimulatorConfig": { # Used for multi-turn agent scraping. Contains configuration for a user simulator that uses an LLM to generate messages on behalf of the user. # The configuration for a user simulator that uses an LLM to generate messages on behalf of the user. + "maxTurn": 42, # Maximum number of invocations allowed by the multi-turn agent scraping. This property allows us to stop a run-off conversation, where the agent and the user simulator get into a never ending loop. The initial fixed prompt is also counted as an invocation. + "modelConfig": { # 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. # The configuration for the model. + "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. + "candidateCount": 42, # Optional. The number of candidate responses to generate. A higher `candidate_count` can provide more options to choose from, but it also consumes more resources. This can be useful for generating a variety of responses and selecting the best one. + "enableAffectiveDialog": True or False, # Optional. If enabled, the model will detect emotions and adapt its responses accordingly. For example, if the model detects that the user is frustrated, it may provide a more empathetic response. + "frequencyPenalty": 3.14, # Optional. Penalizes tokens based on their frequency in the generated text. A positive value helps to reduce the repetition of words and phrases. Valid values can range from [-2.0, 2.0]. + "imageConfig": { # Configuration for image generation. This message allows you to control various aspects of image generation, such as the output format, aspect ratio, and whether the model can generate images of people. # Optional. Config for image generation features. + "aspectRatio": "A String", # Optional. The desired aspect ratio for the generated images. The following aspect ratios are supported: "1:1" "2:3", "3:2" "3:4", "4:3" "4:5", "5:4" "9:16", "16:9" "21:9" + "imageOutputOptions": { # The image output format for generated images. # Optional. The image output format for generated images. + "compressionQuality": 42, # Optional. The compression quality of the output image. + "mimeType": "A String", # Optional. The image format that the output should be saved as. + }, + "imageSize": "A String", # Optional. Specifies the size of generated images. Supported values are `1K`, `2K`, `4K`. If not specified, the model will use default value `1K`. + "personGeneration": "A String", # Optional. Controls whether the model can generate people. + "prominentPeople": "A String", # Optional. Controls whether prominent people (celebrities) generation is allowed. If used with personGeneration, personGeneration enum would take precedence. For instance, if ALLOW_NONE is set, all person generation would be blocked. If this field is unspecified, the default behavior is to allow prominent people. + }, + "logprobs": 42, # Optional. The number of top log probabilities to return for each token. This can be used to see which other tokens were considered likely candidates for a given position. A higher value will return more options, but it will also increase the size of the response. + "maxOutputTokens": 42, # Optional. The maximum number of tokens to generate in the response. A token is approximately four characters. The default value varies by model. This parameter can be used to control the length of the generated text and prevent overly long responses. + "mediaResolution": "A String", # Optional. The token resolution at which input media content is sampled. This is used to control the trade-off between the quality of the response and the number of tokens used to represent the media. A higher resolution allows the model to perceive more detail, which can lead to a more nuanced response, but it will also use more tokens. This does not affect the image dimensions sent to the model. + "presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. + "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. + "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. + "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. + "A String", + ], + "responseSchema": { # Defines the schema of input and output data. This is a subset of the [OpenAPI 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object). # Optional. Lets you to specify a schema for the model's response, ensuring that the output conforms to a particular structure. This is useful for generating structured data such as JSON. The schema is a subset of the [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema) object. When this field is set, you must also set the `response_mime_type` to `application/json`. + "additionalProperties": "", # Optional. If `type` is `OBJECT`, specifies how to handle properties not defined in `properties`. If it is a boolean `false`, no additional properties are allowed. If it is a schema, additional properties are allowed if they conform to the schema. + "anyOf": [ # Optional. The instance must be valid against any (one or more) of the subschemas listed in `any_of`. + # Object with schema name: GoogleCloudAiplatformV1Schema + ], + "default": "", # Optional. Default value to use if the field is not specified. + "defs": { # Optional. `defs` provides a map of schema definitions that can be reused by `ref` elsewhere in the schema. Only allowed at root level of the schema. + "a_key": # Object with schema name: GoogleCloudAiplatformV1Schema + }, + "description": "A String", # Optional. Describes the data. The model uses this field to understand the purpose of the schema and how to use it. It is a best practice to provide a clear and descriptive explanation for the schema and its properties here, rather than in the prompt. + "enum": [ # Optional. Possible values of the field. This field can be used to restrict a value to a fixed set of values. To mark a field as an enum, set `format` to `enum` and provide the list of possible values in `enum`. For example: 1. To define directions: `{type:STRING, format:enum, enum:["EAST", "NORTH", "SOUTH", "WEST"]}` 2. To define apartment numbers: `{type:INTEGER, format:enum, enum:["101", "201", "301"]}` + "A String", + ], + "example": "", # Optional. Example of an instance of this schema. + "format": "A String", # Optional. The format of the data. For `NUMBER` type, format can be `float` or `double`. For `INTEGER` type, format can be `int32` or `int64`. For `STRING` type, format can be `email`, `byte`, `date`, `date-time`, `password`, and other formats to further refine the data type. + "items": # Object with schema name: GoogleCloudAiplatformV1Schema # Optional. If type is `ARRAY`, `items` specifies the schema of elements in the array. + "maxItems": "A String", # Optional. If type is `ARRAY`, `max_items` specifies the maximum number of items in an array. + "maxLength": "A String", # Optional. If type is `STRING`, `max_length` specifies the maximum length of the string. + "maxProperties": "A String", # Optional. If type is `OBJECT`, `max_properties` specifies the maximum number of properties that can be provided. + "maximum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `maximum` specifies the maximum allowed value. + "minItems": "A String", # Optional. If type is `ARRAY`, `min_items` specifies the minimum number of items in an array. + "minLength": "A String", # Optional. If type is `STRING`, `min_length` specifies the minimum length of the string. + "minProperties": "A String", # Optional. If type is `OBJECT`, `min_properties` specifies the minimum number of properties that can be provided. + "minimum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `minimum` specifies the minimum allowed value. + "nullable": True or False, # Optional. Indicates if the value of this field can be null. + "pattern": "A String", # Optional. If type is `STRING`, `pattern` specifies a regular expression that the string must match. + "properties": { # Optional. If type is `OBJECT`, `properties` is a map of property names to schema definitions for each property of the object. + "a_key": # Object with schema name: GoogleCloudAiplatformV1Schema + }, + "propertyOrdering": [ # Optional. Order of properties displayed or used where order matters. This is not a standard field in OpenAPI specification, but can be used to control the order of properties. + "A String", + ], + "ref": "A String", # Optional. Allows referencing another schema definition to use in place of this schema. The value must be a valid reference to a schema in `defs`. For example, the following schema defines a reference to a schema node named "Pet": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the "pet" property is a reference to the schema node named "Pet". See details in https://json-schema.org/understanding-json-schema/structuring + "required": [ # Optional. If type is `OBJECT`, `required` lists the names of properties that must be present. + "A String", + ], + "title": "A String", # Optional. Title for the schema. + "type": "A String", # Optional. Data type of the schema field. + }, + "routingConfig": { # The configuration for routing the request to a specific model. This can be used to control which model is used for the generation, either automatically or by specifying a model name. # Optional. Routing configuration. + "autoMode": { # The configuration for automated routing. When automated routing is specified, the routing will be determined by the pretrained routing model and customer provided model routing preference. # In this mode, the model is selected automatically based on the content of the request. + "modelRoutingPreference": "A String", # The model routing preference. + }, + "manualMode": { # The configuration for manual routing. When manual routing is specified, the model will be selected based on the model name provided. # In this mode, the model is specified manually. + "modelName": "A String", # The name of the model to use. Only public LLM models are accepted. + }, + }, + "seed": 42, # Optional. A seed for the random number generator. By setting a seed, you can make the model's output mostly deterministic. For a given prompt and parameters (like temperature, top_p, etc.), the model will produce the same response every time. However, it's not a guaranteed absolute deterministic behavior. This is different from parameters like `temperature`, which control the *level* of randomness. `seed` ensures that the "random" choices the model makes are the same on every run, making it essential for testing and ensuring reproducible results. + "speechConfig": { # Configuration for speech generation. # Optional. The speech generation config. + "languageCode": "A String", # Optional. The language code (ISO 639-1) for the speech synthesis. + "multiSpeakerVoiceConfig": { # Configuration for a multi-speaker text-to-speech request. # The configuration for a multi-speaker text-to-speech request. This field is mutually exclusive with `voice_config`. + "speakerVoiceConfigs": [ # Required. A list of configurations for the voices of the speakers. Exactly two speaker voice configurations must be provided. + { # Configuration for a single speaker in a multi-speaker setup. + "speaker": "A String", # Required. The name of the speaker. This should be the same as the speaker name used in the prompt. + "voiceConfig": { # Configuration for a voice. # Required. The configuration for the voice of this speaker. + "prebuiltVoiceConfig": { # Configuration for a prebuilt voice. # The configuration for a prebuilt voice. + "voiceName": "A String", # The name of the prebuilt voice to use. + }, + "replicatedVoiceConfig": { # The configuration for the replicated voice to use. # Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample. + "mimeType": "A String", # Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set. + "voiceSampleAudio": "A String", # Optional. The sample of the custom voice. + }, + }, + }, + ], + }, + "voiceConfig": { # Configuration for a voice. # The configuration for the voice to use. + "prebuiltVoiceConfig": { # Configuration for a prebuilt voice. # The configuration for a prebuilt voice. + "voiceName": "A String", # The name of the prebuilt voice to use. + }, + "replicatedVoiceConfig": { # The configuration for the replicated voice to use. # Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample. + "mimeType": "A String", # Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set. + "voiceSampleAudio": "A String", # Optional. The sample of the custom voice. + }, + }, + }, + "stopSequences": [ # Optional. A list of character sequences that will stop the model from generating further tokens. If a stop sequence is generated, the output will end at that point. This is useful for controlling the length and structure of the output. For example, you can use ["\n", "###"] to stop generation at a new line or a specific marker. + "A String", + ], + "temperature": 3.14, # Optional. Controls the randomness of the output. A higher temperature results in more creative and diverse responses, while a lower temperature makes the output more predictable and focused. The valid range is (0.0, 2.0]. + "thinkingConfig": { # Configuration for the model's thinking features. "Thinking" is a process where the model breaks down a complex task into smaller, manageable steps. This allows the model to reason about the task, plan its approach, and execute the plan to generate a high-quality response. # Optional. Configuration for thinking features. An error will be returned if this field is set for models that don't support thinking. + "includeThoughts": True or False, # Optional. If true, the model will include its thoughts in the response. "Thoughts" are the intermediate steps the model takes to arrive at the final response. They can provide insights into the model's reasoning process and help with debugging. If this is true, thoughts are returned only when available. + "thinkingBudget": 42, # Optional. The token budget for the model's thinking process. The model will make a best effort to stay within this budget. This can be used to control the trade-off between response quality and latency. + "thinkingLevel": "A String", # Optional. The number of thoughts tokens that the model should generate. + }, + "topK": 3.14, # Optional. Specifies the top-k sampling threshold. The model considers only the top k most probable tokens for the next token. This can be useful for generating more coherent and less random text. For example, a `top_k` of 40 means the model will choose the next word from the 40 most likely words. + "topP": 3.14, # Optional. Specifies the nucleus sampling threshold. The model considers only the smallest set of tokens whose cumulative probability is at least `top_p`. This helps generate more diverse and less repetitive responses. For example, a `top_p` of 0.9 means the model considers tokens until the cumulative probability of the tokens to select from reaches 0.9. It's recommended to adjust either temperature or `top_p`, but not both. + }, + "modelName": "A String", # The model name to use for multi-turn agent scraping to get next user message, e.g. "gemini-3-flash-preview". + }, + }, "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. "candidateCount": 42, # Optional. The number of candidate responses to generate. A higher `candidate_count` can provide more options to choose from, but it also consumes more resources. This can be useful for generating a variety of responses and selecting the best one. @@ -3902,7 +4340,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -3994,7 +4432,7 @@

Method Details

"topK": 3.14, # Optional. Specifies the top-k sampling threshold. The model considers only the top k most probable tokens for the next token. This can be useful for generating more coherent and less random text. For example, a `top_k` of 40 means the model will choose the next word from the 40 most likely words. "topP": 3.14, # Optional. Specifies the nucleus sampling threshold. The model considers only the smallest set of tokens whose cumulative probability is at least `top_p`. This helps generate more diverse and less repetitive responses. For example, a `top_p` of 0.9 means the model considers tokens until the cumulative probability of the tokens to select from reaches 0.9. It's recommended to adjust either temperature or `top_p`, but not both. }, - "model": "A String", # Optional. The fully qualified name of the publisher model or endpoint to use. Anthropic and Llama third-party models are also supported through Model Garden. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Third-party model format: `projects/{project}/locations/{location}/publishers/anthropic/models/{model}` `projects/{project}/locations/{location}/publishers/llama/models/{model}` Endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` + "model": "A String", # Optional. The fully qualified name of the publisher model or endpoint to use. Anthropic and Llama third-party models are also supported through Model Garden. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Third-party model formats: `projects/{project}/locations/{location}/publishers/anthropic/models/{model}` or `projects/{project}/locations/{location}/publishers/llama/models/{model}` Endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` }, }, "labels": { # Optional. Labels for the evaluation run. @@ -4079,7 +4517,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -4175,6 +4613,7 @@

Method Details

}, "datasetCustomMetrics": [ # Optional. Specifications for custom dataset-level aggregations. { # Defines a custom dataset-level aggregation. + "aggregationFunction": "A String", # Required. The Python code string containing the aggregation function. Expected function signature: `def aggregate(instances: list[dict[str, Any]]) -> dict[str, float]:` The `instances` argument is a list of dictionaries, where each dictionary represents a single evaluation result item. The structure of each dictionary corresponds to the fields in the `EvaluationResult` message. This includes: - `"request"`: Contains the original input data and model inputs (from `EvaluationResult.EvaluationRequest`). - `"candidate_results"`: Contains the results of any instance-level metrics (from `EvaluationResult.CandidateResults`). Example of a single item in the `instances` list: { "request": { "prompt": {"text": "What is the capital of France?"}, "golden_response": {"text": "Paris"}, "candidate_responses": [{"candidate": "model-v1", "text": "Paris"}] }, "candidate_results": [ {"metric": "exact_match", "score": 1.0}, {"metric": "bleu", "score": 0.9} ] } "displayName": "A String", # Optional. A display name for this custom summary metric. Used to prefix keys in the output summaryMetrics map. If not provided, a default name like "dataset_custom_metric_1", "dataset_custom_metric_2", etc., will be generated based on the order in the repeated field. }, ], @@ -4213,7 +4652,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -4315,6 +4754,7 @@

Method Details

}, }, "rubricGenerationSpec": { # Specification for how rubrics should be generated. # Dynamically generate rubrics using this specification. + "metricResourceName": "A String", # Optional. Resource name of the metric definition. "modelConfig": { # The autorater config used for the evaluation run. # Optional. Configuration for the model used in rubric generation. Configs including sampling count and base model can be specified here. Flipping is not supported for rubric generation. "autoraterModel": "A String", # Optional. The fully qualified name of the publisher model or tuned autorater endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` "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. Configuration options for model generation and outputs. @@ -4338,7 +4778,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -4488,7 +4928,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -4614,7 +5054,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -4717,6 +5157,18 @@

Method Details

"rubricGroupKey": "A String", # Use a pre-defined group of rubrics associated with the input. Refers to a key in the rubric_groups map of EvaluationInstance. "systemInstruction": "A String", # Optional. System instructions for the judge model. }, + "metadata": { # Metadata about the metric, used for visualization and organization. # Optional. Metadata about the metric, used for visualization and organization. + "otherMetadata": { # Optional. Flexible metadata for user-defined attributes. + "a_key": "", # Properties of the object. + }, + "scoreRange": { # The range of possible scores for this metric, used for plotting. # Optional. The range of possible scores for this metric, used for plotting. + "description": "A String", # Optional. The description of the score explaining the directionality etc. + "max": 3.14, # Required. The maximum value of the score range (inclusive). + "min": 3.14, # Required. The minimum value of the score range (inclusive). + "step": 3.14, # Optional. The distance between discrete steps in the range. If unset, the range is assumed to be continuous. + }, + "title": "A String", # Optional. The user-friendly name for the metric. If not set for a registered metric, it will default to the metric's display name. + }, "pairwiseMetricSpec": { # Spec for pairwise metric. # Spec for pairwise metric. "baselineResponseFieldName": "A String", # Optional. The field name of the baseline response. "candidateResponseFieldName": "A String", # Optional. The field name of the candidate response. @@ -4745,6 +5197,7 @@

Method Details

"useStemmer": True or False, # Optional. Whether to use stemmer to compute rouge score. }, }, + "metricResourceName": "A String", # Optional. The resource name of the metric definition. "predefinedMetricSpec": { # Specification for a pre-defined metric. # Spec for a pre-defined metric. "metricSpecName": "A String", # Required. The name of a pre-defined metric, such as "instruction_following_v1" or "text_quality_v1". "parameters": { # Optional. The parameters needed to run the pre-defined metric. @@ -4789,7 +5242,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -4885,6 +5338,7 @@

Method Details

}, "metricPromptTemplate": "A String", # Optional. Template for the prompt used by the judge model to evaluate against rubrics. "rubricGenerationSpec": { # Specification for how rubrics should be generated. # Dynamically generate rubrics for evaluation using this specification. + "metricResourceName": "A String", # Optional. Resource name of the metric definition. "modelConfig": { # The autorater config used for the evaluation run. # Optional. Configuration for the model used in rubric generation. Configs including sampling count and base model can be specified here. Flipping is not supported for rubric generation. "autoraterModel": "A String", # Optional. The fully qualified name of the publisher model or tuned autorater endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` "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. Configuration options for model generation and outputs. @@ -4908,7 +5362,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -5033,6 +5487,7 @@

Method Details

}, }, "rubricGenerationSpec": { # Specification for how rubrics should be generated. # Dynamically generate rubrics using this specification. + "metricResourceName": "A String", # Optional. Resource name of the metric definition. "modelConfig": { # The autorater config used for the evaluation run. # Optional. Configuration for the model used in rubric generation. Configs including sampling count and base model can be specified here. Flipping is not supported for rubric generation. "autoraterModel": "A String", # Optional. The fully qualified name of the publisher model or tuned autorater endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` "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. Configuration options for model generation and outputs. @@ -5056,7 +5511,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -5172,7 +5627,136 @@

Method Details

}, "evaluationSetSnapshot": "A String", # Output only. The specific evaluation set of the evaluation run. For runs with an evaluation set input, this will be that same set. For runs with BigQuery input, it's the sampled BigQuery dataset. "inferenceConfigs": { # Optional. The candidate to inference config map for the evaluation run. The candidate can be up to 128 characters long and can consist of any UTF-8 characters. - "a_key": { # An inference config used for model inference during the evaluation run. + "a_key": { # Defines the configuration for a candidate model or agent being evaluated. `InferenceConfig` encapsulates all the necessary information to invoke or scrape the candidate during the evaluation run. This includes direct model inference parameters, agent execution settings, and multi-turn scraping configurations (such as user simulators). It serves as the primary representation of the candidate across different stages of the evaluation process. + "agentRunConfig": { # Configuration for Agent Run. # Optional. Agent run config. + "agentEngine": "A String", # Optional. The resource name of the Agent Engine. Format: projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine} For example: projects/123/locations/us-central1/reasoningEngines/456 + "sessionInput": { # Session input to run an Agent. # Optional. The session input to get agent running results. + "parameters": { # Optional. Additional parameters for the session, like app_name, etc. For example, {"app_name": "my-app"}. + "a_key": "A String", + }, + "sessionState": { # Optional. Session specific memory which stores key conversation points. + "a_key": "", # Properties of the object. + }, + "userId": "A String", # Optional. The user id for the agent session. The ID can be up to 128 characters long. + }, + "userSimulatorConfig": { # Used for multi-turn agent scraping. Contains configuration for a user simulator that uses an LLM to generate messages on behalf of the user. # The configuration for a user simulator that uses an LLM to generate messages on behalf of the user. + "maxTurn": 42, # Maximum number of invocations allowed by the multi-turn agent scraping. This property allows us to stop a run-off conversation, where the agent and the user simulator get into a never ending loop. The initial fixed prompt is also counted as an invocation. + "modelConfig": { # 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. # The configuration for the model. + "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. + "candidateCount": 42, # Optional. The number of candidate responses to generate. A higher `candidate_count` can provide more options to choose from, but it also consumes more resources. This can be useful for generating a variety of responses and selecting the best one. + "enableAffectiveDialog": True or False, # Optional. If enabled, the model will detect emotions and adapt its responses accordingly. For example, if the model detects that the user is frustrated, it may provide a more empathetic response. + "frequencyPenalty": 3.14, # Optional. Penalizes tokens based on their frequency in the generated text. A positive value helps to reduce the repetition of words and phrases. Valid values can range from [-2.0, 2.0]. + "imageConfig": { # Configuration for image generation. This message allows you to control various aspects of image generation, such as the output format, aspect ratio, and whether the model can generate images of people. # Optional. Config for image generation features. + "aspectRatio": "A String", # Optional. The desired aspect ratio for the generated images. The following aspect ratios are supported: "1:1" "2:3", "3:2" "3:4", "4:3" "4:5", "5:4" "9:16", "16:9" "21:9" + "imageOutputOptions": { # The image output format for generated images. # Optional. The image output format for generated images. + "compressionQuality": 42, # Optional. The compression quality of the output image. + "mimeType": "A String", # Optional. The image format that the output should be saved as. + }, + "imageSize": "A String", # Optional. Specifies the size of generated images. Supported values are `1K`, `2K`, `4K`. If not specified, the model will use default value `1K`. + "personGeneration": "A String", # Optional. Controls whether the model can generate people. + "prominentPeople": "A String", # Optional. Controls whether prominent people (celebrities) generation is allowed. If used with personGeneration, personGeneration enum would take precedence. For instance, if ALLOW_NONE is set, all person generation would be blocked. If this field is unspecified, the default behavior is to allow prominent people. + }, + "logprobs": 42, # Optional. The number of top log probabilities to return for each token. This can be used to see which other tokens were considered likely candidates for a given position. A higher value will return more options, but it will also increase the size of the response. + "maxOutputTokens": 42, # Optional. The maximum number of tokens to generate in the response. A token is approximately four characters. The default value varies by model. This parameter can be used to control the length of the generated text and prevent overly long responses. + "mediaResolution": "A String", # Optional. The token resolution at which input media content is sampled. This is used to control the trade-off between the quality of the response and the number of tokens used to represent the media. A higher resolution allows the model to perceive more detail, which can lead to a more nuanced response, but it will also use more tokens. This does not affect the image dimensions sent to the model. + "presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. + "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. + "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. + "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. + "A String", + ], + "responseSchema": { # Defines the schema of input and output data. This is a subset of the [OpenAPI 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object). # Optional. Lets you to specify a schema for the model's response, ensuring that the output conforms to a particular structure. This is useful for generating structured data such as JSON. The schema is a subset of the [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema) object. When this field is set, you must also set the `response_mime_type` to `application/json`. + "additionalProperties": "", # Optional. If `type` is `OBJECT`, specifies how to handle properties not defined in `properties`. If it is a boolean `false`, no additional properties are allowed. If it is a schema, additional properties are allowed if they conform to the schema. + "anyOf": [ # Optional. The instance must be valid against any (one or more) of the subschemas listed in `any_of`. + # Object with schema name: GoogleCloudAiplatformV1Schema + ], + "default": "", # Optional. Default value to use if the field is not specified. + "defs": { # Optional. `defs` provides a map of schema definitions that can be reused by `ref` elsewhere in the schema. Only allowed at root level of the schema. + "a_key": # Object with schema name: GoogleCloudAiplatformV1Schema + }, + "description": "A String", # Optional. Describes the data. The model uses this field to understand the purpose of the schema and how to use it. It is a best practice to provide a clear and descriptive explanation for the schema and its properties here, rather than in the prompt. + "enum": [ # Optional. Possible values of the field. This field can be used to restrict a value to a fixed set of values. To mark a field as an enum, set `format` to `enum` and provide the list of possible values in `enum`. For example: 1. To define directions: `{type:STRING, format:enum, enum:["EAST", "NORTH", "SOUTH", "WEST"]}` 2. To define apartment numbers: `{type:INTEGER, format:enum, enum:["101", "201", "301"]}` + "A String", + ], + "example": "", # Optional. Example of an instance of this schema. + "format": "A String", # Optional. The format of the data. For `NUMBER` type, format can be `float` or `double`. For `INTEGER` type, format can be `int32` or `int64`. For `STRING` type, format can be `email`, `byte`, `date`, `date-time`, `password`, and other formats to further refine the data type. + "items": # Object with schema name: GoogleCloudAiplatformV1Schema # Optional. If type is `ARRAY`, `items` specifies the schema of elements in the array. + "maxItems": "A String", # Optional. If type is `ARRAY`, `max_items` specifies the maximum number of items in an array. + "maxLength": "A String", # Optional. If type is `STRING`, `max_length` specifies the maximum length of the string. + "maxProperties": "A String", # Optional. If type is `OBJECT`, `max_properties` specifies the maximum number of properties that can be provided. + "maximum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `maximum` specifies the maximum allowed value. + "minItems": "A String", # Optional. If type is `ARRAY`, `min_items` specifies the minimum number of items in an array. + "minLength": "A String", # Optional. If type is `STRING`, `min_length` specifies the minimum length of the string. + "minProperties": "A String", # Optional. If type is `OBJECT`, `min_properties` specifies the minimum number of properties that can be provided. + "minimum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `minimum` specifies the minimum allowed value. + "nullable": True or False, # Optional. Indicates if the value of this field can be null. + "pattern": "A String", # Optional. If type is `STRING`, `pattern` specifies a regular expression that the string must match. + "properties": { # Optional. If type is `OBJECT`, `properties` is a map of property names to schema definitions for each property of the object. + "a_key": # Object with schema name: GoogleCloudAiplatformV1Schema + }, + "propertyOrdering": [ # Optional. Order of properties displayed or used where order matters. This is not a standard field in OpenAPI specification, but can be used to control the order of properties. + "A String", + ], + "ref": "A String", # Optional. Allows referencing another schema definition to use in place of this schema. The value must be a valid reference to a schema in `defs`. For example, the following schema defines a reference to a schema node named "Pet": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the "pet" property is a reference to the schema node named "Pet". See details in https://json-schema.org/understanding-json-schema/structuring + "required": [ # Optional. If type is `OBJECT`, `required` lists the names of properties that must be present. + "A String", + ], + "title": "A String", # Optional. Title for the schema. + "type": "A String", # Optional. Data type of the schema field. + }, + "routingConfig": { # The configuration for routing the request to a specific model. This can be used to control which model is used for the generation, either automatically or by specifying a model name. # Optional. Routing configuration. + "autoMode": { # The configuration for automated routing. When automated routing is specified, the routing will be determined by the pretrained routing model and customer provided model routing preference. # In this mode, the model is selected automatically based on the content of the request. + "modelRoutingPreference": "A String", # The model routing preference. + }, + "manualMode": { # The configuration for manual routing. When manual routing is specified, the model will be selected based on the model name provided. # In this mode, the model is specified manually. + "modelName": "A String", # The name of the model to use. Only public LLM models are accepted. + }, + }, + "seed": 42, # Optional. A seed for the random number generator. By setting a seed, you can make the model's output mostly deterministic. For a given prompt and parameters (like temperature, top_p, etc.), the model will produce the same response every time. However, it's not a guaranteed absolute deterministic behavior. This is different from parameters like `temperature`, which control the *level* of randomness. `seed` ensures that the "random" choices the model makes are the same on every run, making it essential for testing and ensuring reproducible results. + "speechConfig": { # Configuration for speech generation. # Optional. The speech generation config. + "languageCode": "A String", # Optional. The language code (ISO 639-1) for the speech synthesis. + "multiSpeakerVoiceConfig": { # Configuration for a multi-speaker text-to-speech request. # The configuration for a multi-speaker text-to-speech request. This field is mutually exclusive with `voice_config`. + "speakerVoiceConfigs": [ # Required. A list of configurations for the voices of the speakers. Exactly two speaker voice configurations must be provided. + { # Configuration for a single speaker in a multi-speaker setup. + "speaker": "A String", # Required. The name of the speaker. This should be the same as the speaker name used in the prompt. + "voiceConfig": { # Configuration for a voice. # Required. The configuration for the voice of this speaker. + "prebuiltVoiceConfig": { # Configuration for a prebuilt voice. # The configuration for a prebuilt voice. + "voiceName": "A String", # The name of the prebuilt voice to use. + }, + "replicatedVoiceConfig": { # The configuration for the replicated voice to use. # Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample. + "mimeType": "A String", # Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set. + "voiceSampleAudio": "A String", # Optional. The sample of the custom voice. + }, + }, + }, + ], + }, + "voiceConfig": { # Configuration for a voice. # The configuration for the voice to use. + "prebuiltVoiceConfig": { # Configuration for a prebuilt voice. # The configuration for a prebuilt voice. + "voiceName": "A String", # The name of the prebuilt voice to use. + }, + "replicatedVoiceConfig": { # The configuration for the replicated voice to use. # Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample. + "mimeType": "A String", # Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set. + "voiceSampleAudio": "A String", # Optional. The sample of the custom voice. + }, + }, + }, + "stopSequences": [ # Optional. A list of character sequences that will stop the model from generating further tokens. If a stop sequence is generated, the output will end at that point. This is useful for controlling the length and structure of the output. For example, you can use ["\n", "###"] to stop generation at a new line or a specific marker. + "A String", + ], + "temperature": 3.14, # Optional. Controls the randomness of the output. A higher temperature results in more creative and diverse responses, while a lower temperature makes the output more predictable and focused. The valid range is (0.0, 2.0]. + "thinkingConfig": { # Configuration for the model's thinking features. "Thinking" is a process where the model breaks down a complex task into smaller, manageable steps. This allows the model to reason about the task, plan its approach, and execute the plan to generate a high-quality response. # Optional. Configuration for thinking features. An error will be returned if this field is set for models that don't support thinking. + "includeThoughts": True or False, # Optional. If true, the model will include its thoughts in the response. "Thoughts" are the intermediate steps the model takes to arrive at the final response. They can provide insights into the model's reasoning process and help with debugging. If this is true, thoughts are returned only when available. + "thinkingBudget": 42, # Optional. The token budget for the model's thinking process. The model will make a best effort to stay within this budget. This can be used to control the trade-off between response quality and latency. + "thinkingLevel": "A String", # Optional. The number of thoughts tokens that the model should generate. + }, + "topK": 3.14, # Optional. Specifies the top-k sampling threshold. The model considers only the top k most probable tokens for the next token. This can be useful for generating more coherent and less random text. For example, a `top_k` of 40 means the model will choose the next word from the 40 most likely words. + "topP": 3.14, # Optional. Specifies the nucleus sampling threshold. The model considers only the smallest set of tokens whose cumulative probability is at least `top_p`. This helps generate more diverse and less repetitive responses. For example, a `top_p` of 0.9 means the model considers tokens until the cumulative probability of the tokens to select from reaches 0.9. It's recommended to adjust either temperature or `top_p`, but not both. + }, + "modelName": "A String", # The model name to use for multi-turn agent scraping to get next user message, e.g. "gemini-3-flash-preview". + }, + }, "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. "candidateCount": 42, # Optional. The number of candidate responses to generate. A higher `candidate_count` can provide more options to choose from, but it also consumes more resources. This can be useful for generating a variety of responses and selecting the best one. @@ -5194,7 +5778,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -5286,7 +5870,7 @@

Method Details

"topK": 3.14, # Optional. Specifies the top-k sampling threshold. The model considers only the top k most probable tokens for the next token. This can be useful for generating more coherent and less random text. For example, a `top_k` of 40 means the model will choose the next word from the 40 most likely words. "topP": 3.14, # Optional. Specifies the nucleus sampling threshold. The model considers only the smallest set of tokens whose cumulative probability is at least `top_p`. This helps generate more diverse and less repetitive responses. For example, a `top_p` of 0.9 means the model considers tokens until the cumulative probability of the tokens to select from reaches 0.9. It's recommended to adjust either temperature or `top_p`, but not both. }, - "model": "A String", # Optional. The fully qualified name of the publisher model or endpoint to use. Anthropic and Llama third-party models are also supported through Model Garden. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Third-party model format: `projects/{project}/locations/{location}/publishers/anthropic/models/{model}` `projects/{project}/locations/{location}/publishers/llama/models/{model}` Endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` + "model": "A String", # Optional. The fully qualified name of the publisher model or endpoint to use. Anthropic and Llama third-party models are also supported through Model Garden. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Third-party model formats: `projects/{project}/locations/{location}/publishers/anthropic/models/{model}` or `projects/{project}/locations/{location}/publishers/llama/models/{model}` Endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` }, }, "labels": { # Optional. Labels for the evaluation run. diff --git a/docs/dyn/aiplatform_v1.projects.locations.html b/docs/dyn/aiplatform_v1.projects.locations.html index 5320f511e8..7d9e2642c3 100644 --- a/docs/dyn/aiplatform_v1.projects.locations.html +++ b/docs/dyn/aiplatform_v1.projects.locations.html @@ -289,6 +289,9 @@

Instance Methods

generateSyntheticData(location, body=None, x__xgafv=None)

Generates synthetic (artificial) data based on a description

+

+ generateUserScenarios(location, body=None, x__xgafv=None)

+

Generates user scenarios for agent evaluation.

get(name, x__xgafv=None)

Gets information about a location.

@@ -1488,7 +1491,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -1640,7 +1643,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -1766,7 +1769,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -1869,6 +1872,18 @@

Method Details

"rubricGroupKey": "A String", # Use a pre-defined group of rubrics associated with the input. Refers to a key in the rubric_groups map of EvaluationInstance. "systemInstruction": "A String", # Optional. System instructions for the judge model. }, + "metadata": { # Metadata about the metric, used for visualization and organization. # Optional. Metadata about the metric, used for visualization and organization. + "otherMetadata": { # Optional. Flexible metadata for user-defined attributes. + "a_key": "", # Properties of the object. + }, + "scoreRange": { # The range of possible scores for this metric, used for plotting. # Optional. The range of possible scores for this metric, used for plotting. + "description": "A String", # Optional. The description of the score explaining the directionality etc. + "max": 3.14, # Required. The maximum value of the score range (inclusive). + "min": 3.14, # Required. The minimum value of the score range (inclusive). + "step": 3.14, # Optional. The distance between discrete steps in the range. If unset, the range is assumed to be continuous. + }, + "title": "A String", # Optional. The user-friendly name for the metric. If not set for a registered metric, it will default to the metric's display name. + }, "pairwiseMetricSpec": { # Spec for pairwise metric. # Spec for pairwise metric. "baselineResponseFieldName": "A String", # Optional. The field name of the baseline response. "candidateResponseFieldName": "A String", # Optional. The field name of the candidate response. @@ -1968,7 +1983,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -3781,6 +3796,326 @@

Method Details

}, }, "location": "A String", # Required. The resource name of the Location to evaluate the instances. Format: `projects/{project}/locations/{location}` + "metricSources": [ # Optional. The metrics (either inline or registered) used for evaluation. Currently, we only support evaluating a single metric. If multiple metrics are provided, only the first one will be evaluated. + { # The metric source used for evaluation. + "metric": { # The metric used for running evaluations. # Inline metric config. + "aggregationMetrics": [ # Optional. The aggregation metrics to use. + "A String", + ], + "bleuSpec": { # Spec for bleu score metric - calculates the precision of n-grams in the prediction as compared to reference - returns a score ranging between 0 to 1. # Spec for bleu metric. + "useEffectiveOrder": True or False, # Optional. Whether to use_effective_order to compute bleu score. + }, + "computationBasedMetricSpec": { # Specification for a computation based metric. # Spec for a computation based metric. + "parameters": { # Optional. A map of parameters for the metric, e.g. {"rouge_type": "rougeL"}. + "a_key": "", # Properties of the object. + }, + "type": "A String", # Required. The type of the computation based metric. + }, + "customCodeExecutionSpec": { # Specificies a metric that is populated by evaluating user-defined Python code. # Spec for Custom Code Execution metric. + "evaluationFunction": "A String", # Required. Python function. Expected user to define the following function, e.g.: def evaluate(instance: dict[str, Any]) -> float: Please include this function signature in the code snippet. Instance is the evaluation instance, any fields populated in the instance are available to the function as instance[field_name]. Example: Example input: ``` instance= EvaluationInstance( response=EvaluationInstance.InstanceData(text="The answer is 4."), reference=EvaluationInstance.InstanceData(text="4") ) ``` Example converted input: ``` { 'response': {'text': 'The answer is 4.'}, 'reference': {'text': '4'} } ``` Example python function: ``` def evaluate(instance: dict[str, Any]) -> float: if instance'response' == instance'reference': return 1.0 return 0.0 ``` CustomCodeExecutionSpec is also supported in Batch Evaluation (EvalDataset RPC) and Tuning Evaluation. Each line in the input jsonl file will be converted to dict[str, Any] and passed to the evaluation function. + }, + "exactMatchSpec": { # Spec for exact match metric - returns 1 if prediction and reference exactly matches, otherwise 0. # Spec for exact match metric. + }, + "llmBasedMetricSpec": { # Specification for an LLM based metric. # Spec for an LLM based metric. + "additionalConfig": { # Optional. Optional additional configuration for the metric. + "a_key": "", # Properties of the object. + }, + "judgeAutoraterConfig": { # The configs for autorater. This is applicable to both EvaluateInstances and EvaluateDataset. # Optional. Optional configuration for the judge LLM (Autorater). + "autoraterModel": "A String", # Optional. The fully qualified name of the publisher model or tuned autorater endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` + "flipEnabled": True or False, # Optional. Default is true. Whether to flip the candidate and baseline responses. This is only applicable to the pairwise metric. If enabled, also provide PairwiseMetricSpec.candidate_response_field_name and PairwiseMetricSpec.baseline_response_field_name. When rendering PairwiseMetricSpec.metric_prompt_template, the candidate and baseline fields will be flipped for half of the samples to reduce bias. + "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. Configuration options for model generation and outputs. + "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. + "candidateCount": 42, # Optional. The number of candidate responses to generate. A higher `candidate_count` can provide more options to choose from, but it also consumes more resources. This can be useful for generating a variety of responses and selecting the best one. + "enableAffectiveDialog": True or False, # Optional. If enabled, the model will detect emotions and adapt its responses accordingly. For example, if the model detects that the user is frustrated, it may provide a more empathetic response. + "frequencyPenalty": 3.14, # Optional. Penalizes tokens based on their frequency in the generated text. A positive value helps to reduce the repetition of words and phrases. Valid values can range from [-2.0, 2.0]. + "imageConfig": { # Configuration for image generation. This message allows you to control various aspects of image generation, such as the output format, aspect ratio, and whether the model can generate images of people. # Optional. Config for image generation features. + "aspectRatio": "A String", # Optional. The desired aspect ratio for the generated images. The following aspect ratios are supported: "1:1" "2:3", "3:2" "3:4", "4:3" "4:5", "5:4" "9:16", "16:9" "21:9" + "imageOutputOptions": { # The image output format for generated images. # Optional. The image output format for generated images. + "compressionQuality": 42, # Optional. The compression quality of the output image. + "mimeType": "A String", # Optional. The image format that the output should be saved as. + }, + "imageSize": "A String", # Optional. Specifies the size of generated images. Supported values are `1K`, `2K`, `4K`. If not specified, the model will use default value `1K`. + "personGeneration": "A String", # Optional. Controls whether the model can generate people. + "prominentPeople": "A String", # Optional. Controls whether prominent people (celebrities) generation is allowed. If used with personGeneration, personGeneration enum would take precedence. For instance, if ALLOW_NONE is set, all person generation would be blocked. If this field is unspecified, the default behavior is to allow prominent people. + }, + "logprobs": 42, # Optional. The number of top log probabilities to return for each token. This can be used to see which other tokens were considered likely candidates for a given position. A higher value will return more options, but it will also increase the size of the response. + "maxOutputTokens": 42, # Optional. The maximum number of tokens to generate in the response. A token is approximately four characters. The default value varies by model. This parameter can be used to control the length of the generated text and prevent overly long responses. + "mediaResolution": "A String", # Optional. The token resolution at which input media content is sampled. This is used to control the trade-off between the quality of the response and the number of tokens used to represent the media. A higher resolution allows the model to perceive more detail, which can lead to a more nuanced response, but it will also use more tokens. This does not affect the image dimensions sent to the model. + "presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. + "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. + "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. + "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. + "A String", + ], + "responseSchema": { # Defines the schema of input and output data. This is a subset of the [OpenAPI 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object). # Optional. Lets you to specify a schema for the model's response, ensuring that the output conforms to a particular structure. This is useful for generating structured data such as JSON. The schema is a subset of the [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema) object. When this field is set, you must also set the `response_mime_type` to `application/json`. + "additionalProperties": "", # Optional. If `type` is `OBJECT`, specifies how to handle properties not defined in `properties`. If it is a boolean `false`, no additional properties are allowed. If it is a schema, additional properties are allowed if they conform to the schema. + "anyOf": [ # Optional. The instance must be valid against any (one or more) of the subschemas listed in `any_of`. + # Object with schema name: GoogleCloudAiplatformV1Schema + ], + "default": "", # Optional. Default value to use if the field is not specified. + "defs": { # Optional. `defs` provides a map of schema definitions that can be reused by `ref` elsewhere in the schema. Only allowed at root level of the schema. + "a_key": # Object with schema name: GoogleCloudAiplatformV1Schema + }, + "description": "A String", # Optional. Describes the data. The model uses this field to understand the purpose of the schema and how to use it. It is a best practice to provide a clear and descriptive explanation for the schema and its properties here, rather than in the prompt. + "enum": [ # Optional. Possible values of the field. This field can be used to restrict a value to a fixed set of values. To mark a field as an enum, set `format` to `enum` and provide the list of possible values in `enum`. For example: 1. To define directions: `{type:STRING, format:enum, enum:["EAST", "NORTH", "SOUTH", "WEST"]}` 2. To define apartment numbers: `{type:INTEGER, format:enum, enum:["101", "201", "301"]}` + "A String", + ], + "example": "", # Optional. Example of an instance of this schema. + "format": "A String", # Optional. The format of the data. For `NUMBER` type, format can be `float` or `double`. For `INTEGER` type, format can be `int32` or `int64`. For `STRING` type, format can be `email`, `byte`, `date`, `date-time`, `password`, and other formats to further refine the data type. + "items": # Object with schema name: GoogleCloudAiplatformV1Schema # Optional. If type is `ARRAY`, `items` specifies the schema of elements in the array. + "maxItems": "A String", # Optional. If type is `ARRAY`, `max_items` specifies the maximum number of items in an array. + "maxLength": "A String", # Optional. If type is `STRING`, `max_length` specifies the maximum length of the string. + "maxProperties": "A String", # Optional. If type is `OBJECT`, `max_properties` specifies the maximum number of properties that can be provided. + "maximum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `maximum` specifies the maximum allowed value. + "minItems": "A String", # Optional. If type is `ARRAY`, `min_items` specifies the minimum number of items in an array. + "minLength": "A String", # Optional. If type is `STRING`, `min_length` specifies the minimum length of the string. + "minProperties": "A String", # Optional. If type is `OBJECT`, `min_properties` specifies the minimum number of properties that can be provided. + "minimum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `minimum` specifies the minimum allowed value. + "nullable": True or False, # Optional. Indicates if the value of this field can be null. + "pattern": "A String", # Optional. If type is `STRING`, `pattern` specifies a regular expression that the string must match. + "properties": { # Optional. If type is `OBJECT`, `properties` is a map of property names to schema definitions for each property of the object. + "a_key": # Object with schema name: GoogleCloudAiplatformV1Schema + }, + "propertyOrdering": [ # Optional. Order of properties displayed or used where order matters. This is not a standard field in OpenAPI specification, but can be used to control the order of properties. + "A String", + ], + "ref": "A String", # Optional. Allows referencing another schema definition to use in place of this schema. The value must be a valid reference to a schema in `defs`. For example, the following schema defines a reference to a schema node named "Pet": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the "pet" property is a reference to the schema node named "Pet". See details in https://json-schema.org/understanding-json-schema/structuring + "required": [ # Optional. If type is `OBJECT`, `required` lists the names of properties that must be present. + "A String", + ], + "title": "A String", # Optional. Title for the schema. + "type": "A String", # Optional. Data type of the schema field. + }, + "routingConfig": { # The configuration for routing the request to a specific model. This can be used to control which model is used for the generation, either automatically or by specifying a model name. # Optional. Routing configuration. + "autoMode": { # The configuration for automated routing. When automated routing is specified, the routing will be determined by the pretrained routing model and customer provided model routing preference. # In this mode, the model is selected automatically based on the content of the request. + "modelRoutingPreference": "A String", # The model routing preference. + }, + "manualMode": { # The configuration for manual routing. When manual routing is specified, the model will be selected based on the model name provided. # In this mode, the model is specified manually. + "modelName": "A String", # The name of the model to use. Only public LLM models are accepted. + }, + }, + "seed": 42, # Optional. A seed for the random number generator. By setting a seed, you can make the model's output mostly deterministic. For a given prompt and parameters (like temperature, top_p, etc.), the model will produce the same response every time. However, it's not a guaranteed absolute deterministic behavior. This is different from parameters like `temperature`, which control the *level* of randomness. `seed` ensures that the "random" choices the model makes are the same on every run, making it essential for testing and ensuring reproducible results. + "speechConfig": { # Configuration for speech generation. # Optional. The speech generation config. + "languageCode": "A String", # Optional. The language code (ISO 639-1) for the speech synthesis. + "multiSpeakerVoiceConfig": { # Configuration for a multi-speaker text-to-speech request. # The configuration for a multi-speaker text-to-speech request. This field is mutually exclusive with `voice_config`. + "speakerVoiceConfigs": [ # Required. A list of configurations for the voices of the speakers. Exactly two speaker voice configurations must be provided. + { # Configuration for a single speaker in a multi-speaker setup. + "speaker": "A String", # Required. The name of the speaker. This should be the same as the speaker name used in the prompt. + "voiceConfig": { # Configuration for a voice. # Required. The configuration for the voice of this speaker. + "prebuiltVoiceConfig": { # Configuration for a prebuilt voice. # The configuration for a prebuilt voice. + "voiceName": "A String", # The name of the prebuilt voice to use. + }, + "replicatedVoiceConfig": { # The configuration for the replicated voice to use. # Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample. + "mimeType": "A String", # Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set. + "voiceSampleAudio": "A String", # Optional. The sample of the custom voice. + }, + }, + }, + ], + }, + "voiceConfig": { # Configuration for a voice. # The configuration for the voice to use. + "prebuiltVoiceConfig": { # Configuration for a prebuilt voice. # The configuration for a prebuilt voice. + "voiceName": "A String", # The name of the prebuilt voice to use. + }, + "replicatedVoiceConfig": { # The configuration for the replicated voice to use. # Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample. + "mimeType": "A String", # Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set. + "voiceSampleAudio": "A String", # Optional. The sample of the custom voice. + }, + }, + }, + "stopSequences": [ # Optional. A list of character sequences that will stop the model from generating further tokens. If a stop sequence is generated, the output will end at that point. This is useful for controlling the length and structure of the output. For example, you can use ["\n", "###"] to stop generation at a new line or a specific marker. + "A String", + ], + "temperature": 3.14, # Optional. Controls the randomness of the output. A higher temperature results in more creative and diverse responses, while a lower temperature makes the output more predictable and focused. The valid range is (0.0, 2.0]. + "thinkingConfig": { # Configuration for the model's thinking features. "Thinking" is a process where the model breaks down a complex task into smaller, manageable steps. This allows the model to reason about the task, plan its approach, and execute the plan to generate a high-quality response. # Optional. Configuration for thinking features. An error will be returned if this field is set for models that don't support thinking. + "includeThoughts": True or False, # Optional. If true, the model will include its thoughts in the response. "Thoughts" are the intermediate steps the model takes to arrive at the final response. They can provide insights into the model's reasoning process and help with debugging. If this is true, thoughts are returned only when available. + "thinkingBudget": 42, # Optional. The token budget for the model's thinking process. The model will make a best effort to stay within this budget. This can be used to control the trade-off between response quality and latency. + "thinkingLevel": "A String", # Optional. The number of thoughts tokens that the model should generate. + }, + "topK": 3.14, # Optional. Specifies the top-k sampling threshold. The model considers only the top k most probable tokens for the next token. This can be useful for generating more coherent and less random text. For example, a `top_k` of 40 means the model will choose the next word from the 40 most likely words. + "topP": 3.14, # Optional. Specifies the nucleus sampling threshold. The model considers only the smallest set of tokens whose cumulative probability is at least `top_p`. This helps generate more diverse and less repetitive responses. For example, a `top_p` of 0.9 means the model considers tokens until the cumulative probability of the tokens to select from reaches 0.9. It's recommended to adjust either temperature or `top_p`, but not both. + }, + "samplingCount": 42, # Optional. Number of samples for each instance in the dataset. If not specified, the default is 4. Minimum value is 1, maximum value is 32. + }, + "metricPromptTemplate": "A String", # Required. Template for the prompt sent to the judge model. + "predefinedRubricGenerationSpec": { # The spec for a pre-defined metric. # Dynamically generate rubrics using a predefined spec. + "metricSpecName": "A String", # Required. The name of a pre-defined metric, such as "instruction_following_v1" or "text_quality_v1". + "metricSpecParameters": { # Optional. The parameters needed to run the pre-defined metric. + "a_key": "", # Properties of the object. + }, + }, + "rubricGenerationSpec": { # Specification for how rubrics should be generated. # Dynamically generate rubrics using this specification. + "modelConfig": { # The configs for autorater. This is applicable to both EvaluateInstances and EvaluateDataset. # Configuration for the model used in rubric generation. Configs including sampling count and base model can be specified here. Flipping is not supported for rubric generation. + "autoraterModel": "A String", # Optional. The fully qualified name of the publisher model or tuned autorater endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` + "flipEnabled": True or False, # Optional. Default is true. Whether to flip the candidate and baseline responses. This is only applicable to the pairwise metric. If enabled, also provide PairwiseMetricSpec.candidate_response_field_name and PairwiseMetricSpec.baseline_response_field_name. When rendering PairwiseMetricSpec.metric_prompt_template, the candidate and baseline fields will be flipped for half of the samples to reduce bias. + "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. Configuration options for model generation and outputs. + "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. + "candidateCount": 42, # Optional. The number of candidate responses to generate. A higher `candidate_count` can provide more options to choose from, but it also consumes more resources. This can be useful for generating a variety of responses and selecting the best one. + "enableAffectiveDialog": True or False, # Optional. If enabled, the model will detect emotions and adapt its responses accordingly. For example, if the model detects that the user is frustrated, it may provide a more empathetic response. + "frequencyPenalty": 3.14, # Optional. Penalizes tokens based on their frequency in the generated text. A positive value helps to reduce the repetition of words and phrases. Valid values can range from [-2.0, 2.0]. + "imageConfig": { # Configuration for image generation. This message allows you to control various aspects of image generation, such as the output format, aspect ratio, and whether the model can generate images of people. # Optional. Config for image generation features. + "aspectRatio": "A String", # Optional. The desired aspect ratio for the generated images. The following aspect ratios are supported: "1:1" "2:3", "3:2" "3:4", "4:3" "4:5", "5:4" "9:16", "16:9" "21:9" + "imageOutputOptions": { # The image output format for generated images. # Optional. The image output format for generated images. + "compressionQuality": 42, # Optional. The compression quality of the output image. + "mimeType": "A String", # Optional. The image format that the output should be saved as. + }, + "imageSize": "A String", # Optional. Specifies the size of generated images. Supported values are `1K`, `2K`, `4K`. If not specified, the model will use default value `1K`. + "personGeneration": "A String", # Optional. Controls whether the model can generate people. + "prominentPeople": "A String", # Optional. Controls whether prominent people (celebrities) generation is allowed. If used with personGeneration, personGeneration enum would take precedence. For instance, if ALLOW_NONE is set, all person generation would be blocked. If this field is unspecified, the default behavior is to allow prominent people. + }, + "logprobs": 42, # Optional. The number of top log probabilities to return for each token. This can be used to see which other tokens were considered likely candidates for a given position. A higher value will return more options, but it will also increase the size of the response. + "maxOutputTokens": 42, # Optional. The maximum number of tokens to generate in the response. A token is approximately four characters. The default value varies by model. This parameter can be used to control the length of the generated text and prevent overly long responses. + "mediaResolution": "A String", # Optional. The token resolution at which input media content is sampled. This is used to control the trade-off between the quality of the response and the number of tokens used to represent the media. A higher resolution allows the model to perceive more detail, which can lead to a more nuanced response, but it will also use more tokens. This does not affect the image dimensions sent to the model. + "presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. + "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. + "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. + "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. + "A String", + ], + "responseSchema": { # Defines the schema of input and output data. This is a subset of the [OpenAPI 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object). # Optional. Lets you to specify a schema for the model's response, ensuring that the output conforms to a particular structure. This is useful for generating structured data such as JSON. The schema is a subset of the [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema) object. When this field is set, you must also set the `response_mime_type` to `application/json`. + "additionalProperties": "", # Optional. If `type` is `OBJECT`, specifies how to handle properties not defined in `properties`. If it is a boolean `false`, no additional properties are allowed. If it is a schema, additional properties are allowed if they conform to the schema. + "anyOf": [ # Optional. The instance must be valid against any (one or more) of the subschemas listed in `any_of`. + # Object with schema name: GoogleCloudAiplatformV1Schema + ], + "default": "", # Optional. Default value to use if the field is not specified. + "defs": { # Optional. `defs` provides a map of schema definitions that can be reused by `ref` elsewhere in the schema. Only allowed at root level of the schema. + "a_key": # Object with schema name: GoogleCloudAiplatformV1Schema + }, + "description": "A String", # Optional. Describes the data. The model uses this field to understand the purpose of the schema and how to use it. It is a best practice to provide a clear and descriptive explanation for the schema and its properties here, rather than in the prompt. + "enum": [ # Optional. Possible values of the field. This field can be used to restrict a value to a fixed set of values. To mark a field as an enum, set `format` to `enum` and provide the list of possible values in `enum`. For example: 1. To define directions: `{type:STRING, format:enum, enum:["EAST", "NORTH", "SOUTH", "WEST"]}` 2. To define apartment numbers: `{type:INTEGER, format:enum, enum:["101", "201", "301"]}` + "A String", + ], + "example": "", # Optional. Example of an instance of this schema. + "format": "A String", # Optional. The format of the data. For `NUMBER` type, format can be `float` or `double`. For `INTEGER` type, format can be `int32` or `int64`. For `STRING` type, format can be `email`, `byte`, `date`, `date-time`, `password`, and other formats to further refine the data type. + "items": # Object with schema name: GoogleCloudAiplatformV1Schema # Optional. If type is `ARRAY`, `items` specifies the schema of elements in the array. + "maxItems": "A String", # Optional. If type is `ARRAY`, `max_items` specifies the maximum number of items in an array. + "maxLength": "A String", # Optional. If type is `STRING`, `max_length` specifies the maximum length of the string. + "maxProperties": "A String", # Optional. If type is `OBJECT`, `max_properties` specifies the maximum number of properties that can be provided. + "maximum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `maximum` specifies the maximum allowed value. + "minItems": "A String", # Optional. If type is `ARRAY`, `min_items` specifies the minimum number of items in an array. + "minLength": "A String", # Optional. If type is `STRING`, `min_length` specifies the minimum length of the string. + "minProperties": "A String", # Optional. If type is `OBJECT`, `min_properties` specifies the minimum number of properties that can be provided. + "minimum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `minimum` specifies the minimum allowed value. + "nullable": True or False, # Optional. Indicates if the value of this field can be null. + "pattern": "A String", # Optional. If type is `STRING`, `pattern` specifies a regular expression that the string must match. + "properties": { # Optional. If type is `OBJECT`, `properties` is a map of property names to schema definitions for each property of the object. + "a_key": # Object with schema name: GoogleCloudAiplatformV1Schema + }, + "propertyOrdering": [ # Optional. Order of properties displayed or used where order matters. This is not a standard field in OpenAPI specification, but can be used to control the order of properties. + "A String", + ], + "ref": "A String", # Optional. Allows referencing another schema definition to use in place of this schema. The value must be a valid reference to a schema in `defs`. For example, the following schema defines a reference to a schema node named "Pet": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the "pet" property is a reference to the schema node named "Pet". See details in https://json-schema.org/understanding-json-schema/structuring + "required": [ # Optional. If type is `OBJECT`, `required` lists the names of properties that must be present. + "A String", + ], + "title": "A String", # Optional. Title for the schema. + "type": "A String", # Optional. Data type of the schema field. + }, + "routingConfig": { # The configuration for routing the request to a specific model. This can be used to control which model is used for the generation, either automatically or by specifying a model name. # Optional. Routing configuration. + "autoMode": { # The configuration for automated routing. When automated routing is specified, the routing will be determined by the pretrained routing model and customer provided model routing preference. # In this mode, the model is selected automatically based on the content of the request. + "modelRoutingPreference": "A String", # The model routing preference. + }, + "manualMode": { # The configuration for manual routing. When manual routing is specified, the model will be selected based on the model name provided. # In this mode, the model is specified manually. + "modelName": "A String", # The name of the model to use. Only public LLM models are accepted. + }, + }, + "seed": 42, # Optional. A seed for the random number generator. By setting a seed, you can make the model's output mostly deterministic. For a given prompt and parameters (like temperature, top_p, etc.), the model will produce the same response every time. However, it's not a guaranteed absolute deterministic behavior. This is different from parameters like `temperature`, which control the *level* of randomness. `seed` ensures that the "random" choices the model makes are the same on every run, making it essential for testing and ensuring reproducible results. + "speechConfig": { # Configuration for speech generation. # Optional. The speech generation config. + "languageCode": "A String", # Optional. The language code (ISO 639-1) for the speech synthesis. + "multiSpeakerVoiceConfig": { # Configuration for a multi-speaker text-to-speech request. # The configuration for a multi-speaker text-to-speech request. This field is mutually exclusive with `voice_config`. + "speakerVoiceConfigs": [ # Required. A list of configurations for the voices of the speakers. Exactly two speaker voice configurations must be provided. + { # Configuration for a single speaker in a multi-speaker setup. + "speaker": "A String", # Required. The name of the speaker. This should be the same as the speaker name used in the prompt. + "voiceConfig": { # Configuration for a voice. # Required. The configuration for the voice of this speaker. + "prebuiltVoiceConfig": { # Configuration for a prebuilt voice. # The configuration for a prebuilt voice. + "voiceName": "A String", # The name of the prebuilt voice to use. + }, + "replicatedVoiceConfig": { # The configuration for the replicated voice to use. # Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample. + "mimeType": "A String", # Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set. + "voiceSampleAudio": "A String", # Optional. The sample of the custom voice. + }, + }, + }, + ], + }, + "voiceConfig": { # Configuration for a voice. # The configuration for the voice to use. + "prebuiltVoiceConfig": { # Configuration for a prebuilt voice. # The configuration for a prebuilt voice. + "voiceName": "A String", # The name of the prebuilt voice to use. + }, + "replicatedVoiceConfig": { # The configuration for the replicated voice to use. # Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample. + "mimeType": "A String", # Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set. + "voiceSampleAudio": "A String", # Optional. The sample of the custom voice. + }, + }, + }, + "stopSequences": [ # Optional. A list of character sequences that will stop the model from generating further tokens. If a stop sequence is generated, the output will end at that point. This is useful for controlling the length and structure of the output. For example, you can use ["\n", "###"] to stop generation at a new line or a specific marker. + "A String", + ], + "temperature": 3.14, # Optional. Controls the randomness of the output. A higher temperature results in more creative and diverse responses, while a lower temperature makes the output more predictable and focused. The valid range is (0.0, 2.0]. + "thinkingConfig": { # Configuration for the model's thinking features. "Thinking" is a process where the model breaks down a complex task into smaller, manageable steps. This allows the model to reason about the task, plan its approach, and execute the plan to generate a high-quality response. # Optional. Configuration for thinking features. An error will be returned if this field is set for models that don't support thinking. + "includeThoughts": True or False, # Optional. If true, the model will include its thoughts in the response. "Thoughts" are the intermediate steps the model takes to arrive at the final response. They can provide insights into the model's reasoning process and help with debugging. If this is true, thoughts are returned only when available. + "thinkingBudget": 42, # Optional. The token budget for the model's thinking process. The model will make a best effort to stay within this budget. This can be used to control the trade-off between response quality and latency. + "thinkingLevel": "A String", # Optional. The number of thoughts tokens that the model should generate. + }, + "topK": 3.14, # Optional. Specifies the top-k sampling threshold. The model considers only the top k most probable tokens for the next token. This can be useful for generating more coherent and less random text. For example, a `top_k` of 40 means the model will choose the next word from the 40 most likely words. + "topP": 3.14, # Optional. Specifies the nucleus sampling threshold. The model considers only the smallest set of tokens whose cumulative probability is at least `top_p`. This helps generate more diverse and less repetitive responses. For example, a `top_p` of 0.9 means the model considers tokens until the cumulative probability of the tokens to select from reaches 0.9. It's recommended to adjust either temperature or `top_p`, but not both. + }, + "samplingCount": 42, # Optional. Number of samples for each instance in the dataset. If not specified, the default is 4. Minimum value is 1, maximum value is 32. + }, + "promptTemplate": "A String", # Template for the prompt used to generate rubrics. The details should be updated based on the most-recent recipe requirements. + "rubricContentType": "A String", # The type of rubric content to be generated. + "rubricTypeOntology": [ # Optional. An optional, pre-defined list of allowed types for generated rubrics. If this field is provided, it implies `include_rubric_type` should be true, and the generated rubric types should be chosen from this ontology. + "A String", + ], + }, + "rubricGroupKey": "A String", # Use a pre-defined group of rubrics associated with the input. Refers to a key in the rubric_groups map of EvaluationInstance. + "systemInstruction": "A String", # Optional. System instructions for the judge model. + }, + "metadata": { # Metadata about the metric, used for visualization and organization. # Optional. Metadata about the metric, used for visualization and organization. + "otherMetadata": { # Optional. Flexible metadata for user-defined attributes. + "a_key": "", # Properties of the object. + }, + "scoreRange": { # The range of possible scores for this metric, used for plotting. # Optional. The range of possible scores for this metric, used for plotting. + "description": "A String", # Optional. The description of the score explaining the directionality etc. + "max": 3.14, # Required. The maximum value of the score range (inclusive). + "min": 3.14, # Required. The minimum value of the score range (inclusive). + "step": 3.14, # Optional. The distance between discrete steps in the range. If unset, the range is assumed to be continuous. + }, + "title": "A String", # Optional. The user-friendly name for the metric. If not set for a registered metric, it will default to the metric's display name. + }, + "pairwiseMetricSpec": { # Spec for pairwise metric. # Spec for pairwise metric. + "baselineResponseFieldName": "A String", # Optional. The field name of the baseline response. + "candidateResponseFieldName": "A String", # Optional. The field name of the candidate response. + "customOutputFormatConfig": { # Spec for custom output format configuration. # Optional. CustomOutputFormatConfig allows customization of metric output. When this config is set, the default output is replaced with the raw output string. If a custom format is chosen, the `pairwise_choice` and `explanation` fields in the corresponding metric result will be empty. + "returnRawOutput": True or False, # Optional. Whether to return raw output. + }, + "metricPromptTemplate": "A String", # Required. Metric prompt template for pairwise metric. + "systemInstruction": "A String", # Optional. System instructions for pairwise metric. + }, + "pointwiseMetricSpec": { # Spec for pointwise metric. # Spec for pointwise metric. + "customOutputFormatConfig": { # Spec for custom output format configuration. # Optional. CustomOutputFormatConfig allows customization of metric output. By default, metrics return a score and explanation. When this config is set, the default output is replaced with either: - The raw output string. - A parsed output based on a user-defined schema. If a custom format is chosen, the `score` and `explanation` fields in the corresponding metric result will be empty. + "returnRawOutput": True or False, # Optional. Whether to return raw output. + }, + "metricPromptTemplate": "A String", # Required. Metric prompt template for pointwise metric. + "systemInstruction": "A String", # Optional. System instructions for pointwise metric. + }, + "predefinedMetricSpec": { # The spec for a pre-defined metric. # The spec for a pre-defined metric. + "metricSpecName": "A String", # Required. The name of a pre-defined metric, such as "instruction_following_v1" or "text_quality_v1". + "metricSpecParameters": { # Optional. The parameters needed to run the pre-defined metric. + "a_key": "", # Properties of the object. + }, + }, + "rougeSpec": { # Spec for rouge score metric - calculates the recall of n-grams in prediction as compared to reference - returns a score ranging between 0 and 1. # Spec for rouge metric. + "rougeType": "A String", # Optional. Supported rouge types are rougen[1-9], rougeL, and rougeLsum. + "splitSummaries": True or False, # Optional. Whether to split summaries while using rougeLsum. + "useStemmer": True or False, # Optional. Whether to use stemmer to compute rouge score. + }, + }, + "metricResourceName": "A String", # Resource name for registered metric. + }, + ], "metrics": [ # The metrics used for evaluation. Currently, we only support evaluating a single metric. If multiple metrics are provided, only the first one will be evaluated. { # The metric used for running evaluations. "aggregationMetrics": [ # Optional. The aggregation metrics to use. @@ -3828,7 +4163,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -3954,7 +4289,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -4057,6 +4392,18 @@

Method Details

"rubricGroupKey": "A String", # Use a pre-defined group of rubrics associated with the input. Refers to a key in the rubric_groups map of EvaluationInstance. "systemInstruction": "A String", # Optional. System instructions for the judge model. }, + "metadata": { # Metadata about the metric, used for visualization and organization. # Optional. Metadata about the metric, used for visualization and organization. + "otherMetadata": { # Optional. Flexible metadata for user-defined attributes. + "a_key": "", # Properties of the object. + }, + "scoreRange": { # The range of possible scores for this metric, used for plotting. # Optional. The range of possible scores for this metric, used for plotting. + "description": "A String", # Optional. The description of the score explaining the directionality etc. + "max": 3.14, # Required. The maximum value of the score range (inclusive). + "min": 3.14, # Required. The minimum value of the score range (inclusive). + "step": 3.14, # Optional. The distance between discrete steps in the range. If unset, the range is assumed to be continuous. + }, + "title": "A String", # Optional. The user-friendly name for the metric. If not set for a registered metric, it will default to the metric's display name. + }, "pairwiseMetricSpec": { # Spec for pairwise metric. # Spec for pairwise metric. "baselineResponseFieldName": "A String", # Optional. The field name of the baseline response. "candidateResponseFieldName": "A String", # Optional. The field name of the candidate response. @@ -5242,6 +5589,7 @@

Method Details

}, ], "location": "A String", # Required. The resource name of the Location to generate rubrics from. Format: `projects/{project}/locations/{location}` + "metricResourceName": "A String", # Optional. The resource name of a registered metric. Rubric generation using predefined metric spec or LLMBasedMetricSpec is supported. If this field is set, the configuration provided in this field is used for rubric generation. The `predefined_rubric_generation_spec` and `rubric_generation_spec` fields will be ignored. "predefinedRubricGenerationSpec": { # The spec for a pre-defined metric. # Optional. Specification for using the rubric generation configs of a pre-defined metric, e.g. "generic_quality_v1" and "instruction_following_v1". Some of the configs may be only used in rubric generation and not supporting evaluation, e.g. "fully_customized_generic_quality_v1". If this field is set, the `rubric_generation_spec` field will be ignored. "metricSpecName": "A String", # Required. The name of a pre-defined metric, such as "instruction_following_v1" or "text_quality_v1". "metricSpecParameters": { # Optional. The parameters needed to run the pre-defined metric. @@ -5273,7 +5621,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -5600,6 +5948,270 @@

Method Details

}
+
+ generateUserScenarios(location, body=None, x__xgafv=None) +
Generates user scenarios for agent evaluation.
+
+Args:
+  location: string, Required. The resource name of the Location to run the job. Format: `projects/{project}/locations/{location}` (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # Request message for DataFoundryService.GenerateUserScenarios.
+  "agents": { # Required. A map containing the static configurations for each agent in the system. Key: agent_id (matches the `author` field in events). Value: The static configuration of the agent.
+    "a_key": { # Represents configuration for an Agent.
+      "agentId": "A String", # Required. Unique identifier of the agent. This ID is used to refer to this agent, e.g., in AgentEvent.author, or in the `sub_agents` field. It must be unique within the `agents` map.
+      "agentType": "A String", # Optional. The type or class of the agent (e.g., "LlmAgent", "RouterAgent", "ToolUseAgent"). Useful for the autorater to understand the expected behavior of the agent.
+      "description": "A String", # Optional. A high-level description of the agent's role and responsibilities. Critical for evaluating if the agent is routing tasks correctly.
+      "instruction": "A String", # Optional. Provides instructions for the LLM model, guiding the agent's behavior. Can be static or dynamic. Dynamic instructions can contain placeholders like {variable_name} that will be resolved at runtime using the `AgentEvent.state_delta` field.
+      "subAgents": [ # Optional. The list of valid agent IDs that this agent can delegate to. This defines the directed edges in the multi-agent system graph topology.
+        "A String",
+      ],
+      "tools": [ # Optional. The list of tools available to this agent.
+        { # Tool details that the model may use to generate response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the model. A Tool object should contain exactly one type of Tool (e.g FunctionDeclaration, Retrieval or GoogleSearchRetrieval).
+          "codeExecution": { # Tool that executes code generated by the model, and automatically returns the result to the model. See also ExecutableCode and CodeExecutionResult, which are input and output to this tool. # Optional. CodeExecution tool type. Enables the model to execute code as part of generation.
+          },
+          "computerUse": { # Tool to support computer use. # Optional. Tool to support the model interacting directly with the computer. If enabled, it automatically populates computer-use specific Function Declarations.
+            "environment": "A String", # Required. The environment being operated.
+            "excludedPredefinedFunctions": [ # Optional. By default, [predefined functions](https://cloud.google.com/vertex-ai/generative-ai/docs/computer-use#supported-actions) are included in the final model call. Some of them can be explicitly excluded from being automatically included. This can serve two purposes: 1. Using a more restricted / different action space. 2. Improving the definitions / instructions of predefined functions.
+              "A String",
+            ],
+          },
+          "enterpriseWebSearch": { # Tool to search public web data, powered by Vertex AI Search and Sec4 compliance. # Optional. Tool to support searching public web data, powered by Vertex AI Search and Sec4 compliance.
+            "blockingConfidence": "A String", # Optional. Sites with confidence level chosen & above this value will be blocked from the search results.
+            "excludeDomains": [ # Optional. List of domains to be excluded from the search results. The default limit is 2000 domains.
+              "A String",
+            ],
+          },
+          "functionDeclarations": [ # Optional. Function tool type. One or more function declarations to be passed to the model along with the current user query. Model may decide to call a subset of these functions by populating FunctionCall in the response. User should provide a FunctionResponse for each function call in the next turn. Based on the function responses, Model will generate the final response back to the user. Maximum 512 function declarations can be provided.
+            { # Structured representation of a function declaration as defined by the [OpenAPI 3.0 specification](https://spec.openapis.org/oas/v3.0.3). Included in this declaration are the function name, description, parameters and response type. This FunctionDeclaration is a representation of a block of code that can be used as a `Tool` by the model and executed by the client.
+              "description": "A String", # Optional. Description and purpose of the function. Model uses it to decide how and whether to call the function.
+              "name": "A String", # Required. The name of the function to call. Must start with a letter or an underscore. Must be a-z, A-Z, 0-9, or contain underscores, dots, colons and dashes, with a maximum length of 64.
+              "parameters": { # Defines the schema of input and output data. This is a subset of the [OpenAPI 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object). # Optional. Describes the parameters to this function in JSON Schema Object format. Reflects the Open API 3.03 Parameter Object. string Key: the name of the parameter. Parameter names are case sensitive. Schema Value: the Schema defining the type used for the parameter. For function with no parameters, this can be left unset. Parameter names must start with a letter or an underscore and must only contain chars a-z, A-Z, 0-9, or underscores with a maximum length of 64. Example with 1 required and 1 optional parameter: type: OBJECT properties: param1: type: STRING param2: type: INTEGER required: - param1
+                "additionalProperties": "", # Optional. If `type` is `OBJECT`, specifies how to handle properties not defined in `properties`. If it is a boolean `false`, no additional properties are allowed. If it is a schema, additional properties are allowed if they conform to the schema.
+                "anyOf": [ # Optional. The instance must be valid against any (one or more) of the subschemas listed in `any_of`.
+                  # Object with schema name: GoogleCloudAiplatformV1Schema
+                ],
+                "default": "", # Optional. Default value to use if the field is not specified.
+                "defs": { # Optional. `defs` provides a map of schema definitions that can be reused by `ref` elsewhere in the schema. Only allowed at root level of the schema.
+                  "a_key": # Object with schema name: GoogleCloudAiplatformV1Schema
+                },
+                "description": "A String", # Optional. Describes the data. The model uses this field to understand the purpose of the schema and how to use it. It is a best practice to provide a clear and descriptive explanation for the schema and its properties here, rather than in the prompt.
+                "enum": [ # Optional. Possible values of the field. This field can be used to restrict a value to a fixed set of values. To mark a field as an enum, set `format` to `enum` and provide the list of possible values in `enum`. For example: 1. To define directions: `{type:STRING, format:enum, enum:["EAST", "NORTH", "SOUTH", "WEST"]}` 2. To define apartment numbers: `{type:INTEGER, format:enum, enum:["101", "201", "301"]}`
+                  "A String",
+                ],
+                "example": "", # Optional. Example of an instance of this schema.
+                "format": "A String", # Optional. The format of the data. For `NUMBER` type, format can be `float` or `double`. For `INTEGER` type, format can be `int32` or `int64`. For `STRING` type, format can be `email`, `byte`, `date`, `date-time`, `password`, and other formats to further refine the data type.
+                "items": # Object with schema name: GoogleCloudAiplatformV1Schema # Optional. If type is `ARRAY`, `items` specifies the schema of elements in the array.
+                "maxItems": "A String", # Optional. If type is `ARRAY`, `max_items` specifies the maximum number of items in an array.
+                "maxLength": "A String", # Optional. If type is `STRING`, `max_length` specifies the maximum length of the string.
+                "maxProperties": "A String", # Optional. If type is `OBJECT`, `max_properties` specifies the maximum number of properties that can be provided.
+                "maximum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `maximum` specifies the maximum allowed value.
+                "minItems": "A String", # Optional. If type is `ARRAY`, `min_items` specifies the minimum number of items in an array.
+                "minLength": "A String", # Optional. If type is `STRING`, `min_length` specifies the minimum length of the string.
+                "minProperties": "A String", # Optional. If type is `OBJECT`, `min_properties` specifies the minimum number of properties that can be provided.
+                "minimum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `minimum` specifies the minimum allowed value.
+                "nullable": True or False, # Optional. Indicates if the value of this field can be null.
+                "pattern": "A String", # Optional. If type is `STRING`, `pattern` specifies a regular expression that the string must match.
+                "properties": { # Optional. If type is `OBJECT`, `properties` is a map of property names to schema definitions for each property of the object.
+                  "a_key": # Object with schema name: GoogleCloudAiplatformV1Schema
+                },
+                "propertyOrdering": [ # Optional. Order of properties displayed or used where order matters. This is not a standard field in OpenAPI specification, but can be used to control the order of properties.
+                  "A String",
+                ],
+                "ref": "A String", # Optional. Allows referencing another schema definition to use in place of this schema. The value must be a valid reference to a schema in `defs`. For example, the following schema defines a reference to a schema node named "Pet": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the "pet" property is a reference to the schema node named "Pet". See details in https://json-schema.org/understanding-json-schema/structuring
+                "required": [ # Optional. If type is `OBJECT`, `required` lists the names of properties that must be present.
+                  "A String",
+                ],
+                "title": "A String", # Optional. Title for the schema.
+                "type": "A String", # Optional. Data type of the schema field.
+              },
+              "parametersJsonSchema": "", # Optional. Describes the parameters to the function in JSON Schema format. The schema must describe an object where the properties are the parameters to the function. For example: ``` { "type": "object", "properties": { "name": { "type": "string" }, "age": { "type": "integer" } }, "additionalProperties": false, "required": ["name", "age"], "propertyOrdering": ["name", "age"] } ``` This field is mutually exclusive with `parameters`.
+              "response": { # Defines the schema of input and output data. This is a subset of the [OpenAPI 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object). # Optional. Describes the output from this function in JSON Schema format. Reflects the Open API 3.03 Response Object. The Schema defines the type used for the response value of the function.
+                "additionalProperties": "", # Optional. If `type` is `OBJECT`, specifies how to handle properties not defined in `properties`. If it is a boolean `false`, no additional properties are allowed. If it is a schema, additional properties are allowed if they conform to the schema.
+                "anyOf": [ # Optional. The instance must be valid against any (one or more) of the subschemas listed in `any_of`.
+                  # Object with schema name: GoogleCloudAiplatformV1Schema
+                ],
+                "default": "", # Optional. Default value to use if the field is not specified.
+                "defs": { # Optional. `defs` provides a map of schema definitions that can be reused by `ref` elsewhere in the schema. Only allowed at root level of the schema.
+                  "a_key": # Object with schema name: GoogleCloudAiplatformV1Schema
+                },
+                "description": "A String", # Optional. Describes the data. The model uses this field to understand the purpose of the schema and how to use it. It is a best practice to provide a clear and descriptive explanation for the schema and its properties here, rather than in the prompt.
+                "enum": [ # Optional. Possible values of the field. This field can be used to restrict a value to a fixed set of values. To mark a field as an enum, set `format` to `enum` and provide the list of possible values in `enum`. For example: 1. To define directions: `{type:STRING, format:enum, enum:["EAST", "NORTH", "SOUTH", "WEST"]}` 2. To define apartment numbers: `{type:INTEGER, format:enum, enum:["101", "201", "301"]}`
+                  "A String",
+                ],
+                "example": "", # Optional. Example of an instance of this schema.
+                "format": "A String", # Optional. The format of the data. For `NUMBER` type, format can be `float` or `double`. For `INTEGER` type, format can be `int32` or `int64`. For `STRING` type, format can be `email`, `byte`, `date`, `date-time`, `password`, and other formats to further refine the data type.
+                "items": # Object with schema name: GoogleCloudAiplatformV1Schema # Optional. If type is `ARRAY`, `items` specifies the schema of elements in the array.
+                "maxItems": "A String", # Optional. If type is `ARRAY`, `max_items` specifies the maximum number of items in an array.
+                "maxLength": "A String", # Optional. If type is `STRING`, `max_length` specifies the maximum length of the string.
+                "maxProperties": "A String", # Optional. If type is `OBJECT`, `max_properties` specifies the maximum number of properties that can be provided.
+                "maximum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `maximum` specifies the maximum allowed value.
+                "minItems": "A String", # Optional. If type is `ARRAY`, `min_items` specifies the minimum number of items in an array.
+                "minLength": "A String", # Optional. If type is `STRING`, `min_length` specifies the minimum length of the string.
+                "minProperties": "A String", # Optional. If type is `OBJECT`, `min_properties` specifies the minimum number of properties that can be provided.
+                "minimum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `minimum` specifies the minimum allowed value.
+                "nullable": True or False, # Optional. Indicates if the value of this field can be null.
+                "pattern": "A String", # Optional. If type is `STRING`, `pattern` specifies a regular expression that the string must match.
+                "properties": { # Optional. If type is `OBJECT`, `properties` is a map of property names to schema definitions for each property of the object.
+                  "a_key": # Object with schema name: GoogleCloudAiplatformV1Schema
+                },
+                "propertyOrdering": [ # Optional. Order of properties displayed or used where order matters. This is not a standard field in OpenAPI specification, but can be used to control the order of properties.
+                  "A String",
+                ],
+                "ref": "A String", # Optional. Allows referencing another schema definition to use in place of this schema. The value must be a valid reference to a schema in `defs`. For example, the following schema defines a reference to a schema node named "Pet": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the "pet" property is a reference to the schema node named "Pet". See details in https://json-schema.org/understanding-json-schema/structuring
+                "required": [ # Optional. If type is `OBJECT`, `required` lists the names of properties that must be present.
+                  "A String",
+                ],
+                "title": "A String", # Optional. Title for the schema.
+                "type": "A String", # Optional. Data type of the schema field.
+              },
+              "responseJsonSchema": "", # Optional. Describes the output from this function in JSON Schema format. The value specified by the schema is the response value of the function. This field is mutually exclusive with `response`.
+            },
+          ],
+          "googleMaps": { # Tool to retrieve public maps data for grounding, powered by Google. # Optional. GoogleMaps tool type. Tool to support Google Maps in Model.
+            "enableWidget": True or False, # Optional. If true, include the widget context token in the response.
+          },
+          "googleSearch": { # GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google. # Optional. GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google.
+            "blockingConfidence": "A String", # Optional. Sites with confidence level chosen & above this value will be blocked from the search results.
+            "excludeDomains": [ # Optional. List of domains to be excluded from the search results. The default limit is 2000 domains. Example: ["amazon.com", "facebook.com"].
+              "A String",
+            ],
+            "searchTypes": { # Different types of search that can be enabled on the GoogleSearch tool. # Optional. The set of search types to enable. If not set, web search is enabled by default.
+              "imageSearch": { # Image search for grounding and related configurations. # Optional. Setting this field enables image search. Image bytes are returned.
+              },
+              "webSearch": { # Standard web search for grounding and related configurations. Only text results are returned. # Optional. Setting this field enables web search. Only text results are returned.
+              },
+            },
+          },
+          "googleSearchRetrieval": { # Tool to retrieve public web data for grounding, powered by Google. # Optional. Specialized retrieval tool that is powered by Google Search.
+            "dynamicRetrievalConfig": { # Describes the options to customize dynamic retrieval. # Specifies the dynamic retrieval configuration for the given source.
+              "dynamicThreshold": 3.14, # Optional. The threshold to be used in dynamic retrieval. If not set, a system default value is used.
+              "mode": "A String", # The mode of the predictor to be used in dynamic retrieval.
+            },
+          },
+          "parallelAiSearch": { # ParallelAiSearch tool type. A tool that uses the Parallel.ai search engine for grounding. # Optional. If specified, Vertex AI will use Parallel.ai to search for information to answer user queries. The search results will be grounded on Parallel.ai and presented to the model for response generation
+            "apiKey": "A String", # Optional. The API key for ParallelAiSearch. If an API key is not provided, the system will attempt to verify access by checking for an active Parallel.ai subscription through the Google Cloud Marketplace. See https://docs.parallel.ai/search/search-quickstart for more details.
+            "customConfigs": { # Optional. Custom configs for ParallelAiSearch. This field can be used to pass any parameter from the Parallel.ai Search API. See the Parallel.ai documentation for the full list of available parameters and their usage: https://docs.parallel.ai/api-reference/search-beta/search Currently only `source_policy`, `excerpts`, `max_results`, `mode`, `fetch_policy` can be set via this field. For example: { "source_policy": { "include_domains": ["google.com", "wikipedia.org"], "exclude_domains": ["example.com"] }, "fetch_policy": { "max_age_seconds": 3600 } }
+              "a_key": "", # Properties of the object.
+            },
+          },
+          "retrieval": { # Defines a retrieval tool that model can call to access external knowledge. # Optional. Retrieval tool type. System will always execute the provided retrieval tool(s) to get external knowledge to answer the prompt. Retrieval results are presented to the model for generation.
+            "disableAttribution": True or False, # Optional. Deprecated. This option is no longer supported.
+            "externalApi": { # Retrieve from data source powered by external API for grounding. The external API is not owned by Google, but need to follow the pre-defined API spec. # Use data source powered by external API for grounding.
+              "apiAuth": { # The generic reusable api auth config. Deprecated. Please use AuthConfig (google/cloud/aiplatform/master/auth.proto) instead. # The authentication config to access the API. Deprecated. Please use auth_config instead.
+                "apiKeyConfig": { # The API secret. # The API secret.
+                  "apiKeySecretVersion": "A String", # Required. The SecretManager secret version resource name storing API key. e.g. projects/{project}/secrets/{secret}/versions/{version}
+                  "apiKeyString": "A String", # The API key string. Either this or `api_key_secret_version` must be set.
+                },
+              },
+              "apiSpec": "A String", # The API spec that the external API implements.
+              "authConfig": { # Auth configuration to run the extension. # The authentication config to access the API.
+                "apiKeyConfig": { # Config for authentication with API key. # Config for API key auth.
+                  "apiKeySecret": "A String", # Optional. The name of the SecretManager secret version resource storing the API key. Format: `projects/{project}/secrets/{secrete}/versions/{version}` - If both `api_key_secret` and `api_key_string` are specified, this field takes precedence over `api_key_string`. - If specified, the `secretmanager.versions.access` permission should be granted to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the specified resource.
+                  "apiKeyString": "A String", # Optional. The API key to be used in the request directly.
+                  "httpElementLocation": "A String", # Optional. The location of the API key.
+                  "name": "A String", # Optional. The parameter name of the API key. E.g. If the API request is "https://example.com/act?api_key=", "api_key" would be the parameter name.
+                },
+                "authType": "A String", # Type of auth scheme.
+                "googleServiceAccountConfig": { # Config for Google Service Account Authentication. # Config for Google Service Account auth.
+                  "serviceAccount": "A String", # Optional. The service account that the extension execution service runs as. - If the service account is specified, the `iam.serviceAccounts.getAccessToken` permission should be granted to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the specified service account. - If not specified, the Vertex AI Extension Service Agent will be used to execute the Extension.
+                },
+                "httpBasicAuthConfig": { # Config for HTTP Basic Authentication. # Config for HTTP Basic auth.
+                  "credentialSecret": "A String", # Required. The name of the SecretManager secret version resource storing the base64 encoded credentials. Format: `projects/{project}/secrets/{secrete}/versions/{version}` - If specified, the `secretmanager.versions.access` permission should be granted to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the specified resource.
+                },
+                "oauthConfig": { # Config for user oauth. # Config for user oauth.
+                  "accessToken": "A String", # Access token for extension endpoint. Only used to propagate token from [[ExecuteExtensionRequest.runtime_auth_config]] at request time.
+                  "serviceAccount": "A String", # The service account used to generate access tokens for executing the Extension. - If the service account is specified, the `iam.serviceAccounts.getAccessToken` permission should be granted to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the provided service account.
+                },
+                "oidcConfig": { # Config for user OIDC auth. # Config for user OIDC auth.
+                  "idToken": "A String", # OpenID Connect formatted ID token for extension endpoint. Only used to propagate token from [[ExecuteExtensionRequest.runtime_auth_config]] at request time.
+                  "serviceAccount": "A String", # The service account used to generate an OpenID Connect (OIDC)-compatible JWT token signed by the Google OIDC Provider (accounts.google.com) for extension endpoint (https://cloud.google.com/iam/docs/create-short-lived-credentials-direct#sa-credentials-oidc). - The audience for the token will be set to the URL in the server url defined in the OpenApi spec. - If the service account is provided, the service account should grant `iam.serviceAccounts.getOpenIdToken` permission to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents).
+                },
+              },
+              "elasticSearchParams": { # The search parameters to use for the ELASTIC_SEARCH spec. # Parameters for the elastic search API.
+                "index": "A String", # The ElasticSearch index to use.
+                "numHits": 42, # Optional. Number of hits (chunks) to request. When specified, it is passed to Elasticsearch as the `num_hits` param.
+                "searchTemplate": "A String", # The ElasticSearch search template to use.
+              },
+              "endpoint": "A String", # The endpoint of the external API. The system will call the API at this endpoint to retrieve the data for grounding. Example: https://acme.com:443/search
+              "simpleSearchParams": { # The search parameters to use for SIMPLE_SEARCH spec. # Parameters for the simple search API.
+              },
+            },
+            "vertexAiSearch": { # Retrieve from Vertex AI Search datastore or engine for grounding. datastore and engine are mutually exclusive. See https://cloud.google.com/products/agent-builder # Set to use data source powered by Vertex AI Search.
+              "dataStoreSpecs": [ # Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. It should only be set if engine is used.
+                { # Define data stores within engine to filter on in a search call and configurations for those data stores. For more information, see https://cloud.google.com/generative-ai-app-builder/docs/reference/rpc/google.cloud.discoveryengine.v1#datastorespec
+                  "dataStore": "A String", # Full resource name of DataStore, such as Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}`
+                  "filter": "A String", # Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see [Filtering](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)
+                },
+              ],
+              "datastore": "A String", # Optional. Fully-qualified Vertex AI Search data store resource ID. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}`
+              "engine": "A String", # Optional. Fully-qualified Vertex AI Search engine resource ID. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`
+              "filter": "A String", # Optional. Filter strings to be passed to the search API.
+              "maxResults": 42, # Optional. Number of search results to return per query. The default value is 10. The maximumm allowed value is 10.
+            },
+            "vertexRagStore": { # Retrieve from Vertex RAG Store for grounding. # Set to use data source powered by Vertex RAG store. User data is uploaded via the VertexRagDataService.
+              "ragResources": [ # Optional. The representation of the rag source. It can be used to specify corpus only or ragfiles. Currently only support one corpus or multiple files from one corpus. In the future we may open up multiple corpora support.
+                { # The definition of the Rag resource.
+                  "ragCorpus": "A String", # Optional. RagCorpora resource name. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}`
+                  "ragFileIds": [ # Optional. rag_file_id. The files should be in the same rag_corpus set in rag_corpus field.
+                    "A String",
+                  ],
+                },
+              ],
+              "ragRetrievalConfig": { # Specifies the context retrieval config. # Optional. The retrieval config for the Rag query.
+                "filter": { # Config for filters. # Optional. Config for filters.
+                  "metadataFilter": "A String", # Optional. String for metadata filtering.
+                  "vectorDistanceThreshold": 3.14, # Optional. Only returns contexts with vector distance smaller than the threshold.
+                  "vectorSimilarityThreshold": 3.14, # Optional. Only returns contexts with vector similarity larger than the threshold.
+                },
+                "ranking": { # Config for ranking and reranking. # Optional. Config for ranking and reranking.
+                  "llmRanker": { # Config for LlmRanker. # Optional. Config for LlmRanker.
+                    "modelName": "A String", # Optional. The model name used for ranking. See [Supported models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/inference#supported-models).
+                  },
+                  "rankService": { # Config for Rank Service. # Optional. Config for Rank Service.
+                    "modelName": "A String", # Optional. The model name of the rank service. Format: `semantic-ranker-512@latest`
+                  },
+                },
+                "topK": 42, # Optional. The number of contexts to retrieve.
+              },
+              "similarityTopK": 42, # Optional. Number of top k results to return from the selected corpora.
+              "vectorDistanceThreshold": 3.14, # Optional. Only return results with vector distance smaller than the threshold.
+            },
+          },
+          "urlContext": { # Tool to support URL context. # Optional. Tool to support URL context retrieval.
+          },
+        },
+      ],
+    },
+  },
+  "rootAgentId": "A String", # Required. The agent id to identify the root agent.
+  "userScenarioGenerationConfig": { # User scenario generation configuration. # Required. Configuration for generating user scenarios.
+    "environmentData": "A String", # Optional. Environment data in string type.
+    "modelName": "A String", # Optional. The model name to use for generation. It can be model name, e.g. "gemini-3-pro-preview". or the fully qualified name of the publisher model or endpoint. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}`
+    "simulationInstruction": "A String", # Optional. Simulation instruction to guide the user scenario generation.
+    "userScenarioCount": "A String", # Required. The number of user scenarios to generate. The maximum number of scenarios that can be generated is 100.
+  },
+}
+
+  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 DataFoundryService.GenerateUserScenarios.
+  "userScenarios": [ # The generated user scenarios used to simulate multi-turn agent running results and agent evaluation.
+    { # Output of user scenario generation.
+      "conversationPlan": "A String", # Conversation plan to drive multi-turn agent run and get simulated agent eval dataset.
+      "startingPrompt": "A String", # Starting prompt for the conversation between simulated user and agent under the test.
+    },
+  ],
+}
+
+
get(name, x__xgafv=None)
Gets information about a location.
diff --git a/docs/dyn/aiplatform_v1.projects.locations.models.html b/docs/dyn/aiplatform_v1.projects.locations.models.html
index 1ca273ae95..94ce57098f 100644
--- a/docs/dyn/aiplatform_v1.projects.locations.models.html
+++ b/docs/dyn/aiplatform_v1.projects.locations.models.html
@@ -614,7 +614,7 @@ 

Method Details

"copy": True or False, # If this Model is copy of another Model. If true then source_type pertains to the original. "sourceType": "A String", # Type of the model source. }, - "name": "A String", # The resource name of the Model. + "name": "A String", # Identifier. The resource name of the Model. "originalModelInfo": { # Contains information about the original Model if this Model is a copy. # Output only. If this Model is a copy of another Model, this contains info about the original. "model": "A String", # Output only. The resource name of the Model this Model is a copy of, including the revision. Format: `projects/{project}/locations/{location}/models/{model_id}@{version_id}` }, @@ -997,7 +997,7 @@

Method Details

"copy": True or False, # If this Model is copy of another Model. If true then source_type pertains to the original. "sourceType": "A String", # Type of the model source. }, - "name": "A String", # The resource name of the Model. + "name": "A String", # Identifier. The resource name of the Model. "originalModelInfo": { # Contains information about the original Model if this Model is a copy. # Output only. If this Model is a copy of another Model, this contains info about the original. "model": "A String", # Output only. The resource name of the Model this Model is a copy of, including the revision. Format: `projects/{project}/locations/{location}/models/{model_id}@{version_id}` }, @@ -1390,7 +1390,7 @@

Method Details

"copy": True or False, # If this Model is copy of another Model. If true then source_type pertains to the original. "sourceType": "A String", # Type of the model source. }, - "name": "A String", # The resource name of the Model. + "name": "A String", # Identifier. The resource name of the Model. "originalModelInfo": { # Contains information about the original Model if this Model is a copy. # Output only. If this Model is a copy of another Model, this contains info about the original. "model": "A String", # Output only. The resource name of the Model this Model is a copy of, including the revision. Format: `projects/{project}/locations/{location}/models/{model_id}@{version_id}` }, @@ -1771,7 +1771,7 @@

Method Details

"copy": True or False, # If this Model is copy of another Model. If true then source_type pertains to the original. "sourceType": "A String", # Type of the model source. }, - "name": "A String", # The resource name of the Model. + "name": "A String", # Identifier. The resource name of the Model. "originalModelInfo": { # Contains information about the original Model if this Model is a copy. # Output only. If this Model is a copy of another Model, this contains info about the original. "model": "A String", # Output only. The resource name of the Model this Model is a copy of, including the revision. Format: `projects/{project}/locations/{location}/models/{model_id}@{version_id}` }, @@ -1817,7 +1817,7 @@

Method Details

Updates a Model.
 
 Args:
-  name: string, The resource name of the Model. (required)
+  name: string, Identifier. The resource name of the Model. (required)
   body: object, The request body.
     The object takes the form of:
 
@@ -2107,7 +2107,7 @@ 

Method Details

"copy": True or False, # If this Model is copy of another Model. If true then source_type pertains to the original. "sourceType": "A String", # Type of the model source. }, - "name": "A String", # The resource name of the Model. + "name": "A String", # Identifier. The resource name of the Model. "originalModelInfo": { # Contains information about the original Model if this Model is a copy. # Output only. If this Model is a copy of another Model, this contains info about the original. "model": "A String", # Output only. The resource name of the Model this Model is a copy of, including the revision. Format: `projects/{project}/locations/{location}/models/{model_id}@{version_id}` }, @@ -2442,7 +2442,7 @@

Method Details

"copy": True or False, # If this Model is copy of another Model. If true then source_type pertains to the original. "sourceType": "A String", # Type of the model source. }, - "name": "A String", # The resource name of the Model. + "name": "A String", # Identifier. The resource name of the Model. "originalModelInfo": { # Contains information about the original Model if this Model is a copy. # Output only. If this Model is a copy of another Model, this contains info about the original. "model": "A String", # Output only. The resource name of the Model this Model is a copy of, including the revision. Format: `projects/{project}/locations/{location}/models/{model_id}@{version_id}` }, @@ -2916,7 +2916,7 @@

Method Details

"copy": True or False, # If this Model is copy of another Model. If true then source_type pertains to the original. "sourceType": "A String", # Type of the model source. }, - "name": "A String", # The resource name of the Model. + "name": "A String", # Identifier. The resource name of the Model. "originalModelInfo": { # Contains information about the original Model if this Model is a copy. # Output only. If this Model is a copy of another Model, this contains info about the original. "model": "A String", # Output only. The resource name of the Model this Model is a copy of, including the revision. Format: `projects/{project}/locations/{location}/models/{model_id}@{version_id}` }, diff --git a/docs/dyn/aiplatform_v1.projects.locations.publishers.models.html b/docs/dyn/aiplatform_v1.projects.locations.publishers.models.html index 1c8de8653d..86be02d01c 100644 --- a/docs/dyn/aiplatform_v1.projects.locations.publishers.models.html +++ b/docs/dyn/aiplatform_v1.projects.locations.publishers.models.html @@ -343,7 +343,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -1050,7 +1050,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -1805,6 +1805,9 @@

Method Details

"instances": [ # Required. The instances that are the input to the prediction call. A DeployedModel may have an upper limit on the number of instances it supports per request, and when it is exceeded the prediction call errors in case of AutoML Models, or, in case of customer created Models, the behaviour is as documented by that Model. The schema of any single instance may be specified via Endpoint's DeployedModels' Model's PredictSchemata's instance_schema_uri. "", ], + "labels": { # Optional. The labels with user-defined metadata for the request. It is used for billing and reporting only. Label keys and values can be no longer than 63 characters (Unicode codepoints) and can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter. + "a_key": "A String", + }, "parameters": "", # Optional. The parameters that govern the prediction. The schema of the parameters may be specified via Endpoint's DeployedModels' Model's PredictSchemata's parameters_schema_uri. } @@ -2173,7 +2176,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], diff --git a/docs/dyn/aiplatform_v1.projects.locations.reasoningEngines.html b/docs/dyn/aiplatform_v1.projects.locations.reasoningEngines.html index a4fbf25e7f..670f68df00 100644 --- a/docs/dyn/aiplatform_v1.projects.locations.reasoningEngines.html +++ b/docs/dyn/aiplatform_v1.projects.locations.reasoningEngines.html @@ -304,6 +304,9 @@

Method Details

"a_key": "", # Properties of the object. }, ], + "containerSpec": { # Specification for deploying from a container image. # Deploy from a container image with a defined entrypoint and commands. + "imageUri": "A String", # Required. The Artifact Registry Docker image URI (e.g., us-central1-docker.pkg.dev/my-project/my-repo/my-image:tag) of the container image that is to be run on each worker replica. + }, "deploymentSpec": { # The specification of a Reasoning Engine deployment. # Optional. The specification of a Reasoning Engine deployment. "containerConcurrency": 42, # Optional. Concurrency for each container and agent server. Recommended value: 2 * cpu + 1. Defaults to 9. "env": [ # Optional. Environment variables to be set with the Reasoning Engine deployment. The environment variables can be updated through the UpdateReasoningEngine API. @@ -654,6 +657,9 @@

Method Details

"a_key": "", # Properties of the object. }, ], + "containerSpec": { # Specification for deploying from a container image. # Deploy from a container image with a defined entrypoint and commands. + "imageUri": "A String", # Required. The Artifact Registry Docker image URI (e.g., us-central1-docker.pkg.dev/my-project/my-repo/my-image:tag) of the container image that is to be run on each worker replica. + }, "deploymentSpec": { # The specification of a Reasoning Engine deployment. # Optional. The specification of a Reasoning Engine deployment. "containerConcurrency": 42, # Optional. Concurrency for each container and agent server. Recommended value: 2 * cpu + 1. Defaults to 9. "env": [ # Optional. Environment variables to be set with the Reasoning Engine deployment. The environment variables can be updated through the UpdateReasoningEngine API. @@ -935,6 +941,9 @@

Method Details

"a_key": "", # Properties of the object. }, ], + "containerSpec": { # Specification for deploying from a container image. # Deploy from a container image with a defined entrypoint and commands. + "imageUri": "A String", # Required. The Artifact Registry Docker image URI (e.g., us-central1-docker.pkg.dev/my-project/my-repo/my-image:tag) of the container image that is to be run on each worker replica. + }, "deploymentSpec": { # The specification of a Reasoning Engine deployment. # Optional. The specification of a Reasoning Engine deployment. "containerConcurrency": 42, # Optional. Concurrency for each container and agent server. Recommended value: 2 * cpu + 1. Defaults to 9. "env": [ # Optional. Environment variables to be set with the Reasoning Engine deployment. The environment variables can be updated through the UpdateReasoningEngine API. @@ -1186,6 +1195,9 @@

Method Details

"a_key": "", # Properties of the object. }, ], + "containerSpec": { # Specification for deploying from a container image. # Deploy from a container image with a defined entrypoint and commands. + "imageUri": "A String", # Required. The Artifact Registry Docker image URI (e.g., us-central1-docker.pkg.dev/my-project/my-repo/my-image:tag) of the container image that is to be run on each worker replica. + }, "deploymentSpec": { # The specification of a Reasoning Engine deployment. # Optional. The specification of a Reasoning Engine deployment. "containerConcurrency": 42, # Optional. Concurrency for each container and agent server. Recommended value: 2 * cpu + 1. Defaults to 9. "env": [ # Optional. Environment variables to be set with the Reasoning Engine deployment. The environment variables can be updated through the UpdateReasoningEngine API. diff --git a/docs/dyn/aiplatform_v1.projects.locations.reasoningEngines.sessions.html b/docs/dyn/aiplatform_v1.projects.locations.reasoningEngines.sessions.html index eacfd09d51..cacd4a7a34 100644 --- a/docs/dyn/aiplatform_v1.projects.locations.reasoningEngines.sessions.html +++ b/docs/dyn/aiplatform_v1.projects.locations.reasoningEngines.sessions.html @@ -369,7 +369,7 @@

Method Details

"userId": "A String", # Required. Immutable. String id provided by the user } - sessionId: string, Optional. The user defined ID to use for session, which will become the final component of the session resource name. If not provided, Vertex AI will generate a value for this ID. This value may be up to 63 characters, and valid characters are `[a-z0-9-]`. The first character must be a letter, and the last character must be a letter or number. + sessionId: string, Optional. The user defined ID to use for session, which will become the final component of the session resource name. If not provided, Vertex AI will generate a value for this ID. This value may be up to 63 characters, and valid characters are `[a-z0-9-]`. The first and last characters must be a letter or number. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format diff --git a/docs/dyn/aiplatform_v1.projects.locations.trainingPipelines.html b/docs/dyn/aiplatform_v1.projects.locations.trainingPipelines.html index daf238d6da..ecaf90b7d9 100644 --- a/docs/dyn/aiplatform_v1.projects.locations.trainingPipelines.html +++ b/docs/dyn/aiplatform_v1.projects.locations.trainingPipelines.html @@ -483,7 +483,7 @@

Method Details

"copy": True or False, # If this Model is copy of another Model. If true then source_type pertains to the original. "sourceType": "A String", # Type of the model source. }, - "name": "A String", # The resource name of the Model. + "name": "A String", # Identifier. The resource name of the Model. "originalModelInfo": { # Contains information about the original Model if this Model is a copy. # Output only. If this Model is a copy of another Model, this contains info about the original. "model": "A String", # Output only. The resource name of the Model this Model is a copy of, including the revision. Format: `projects/{project}/locations/{location}/models/{model_id}@{version_id}` }, @@ -884,7 +884,7 @@

Method Details

"copy": True or False, # If this Model is copy of another Model. If true then source_type pertains to the original. "sourceType": "A String", # Type of the model source. }, - "name": "A String", # The resource name of the Model. + "name": "A String", # Identifier. The resource name of the Model. "originalModelInfo": { # Contains information about the original Model if this Model is a copy. # Output only. If this Model is a copy of another Model, this contains info about the original. "model": "A String", # Output only. The resource name of the Model this Model is a copy of, including the revision. Format: `projects/{project}/locations/{location}/models/{model_id}@{version_id}` }, @@ -1327,7 +1327,7 @@

Method Details

"copy": True or False, # If this Model is copy of another Model. If true then source_type pertains to the original. "sourceType": "A String", # Type of the model source. }, - "name": "A String", # The resource name of the Model. + "name": "A String", # Identifier. The resource name of the Model. "originalModelInfo": { # Contains information about the original Model if this Model is a copy. # Output only. If this Model is a copy of another Model, this contains info about the original. "model": "A String", # Output only. The resource name of the Model this Model is a copy of, including the revision. Format: `projects/{project}/locations/{location}/models/{model_id}@{version_id}` }, @@ -1742,7 +1742,7 @@

Method Details

"copy": True or False, # If this Model is copy of another Model. If true then source_type pertains to the original. "sourceType": "A String", # Type of the model source. }, - "name": "A String", # The resource name of the Model. + "name": "A String", # Identifier. The resource name of the Model. "originalModelInfo": { # Contains information about the original Model if this Model is a copy. # Output only. If this Model is a copy of another Model, this contains info about the original. "model": "A String", # Output only. The resource name of the Model this Model is a copy of, including the revision. Format: `projects/{project}/locations/{location}/models/{model_id}@{version_id}` }, diff --git a/docs/dyn/aiplatform_v1.projects.locations.tuningJobs.html b/docs/dyn/aiplatform_v1.projects.locations.tuningJobs.html index adcff101e5..cf9e872b09 100644 --- a/docs/dyn/aiplatform_v1.projects.locations.tuningJobs.html +++ b/docs/dyn/aiplatform_v1.projects.locations.tuningJobs.html @@ -278,7 +278,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -372,6 +372,12 @@

Method Details

}, "samplingCount": 42, # Optional. Number of samples for each instance in the dataset. If not specified, the default is 4. Minimum value is 1, maximum value is 32. }, + "datasetCustomMetrics": [ # Optional. Specifications for custom dataset-level aggregations. + { # Defines a custom dataset-level aggregation. + "aggregationFunction": "A String", # Required. The Python code string containing the aggregation function. Expected function signature: `def aggregate(instances: list[dict[str, Any]]) -> dict[str, float]:` The `instances` argument is a list of dictionaries, where each dictionary represents a single evaluation result item. The structure of each dictionary corresponds to the fields in the `EvaluationResult` message. This includes: - `"request"`: Contains the original input data and model inputs (from `EvaluationResult.EvaluationRequest`). - `"candidate_results"`: Contains the results of any instance-level metrics (from `EvaluationResult.CandidateResults`). Example of a single item in the `instances` list: { "request": { "prompt": {"text": "What is the capital of France?"}, "golden_response": {"text": "Paris"}, "candidate_responses": [{"candidate": "model-v1", "text": "Paris"}] }, "candidate_results": [ {"metric": "exact_match", "score": 1.0}, {"metric": "bleu", "score": 0.9} ] } + "displayName": "A String", # Optional. A display name for this custom summary metric. Used to prefix keys in the output summaryMetrics map. If not provided, a default name like "dataset_custom_metric_1", "dataset_custom_metric_2", etc., will be generated based on the order in the repeated field. + }, + ], "inferenceGenerationConfig": { # 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. Configuration options for inference generation and outputs. If not set, default generation parameters are used. "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. "candidateCount": 42, # Optional. The number of candidate responses to generate. A higher `candidate_count` can provide more options to choose from, but it also consumes more resources. This can be useful for generating a variety of responses and selecting the best one. @@ -393,7 +399,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -532,7 +538,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -658,7 +664,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -761,6 +767,18 @@

Method Details

"rubricGroupKey": "A String", # Use a pre-defined group of rubrics associated with the input. Refers to a key in the rubric_groups map of EvaluationInstance. "systemInstruction": "A String", # Optional. System instructions for the judge model. }, + "metadata": { # Metadata about the metric, used for visualization and organization. # Optional. Metadata about the metric, used for visualization and organization. + "otherMetadata": { # Optional. Flexible metadata for user-defined attributes. + "a_key": "", # Properties of the object. + }, + "scoreRange": { # The range of possible scores for this metric, used for plotting. # Optional. The range of possible scores for this metric, used for plotting. + "description": "A String", # Optional. The description of the score explaining the directionality etc. + "max": 3.14, # Required. The maximum value of the score range (inclusive). + "min": 3.14, # Required. The minimum value of the score range (inclusive). + "step": 3.14, # Optional. The distance between discrete steps in the range. If unset, the range is assumed to be continuous. + }, + "title": "A String", # Optional. The user-friendly name for the metric. If not set for a registered metric, it will default to the metric's display name. + }, "pairwiseMetricSpec": { # Spec for pairwise metric. # Spec for pairwise metric. "baselineResponseFieldName": "A String", # Optional. The field name of the baseline response. "candidateResponseFieldName": "A String", # Optional. The field name of the candidate response. @@ -1345,7 +1363,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -1439,6 +1457,12 @@

Method Details

}, "samplingCount": 42, # Optional. Number of samples for each instance in the dataset. If not specified, the default is 4. Minimum value is 1, maximum value is 32. }, + "datasetCustomMetrics": [ # Optional. Specifications for custom dataset-level aggregations. + { # Defines a custom dataset-level aggregation. + "aggregationFunction": "A String", # Required. The Python code string containing the aggregation function. Expected function signature: `def aggregate(instances: list[dict[str, Any]]) -> dict[str, float]:` The `instances` argument is a list of dictionaries, where each dictionary represents a single evaluation result item. The structure of each dictionary corresponds to the fields in the `EvaluationResult` message. This includes: - `"request"`: Contains the original input data and model inputs (from `EvaluationResult.EvaluationRequest`). - `"candidate_results"`: Contains the results of any instance-level metrics (from `EvaluationResult.CandidateResults`). Example of a single item in the `instances` list: { "request": { "prompt": {"text": "What is the capital of France?"}, "golden_response": {"text": "Paris"}, "candidate_responses": [{"candidate": "model-v1", "text": "Paris"}] }, "candidate_results": [ {"metric": "exact_match", "score": 1.0}, {"metric": "bleu", "score": 0.9} ] } + "displayName": "A String", # Optional. A display name for this custom summary metric. Used to prefix keys in the output summaryMetrics map. If not provided, a default name like "dataset_custom_metric_1", "dataset_custom_metric_2", etc., will be generated based on the order in the repeated field. + }, + ], "inferenceGenerationConfig": { # 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. Configuration options for inference generation and outputs. If not set, default generation parameters are used. "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. "candidateCount": 42, # Optional. The number of candidate responses to generate. A higher `candidate_count` can provide more options to choose from, but it also consumes more resources. This can be useful for generating a variety of responses and selecting the best one. @@ -1460,7 +1484,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -1599,7 +1623,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -1725,7 +1749,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -1828,6 +1852,18 @@

Method Details

"rubricGroupKey": "A String", # Use a pre-defined group of rubrics associated with the input. Refers to a key in the rubric_groups map of EvaluationInstance. "systemInstruction": "A String", # Optional. System instructions for the judge model. }, + "metadata": { # Metadata about the metric, used for visualization and organization. # Optional. Metadata about the metric, used for visualization and organization. + "otherMetadata": { # Optional. Flexible metadata for user-defined attributes. + "a_key": "", # Properties of the object. + }, + "scoreRange": { # The range of possible scores for this metric, used for plotting. # Optional. The range of possible scores for this metric, used for plotting. + "description": "A String", # Optional. The description of the score explaining the directionality etc. + "max": 3.14, # Required. The maximum value of the score range (inclusive). + "min": 3.14, # Required. The minimum value of the score range (inclusive). + "step": 3.14, # Optional. The distance between discrete steps in the range. If unset, the range is assumed to be continuous. + }, + "title": "A String", # Optional. The user-friendly name for the metric. If not set for a registered metric, it will default to the metric's display name. + }, "pairwiseMetricSpec": { # Spec for pairwise metric. # Spec for pairwise metric. "baselineResponseFieldName": "A String", # Optional. The field name of the baseline response. "candidateResponseFieldName": "A String", # Optional. The field name of the candidate response. @@ -2419,7 +2455,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -2513,6 +2549,12 @@

Method Details

}, "samplingCount": 42, # Optional. Number of samples for each instance in the dataset. If not specified, the default is 4. Minimum value is 1, maximum value is 32. }, + "datasetCustomMetrics": [ # Optional. Specifications for custom dataset-level aggregations. + { # Defines a custom dataset-level aggregation. + "aggregationFunction": "A String", # Required. The Python code string containing the aggregation function. Expected function signature: `def aggregate(instances: list[dict[str, Any]]) -> dict[str, float]:` The `instances` argument is a list of dictionaries, where each dictionary represents a single evaluation result item. The structure of each dictionary corresponds to the fields in the `EvaluationResult` message. This includes: - `"request"`: Contains the original input data and model inputs (from `EvaluationResult.EvaluationRequest`). - `"candidate_results"`: Contains the results of any instance-level metrics (from `EvaluationResult.CandidateResults`). Example of a single item in the `instances` list: { "request": { "prompt": {"text": "What is the capital of France?"}, "golden_response": {"text": "Paris"}, "candidate_responses": [{"candidate": "model-v1", "text": "Paris"}] }, "candidate_results": [ {"metric": "exact_match", "score": 1.0}, {"metric": "bleu", "score": 0.9} ] } + "displayName": "A String", # Optional. A display name for this custom summary metric. Used to prefix keys in the output summaryMetrics map. If not provided, a default name like "dataset_custom_metric_1", "dataset_custom_metric_2", etc., will be generated based on the order in the repeated field. + }, + ], "inferenceGenerationConfig": { # 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. Configuration options for inference generation and outputs. If not set, default generation parameters are used. "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. "candidateCount": 42, # Optional. The number of candidate responses to generate. A higher `candidate_count` can provide more options to choose from, but it also consumes more resources. This can be useful for generating a variety of responses and selecting the best one. @@ -2534,7 +2576,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -2673,7 +2715,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -2799,7 +2841,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -2902,6 +2944,18 @@

Method Details

"rubricGroupKey": "A String", # Use a pre-defined group of rubrics associated with the input. Refers to a key in the rubric_groups map of EvaluationInstance. "systemInstruction": "A String", # Optional. System instructions for the judge model. }, + "metadata": { # Metadata about the metric, used for visualization and organization. # Optional. Metadata about the metric, used for visualization and organization. + "otherMetadata": { # Optional. Flexible metadata for user-defined attributes. + "a_key": "", # Properties of the object. + }, + "scoreRange": { # The range of possible scores for this metric, used for plotting. # Optional. The range of possible scores for this metric, used for plotting. + "description": "A String", # Optional. The description of the score explaining the directionality etc. + "max": 3.14, # Required. The maximum value of the score range (inclusive). + "min": 3.14, # Required. The minimum value of the score range (inclusive). + "step": 3.14, # Optional. The distance between discrete steps in the range. If unset, the range is assumed to be continuous. + }, + "title": "A String", # Optional. The user-friendly name for the metric. If not set for a registered metric, it will default to the metric's display name. + }, "pairwiseMetricSpec": { # Spec for pairwise metric. # Spec for pairwise metric. "baselineResponseFieldName": "A String", # Optional. The field name of the baseline response. "candidateResponseFieldName": "A String", # Optional. The field name of the candidate response. @@ -3499,7 +3553,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -3593,6 +3647,12 @@

Method Details

}, "samplingCount": 42, # Optional. Number of samples for each instance in the dataset. If not specified, the default is 4. Minimum value is 1, maximum value is 32. }, + "datasetCustomMetrics": [ # Optional. Specifications for custom dataset-level aggregations. + { # Defines a custom dataset-level aggregation. + "aggregationFunction": "A String", # Required. The Python code string containing the aggregation function. Expected function signature: `def aggregate(instances: list[dict[str, Any]]) -> dict[str, float]:` The `instances` argument is a list of dictionaries, where each dictionary represents a single evaluation result item. The structure of each dictionary corresponds to the fields in the `EvaluationResult` message. This includes: - `"request"`: Contains the original input data and model inputs (from `EvaluationResult.EvaluationRequest`). - `"candidate_results"`: Contains the results of any instance-level metrics (from `EvaluationResult.CandidateResults`). Example of a single item in the `instances` list: { "request": { "prompt": {"text": "What is the capital of France?"}, "golden_response": {"text": "Paris"}, "candidate_responses": [{"candidate": "model-v1", "text": "Paris"}] }, "candidate_results": [ {"metric": "exact_match", "score": 1.0}, {"metric": "bleu", "score": 0.9} ] } + "displayName": "A String", # Optional. A display name for this custom summary metric. Used to prefix keys in the output summaryMetrics map. If not provided, a default name like "dataset_custom_metric_1", "dataset_custom_metric_2", etc., will be generated based on the order in the repeated field. + }, + ], "inferenceGenerationConfig": { # 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. Configuration options for inference generation and outputs. If not set, default generation parameters are used. "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. "candidateCount": 42, # Optional. The number of candidate responses to generate. A higher `candidate_count` can provide more options to choose from, but it also consumes more resources. This can be useful for generating a variety of responses and selecting the best one. @@ -3614,7 +3674,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -3753,7 +3813,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -3879,7 +3939,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -3982,6 +4042,18 @@

Method Details

"rubricGroupKey": "A String", # Use a pre-defined group of rubrics associated with the input. Refers to a key in the rubric_groups map of EvaluationInstance. "systemInstruction": "A String", # Optional. System instructions for the judge model. }, + "metadata": { # Metadata about the metric, used for visualization and organization. # Optional. Metadata about the metric, used for visualization and organization. + "otherMetadata": { # Optional. Flexible metadata for user-defined attributes. + "a_key": "", # Properties of the object. + }, + "scoreRange": { # The range of possible scores for this metric, used for plotting. # Optional. The range of possible scores for this metric, used for plotting. + "description": "A String", # Optional. The description of the score explaining the directionality etc. + "max": 3.14, # Required. The maximum value of the score range (inclusive). + "min": 3.14, # Required. The minimum value of the score range (inclusive). + "step": 3.14, # Optional. The distance between discrete steps in the range. If unset, the range is assumed to be continuous. + }, + "title": "A String", # Optional. The user-friendly name for the metric. If not set for a registered metric, it will default to the metric's display name. + }, "pairwiseMetricSpec": { # Spec for pairwise metric. # Spec for pairwise metric. "baselineResponseFieldName": "A String", # Optional. The field name of the baseline response. "candidateResponseFieldName": "A String", # Optional. The field name of the candidate response. @@ -4594,7 +4666,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -4688,6 +4760,12 @@

Method Details

}, "samplingCount": 42, # Optional. Number of samples for each instance in the dataset. If not specified, the default is 4. Minimum value is 1, maximum value is 32. }, + "datasetCustomMetrics": [ # Optional. Specifications for custom dataset-level aggregations. + { # Defines a custom dataset-level aggregation. + "aggregationFunction": "A String", # Required. The Python code string containing the aggregation function. Expected function signature: `def aggregate(instances: list[dict[str, Any]]) -> dict[str, float]:` The `instances` argument is a list of dictionaries, where each dictionary represents a single evaluation result item. The structure of each dictionary corresponds to the fields in the `EvaluationResult` message. This includes: - `"request"`: Contains the original input data and model inputs (from `EvaluationResult.EvaluationRequest`). - `"candidate_results"`: Contains the results of any instance-level metrics (from `EvaluationResult.CandidateResults`). Example of a single item in the `instances` list: { "request": { "prompt": {"text": "What is the capital of France?"}, "golden_response": {"text": "Paris"}, "candidate_responses": [{"candidate": "model-v1", "text": "Paris"}] }, "candidate_results": [ {"metric": "exact_match", "score": 1.0}, {"metric": "bleu", "score": 0.9} ] } + "displayName": "A String", # Optional. A display name for this custom summary metric. Used to prefix keys in the output summaryMetrics map. If not provided, a default name like "dataset_custom_metric_1", "dataset_custom_metric_2", etc., will be generated based on the order in the repeated field. + }, + ], "inferenceGenerationConfig": { # 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. Configuration options for inference generation and outputs. If not set, default generation parameters are used. "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. "candidateCount": 42, # Optional. The number of candidate responses to generate. A higher `candidate_count` can provide more options to choose from, but it also consumes more resources. This can be useful for generating a variety of responses and selecting the best one. @@ -4709,7 +4787,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -4848,7 +4926,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -4974,7 +5052,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -5077,6 +5155,18 @@

Method Details

"rubricGroupKey": "A String", # Use a pre-defined group of rubrics associated with the input. Refers to a key in the rubric_groups map of EvaluationInstance. "systemInstruction": "A String", # Optional. System instructions for the judge model. }, + "metadata": { # Metadata about the metric, used for visualization and organization. # Optional. Metadata about the metric, used for visualization and organization. + "otherMetadata": { # Optional. Flexible metadata for user-defined attributes. + "a_key": "", # Properties of the object. + }, + "scoreRange": { # The range of possible scores for this metric, used for plotting. # Optional. The range of possible scores for this metric, used for plotting. + "description": "A String", # Optional. The description of the score explaining the directionality etc. + "max": 3.14, # Required. The maximum value of the score range (inclusive). + "min": 3.14, # Required. The minimum value of the score range (inclusive). + "step": 3.14, # Optional. The distance between discrete steps in the range. If unset, the range is assumed to be continuous. + }, + "title": "A String", # Optional. The user-friendly name for the metric. If not set for a registered metric, it will default to the metric's display name. + }, "pairwiseMetricSpec": { # Spec for pairwise metric. # Spec for pairwise metric. "baselineResponseFieldName": "A String", # Optional. The field name of the baseline response. "candidateResponseFieldName": "A String", # Optional. The field name of the candidate response. diff --git a/docs/dyn/aiplatform_v1.publishers.models.html b/docs/dyn/aiplatform_v1.publishers.models.html index 9ffabc74e8..4c289f7d3d 100644 --- a/docs/dyn/aiplatform_v1.publishers.models.html +++ b/docs/dyn/aiplatform_v1.publishers.models.html @@ -329,7 +329,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -887,7 +887,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -2217,6 +2217,9 @@

Method Details

"instances": [ # Required. The instances that are the input to the prediction call. A DeployedModel may have an upper limit on the number of instances it supports per request, and when it is exceeded the prediction call errors in case of AutoML Models, or, in case of customer created Models, the behaviour is as documented by that Model. The schema of any single instance may be specified via Endpoint's DeployedModels' Model's PredictSchemata's instance_schema_uri. "", ], + "labels": { # Optional. The labels with user-defined metadata for the request. It is used for billing and reporting only. Label keys and values can be no longer than 63 characters (Unicode codepoints) and can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter. + "a_key": "A String", + }, "parameters": "", # Optional. The parameters that govern the prediction. The schema of the parameters may be specified via Endpoint's DeployedModels' Model's PredictSchemata's parameters_schema_uri. } @@ -2357,7 +2360,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], diff --git a/docs/dyn/aiplatform_v1.reasoningEngines.html b/docs/dyn/aiplatform_v1.reasoningEngines.html index af6526b26d..06d8994179 100644 --- a/docs/dyn/aiplatform_v1.reasoningEngines.html +++ b/docs/dyn/aiplatform_v1.reasoningEngines.html @@ -294,6 +294,9 @@

Method Details

"a_key": "", # Properties of the object. }, ], + "containerSpec": { # Specification for deploying from a container image. # Deploy from a container image with a defined entrypoint and commands. + "imageUri": "A String", # Required. The Artifact Registry Docker image URI (e.g., us-central1-docker.pkg.dev/my-project/my-repo/my-image:tag) of the container image that is to be run on each worker replica. + }, "deploymentSpec": { # The specification of a Reasoning Engine deployment. # Optional. The specification of a Reasoning Engine deployment. "containerConcurrency": 42, # Optional. Concurrency for each container and agent server. Recommended value: 2 * cpu + 1. Defaults to 9. "env": [ # Optional. Environment variables to be set with the Reasoning Engine deployment. The environment variables can be updated through the UpdateReasoningEngine API. @@ -645,6 +648,9 @@

Method Details

"a_key": "", # Properties of the object. }, ], + "containerSpec": { # Specification for deploying from a container image. # Deploy from a container image with a defined entrypoint and commands. + "imageUri": "A String", # Required. The Artifact Registry Docker image URI (e.g., us-central1-docker.pkg.dev/my-project/my-repo/my-image:tag) of the container image that is to be run on each worker replica. + }, "deploymentSpec": { # The specification of a Reasoning Engine deployment. # Optional. The specification of a Reasoning Engine deployment. "containerConcurrency": 42, # Optional. Concurrency for each container and agent server. Recommended value: 2 * cpu + 1. Defaults to 9. "env": [ # Optional. Environment variables to be set with the Reasoning Engine deployment. The environment variables can be updated through the UpdateReasoningEngine API. @@ -891,6 +897,9 @@

Method Details

"a_key": "", # Properties of the object. }, ], + "containerSpec": { # Specification for deploying from a container image. # Deploy from a container image with a defined entrypoint and commands. + "imageUri": "A String", # Required. The Artifact Registry Docker image URI (e.g., us-central1-docker.pkg.dev/my-project/my-repo/my-image:tag) of the container image that is to be run on each worker replica. + }, "deploymentSpec": { # The specification of a Reasoning Engine deployment. # Optional. The specification of a Reasoning Engine deployment. "containerConcurrency": 42, # Optional. Concurrency for each container and agent server. Recommended value: 2 * cpu + 1. Defaults to 9. "env": [ # Optional. Environment variables to be set with the Reasoning Engine deployment. The environment variables can be updated through the UpdateReasoningEngine API. @@ -1142,6 +1151,9 @@

Method Details

"a_key": "", # Properties of the object. }, ], + "containerSpec": { # Specification for deploying from a container image. # Deploy from a container image with a defined entrypoint and commands. + "imageUri": "A String", # Required. The Artifact Registry Docker image URI (e.g., us-central1-docker.pkg.dev/my-project/my-repo/my-image:tag) of the container image that is to be run on each worker replica. + }, "deploymentSpec": { # The specification of a Reasoning Engine deployment. # Optional. The specification of a Reasoning Engine deployment. "containerConcurrency": 42, # Optional. Concurrency for each container and agent server. Recommended value: 2 * cpu + 1. Defaults to 9. "env": [ # Optional. Environment variables to be set with the Reasoning Engine deployment. The environment variables can be updated through the UpdateReasoningEngine API. diff --git a/docs/dyn/aiplatform_v1.v1.html b/docs/dyn/aiplatform_v1.v1.html index 74c3636d1c..c096c92bdc 100644 --- a/docs/dyn/aiplatform_v1.v1.html +++ b/docs/dyn/aiplatform_v1.v1.html @@ -125,7 +125,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -277,7 +277,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -403,7 +403,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -506,6 +506,18 @@

Method Details

"rubricGroupKey": "A String", # Use a pre-defined group of rubrics associated with the input. Refers to a key in the rubric_groups map of EvaluationInstance. "systemInstruction": "A String", # Optional. System instructions for the judge model. }, + "metadata": { # Metadata about the metric, used for visualization and organization. # Optional. Metadata about the metric, used for visualization and organization. + "otherMetadata": { # Optional. Flexible metadata for user-defined attributes. + "a_key": "", # Properties of the object. + }, + "scoreRange": { # The range of possible scores for this metric, used for plotting. # Optional. The range of possible scores for this metric, used for plotting. + "description": "A String", # Optional. The description of the score explaining the directionality etc. + "max": 3.14, # Required. The maximum value of the score range (inclusive). + "min": 3.14, # Required. The minimum value of the score range (inclusive). + "step": 3.14, # Optional. The distance between discrete steps in the range. If unset, the range is assumed to be continuous. + }, + "title": "A String", # Optional. The user-friendly name for the metric. If not set for a registered metric, it will default to the metric's display name. + }, "pairwiseMetricSpec": { # Spec for pairwise metric. # Spec for pairwise metric. "baselineResponseFieldName": "A String", # Optional. The field name of the baseline response. "candidateResponseFieldName": "A String", # Optional. The field name of the candidate response. @@ -604,7 +616,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -2417,6 +2429,326 @@

Method Details

}, }, "location": "A String", # Required. The resource name of the Location to evaluate the instances. Format: `projects/{project}/locations/{location}` + "metricSources": [ # Optional. The metrics (either inline or registered) used for evaluation. Currently, we only support evaluating a single metric. If multiple metrics are provided, only the first one will be evaluated. + { # The metric source used for evaluation. + "metric": { # The metric used for running evaluations. # Inline metric config. + "aggregationMetrics": [ # Optional. The aggregation metrics to use. + "A String", + ], + "bleuSpec": { # Spec for bleu score metric - calculates the precision of n-grams in the prediction as compared to reference - returns a score ranging between 0 to 1. # Spec for bleu metric. + "useEffectiveOrder": True or False, # Optional. Whether to use_effective_order to compute bleu score. + }, + "computationBasedMetricSpec": { # Specification for a computation based metric. # Spec for a computation based metric. + "parameters": { # Optional. A map of parameters for the metric, e.g. {"rouge_type": "rougeL"}. + "a_key": "", # Properties of the object. + }, + "type": "A String", # Required. The type of the computation based metric. + }, + "customCodeExecutionSpec": { # Specificies a metric that is populated by evaluating user-defined Python code. # Spec for Custom Code Execution metric. + "evaluationFunction": "A String", # Required. Python function. Expected user to define the following function, e.g.: def evaluate(instance: dict[str, Any]) -> float: Please include this function signature in the code snippet. Instance is the evaluation instance, any fields populated in the instance are available to the function as instance[field_name]. Example: Example input: ``` instance= EvaluationInstance( response=EvaluationInstance.InstanceData(text="The answer is 4."), reference=EvaluationInstance.InstanceData(text="4") ) ``` Example converted input: ``` { 'response': {'text': 'The answer is 4.'}, 'reference': {'text': '4'} } ``` Example python function: ``` def evaluate(instance: dict[str, Any]) -> float: if instance'response' == instance'reference': return 1.0 return 0.0 ``` CustomCodeExecutionSpec is also supported in Batch Evaluation (EvalDataset RPC) and Tuning Evaluation. Each line in the input jsonl file will be converted to dict[str, Any] and passed to the evaluation function. + }, + "exactMatchSpec": { # Spec for exact match metric - returns 1 if prediction and reference exactly matches, otherwise 0. # Spec for exact match metric. + }, + "llmBasedMetricSpec": { # Specification for an LLM based metric. # Spec for an LLM based metric. + "additionalConfig": { # Optional. Optional additional configuration for the metric. + "a_key": "", # Properties of the object. + }, + "judgeAutoraterConfig": { # The configs for autorater. This is applicable to both EvaluateInstances and EvaluateDataset. # Optional. Optional configuration for the judge LLM (Autorater). + "autoraterModel": "A String", # Optional. The fully qualified name of the publisher model or tuned autorater endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` + "flipEnabled": True or False, # Optional. Default is true. Whether to flip the candidate and baseline responses. This is only applicable to the pairwise metric. If enabled, also provide PairwiseMetricSpec.candidate_response_field_name and PairwiseMetricSpec.baseline_response_field_name. When rendering PairwiseMetricSpec.metric_prompt_template, the candidate and baseline fields will be flipped for half of the samples to reduce bias. + "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. Configuration options for model generation and outputs. + "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. + "candidateCount": 42, # Optional. The number of candidate responses to generate. A higher `candidate_count` can provide more options to choose from, but it also consumes more resources. This can be useful for generating a variety of responses and selecting the best one. + "enableAffectiveDialog": True or False, # Optional. If enabled, the model will detect emotions and adapt its responses accordingly. For example, if the model detects that the user is frustrated, it may provide a more empathetic response. + "frequencyPenalty": 3.14, # Optional. Penalizes tokens based on their frequency in the generated text. A positive value helps to reduce the repetition of words and phrases. Valid values can range from [-2.0, 2.0]. + "imageConfig": { # Configuration for image generation. This message allows you to control various aspects of image generation, such as the output format, aspect ratio, and whether the model can generate images of people. # Optional. Config for image generation features. + "aspectRatio": "A String", # Optional. The desired aspect ratio for the generated images. The following aspect ratios are supported: "1:1" "2:3", "3:2" "3:4", "4:3" "4:5", "5:4" "9:16", "16:9" "21:9" + "imageOutputOptions": { # The image output format for generated images. # Optional. The image output format for generated images. + "compressionQuality": 42, # Optional. The compression quality of the output image. + "mimeType": "A String", # Optional. The image format that the output should be saved as. + }, + "imageSize": "A String", # Optional. Specifies the size of generated images. Supported values are `1K`, `2K`, `4K`. If not specified, the model will use default value `1K`. + "personGeneration": "A String", # Optional. Controls whether the model can generate people. + "prominentPeople": "A String", # Optional. Controls whether prominent people (celebrities) generation is allowed. If used with personGeneration, personGeneration enum would take precedence. For instance, if ALLOW_NONE is set, all person generation would be blocked. If this field is unspecified, the default behavior is to allow prominent people. + }, + "logprobs": 42, # Optional. The number of top log probabilities to return for each token. This can be used to see which other tokens were considered likely candidates for a given position. A higher value will return more options, but it will also increase the size of the response. + "maxOutputTokens": 42, # Optional. The maximum number of tokens to generate in the response. A token is approximately four characters. The default value varies by model. This parameter can be used to control the length of the generated text and prevent overly long responses. + "mediaResolution": "A String", # Optional. The token resolution at which input media content is sampled. This is used to control the trade-off between the quality of the response and the number of tokens used to represent the media. A higher resolution allows the model to perceive more detail, which can lead to a more nuanced response, but it will also use more tokens. This does not affect the image dimensions sent to the model. + "presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. + "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. + "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. + "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. + "A String", + ], + "responseSchema": { # Defines the schema of input and output data. This is a subset of the [OpenAPI 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object). # Optional. Lets you to specify a schema for the model's response, ensuring that the output conforms to a particular structure. This is useful for generating structured data such as JSON. The schema is a subset of the [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema) object. When this field is set, you must also set the `response_mime_type` to `application/json`. + "additionalProperties": "", # Optional. If `type` is `OBJECT`, specifies how to handle properties not defined in `properties`. If it is a boolean `false`, no additional properties are allowed. If it is a schema, additional properties are allowed if they conform to the schema. + "anyOf": [ # Optional. The instance must be valid against any (one or more) of the subschemas listed in `any_of`. + # Object with schema name: GoogleCloudAiplatformV1Schema + ], + "default": "", # Optional. Default value to use if the field is not specified. + "defs": { # Optional. `defs` provides a map of schema definitions that can be reused by `ref` elsewhere in the schema. Only allowed at root level of the schema. + "a_key": # Object with schema name: GoogleCloudAiplatformV1Schema + }, + "description": "A String", # Optional. Describes the data. The model uses this field to understand the purpose of the schema and how to use it. It is a best practice to provide a clear and descriptive explanation for the schema and its properties here, rather than in the prompt. + "enum": [ # Optional. Possible values of the field. This field can be used to restrict a value to a fixed set of values. To mark a field as an enum, set `format` to `enum` and provide the list of possible values in `enum`. For example: 1. To define directions: `{type:STRING, format:enum, enum:["EAST", "NORTH", "SOUTH", "WEST"]}` 2. To define apartment numbers: `{type:INTEGER, format:enum, enum:["101", "201", "301"]}` + "A String", + ], + "example": "", # Optional. Example of an instance of this schema. + "format": "A String", # Optional. The format of the data. For `NUMBER` type, format can be `float` or `double`. For `INTEGER` type, format can be `int32` or `int64`. For `STRING` type, format can be `email`, `byte`, `date`, `date-time`, `password`, and other formats to further refine the data type. + "items": # Object with schema name: GoogleCloudAiplatformV1Schema # Optional. If type is `ARRAY`, `items` specifies the schema of elements in the array. + "maxItems": "A String", # Optional. If type is `ARRAY`, `max_items` specifies the maximum number of items in an array. + "maxLength": "A String", # Optional. If type is `STRING`, `max_length` specifies the maximum length of the string. + "maxProperties": "A String", # Optional. If type is `OBJECT`, `max_properties` specifies the maximum number of properties that can be provided. + "maximum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `maximum` specifies the maximum allowed value. + "minItems": "A String", # Optional. If type is `ARRAY`, `min_items` specifies the minimum number of items in an array. + "minLength": "A String", # Optional. If type is `STRING`, `min_length` specifies the minimum length of the string. + "minProperties": "A String", # Optional. If type is `OBJECT`, `min_properties` specifies the minimum number of properties that can be provided. + "minimum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `minimum` specifies the minimum allowed value. + "nullable": True or False, # Optional. Indicates if the value of this field can be null. + "pattern": "A String", # Optional. If type is `STRING`, `pattern` specifies a regular expression that the string must match. + "properties": { # Optional. If type is `OBJECT`, `properties` is a map of property names to schema definitions for each property of the object. + "a_key": # Object with schema name: GoogleCloudAiplatformV1Schema + }, + "propertyOrdering": [ # Optional. Order of properties displayed or used where order matters. This is not a standard field in OpenAPI specification, but can be used to control the order of properties. + "A String", + ], + "ref": "A String", # Optional. Allows referencing another schema definition to use in place of this schema. The value must be a valid reference to a schema in `defs`. For example, the following schema defines a reference to a schema node named "Pet": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the "pet" property is a reference to the schema node named "Pet". See details in https://json-schema.org/understanding-json-schema/structuring + "required": [ # Optional. If type is `OBJECT`, `required` lists the names of properties that must be present. + "A String", + ], + "title": "A String", # Optional. Title for the schema. + "type": "A String", # Optional. Data type of the schema field. + }, + "routingConfig": { # The configuration for routing the request to a specific model. This can be used to control which model is used for the generation, either automatically or by specifying a model name. # Optional. Routing configuration. + "autoMode": { # The configuration for automated routing. When automated routing is specified, the routing will be determined by the pretrained routing model and customer provided model routing preference. # In this mode, the model is selected automatically based on the content of the request. + "modelRoutingPreference": "A String", # The model routing preference. + }, + "manualMode": { # The configuration for manual routing. When manual routing is specified, the model will be selected based on the model name provided. # In this mode, the model is specified manually. + "modelName": "A String", # The name of the model to use. Only public LLM models are accepted. + }, + }, + "seed": 42, # Optional. A seed for the random number generator. By setting a seed, you can make the model's output mostly deterministic. For a given prompt and parameters (like temperature, top_p, etc.), the model will produce the same response every time. However, it's not a guaranteed absolute deterministic behavior. This is different from parameters like `temperature`, which control the *level* of randomness. `seed` ensures that the "random" choices the model makes are the same on every run, making it essential for testing and ensuring reproducible results. + "speechConfig": { # Configuration for speech generation. # Optional. The speech generation config. + "languageCode": "A String", # Optional. The language code (ISO 639-1) for the speech synthesis. + "multiSpeakerVoiceConfig": { # Configuration for a multi-speaker text-to-speech request. # The configuration for a multi-speaker text-to-speech request. This field is mutually exclusive with `voice_config`. + "speakerVoiceConfigs": [ # Required. A list of configurations for the voices of the speakers. Exactly two speaker voice configurations must be provided. + { # Configuration for a single speaker in a multi-speaker setup. + "speaker": "A String", # Required. The name of the speaker. This should be the same as the speaker name used in the prompt. + "voiceConfig": { # Configuration for a voice. # Required. The configuration for the voice of this speaker. + "prebuiltVoiceConfig": { # Configuration for a prebuilt voice. # The configuration for a prebuilt voice. + "voiceName": "A String", # The name of the prebuilt voice to use. + }, + "replicatedVoiceConfig": { # The configuration for the replicated voice to use. # Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample. + "mimeType": "A String", # Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set. + "voiceSampleAudio": "A String", # Optional. The sample of the custom voice. + }, + }, + }, + ], + }, + "voiceConfig": { # Configuration for a voice. # The configuration for the voice to use. + "prebuiltVoiceConfig": { # Configuration for a prebuilt voice. # The configuration for a prebuilt voice. + "voiceName": "A String", # The name of the prebuilt voice to use. + }, + "replicatedVoiceConfig": { # The configuration for the replicated voice to use. # Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample. + "mimeType": "A String", # Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set. + "voiceSampleAudio": "A String", # Optional. The sample of the custom voice. + }, + }, + }, + "stopSequences": [ # Optional. A list of character sequences that will stop the model from generating further tokens. If a stop sequence is generated, the output will end at that point. This is useful for controlling the length and structure of the output. For example, you can use ["\n", "###"] to stop generation at a new line or a specific marker. + "A String", + ], + "temperature": 3.14, # Optional. Controls the randomness of the output. A higher temperature results in more creative and diverse responses, while a lower temperature makes the output more predictable and focused. The valid range is (0.0, 2.0]. + "thinkingConfig": { # Configuration for the model's thinking features. "Thinking" is a process where the model breaks down a complex task into smaller, manageable steps. This allows the model to reason about the task, plan its approach, and execute the plan to generate a high-quality response. # Optional. Configuration for thinking features. An error will be returned if this field is set for models that don't support thinking. + "includeThoughts": True or False, # Optional. If true, the model will include its thoughts in the response. "Thoughts" are the intermediate steps the model takes to arrive at the final response. They can provide insights into the model's reasoning process and help with debugging. If this is true, thoughts are returned only when available. + "thinkingBudget": 42, # Optional. The token budget for the model's thinking process. The model will make a best effort to stay within this budget. This can be used to control the trade-off between response quality and latency. + "thinkingLevel": "A String", # Optional. The number of thoughts tokens that the model should generate. + }, + "topK": 3.14, # Optional. Specifies the top-k sampling threshold. The model considers only the top k most probable tokens for the next token. This can be useful for generating more coherent and less random text. For example, a `top_k` of 40 means the model will choose the next word from the 40 most likely words. + "topP": 3.14, # Optional. Specifies the nucleus sampling threshold. The model considers only the smallest set of tokens whose cumulative probability is at least `top_p`. This helps generate more diverse and less repetitive responses. For example, a `top_p` of 0.9 means the model considers tokens until the cumulative probability of the tokens to select from reaches 0.9. It's recommended to adjust either temperature or `top_p`, but not both. + }, + "samplingCount": 42, # Optional. Number of samples for each instance in the dataset. If not specified, the default is 4. Minimum value is 1, maximum value is 32. + }, + "metricPromptTemplate": "A String", # Required. Template for the prompt sent to the judge model. + "predefinedRubricGenerationSpec": { # The spec for a pre-defined metric. # Dynamically generate rubrics using a predefined spec. + "metricSpecName": "A String", # Required. The name of a pre-defined metric, such as "instruction_following_v1" or "text_quality_v1". + "metricSpecParameters": { # Optional. The parameters needed to run the pre-defined metric. + "a_key": "", # Properties of the object. + }, + }, + "rubricGenerationSpec": { # Specification for how rubrics should be generated. # Dynamically generate rubrics using this specification. + "modelConfig": { # The configs for autorater. This is applicable to both EvaluateInstances and EvaluateDataset. # Configuration for the model used in rubric generation. Configs including sampling count and base model can be specified here. Flipping is not supported for rubric generation. + "autoraterModel": "A String", # Optional. The fully qualified name of the publisher model or tuned autorater endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` + "flipEnabled": True or False, # Optional. Default is true. Whether to flip the candidate and baseline responses. This is only applicable to the pairwise metric. If enabled, also provide PairwiseMetricSpec.candidate_response_field_name and PairwiseMetricSpec.baseline_response_field_name. When rendering PairwiseMetricSpec.metric_prompt_template, the candidate and baseline fields will be flipped for half of the samples to reduce bias. + "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. Configuration options for model generation and outputs. + "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. + "candidateCount": 42, # Optional. The number of candidate responses to generate. A higher `candidate_count` can provide more options to choose from, but it also consumes more resources. This can be useful for generating a variety of responses and selecting the best one. + "enableAffectiveDialog": True or False, # Optional. If enabled, the model will detect emotions and adapt its responses accordingly. For example, if the model detects that the user is frustrated, it may provide a more empathetic response. + "frequencyPenalty": 3.14, # Optional. Penalizes tokens based on their frequency in the generated text. A positive value helps to reduce the repetition of words and phrases. Valid values can range from [-2.0, 2.0]. + "imageConfig": { # Configuration for image generation. This message allows you to control various aspects of image generation, such as the output format, aspect ratio, and whether the model can generate images of people. # Optional. Config for image generation features. + "aspectRatio": "A String", # Optional. The desired aspect ratio for the generated images. The following aspect ratios are supported: "1:1" "2:3", "3:2" "3:4", "4:3" "4:5", "5:4" "9:16", "16:9" "21:9" + "imageOutputOptions": { # The image output format for generated images. # Optional. The image output format for generated images. + "compressionQuality": 42, # Optional. The compression quality of the output image. + "mimeType": "A String", # Optional. The image format that the output should be saved as. + }, + "imageSize": "A String", # Optional. Specifies the size of generated images. Supported values are `1K`, `2K`, `4K`. If not specified, the model will use default value `1K`. + "personGeneration": "A String", # Optional. Controls whether the model can generate people. + "prominentPeople": "A String", # Optional. Controls whether prominent people (celebrities) generation is allowed. If used with personGeneration, personGeneration enum would take precedence. For instance, if ALLOW_NONE is set, all person generation would be blocked. If this field is unspecified, the default behavior is to allow prominent people. + }, + "logprobs": 42, # Optional. The number of top log probabilities to return for each token. This can be used to see which other tokens were considered likely candidates for a given position. A higher value will return more options, but it will also increase the size of the response. + "maxOutputTokens": 42, # Optional. The maximum number of tokens to generate in the response. A token is approximately four characters. The default value varies by model. This parameter can be used to control the length of the generated text and prevent overly long responses. + "mediaResolution": "A String", # Optional. The token resolution at which input media content is sampled. This is used to control the trade-off between the quality of the response and the number of tokens used to represent the media. A higher resolution allows the model to perceive more detail, which can lead to a more nuanced response, but it will also use more tokens. This does not affect the image dimensions sent to the model. + "presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. + "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. + "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. + "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. + "A String", + ], + "responseSchema": { # Defines the schema of input and output data. This is a subset of the [OpenAPI 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object). # Optional. Lets you to specify a schema for the model's response, ensuring that the output conforms to a particular structure. This is useful for generating structured data such as JSON. The schema is a subset of the [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema) object. When this field is set, you must also set the `response_mime_type` to `application/json`. + "additionalProperties": "", # Optional. If `type` is `OBJECT`, specifies how to handle properties not defined in `properties`. If it is a boolean `false`, no additional properties are allowed. If it is a schema, additional properties are allowed if they conform to the schema. + "anyOf": [ # Optional. The instance must be valid against any (one or more) of the subschemas listed in `any_of`. + # Object with schema name: GoogleCloudAiplatformV1Schema + ], + "default": "", # Optional. Default value to use if the field is not specified. + "defs": { # Optional. `defs` provides a map of schema definitions that can be reused by `ref` elsewhere in the schema. Only allowed at root level of the schema. + "a_key": # Object with schema name: GoogleCloudAiplatformV1Schema + }, + "description": "A String", # Optional. Describes the data. The model uses this field to understand the purpose of the schema and how to use it. It is a best practice to provide a clear and descriptive explanation for the schema and its properties here, rather than in the prompt. + "enum": [ # Optional. Possible values of the field. This field can be used to restrict a value to a fixed set of values. To mark a field as an enum, set `format` to `enum` and provide the list of possible values in `enum`. For example: 1. To define directions: `{type:STRING, format:enum, enum:["EAST", "NORTH", "SOUTH", "WEST"]}` 2. To define apartment numbers: `{type:INTEGER, format:enum, enum:["101", "201", "301"]}` + "A String", + ], + "example": "", # Optional. Example of an instance of this schema. + "format": "A String", # Optional. The format of the data. For `NUMBER` type, format can be `float` or `double`. For `INTEGER` type, format can be `int32` or `int64`. For `STRING` type, format can be `email`, `byte`, `date`, `date-time`, `password`, and other formats to further refine the data type. + "items": # Object with schema name: GoogleCloudAiplatformV1Schema # Optional. If type is `ARRAY`, `items` specifies the schema of elements in the array. + "maxItems": "A String", # Optional. If type is `ARRAY`, `max_items` specifies the maximum number of items in an array. + "maxLength": "A String", # Optional. If type is `STRING`, `max_length` specifies the maximum length of the string. + "maxProperties": "A String", # Optional. If type is `OBJECT`, `max_properties` specifies the maximum number of properties that can be provided. + "maximum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `maximum` specifies the maximum allowed value. + "minItems": "A String", # Optional. If type is `ARRAY`, `min_items` specifies the minimum number of items in an array. + "minLength": "A String", # Optional. If type is `STRING`, `min_length` specifies the minimum length of the string. + "minProperties": "A String", # Optional. If type is `OBJECT`, `min_properties` specifies the minimum number of properties that can be provided. + "minimum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `minimum` specifies the minimum allowed value. + "nullable": True or False, # Optional. Indicates if the value of this field can be null. + "pattern": "A String", # Optional. If type is `STRING`, `pattern` specifies a regular expression that the string must match. + "properties": { # Optional. If type is `OBJECT`, `properties` is a map of property names to schema definitions for each property of the object. + "a_key": # Object with schema name: GoogleCloudAiplatformV1Schema + }, + "propertyOrdering": [ # Optional. Order of properties displayed or used where order matters. This is not a standard field in OpenAPI specification, but can be used to control the order of properties. + "A String", + ], + "ref": "A String", # Optional. Allows referencing another schema definition to use in place of this schema. The value must be a valid reference to a schema in `defs`. For example, the following schema defines a reference to a schema node named "Pet": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the "pet" property is a reference to the schema node named "Pet". See details in https://json-schema.org/understanding-json-schema/structuring + "required": [ # Optional. If type is `OBJECT`, `required` lists the names of properties that must be present. + "A String", + ], + "title": "A String", # Optional. Title for the schema. + "type": "A String", # Optional. Data type of the schema field. + }, + "routingConfig": { # The configuration for routing the request to a specific model. This can be used to control which model is used for the generation, either automatically or by specifying a model name. # Optional. Routing configuration. + "autoMode": { # The configuration for automated routing. When automated routing is specified, the routing will be determined by the pretrained routing model and customer provided model routing preference. # In this mode, the model is selected automatically based on the content of the request. + "modelRoutingPreference": "A String", # The model routing preference. + }, + "manualMode": { # The configuration for manual routing. When manual routing is specified, the model will be selected based on the model name provided. # In this mode, the model is specified manually. + "modelName": "A String", # The name of the model to use. Only public LLM models are accepted. + }, + }, + "seed": 42, # Optional. A seed for the random number generator. By setting a seed, you can make the model's output mostly deterministic. For a given prompt and parameters (like temperature, top_p, etc.), the model will produce the same response every time. However, it's not a guaranteed absolute deterministic behavior. This is different from parameters like `temperature`, which control the *level* of randomness. `seed` ensures that the "random" choices the model makes are the same on every run, making it essential for testing and ensuring reproducible results. + "speechConfig": { # Configuration for speech generation. # Optional. The speech generation config. + "languageCode": "A String", # Optional. The language code (ISO 639-1) for the speech synthesis. + "multiSpeakerVoiceConfig": { # Configuration for a multi-speaker text-to-speech request. # The configuration for a multi-speaker text-to-speech request. This field is mutually exclusive with `voice_config`. + "speakerVoiceConfigs": [ # Required. A list of configurations for the voices of the speakers. Exactly two speaker voice configurations must be provided. + { # Configuration for a single speaker in a multi-speaker setup. + "speaker": "A String", # Required. The name of the speaker. This should be the same as the speaker name used in the prompt. + "voiceConfig": { # Configuration for a voice. # Required. The configuration for the voice of this speaker. + "prebuiltVoiceConfig": { # Configuration for a prebuilt voice. # The configuration for a prebuilt voice. + "voiceName": "A String", # The name of the prebuilt voice to use. + }, + "replicatedVoiceConfig": { # The configuration for the replicated voice to use. # Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample. + "mimeType": "A String", # Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set. + "voiceSampleAudio": "A String", # Optional. The sample of the custom voice. + }, + }, + }, + ], + }, + "voiceConfig": { # Configuration for a voice. # The configuration for the voice to use. + "prebuiltVoiceConfig": { # Configuration for a prebuilt voice. # The configuration for a prebuilt voice. + "voiceName": "A String", # The name of the prebuilt voice to use. + }, + "replicatedVoiceConfig": { # The configuration for the replicated voice to use. # Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample. + "mimeType": "A String", # Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set. + "voiceSampleAudio": "A String", # Optional. The sample of the custom voice. + }, + }, + }, + "stopSequences": [ # Optional. A list of character sequences that will stop the model from generating further tokens. If a stop sequence is generated, the output will end at that point. This is useful for controlling the length and structure of the output. For example, you can use ["\n", "###"] to stop generation at a new line or a specific marker. + "A String", + ], + "temperature": 3.14, # Optional. Controls the randomness of the output. A higher temperature results in more creative and diverse responses, while a lower temperature makes the output more predictable and focused. The valid range is (0.0, 2.0]. + "thinkingConfig": { # Configuration for the model's thinking features. "Thinking" is a process where the model breaks down a complex task into smaller, manageable steps. This allows the model to reason about the task, plan its approach, and execute the plan to generate a high-quality response. # Optional. Configuration for thinking features. An error will be returned if this field is set for models that don't support thinking. + "includeThoughts": True or False, # Optional. If true, the model will include its thoughts in the response. "Thoughts" are the intermediate steps the model takes to arrive at the final response. They can provide insights into the model's reasoning process and help with debugging. If this is true, thoughts are returned only when available. + "thinkingBudget": 42, # Optional. The token budget for the model's thinking process. The model will make a best effort to stay within this budget. This can be used to control the trade-off between response quality and latency. + "thinkingLevel": "A String", # Optional. The number of thoughts tokens that the model should generate. + }, + "topK": 3.14, # Optional. Specifies the top-k sampling threshold. The model considers only the top k most probable tokens for the next token. This can be useful for generating more coherent and less random text. For example, a `top_k` of 40 means the model will choose the next word from the 40 most likely words. + "topP": 3.14, # Optional. Specifies the nucleus sampling threshold. The model considers only the smallest set of tokens whose cumulative probability is at least `top_p`. This helps generate more diverse and less repetitive responses. For example, a `top_p` of 0.9 means the model considers tokens until the cumulative probability of the tokens to select from reaches 0.9. It's recommended to adjust either temperature or `top_p`, but not both. + }, + "samplingCount": 42, # Optional. Number of samples for each instance in the dataset. If not specified, the default is 4. Minimum value is 1, maximum value is 32. + }, + "promptTemplate": "A String", # Template for the prompt used to generate rubrics. The details should be updated based on the most-recent recipe requirements. + "rubricContentType": "A String", # The type of rubric content to be generated. + "rubricTypeOntology": [ # Optional. An optional, pre-defined list of allowed types for generated rubrics. If this field is provided, it implies `include_rubric_type` should be true, and the generated rubric types should be chosen from this ontology. + "A String", + ], + }, + "rubricGroupKey": "A String", # Use a pre-defined group of rubrics associated with the input. Refers to a key in the rubric_groups map of EvaluationInstance. + "systemInstruction": "A String", # Optional. System instructions for the judge model. + }, + "metadata": { # Metadata about the metric, used for visualization and organization. # Optional. Metadata about the metric, used for visualization and organization. + "otherMetadata": { # Optional. Flexible metadata for user-defined attributes. + "a_key": "", # Properties of the object. + }, + "scoreRange": { # The range of possible scores for this metric, used for plotting. # Optional. The range of possible scores for this metric, used for plotting. + "description": "A String", # Optional. The description of the score explaining the directionality etc. + "max": 3.14, # Required. The maximum value of the score range (inclusive). + "min": 3.14, # Required. The minimum value of the score range (inclusive). + "step": 3.14, # Optional. The distance between discrete steps in the range. If unset, the range is assumed to be continuous. + }, + "title": "A String", # Optional. The user-friendly name for the metric. If not set for a registered metric, it will default to the metric's display name. + }, + "pairwiseMetricSpec": { # Spec for pairwise metric. # Spec for pairwise metric. + "baselineResponseFieldName": "A String", # Optional. The field name of the baseline response. + "candidateResponseFieldName": "A String", # Optional. The field name of the candidate response. + "customOutputFormatConfig": { # Spec for custom output format configuration. # Optional. CustomOutputFormatConfig allows customization of metric output. When this config is set, the default output is replaced with the raw output string. If a custom format is chosen, the `pairwise_choice` and `explanation` fields in the corresponding metric result will be empty. + "returnRawOutput": True or False, # Optional. Whether to return raw output. + }, + "metricPromptTemplate": "A String", # Required. Metric prompt template for pairwise metric. + "systemInstruction": "A String", # Optional. System instructions for pairwise metric. + }, + "pointwiseMetricSpec": { # Spec for pointwise metric. # Spec for pointwise metric. + "customOutputFormatConfig": { # Spec for custom output format configuration. # Optional. CustomOutputFormatConfig allows customization of metric output. By default, metrics return a score and explanation. When this config is set, the default output is replaced with either: - The raw output string. - A parsed output based on a user-defined schema. If a custom format is chosen, the `score` and `explanation` fields in the corresponding metric result will be empty. + "returnRawOutput": True or False, # Optional. Whether to return raw output. + }, + "metricPromptTemplate": "A String", # Required. Metric prompt template for pointwise metric. + "systemInstruction": "A String", # Optional. System instructions for pointwise metric. + }, + "predefinedMetricSpec": { # The spec for a pre-defined metric. # The spec for a pre-defined metric. + "metricSpecName": "A String", # Required. The name of a pre-defined metric, such as "instruction_following_v1" or "text_quality_v1". + "metricSpecParameters": { # Optional. The parameters needed to run the pre-defined metric. + "a_key": "", # Properties of the object. + }, + }, + "rougeSpec": { # Spec for rouge score metric - calculates the recall of n-grams in prediction as compared to reference - returns a score ranging between 0 and 1. # Spec for rouge metric. + "rougeType": "A String", # Optional. Supported rouge types are rougen[1-9], rougeL, and rougeLsum. + "splitSummaries": True or False, # Optional. Whether to split summaries while using rougeLsum. + "useStemmer": True or False, # Optional. Whether to use stemmer to compute rouge score. + }, + }, + "metricResourceName": "A String", # Resource name for registered metric. + }, + ], "metrics": [ # The metrics used for evaluation. Currently, we only support evaluating a single metric. If multiple metrics are provided, only the first one will be evaluated. { # The metric used for running evaluations. "aggregationMetrics": [ # Optional. The aggregation metrics to use. @@ -2464,7 +2796,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -2590,7 +2922,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -2693,6 +3025,18 @@

Method Details

"rubricGroupKey": "A String", # Use a pre-defined group of rubrics associated with the input. Refers to a key in the rubric_groups map of EvaluationInstance. "systemInstruction": "A String", # Optional. System instructions for the judge model. }, + "metadata": { # Metadata about the metric, used for visualization and organization. # Optional. Metadata about the metric, used for visualization and organization. + "otherMetadata": { # Optional. Flexible metadata for user-defined attributes. + "a_key": "", # Properties of the object. + }, + "scoreRange": { # The range of possible scores for this metric, used for plotting. # Optional. The range of possible scores for this metric, used for plotting. + "description": "A String", # Optional. The description of the score explaining the directionality etc. + "max": 3.14, # Required. The maximum value of the score range (inclusive). + "min": 3.14, # Required. The minimum value of the score range (inclusive). + "step": 3.14, # Optional. The distance between discrete steps in the range. If unset, the range is assumed to be continuous. + }, + "title": "A String", # Optional. The user-friendly name for the metric. If not set for a registered metric, it will default to the metric's display name. + }, "pairwiseMetricSpec": { # Spec for pairwise metric. # Spec for pairwise metric. "baselineResponseFieldName": "A String", # Optional. The field name of the baseline response. "candidateResponseFieldName": "A String", # Optional. The field name of the candidate response. @@ -3877,6 +4221,7 @@

Method Details

}, ], "location": "A String", # Required. The resource name of the Location to generate rubrics from. Format: `projects/{project}/locations/{location}` + "metricResourceName": "A String", # Optional. The resource name of a registered metric. Rubric generation using predefined metric spec or LLMBasedMetricSpec is supported. If this field is set, the configuration provided in this field is used for rubric generation. The `predefined_rubric_generation_spec` and `rubric_generation_spec` fields will be ignored. "predefinedRubricGenerationSpec": { # The spec for a pre-defined metric. # Optional. Specification for using the rubric generation configs of a pre-defined metric, e.g. "generic_quality_v1" and "instruction_following_v1". Some of the configs may be only used in rubric generation and not supporting evaluation, e.g. "fully_customized_generic_quality_v1". If this field is set, the `rubric_generation_spec` field will be ignored. "metricSpecName": "A String", # Required. The name of a pre-defined metric, such as "instruction_following_v1" or "text_quality_v1". "metricSpecParameters": { # Optional. The parameters needed to run the pre-defined metric. @@ -3908,7 +4253,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], diff --git a/docs/dyn/aiplatform_v1beta1.endpoints.html b/docs/dyn/aiplatform_v1beta1.endpoints.html index 0186be11f6..9f71a1354a 100644 --- a/docs/dyn/aiplatform_v1beta1.endpoints.html +++ b/docs/dyn/aiplatform_v1beta1.endpoints.html @@ -343,7 +343,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -915,7 +915,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -1684,6 +1684,9 @@

Method Details

"instances": [ # Required. The instances that are the input to the prediction call. A DeployedModel may have an upper limit on the number of instances it supports per request, and when it is exceeded the prediction call errors in case of AutoML Models, or, in case of customer created Models, the behaviour is as documented by that Model. The schema of any single instance may be specified via Endpoint's DeployedModels' Model's PredictSchemata's instance_schema_uri. "", ], + "labels": { # Optional. The labels with user-defined metadata for the request. It is used for billing and reporting only. Label keys and values can be no longer than 63 characters (Unicode codepoints) and can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter. + "a_key": "A String", + }, "parameters": "", # Optional. The parameters that govern the prediction. The schema of the parameters may be specified via Endpoint's DeployedModels' Model's PredictSchemata's parameters_schema_uri. } @@ -1829,7 +1832,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], diff --git a/docs/dyn/aiplatform_v1beta1.projects.locations.datasets.html b/docs/dyn/aiplatform_v1beta1.projects.locations.datasets.html index 22c755770a..befb789231 100644 --- a/docs/dyn/aiplatform_v1beta1.projects.locations.datasets.html +++ b/docs/dyn/aiplatform_v1beta1.projects.locations.datasets.html @@ -268,7 +268,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -850,7 +850,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], diff --git a/docs/dyn/aiplatform_v1beta1.projects.locations.endpoints.html b/docs/dyn/aiplatform_v1beta1.projects.locations.endpoints.html index b94ca052b4..14be01375a 100644 --- a/docs/dyn/aiplatform_v1beta1.projects.locations.endpoints.html +++ b/docs/dyn/aiplatform_v1beta1.projects.locations.endpoints.html @@ -420,7 +420,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -2082,7 +2082,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -4310,6 +4310,9 @@

Method Details

"instances": [ # Required. The instances that are the input to the prediction call. A DeployedModel may have an upper limit on the number of instances it supports per request, and when it is exceeded the prediction call errors in case of AutoML Models, or, in case of customer created Models, the behaviour is as documented by that Model. The schema of any single instance may be specified via Endpoint's DeployedModels' Model's PredictSchemata's instance_schema_uri. "", ], + "labels": { # Optional. The labels with user-defined metadata for the request. It is used for billing and reporting only. Label keys and values can be no longer than 63 characters (Unicode codepoints) and can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter. + "a_key": "A String", + }, "parameters": "", # Optional. The parameters that govern the prediction. The schema of the parameters may be specified via Endpoint's DeployedModels' Model's PredictSchemata's parameters_schema_uri. } @@ -4741,7 +4744,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], diff --git a/docs/dyn/aiplatform_v1beta1.projects.locations.evaluationItems.html b/docs/dyn/aiplatform_v1beta1.projects.locations.evaluationItems.html index dd7657d794..dc77d7a7a4 100644 --- a/docs/dyn/aiplatform_v1beta1.projects.locations.evaluationItems.html +++ b/docs/dyn/aiplatform_v1beta1.projects.locations.evaluationItems.html @@ -2044,6 +2044,10 @@

Method Details

}, }, "text": "A String", # Text prompt. + "userScenario": { # User scenario to help simulate multi-turn agent running results. # Optional. The generated user scenario used to drive multi-turn agent running results. + "conversationPlan": "A String", # Required. The plan for the conversation, used to drive the multi-turn agent run and generate the simulated agent evaluation dataset. + "startingPrompt": "A String", # Required. The prompt that starts the conversation between the simulated user and the agent under test. + }, "value": "", # Fields and values that can be used to populate the prompt template. }, "rubrics": { # Optional. Named groups of rubrics associated with this prompt. The key is a user-defined name for the rubric group. @@ -4014,6 +4018,10 @@

Method Details

}, }, "text": "A String", # Text prompt. + "userScenario": { # User scenario to help simulate multi-turn agent running results. # Optional. The generated user scenario used to drive multi-turn agent running results. + "conversationPlan": "A String", # Required. The plan for the conversation, used to drive the multi-turn agent run and generate the simulated agent evaluation dataset. + "startingPrompt": "A String", # Required. The prompt that starts the conversation between the simulated user and the agent under test. + }, "value": "", # Fields and values that can be used to populate the prompt template. }, "rubrics": { # Optional. Named groups of rubrics associated with this prompt. The key is a user-defined name for the rubric group. @@ -5984,6 +5992,10 @@

Method Details

}, }, "text": "A String", # Text prompt. + "userScenario": { # User scenario to help simulate multi-turn agent running results. # Optional. The generated user scenario used to drive multi-turn agent running results. + "conversationPlan": "A String", # Required. The plan for the conversation, used to drive the multi-turn agent run and generate the simulated agent evaluation dataset. + "startingPrompt": "A String", # Required. The prompt that starts the conversation between the simulated user and the agent under test. + }, "value": "", # Fields and values that can be used to populate the prompt template. }, "rubrics": { # Optional. Named groups of rubrics associated with this prompt. The key is a user-defined name for the rubric group. @@ -7954,6 +7966,10 @@

Method Details

}, }, "text": "A String", # Text prompt. + "userScenario": { # User scenario to help simulate multi-turn agent running results. # Optional. The generated user scenario used to drive multi-turn agent running results. + "conversationPlan": "A String", # Required. The plan for the conversation, used to drive the multi-turn agent run and generate the simulated agent evaluation dataset. + "startingPrompt": "A String", # Required. The prompt that starts the conversation between the simulated user and the agent under test. + }, "value": "", # Fields and values that can be used to populate the prompt template. }, "rubrics": { # Optional. Named groups of rubrics associated with this prompt. The key is a user-defined name for the rubric group. @@ -9966,6 +9982,10 @@

Method Details

}, }, "text": "A String", # Text prompt. + "userScenario": { # User scenario to help simulate multi-turn agent running results. # Optional. The generated user scenario used to drive multi-turn agent running results. + "conversationPlan": "A String", # Required. The plan for the conversation, used to drive the multi-turn agent run and generate the simulated agent evaluation dataset. + "startingPrompt": "A String", # Required. The prompt that starts the conversation between the simulated user and the agent under test. + }, "value": "", # Fields and values that can be used to populate the prompt template. }, "rubrics": { # Optional. Named groups of rubrics associated with this prompt. The key is a user-defined name for the rubric group. @@ -11936,6 +11956,10 @@

Method Details

}, }, "text": "A String", # Text prompt. + "userScenario": { # User scenario to help simulate multi-turn agent running results. # Optional. The generated user scenario used to drive multi-turn agent running results. + "conversationPlan": "A String", # Required. The plan for the conversation, used to drive the multi-turn agent run and generate the simulated agent evaluation dataset. + "startingPrompt": "A String", # Required. The prompt that starts the conversation between the simulated user and the agent under test. + }, "value": "", # Fields and values that can be used to populate the prompt template. }, "rubrics": { # Optional. Named groups of rubrics associated with this prompt. The key is a user-defined name for the rubric group. @@ -13919,6 +13943,10 @@

Method Details

}, }, "text": "A String", # Text prompt. + "userScenario": { # User scenario to help simulate multi-turn agent running results. # Optional. The generated user scenario used to drive multi-turn agent running results. + "conversationPlan": "A String", # Required. The plan for the conversation, used to drive the multi-turn agent run and generate the simulated agent evaluation dataset. + "startingPrompt": "A String", # Required. The prompt that starts the conversation between the simulated user and the agent under test. + }, "value": "", # Fields and values that can be used to populate the prompt template. }, "rubrics": { # Optional. Named groups of rubrics associated with this prompt. The key is a user-defined name for the rubric group. @@ -15889,6 +15917,10 @@

Method Details

}, }, "text": "A String", # Text prompt. + "userScenario": { # User scenario to help simulate multi-turn agent running results. # Optional. The generated user scenario used to drive multi-turn agent running results. + "conversationPlan": "A String", # Required. The plan for the conversation, used to drive the multi-turn agent run and generate the simulated agent evaluation dataset. + "startingPrompt": "A String", # Required. The prompt that starts the conversation between the simulated user and the agent under test. + }, "value": "", # Fields and values that can be used to populate the prompt template. }, "rubrics": { # Optional. Named groups of rubrics associated with this prompt. The key is a user-defined name for the rubric group. diff --git a/docs/dyn/aiplatform_v1beta1.projects.locations.evaluationMetrics.html b/docs/dyn/aiplatform_v1beta1.projects.locations.evaluationMetrics.html index 831f99dacd..d4c1d6efb8 100644 --- a/docs/dyn/aiplatform_v1beta1.projects.locations.evaluationMetrics.html +++ b/docs/dyn/aiplatform_v1beta1.projects.locations.evaluationMetrics.html @@ -82,10 +82,1464 @@

Instance Methods

close()

Close httplib2 connections.

+

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

+

Creates an EvaluationMetric.

+

+ delete(name, x__xgafv=None)

+

Deletes an EvaluationMetric.

+

+ get(name, x__xgafv=None)

+

Gets an EvaluationMetric.

+

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

+

Lists EvaluationMetrics.

+

+ list_next()

+

Retrieves the next page of results.

Method Details

close()
Close httplib2 connections.
+
+ create(parent, body=None, evaluationMetricId=None, x__xgafv=None) +
Creates an EvaluationMetric.
+
+Args:
+  parent: string, Required. The resource name of the Location to create the EvaluationMetric in. Format: `projects/{project}/locations/{location}` (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # EvaluationMetric is a resource that represents a reusable metric configuration.
+  "createTime": "A String", # Output only. The time when the EvaluationMetric was created.
+  "description": "A String", # Optional. A description of the EvaluationMetric.
+  "displayName": "A String", # Required. The user-friendly display name for the EvaluationMetric.
+  "gcsUri": "A String", # Optional. The Google Cloud Storage URI that stores the metric specification..
+  "labels": { # Optional. Labels for the evaluation metric.
+    "a_key": "A String",
+  },
+  "metric": { # The metric used for running evaluations. # Optional. The metric configuration.
+    "aggregationMetrics": [ # Optional. The aggregation metrics to use.
+      "A String",
+    ],
+    "bleuSpec": { # Spec for bleu score metric - calculates the precision of n-grams in the prediction as compared to reference - returns a score ranging between 0 to 1. # Spec for bleu metric.
+      "useEffectiveOrder": True or False, # Optional. Whether to use_effective_order to compute bleu score.
+    },
+    "computationBasedMetricSpec": { # Specification for a computation based metric. # Spec for a computation based metric.
+      "parameters": { # Optional. A map of parameters for the metric, e.g. {"rouge_type": "rougeL"}.
+        "a_key": "", # Properties of the object.
+      },
+      "type": "A String", # Required. The type of the computation based metric.
+    },
+    "customCodeExecutionSpec": { # Specificies a metric that is populated by evaluating user-defined Python code. # Spec for Custom Code Execution metric.
+      "evaluationFunction": "A String", # Required. Python function. Expected user to define the following function, e.g.: def evaluate(instance: dict[str, Any]) -> float: Please include this function signature in the code snippet. Instance is the evaluation instance, any fields populated in the instance are available to the function as instance[field_name]. Example: Example input: ``` instance= EvaluationInstance( response=EvaluationInstance.InstanceData(text="The answer is 4."), reference=EvaluationInstance.InstanceData(text="4") ) ``` Example converted input: ``` { 'response': {'text': 'The answer is 4.'}, 'reference': {'text': '4'} } ``` Example python function: ``` def evaluate(instance: dict[str, Any]) -> float: if instance'response' == instance'reference': return 1.0 return 0.0 ``` CustomCodeExecutionSpec is also supported in Batch Evaluation (EvalDataset RPC) and Tuning Evaluation. Each line in the input jsonl file will be converted to dict[str, Any] and passed to the evaluation function.
+    },
+    "exactMatchSpec": { # Spec for exact match metric - returns 1 if prediction and reference exactly matches, otherwise 0. # Spec for exact match metric.
+    },
+    "llmBasedMetricSpec": { # Specification for an LLM based metric. # Spec for an LLM based metric.
+      "additionalConfig": { # Optional. Optional additional configuration for the metric.
+        "a_key": "", # Properties of the object.
+      },
+      "judgeAutoraterConfig": { # The configs for autorater. This is applicable to both EvaluateInstances and EvaluateDataset. # Optional. Optional configuration for the judge LLM (Autorater).
+        "autoraterModel": "A String", # Optional. The fully qualified name of the publisher model or tuned autorater endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}`
+        "flipEnabled": True or False, # Optional. Default is true. Whether to flip the candidate and baseline responses. This is only applicable to the pairwise metric. If enabled, also provide PairwiseMetricSpec.candidate_response_field_name and PairwiseMetricSpec.baseline_response_field_name. When rendering PairwiseMetricSpec.metric_prompt_template, the candidate and baseline fields will be flipped for half of the samples to reduce bias.
+        "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. Configuration options for model generation and outputs.
+          "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.
+          "candidateCount": 42, # Optional. The number of candidate responses to generate. A higher `candidate_count` can provide more options to choose from, but it also consumes more resources. This can be useful for generating a variety of responses and selecting the best one.
+          "enableAffectiveDialog": True or False, # Optional. If enabled, the model will detect emotions and adapt its responses accordingly. For example, if the model detects that the user is frustrated, it may provide a more empathetic response.
+          "frequencyPenalty": 3.14, # Optional. Penalizes tokens based on their frequency in the generated text. A positive value helps to reduce the repetition of words and phrases. Valid values can range from [-2.0, 2.0].
+          "imageConfig": { # Configuration for image generation. This message allows you to control various aspects of image generation, such as the output format, aspect ratio, and whether the model can generate images of people. # Optional. Config for image generation features.
+            "aspectRatio": "A String", # Optional. The desired aspect ratio for the generated images. The following aspect ratios are supported: "1:1" "2:3", "3:2" "3:4", "4:3" "4:5", "5:4" "9:16", "16:9" "21:9"
+            "imageOutputOptions": { # The image output format for generated images. # Optional. The image output format for generated images.
+              "compressionQuality": 42, # Optional. The compression quality of the output image.
+              "mimeType": "A String", # Optional. The image format that the output should be saved as.
+            },
+            "imageSize": "A String", # Optional. Specifies the size of generated images. Supported values are `1K`, `2K`, `4K`. If not specified, the model will use default value `1K`.
+            "personGeneration": "A String", # Optional. Controls whether the model can generate people.
+            "prominentPeople": "A String", # Optional. Controls whether prominent people (celebrities) generation is allowed. If used with personGeneration, personGeneration enum would take precedence. For instance, if ALLOW_NONE is set, all person generation would be blocked. If this field is unspecified, the default behavior is to allow prominent people.
+          },
+          "logprobs": 42, # Optional. The number of top log probabilities to return for each token. This can be used to see which other tokens were considered likely candidates for a given position. A higher value will return more options, but it will also increase the size of the response.
+          "maxOutputTokens": 42, # Optional. The maximum number of tokens to generate in the response. A token is approximately four characters. The default value varies by model. This parameter can be used to control the length of the generated text and prevent overly long responses.
+          "mediaResolution": "A String", # Optional. The token resolution at which input media content is sampled. This is used to control the trade-off between the quality of the response and the number of tokens used to represent the media. A higher resolution allows the model to perceive more detail, which can lead to a more nuanced response, but it will also use more tokens. This does not affect the image dimensions sent to the model.
+          "modelConfig": { # Config for model selection. # Optional. Config for model selection.
+            "featureSelectionPreference": "A String", # Required. Feature selection preference.
+          },
+          "presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0].
+          "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`.
+          "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging.
+          "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined.
+          "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image.
+            "A String",
+          ],
+          "responseSchema": { # Defines the schema of input and output data. This is a subset of the [OpenAPI 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object). # Optional. Lets you to specify a schema for the model's response, ensuring that the output conforms to a particular structure. This is useful for generating structured data such as JSON. The schema is a subset of the [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema) object. When this field is set, you must also set the `response_mime_type` to `application/json`.
+            "additionalProperties": "", # Optional. If `type` is `OBJECT`, specifies how to handle properties not defined in `properties`. If it is a boolean `false`, no additional properties are allowed. If it is a schema, additional properties are allowed if they conform to the schema.
+            "anyOf": [ # Optional. The instance must be valid against any (one or more) of the subschemas listed in `any_of`.
+              # Object with schema name: GoogleCloudAiplatformV1beta1Schema
+            ],
+            "default": "", # Optional. Default value to use if the field is not specified.
+            "defs": { # Optional. `defs` provides a map of schema definitions that can be reused by `ref` elsewhere in the schema. Only allowed at root level of the schema.
+              "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema
+            },
+            "description": "A String", # Optional. Describes the data. The model uses this field to understand the purpose of the schema and how to use it. It is a best practice to provide a clear and descriptive explanation for the schema and its properties here, rather than in the prompt.
+            "enum": [ # Optional. Possible values of the field. This field can be used to restrict a value to a fixed set of values. To mark a field as an enum, set `format` to `enum` and provide the list of possible values in `enum`. For example: 1. To define directions: `{type:STRING, format:enum, enum:["EAST", "NORTH", "SOUTH", "WEST"]}` 2. To define apartment numbers: `{type:INTEGER, format:enum, enum:["101", "201", "301"]}`
+              "A String",
+            ],
+            "example": "", # Optional. Example of an instance of this schema.
+            "format": "A String", # Optional. The format of the data. For `NUMBER` type, format can be `float` or `double`. For `INTEGER` type, format can be `int32` or `int64`. For `STRING` type, format can be `email`, `byte`, `date`, `date-time`, `password`, and other formats to further refine the data type.
+            "items": # Object with schema name: GoogleCloudAiplatformV1beta1Schema # Optional. If type is `ARRAY`, `items` specifies the schema of elements in the array.
+            "maxItems": "A String", # Optional. If type is `ARRAY`, `max_items` specifies the maximum number of items in an array.
+            "maxLength": "A String", # Optional. If type is `STRING`, `max_length` specifies the maximum length of the string.
+            "maxProperties": "A String", # Optional. If type is `OBJECT`, `max_properties` specifies the maximum number of properties that can be provided.
+            "maximum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `maximum` specifies the maximum allowed value.
+            "minItems": "A String", # Optional. If type is `ARRAY`, `min_items` specifies the minimum number of items in an array.
+            "minLength": "A String", # Optional. If type is `STRING`, `min_length` specifies the minimum length of the string.
+            "minProperties": "A String", # Optional. If type is `OBJECT`, `min_properties` specifies the minimum number of properties that can be provided.
+            "minimum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `minimum` specifies the minimum allowed value.
+            "nullable": True or False, # Optional. Indicates if the value of this field can be null.
+            "pattern": "A String", # Optional. If type is `STRING`, `pattern` specifies a regular expression that the string must match.
+            "properties": { # Optional. If type is `OBJECT`, `properties` is a map of property names to schema definitions for each property of the object.
+              "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema
+            },
+            "propertyOrdering": [ # Optional. Order of properties displayed or used where order matters. This is not a standard field in OpenAPI specification, but can be used to control the order of properties.
+              "A String",
+            ],
+            "ref": "A String", # Optional. Allows referencing another schema definition to use in place of this schema. The value must be a valid reference to a schema in `defs`. For example, the following schema defines a reference to a schema node named "Pet": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the "pet" property is a reference to the schema node named "Pet". See details in https://json-schema.org/understanding-json-schema/structuring
+            "required": [ # Optional. If type is `OBJECT`, `required` lists the names of properties that must be present.
+              "A String",
+            ],
+            "title": "A String", # Optional. Title for the schema.
+            "type": "A String", # Optional. Data type of the schema field.
+          },
+          "routingConfig": { # The configuration for routing the request to a specific model. This can be used to control which model is used for the generation, either automatically or by specifying a model name. # Optional. Routing configuration.
+            "autoMode": { # The configuration for automated routing. When automated routing is specified, the routing will be determined by the pretrained routing model and customer provided model routing preference. # In this mode, the model is selected automatically based on the content of the request.
+              "modelRoutingPreference": "A String", # The model routing preference.
+            },
+            "manualMode": { # The configuration for manual routing. When manual routing is specified, the model will be selected based on the model name provided. # In this mode, the model is specified manually.
+              "modelName": "A String", # The name of the model to use. Only public LLM models are accepted.
+            },
+          },
+          "seed": 42, # Optional. A seed for the random number generator. By setting a seed, you can make the model's output mostly deterministic. For a given prompt and parameters (like temperature, top_p, etc.), the model will produce the same response every time. However, it's not a guaranteed absolute deterministic behavior. This is different from parameters like `temperature`, which control the *level* of randomness. `seed` ensures that the "random" choices the model makes are the same on every run, making it essential for testing and ensuring reproducible results.
+          "speechConfig": { # Configuration for speech generation. # Optional. The speech generation config.
+            "languageCode": "A String", # Optional. The language code (ISO 639-1) for the speech synthesis.
+            "multiSpeakerVoiceConfig": { # Configuration for a multi-speaker text-to-speech request. # The configuration for a multi-speaker text-to-speech request. This field is mutually exclusive with `voice_config`.
+              "speakerVoiceConfigs": [ # Required. A list of configurations for the voices of the speakers. Exactly two speaker voice configurations must be provided.
+                { # Configuration for a single speaker in a multi-speaker setup.
+                  "speaker": "A String", # Required. The name of the speaker. This should be the same as the speaker name used in the prompt.
+                  "voiceConfig": { # Configuration for a voice. # Required. The configuration for the voice of this speaker.
+                    "prebuiltVoiceConfig": { # Configuration for a prebuilt voice. # The configuration for a prebuilt voice.
+                      "voiceName": "A String", # The name of the prebuilt voice to use.
+                    },
+                    "replicatedVoiceConfig": { # The configuration for the replicated voice to use. # Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample.
+                      "mimeType": "A String", # Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set.
+                      "voiceSampleAudio": "A String", # Optional. The sample of the custom voice.
+                    },
+                  },
+                },
+              ],
+            },
+            "voiceConfig": { # Configuration for a voice. # The configuration for the voice to use.
+              "prebuiltVoiceConfig": { # Configuration for a prebuilt voice. # The configuration for a prebuilt voice.
+                "voiceName": "A String", # The name of the prebuilt voice to use.
+              },
+              "replicatedVoiceConfig": { # The configuration for the replicated voice to use. # Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample.
+                "mimeType": "A String", # Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set.
+                "voiceSampleAudio": "A String", # Optional. The sample of the custom voice.
+              },
+            },
+          },
+          "stopSequences": [ # Optional. A list of character sequences that will stop the model from generating further tokens. If a stop sequence is generated, the output will end at that point. This is useful for controlling the length and structure of the output. For example, you can use ["\n", "###"] to stop generation at a new line or a specific marker.
+            "A String",
+          ],
+          "temperature": 3.14, # Optional. Controls the randomness of the output. A higher temperature results in more creative and diverse responses, while a lower temperature makes the output more predictable and focused. The valid range is (0.0, 2.0].
+          "thinkingConfig": { # Configuration for the model's thinking features. "Thinking" is a process where the model breaks down a complex task into smaller, manageable steps. This allows the model to reason about the task, plan its approach, and execute the plan to generate a high-quality response. # Optional. Configuration for thinking features. An error will be returned if this field is set for models that don't support thinking.
+            "includeThoughts": True or False, # Optional. If true, the model will include its thoughts in the response. "Thoughts" are the intermediate steps the model takes to arrive at the final response. They can provide insights into the model's reasoning process and help with debugging. If this is true, thoughts are returned only when available.
+            "thinkingBudget": 42, # Optional. The token budget for the model's thinking process. The model will make a best effort to stay within this budget. This can be used to control the trade-off between response quality and latency.
+            "thinkingLevel": "A String", # Optional. The number of thoughts tokens that the model should generate.
+          },
+          "topK": 3.14, # Optional. Specifies the top-k sampling threshold. The model considers only the top k most probable tokens for the next token. This can be useful for generating more coherent and less random text. For example, a `top_k` of 40 means the model will choose the next word from the 40 most likely words.
+          "topP": 3.14, # Optional. Specifies the nucleus sampling threshold. The model considers only the smallest set of tokens whose cumulative probability is at least `top_p`. This helps generate more diverse and less repetitive responses. For example, a `top_p` of 0.9 means the model considers tokens until the cumulative probability of the tokens to select from reaches 0.9. It's recommended to adjust either temperature or `top_p`, but not both.
+        },
+        "samplingCount": 42, # Optional. Number of samples for each instance in the dataset. If not specified, the default is 4. Minimum value is 1, maximum value is 32.
+      },
+      "metricPromptTemplate": "A String", # Required. Template for the prompt sent to the judge model.
+      "predefinedRubricGenerationSpec": { # The spec for a pre-defined metric. # Dynamically generate rubrics using a predefined spec.
+        "metricSpecName": "A String", # Required. The name of a pre-defined metric, such as "instruction_following_v1" or "text_quality_v1".
+        "metricSpecParameters": { # Optional. The parameters needed to run the pre-defined metric.
+          "a_key": "", # Properties of the object.
+        },
+      },
+      "rubricGenerationSpec": { # Specification for how rubrics should be generated. # Dynamically generate rubrics using this specification.
+        "modelConfig": { # The configs for autorater. This is applicable to both EvaluateInstances and EvaluateDataset. # Configuration for the model used in rubric generation. Configs including sampling count and base model can be specified here. Flipping is not supported for rubric generation.
+          "autoraterModel": "A String", # Optional. The fully qualified name of the publisher model or tuned autorater endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}`
+          "flipEnabled": True or False, # Optional. Default is true. Whether to flip the candidate and baseline responses. This is only applicable to the pairwise metric. If enabled, also provide PairwiseMetricSpec.candidate_response_field_name and PairwiseMetricSpec.baseline_response_field_name. When rendering PairwiseMetricSpec.metric_prompt_template, the candidate and baseline fields will be flipped for half of the samples to reduce bias.
+          "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. Configuration options for model generation and outputs.
+            "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.
+            "candidateCount": 42, # Optional. The number of candidate responses to generate. A higher `candidate_count` can provide more options to choose from, but it also consumes more resources. This can be useful for generating a variety of responses and selecting the best one.
+            "enableAffectiveDialog": True or False, # Optional. If enabled, the model will detect emotions and adapt its responses accordingly. For example, if the model detects that the user is frustrated, it may provide a more empathetic response.
+            "frequencyPenalty": 3.14, # Optional. Penalizes tokens based on their frequency in the generated text. A positive value helps to reduce the repetition of words and phrases. Valid values can range from [-2.0, 2.0].
+            "imageConfig": { # Configuration for image generation. This message allows you to control various aspects of image generation, such as the output format, aspect ratio, and whether the model can generate images of people. # Optional. Config for image generation features.
+              "aspectRatio": "A String", # Optional. The desired aspect ratio for the generated images. The following aspect ratios are supported: "1:1" "2:3", "3:2" "3:4", "4:3" "4:5", "5:4" "9:16", "16:9" "21:9"
+              "imageOutputOptions": { # The image output format for generated images. # Optional. The image output format for generated images.
+                "compressionQuality": 42, # Optional. The compression quality of the output image.
+                "mimeType": "A String", # Optional. The image format that the output should be saved as.
+              },
+              "imageSize": "A String", # Optional. Specifies the size of generated images. Supported values are `1K`, `2K`, `4K`. If not specified, the model will use default value `1K`.
+              "personGeneration": "A String", # Optional. Controls whether the model can generate people.
+              "prominentPeople": "A String", # Optional. Controls whether prominent people (celebrities) generation is allowed. If used with personGeneration, personGeneration enum would take precedence. For instance, if ALLOW_NONE is set, all person generation would be blocked. If this field is unspecified, the default behavior is to allow prominent people.
+            },
+            "logprobs": 42, # Optional. The number of top log probabilities to return for each token. This can be used to see which other tokens were considered likely candidates for a given position. A higher value will return more options, but it will also increase the size of the response.
+            "maxOutputTokens": 42, # Optional. The maximum number of tokens to generate in the response. A token is approximately four characters. The default value varies by model. This parameter can be used to control the length of the generated text and prevent overly long responses.
+            "mediaResolution": "A String", # Optional. The token resolution at which input media content is sampled. This is used to control the trade-off between the quality of the response and the number of tokens used to represent the media. A higher resolution allows the model to perceive more detail, which can lead to a more nuanced response, but it will also use more tokens. This does not affect the image dimensions sent to the model.
+            "modelConfig": { # Config for model selection. # Optional. Config for model selection.
+              "featureSelectionPreference": "A String", # Required. Feature selection preference.
+            },
+            "presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0].
+            "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`.
+            "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging.
+            "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined.
+            "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image.
+              "A String",
+            ],
+            "responseSchema": { # Defines the schema of input and output data. This is a subset of the [OpenAPI 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object). # Optional. Lets you to specify a schema for the model's response, ensuring that the output conforms to a particular structure. This is useful for generating structured data such as JSON. The schema is a subset of the [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema) object. When this field is set, you must also set the `response_mime_type` to `application/json`.
+              "additionalProperties": "", # Optional. If `type` is `OBJECT`, specifies how to handle properties not defined in `properties`. If it is a boolean `false`, no additional properties are allowed. If it is a schema, additional properties are allowed if they conform to the schema.
+              "anyOf": [ # Optional. The instance must be valid against any (one or more) of the subschemas listed in `any_of`.
+                # Object with schema name: GoogleCloudAiplatformV1beta1Schema
+              ],
+              "default": "", # Optional. Default value to use if the field is not specified.
+              "defs": { # Optional. `defs` provides a map of schema definitions that can be reused by `ref` elsewhere in the schema. Only allowed at root level of the schema.
+                "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema
+              },
+              "description": "A String", # Optional. Describes the data. The model uses this field to understand the purpose of the schema and how to use it. It is a best practice to provide a clear and descriptive explanation for the schema and its properties here, rather than in the prompt.
+              "enum": [ # Optional. Possible values of the field. This field can be used to restrict a value to a fixed set of values. To mark a field as an enum, set `format` to `enum` and provide the list of possible values in `enum`. For example: 1. To define directions: `{type:STRING, format:enum, enum:["EAST", "NORTH", "SOUTH", "WEST"]}` 2. To define apartment numbers: `{type:INTEGER, format:enum, enum:["101", "201", "301"]}`
+                "A String",
+              ],
+              "example": "", # Optional. Example of an instance of this schema.
+              "format": "A String", # Optional. The format of the data. For `NUMBER` type, format can be `float` or `double`. For `INTEGER` type, format can be `int32` or `int64`. For `STRING` type, format can be `email`, `byte`, `date`, `date-time`, `password`, and other formats to further refine the data type.
+              "items": # Object with schema name: GoogleCloudAiplatformV1beta1Schema # Optional. If type is `ARRAY`, `items` specifies the schema of elements in the array.
+              "maxItems": "A String", # Optional. If type is `ARRAY`, `max_items` specifies the maximum number of items in an array.
+              "maxLength": "A String", # Optional. If type is `STRING`, `max_length` specifies the maximum length of the string.
+              "maxProperties": "A String", # Optional. If type is `OBJECT`, `max_properties` specifies the maximum number of properties that can be provided.
+              "maximum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `maximum` specifies the maximum allowed value.
+              "minItems": "A String", # Optional. If type is `ARRAY`, `min_items` specifies the minimum number of items in an array.
+              "minLength": "A String", # Optional. If type is `STRING`, `min_length` specifies the minimum length of the string.
+              "minProperties": "A String", # Optional. If type is `OBJECT`, `min_properties` specifies the minimum number of properties that can be provided.
+              "minimum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `minimum` specifies the minimum allowed value.
+              "nullable": True or False, # Optional. Indicates if the value of this field can be null.
+              "pattern": "A String", # Optional. If type is `STRING`, `pattern` specifies a regular expression that the string must match.
+              "properties": { # Optional. If type is `OBJECT`, `properties` is a map of property names to schema definitions for each property of the object.
+                "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema
+              },
+              "propertyOrdering": [ # Optional. Order of properties displayed or used where order matters. This is not a standard field in OpenAPI specification, but can be used to control the order of properties.
+                "A String",
+              ],
+              "ref": "A String", # Optional. Allows referencing another schema definition to use in place of this schema. The value must be a valid reference to a schema in `defs`. For example, the following schema defines a reference to a schema node named "Pet": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the "pet" property is a reference to the schema node named "Pet". See details in https://json-schema.org/understanding-json-schema/structuring
+              "required": [ # Optional. If type is `OBJECT`, `required` lists the names of properties that must be present.
+                "A String",
+              ],
+              "title": "A String", # Optional. Title for the schema.
+              "type": "A String", # Optional. Data type of the schema field.
+            },
+            "routingConfig": { # The configuration for routing the request to a specific model. This can be used to control which model is used for the generation, either automatically or by specifying a model name. # Optional. Routing configuration.
+              "autoMode": { # The configuration for automated routing. When automated routing is specified, the routing will be determined by the pretrained routing model and customer provided model routing preference. # In this mode, the model is selected automatically based on the content of the request.
+                "modelRoutingPreference": "A String", # The model routing preference.
+              },
+              "manualMode": { # The configuration for manual routing. When manual routing is specified, the model will be selected based on the model name provided. # In this mode, the model is specified manually.
+                "modelName": "A String", # The name of the model to use. Only public LLM models are accepted.
+              },
+            },
+            "seed": 42, # Optional. A seed for the random number generator. By setting a seed, you can make the model's output mostly deterministic. For a given prompt and parameters (like temperature, top_p, etc.), the model will produce the same response every time. However, it's not a guaranteed absolute deterministic behavior. This is different from parameters like `temperature`, which control the *level* of randomness. `seed` ensures that the "random" choices the model makes are the same on every run, making it essential for testing and ensuring reproducible results.
+            "speechConfig": { # Configuration for speech generation. # Optional. The speech generation config.
+              "languageCode": "A String", # Optional. The language code (ISO 639-1) for the speech synthesis.
+              "multiSpeakerVoiceConfig": { # Configuration for a multi-speaker text-to-speech request. # The configuration for a multi-speaker text-to-speech request. This field is mutually exclusive with `voice_config`.
+                "speakerVoiceConfigs": [ # Required. A list of configurations for the voices of the speakers. Exactly two speaker voice configurations must be provided.
+                  { # Configuration for a single speaker in a multi-speaker setup.
+                    "speaker": "A String", # Required. The name of the speaker. This should be the same as the speaker name used in the prompt.
+                    "voiceConfig": { # Configuration for a voice. # Required. The configuration for the voice of this speaker.
+                      "prebuiltVoiceConfig": { # Configuration for a prebuilt voice. # The configuration for a prebuilt voice.
+                        "voiceName": "A String", # The name of the prebuilt voice to use.
+                      },
+                      "replicatedVoiceConfig": { # The configuration for the replicated voice to use. # Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample.
+                        "mimeType": "A String", # Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set.
+                        "voiceSampleAudio": "A String", # Optional. The sample of the custom voice.
+                      },
+                    },
+                  },
+                ],
+              },
+              "voiceConfig": { # Configuration for a voice. # The configuration for the voice to use.
+                "prebuiltVoiceConfig": { # Configuration for a prebuilt voice. # The configuration for a prebuilt voice.
+                  "voiceName": "A String", # The name of the prebuilt voice to use.
+                },
+                "replicatedVoiceConfig": { # The configuration for the replicated voice to use. # Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample.
+                  "mimeType": "A String", # Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set.
+                  "voiceSampleAudio": "A String", # Optional. The sample of the custom voice.
+                },
+              },
+            },
+            "stopSequences": [ # Optional. A list of character sequences that will stop the model from generating further tokens. If a stop sequence is generated, the output will end at that point. This is useful for controlling the length and structure of the output. For example, you can use ["\n", "###"] to stop generation at a new line or a specific marker.
+              "A String",
+            ],
+            "temperature": 3.14, # Optional. Controls the randomness of the output. A higher temperature results in more creative and diverse responses, while a lower temperature makes the output more predictable and focused. The valid range is (0.0, 2.0].
+            "thinkingConfig": { # Configuration for the model's thinking features. "Thinking" is a process where the model breaks down a complex task into smaller, manageable steps. This allows the model to reason about the task, plan its approach, and execute the plan to generate a high-quality response. # Optional. Configuration for thinking features. An error will be returned if this field is set for models that don't support thinking.
+              "includeThoughts": True or False, # Optional. If true, the model will include its thoughts in the response. "Thoughts" are the intermediate steps the model takes to arrive at the final response. They can provide insights into the model's reasoning process and help with debugging. If this is true, thoughts are returned only when available.
+              "thinkingBudget": 42, # Optional. The token budget for the model's thinking process. The model will make a best effort to stay within this budget. This can be used to control the trade-off between response quality and latency.
+              "thinkingLevel": "A String", # Optional. The number of thoughts tokens that the model should generate.
+            },
+            "topK": 3.14, # Optional. Specifies the top-k sampling threshold. The model considers only the top k most probable tokens for the next token. This can be useful for generating more coherent and less random text. For example, a `top_k` of 40 means the model will choose the next word from the 40 most likely words.
+            "topP": 3.14, # Optional. Specifies the nucleus sampling threshold. The model considers only the smallest set of tokens whose cumulative probability is at least `top_p`. This helps generate more diverse and less repetitive responses. For example, a `top_p` of 0.9 means the model considers tokens until the cumulative probability of the tokens to select from reaches 0.9. It's recommended to adjust either temperature or `top_p`, but not both.
+          },
+          "samplingCount": 42, # Optional. Number of samples for each instance in the dataset. If not specified, the default is 4. Minimum value is 1, maximum value is 32.
+        },
+        "promptTemplate": "A String", # Template for the prompt used to generate rubrics. The details should be updated based on the most-recent recipe requirements.
+        "rubricContentType": "A String", # The type of rubric content to be generated.
+        "rubricTypeOntology": [ # Optional. An optional, pre-defined list of allowed types for generated rubrics. If this field is provided, it implies `include_rubric_type` should be true, and the generated rubric types should be chosen from this ontology.
+          "A String",
+        ],
+      },
+      "rubricGroupKey": "A String", # Use a pre-defined group of rubrics associated with the input. Refers to a key in the rubric_groups map of EvaluationInstance.
+      "systemInstruction": "A String", # Optional. System instructions for the judge model.
+    },
+    "metadata": { # Metadata about the metric, used for visualization and organization. # Optional. Metadata about the metric, used for visualization and organization.
+      "otherMetadata": { # Optional. Flexible metadata for user-defined attributes.
+        "a_key": "", # Properties of the object.
+      },
+      "scoreRange": { # The range of possible scores for this metric, used for plotting. # Optional. The range of possible scores for this metric, used for plotting.
+        "description": "A String", # Optional. The description of the score explaining the directionality etc.
+        "max": 3.14, # Required. The maximum value of the score range (inclusive).
+        "min": 3.14, # Required. The minimum value of the score range (inclusive).
+        "step": 3.14, # Optional. The distance between discrete steps in the range. If unset, the range is assumed to be continuous.
+      },
+      "title": "A String", # Optional. The user-friendly name for the metric. If not set for a registered metric, it will default to the metric's display name.
+    },
+    "pairwiseMetricSpec": { # Spec for pairwise metric. # Spec for pairwise metric.
+      "baselineResponseFieldName": "A String", # Optional. The field name of the baseline response.
+      "candidateResponseFieldName": "A String", # Optional. The field name of the candidate response.
+      "customOutputFormatConfig": { # Spec for custom output format configuration. # Optional. CustomOutputFormatConfig allows customization of metric output. When this config is set, the default output is replaced with the raw output string. If a custom format is chosen, the `pairwise_choice` and `explanation` fields in the corresponding metric result will be empty.
+        "returnRawOutput": True or False, # Optional. Whether to return raw output.
+      },
+      "metricPromptTemplate": "A String", # Required. Metric prompt template for pairwise metric.
+      "systemInstruction": "A String", # Optional. System instructions for pairwise metric.
+    },
+    "pointwiseMetricSpec": { # Spec for pointwise metric. # Spec for pointwise metric.
+      "customOutputFormatConfig": { # Spec for custom output format configuration. # Optional. CustomOutputFormatConfig allows customization of metric output. By default, metrics return a score and explanation. When this config is set, the default output is replaced with either: - The raw output string. - A parsed output based on a user-defined schema. If a custom format is chosen, the `score` and `explanation` fields in the corresponding metric result will be empty.
+        "returnRawOutput": True or False, # Optional. Whether to return raw output.
+      },
+      "metricPromptTemplate": "A String", # Required. Metric prompt template for pointwise metric.
+      "systemInstruction": "A String", # Optional. System instructions for pointwise metric.
+    },
+    "predefinedMetricSpec": { # The spec for a pre-defined metric. # The spec for a pre-defined metric.
+      "metricSpecName": "A String", # Required. The name of a pre-defined metric, such as "instruction_following_v1" or "text_quality_v1".
+      "metricSpecParameters": { # Optional. The parameters needed to run the pre-defined metric.
+        "a_key": "", # Properties of the object.
+      },
+    },
+    "rougeSpec": { # Spec for rouge score metric - calculates the recall of n-grams in prediction as compared to reference - returns a score ranging between 0 and 1. # Spec for rouge metric.
+      "rougeType": "A String", # Optional. Supported rouge types are rougen[1-9], rougeL, and rougeLsum.
+      "splitSummaries": True or False, # Optional. Whether to split summaries while using rougeLsum.
+      "useStemmer": True or False, # Optional. Whether to use stemmer to compute rouge score.
+    },
+  },
+  "name": "A String", # Identifier. The resource name of the EvaluationMetric. Format: `projects/{project}/locations/{location}/evaluationMetrics/{evaluation_metric}`
+  "updateTime": "A String", # Output only. The time when the EvaluationMetric was last updated.
+}
+
+  evaluationMetricId: string, Optional. The ID to use for the EvaluationMetric, which will become the final component of the EvaluationMetric's resource name. This value should be 1-63 characters, and valid characters are /a-z-/. The first character must be a lowercase letter, and the last character must be a lowercase letter or number.
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # EvaluationMetric is a resource that represents a reusable metric configuration.
+  "createTime": "A String", # Output only. The time when the EvaluationMetric was created.
+  "description": "A String", # Optional. A description of the EvaluationMetric.
+  "displayName": "A String", # Required. The user-friendly display name for the EvaluationMetric.
+  "gcsUri": "A String", # Optional. The Google Cloud Storage URI that stores the metric specification..
+  "labels": { # Optional. Labels for the evaluation metric.
+    "a_key": "A String",
+  },
+  "metric": { # The metric used for running evaluations. # Optional. The metric configuration.
+    "aggregationMetrics": [ # Optional. The aggregation metrics to use.
+      "A String",
+    ],
+    "bleuSpec": { # Spec for bleu score metric - calculates the precision of n-grams in the prediction as compared to reference - returns a score ranging between 0 to 1. # Spec for bleu metric.
+      "useEffectiveOrder": True or False, # Optional. Whether to use_effective_order to compute bleu score.
+    },
+    "computationBasedMetricSpec": { # Specification for a computation based metric. # Spec for a computation based metric.
+      "parameters": { # Optional. A map of parameters for the metric, e.g. {"rouge_type": "rougeL"}.
+        "a_key": "", # Properties of the object.
+      },
+      "type": "A String", # Required. The type of the computation based metric.
+    },
+    "customCodeExecutionSpec": { # Specificies a metric that is populated by evaluating user-defined Python code. # Spec for Custom Code Execution metric.
+      "evaluationFunction": "A String", # Required. Python function. Expected user to define the following function, e.g.: def evaluate(instance: dict[str, Any]) -> float: Please include this function signature in the code snippet. Instance is the evaluation instance, any fields populated in the instance are available to the function as instance[field_name]. Example: Example input: ``` instance= EvaluationInstance( response=EvaluationInstance.InstanceData(text="The answer is 4."), reference=EvaluationInstance.InstanceData(text="4") ) ``` Example converted input: ``` { 'response': {'text': 'The answer is 4.'}, 'reference': {'text': '4'} } ``` Example python function: ``` def evaluate(instance: dict[str, Any]) -> float: if instance'response' == instance'reference': return 1.0 return 0.0 ``` CustomCodeExecutionSpec is also supported in Batch Evaluation (EvalDataset RPC) and Tuning Evaluation. Each line in the input jsonl file will be converted to dict[str, Any] and passed to the evaluation function.
+    },
+    "exactMatchSpec": { # Spec for exact match metric - returns 1 if prediction and reference exactly matches, otherwise 0. # Spec for exact match metric.
+    },
+    "llmBasedMetricSpec": { # Specification for an LLM based metric. # Spec for an LLM based metric.
+      "additionalConfig": { # Optional. Optional additional configuration for the metric.
+        "a_key": "", # Properties of the object.
+      },
+      "judgeAutoraterConfig": { # The configs for autorater. This is applicable to both EvaluateInstances and EvaluateDataset. # Optional. Optional configuration for the judge LLM (Autorater).
+        "autoraterModel": "A String", # Optional. The fully qualified name of the publisher model or tuned autorater endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}`
+        "flipEnabled": True or False, # Optional. Default is true. Whether to flip the candidate and baseline responses. This is only applicable to the pairwise metric. If enabled, also provide PairwiseMetricSpec.candidate_response_field_name and PairwiseMetricSpec.baseline_response_field_name. When rendering PairwiseMetricSpec.metric_prompt_template, the candidate and baseline fields will be flipped for half of the samples to reduce bias.
+        "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. Configuration options for model generation and outputs.
+          "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.
+          "candidateCount": 42, # Optional. The number of candidate responses to generate. A higher `candidate_count` can provide more options to choose from, but it also consumes more resources. This can be useful for generating a variety of responses and selecting the best one.
+          "enableAffectiveDialog": True or False, # Optional. If enabled, the model will detect emotions and adapt its responses accordingly. For example, if the model detects that the user is frustrated, it may provide a more empathetic response.
+          "frequencyPenalty": 3.14, # Optional. Penalizes tokens based on their frequency in the generated text. A positive value helps to reduce the repetition of words and phrases. Valid values can range from [-2.0, 2.0].
+          "imageConfig": { # Configuration for image generation. This message allows you to control various aspects of image generation, such as the output format, aspect ratio, and whether the model can generate images of people. # Optional. Config for image generation features.
+            "aspectRatio": "A String", # Optional. The desired aspect ratio for the generated images. The following aspect ratios are supported: "1:1" "2:3", "3:2" "3:4", "4:3" "4:5", "5:4" "9:16", "16:9" "21:9"
+            "imageOutputOptions": { # The image output format for generated images. # Optional. The image output format for generated images.
+              "compressionQuality": 42, # Optional. The compression quality of the output image.
+              "mimeType": "A String", # Optional. The image format that the output should be saved as.
+            },
+            "imageSize": "A String", # Optional. Specifies the size of generated images. Supported values are `1K`, `2K`, `4K`. If not specified, the model will use default value `1K`.
+            "personGeneration": "A String", # Optional. Controls whether the model can generate people.
+            "prominentPeople": "A String", # Optional. Controls whether prominent people (celebrities) generation is allowed. If used with personGeneration, personGeneration enum would take precedence. For instance, if ALLOW_NONE is set, all person generation would be blocked. If this field is unspecified, the default behavior is to allow prominent people.
+          },
+          "logprobs": 42, # Optional. The number of top log probabilities to return for each token. This can be used to see which other tokens were considered likely candidates for a given position. A higher value will return more options, but it will also increase the size of the response.
+          "maxOutputTokens": 42, # Optional. The maximum number of tokens to generate in the response. A token is approximately four characters. The default value varies by model. This parameter can be used to control the length of the generated text and prevent overly long responses.
+          "mediaResolution": "A String", # Optional. The token resolution at which input media content is sampled. This is used to control the trade-off between the quality of the response and the number of tokens used to represent the media. A higher resolution allows the model to perceive more detail, which can lead to a more nuanced response, but it will also use more tokens. This does not affect the image dimensions sent to the model.
+          "modelConfig": { # Config for model selection. # Optional. Config for model selection.
+            "featureSelectionPreference": "A String", # Required. Feature selection preference.
+          },
+          "presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0].
+          "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`.
+          "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging.
+          "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined.
+          "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image.
+            "A String",
+          ],
+          "responseSchema": { # Defines the schema of input and output data. This is a subset of the [OpenAPI 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object). # Optional. Lets you to specify a schema for the model's response, ensuring that the output conforms to a particular structure. This is useful for generating structured data such as JSON. The schema is a subset of the [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema) object. When this field is set, you must also set the `response_mime_type` to `application/json`.
+            "additionalProperties": "", # Optional. If `type` is `OBJECT`, specifies how to handle properties not defined in `properties`. If it is a boolean `false`, no additional properties are allowed. If it is a schema, additional properties are allowed if they conform to the schema.
+            "anyOf": [ # Optional. The instance must be valid against any (one or more) of the subschemas listed in `any_of`.
+              # Object with schema name: GoogleCloudAiplatformV1beta1Schema
+            ],
+            "default": "", # Optional. Default value to use if the field is not specified.
+            "defs": { # Optional. `defs` provides a map of schema definitions that can be reused by `ref` elsewhere in the schema. Only allowed at root level of the schema.
+              "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema
+            },
+            "description": "A String", # Optional. Describes the data. The model uses this field to understand the purpose of the schema and how to use it. It is a best practice to provide a clear and descriptive explanation for the schema and its properties here, rather than in the prompt.
+            "enum": [ # Optional. Possible values of the field. This field can be used to restrict a value to a fixed set of values. To mark a field as an enum, set `format` to `enum` and provide the list of possible values in `enum`. For example: 1. To define directions: `{type:STRING, format:enum, enum:["EAST", "NORTH", "SOUTH", "WEST"]}` 2. To define apartment numbers: `{type:INTEGER, format:enum, enum:["101", "201", "301"]}`
+              "A String",
+            ],
+            "example": "", # Optional. Example of an instance of this schema.
+            "format": "A String", # Optional. The format of the data. For `NUMBER` type, format can be `float` or `double`. For `INTEGER` type, format can be `int32` or `int64`. For `STRING` type, format can be `email`, `byte`, `date`, `date-time`, `password`, and other formats to further refine the data type.
+            "items": # Object with schema name: GoogleCloudAiplatformV1beta1Schema # Optional. If type is `ARRAY`, `items` specifies the schema of elements in the array.
+            "maxItems": "A String", # Optional. If type is `ARRAY`, `max_items` specifies the maximum number of items in an array.
+            "maxLength": "A String", # Optional. If type is `STRING`, `max_length` specifies the maximum length of the string.
+            "maxProperties": "A String", # Optional. If type is `OBJECT`, `max_properties` specifies the maximum number of properties that can be provided.
+            "maximum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `maximum` specifies the maximum allowed value.
+            "minItems": "A String", # Optional. If type is `ARRAY`, `min_items` specifies the minimum number of items in an array.
+            "minLength": "A String", # Optional. If type is `STRING`, `min_length` specifies the minimum length of the string.
+            "minProperties": "A String", # Optional. If type is `OBJECT`, `min_properties` specifies the minimum number of properties that can be provided.
+            "minimum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `minimum` specifies the minimum allowed value.
+            "nullable": True or False, # Optional. Indicates if the value of this field can be null.
+            "pattern": "A String", # Optional. If type is `STRING`, `pattern` specifies a regular expression that the string must match.
+            "properties": { # Optional. If type is `OBJECT`, `properties` is a map of property names to schema definitions for each property of the object.
+              "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema
+            },
+            "propertyOrdering": [ # Optional. Order of properties displayed or used where order matters. This is not a standard field in OpenAPI specification, but can be used to control the order of properties.
+              "A String",
+            ],
+            "ref": "A String", # Optional. Allows referencing another schema definition to use in place of this schema. The value must be a valid reference to a schema in `defs`. For example, the following schema defines a reference to a schema node named "Pet": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the "pet" property is a reference to the schema node named "Pet". See details in https://json-schema.org/understanding-json-schema/structuring
+            "required": [ # Optional. If type is `OBJECT`, `required` lists the names of properties that must be present.
+              "A String",
+            ],
+            "title": "A String", # Optional. Title for the schema.
+            "type": "A String", # Optional. Data type of the schema field.
+          },
+          "routingConfig": { # The configuration for routing the request to a specific model. This can be used to control which model is used for the generation, either automatically or by specifying a model name. # Optional. Routing configuration.
+            "autoMode": { # The configuration for automated routing. When automated routing is specified, the routing will be determined by the pretrained routing model and customer provided model routing preference. # In this mode, the model is selected automatically based on the content of the request.
+              "modelRoutingPreference": "A String", # The model routing preference.
+            },
+            "manualMode": { # The configuration for manual routing. When manual routing is specified, the model will be selected based on the model name provided. # In this mode, the model is specified manually.
+              "modelName": "A String", # The name of the model to use. Only public LLM models are accepted.
+            },
+          },
+          "seed": 42, # Optional. A seed for the random number generator. By setting a seed, you can make the model's output mostly deterministic. For a given prompt and parameters (like temperature, top_p, etc.), the model will produce the same response every time. However, it's not a guaranteed absolute deterministic behavior. This is different from parameters like `temperature`, which control the *level* of randomness. `seed` ensures that the "random" choices the model makes are the same on every run, making it essential for testing and ensuring reproducible results.
+          "speechConfig": { # Configuration for speech generation. # Optional. The speech generation config.
+            "languageCode": "A String", # Optional. The language code (ISO 639-1) for the speech synthesis.
+            "multiSpeakerVoiceConfig": { # Configuration for a multi-speaker text-to-speech request. # The configuration for a multi-speaker text-to-speech request. This field is mutually exclusive with `voice_config`.
+              "speakerVoiceConfigs": [ # Required. A list of configurations for the voices of the speakers. Exactly two speaker voice configurations must be provided.
+                { # Configuration for a single speaker in a multi-speaker setup.
+                  "speaker": "A String", # Required. The name of the speaker. This should be the same as the speaker name used in the prompt.
+                  "voiceConfig": { # Configuration for a voice. # Required. The configuration for the voice of this speaker.
+                    "prebuiltVoiceConfig": { # Configuration for a prebuilt voice. # The configuration for a prebuilt voice.
+                      "voiceName": "A String", # The name of the prebuilt voice to use.
+                    },
+                    "replicatedVoiceConfig": { # The configuration for the replicated voice to use. # Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample.
+                      "mimeType": "A String", # Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set.
+                      "voiceSampleAudio": "A String", # Optional. The sample of the custom voice.
+                    },
+                  },
+                },
+              ],
+            },
+            "voiceConfig": { # Configuration for a voice. # The configuration for the voice to use.
+              "prebuiltVoiceConfig": { # Configuration for a prebuilt voice. # The configuration for a prebuilt voice.
+                "voiceName": "A String", # The name of the prebuilt voice to use.
+              },
+              "replicatedVoiceConfig": { # The configuration for the replicated voice to use. # Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample.
+                "mimeType": "A String", # Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set.
+                "voiceSampleAudio": "A String", # Optional. The sample of the custom voice.
+              },
+            },
+          },
+          "stopSequences": [ # Optional. A list of character sequences that will stop the model from generating further tokens. If a stop sequence is generated, the output will end at that point. This is useful for controlling the length and structure of the output. For example, you can use ["\n", "###"] to stop generation at a new line or a specific marker.
+            "A String",
+          ],
+          "temperature": 3.14, # Optional. Controls the randomness of the output. A higher temperature results in more creative and diverse responses, while a lower temperature makes the output more predictable and focused. The valid range is (0.0, 2.0].
+          "thinkingConfig": { # Configuration for the model's thinking features. "Thinking" is a process where the model breaks down a complex task into smaller, manageable steps. This allows the model to reason about the task, plan its approach, and execute the plan to generate a high-quality response. # Optional. Configuration for thinking features. An error will be returned if this field is set for models that don't support thinking.
+            "includeThoughts": True or False, # Optional. If true, the model will include its thoughts in the response. "Thoughts" are the intermediate steps the model takes to arrive at the final response. They can provide insights into the model's reasoning process and help with debugging. If this is true, thoughts are returned only when available.
+            "thinkingBudget": 42, # Optional. The token budget for the model's thinking process. The model will make a best effort to stay within this budget. This can be used to control the trade-off between response quality and latency.
+            "thinkingLevel": "A String", # Optional. The number of thoughts tokens that the model should generate.
+          },
+          "topK": 3.14, # Optional. Specifies the top-k sampling threshold. The model considers only the top k most probable tokens for the next token. This can be useful for generating more coherent and less random text. For example, a `top_k` of 40 means the model will choose the next word from the 40 most likely words.
+          "topP": 3.14, # Optional. Specifies the nucleus sampling threshold. The model considers only the smallest set of tokens whose cumulative probability is at least `top_p`. This helps generate more diverse and less repetitive responses. For example, a `top_p` of 0.9 means the model considers tokens until the cumulative probability of the tokens to select from reaches 0.9. It's recommended to adjust either temperature or `top_p`, but not both.
+        },
+        "samplingCount": 42, # Optional. Number of samples for each instance in the dataset. If not specified, the default is 4. Minimum value is 1, maximum value is 32.
+      },
+      "metricPromptTemplate": "A String", # Required. Template for the prompt sent to the judge model.
+      "predefinedRubricGenerationSpec": { # The spec for a pre-defined metric. # Dynamically generate rubrics using a predefined spec.
+        "metricSpecName": "A String", # Required. The name of a pre-defined metric, such as "instruction_following_v1" or "text_quality_v1".
+        "metricSpecParameters": { # Optional. The parameters needed to run the pre-defined metric.
+          "a_key": "", # Properties of the object.
+        },
+      },
+      "rubricGenerationSpec": { # Specification for how rubrics should be generated. # Dynamically generate rubrics using this specification.
+        "modelConfig": { # The configs for autorater. This is applicable to both EvaluateInstances and EvaluateDataset. # Configuration for the model used in rubric generation. Configs including sampling count and base model can be specified here. Flipping is not supported for rubric generation.
+          "autoraterModel": "A String", # Optional. The fully qualified name of the publisher model or tuned autorater endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}`
+          "flipEnabled": True or False, # Optional. Default is true. Whether to flip the candidate and baseline responses. This is only applicable to the pairwise metric. If enabled, also provide PairwiseMetricSpec.candidate_response_field_name and PairwiseMetricSpec.baseline_response_field_name. When rendering PairwiseMetricSpec.metric_prompt_template, the candidate and baseline fields will be flipped for half of the samples to reduce bias.
+          "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. Configuration options for model generation and outputs.
+            "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.
+            "candidateCount": 42, # Optional. The number of candidate responses to generate. A higher `candidate_count` can provide more options to choose from, but it also consumes more resources. This can be useful for generating a variety of responses and selecting the best one.
+            "enableAffectiveDialog": True or False, # Optional. If enabled, the model will detect emotions and adapt its responses accordingly. For example, if the model detects that the user is frustrated, it may provide a more empathetic response.
+            "frequencyPenalty": 3.14, # Optional. Penalizes tokens based on their frequency in the generated text. A positive value helps to reduce the repetition of words and phrases. Valid values can range from [-2.0, 2.0].
+            "imageConfig": { # Configuration for image generation. This message allows you to control various aspects of image generation, such as the output format, aspect ratio, and whether the model can generate images of people. # Optional. Config for image generation features.
+              "aspectRatio": "A String", # Optional. The desired aspect ratio for the generated images. The following aspect ratios are supported: "1:1" "2:3", "3:2" "3:4", "4:3" "4:5", "5:4" "9:16", "16:9" "21:9"
+              "imageOutputOptions": { # The image output format for generated images. # Optional. The image output format for generated images.
+                "compressionQuality": 42, # Optional. The compression quality of the output image.
+                "mimeType": "A String", # Optional. The image format that the output should be saved as.
+              },
+              "imageSize": "A String", # Optional. Specifies the size of generated images. Supported values are `1K`, `2K`, `4K`. If not specified, the model will use default value `1K`.
+              "personGeneration": "A String", # Optional. Controls whether the model can generate people.
+              "prominentPeople": "A String", # Optional. Controls whether prominent people (celebrities) generation is allowed. If used with personGeneration, personGeneration enum would take precedence. For instance, if ALLOW_NONE is set, all person generation would be blocked. If this field is unspecified, the default behavior is to allow prominent people.
+            },
+            "logprobs": 42, # Optional. The number of top log probabilities to return for each token. This can be used to see which other tokens were considered likely candidates for a given position. A higher value will return more options, but it will also increase the size of the response.
+            "maxOutputTokens": 42, # Optional. The maximum number of tokens to generate in the response. A token is approximately four characters. The default value varies by model. This parameter can be used to control the length of the generated text and prevent overly long responses.
+            "mediaResolution": "A String", # Optional. The token resolution at which input media content is sampled. This is used to control the trade-off between the quality of the response and the number of tokens used to represent the media. A higher resolution allows the model to perceive more detail, which can lead to a more nuanced response, but it will also use more tokens. This does not affect the image dimensions sent to the model.
+            "modelConfig": { # Config for model selection. # Optional. Config for model selection.
+              "featureSelectionPreference": "A String", # Required. Feature selection preference.
+            },
+            "presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0].
+            "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`.
+            "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging.
+            "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined.
+            "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image.
+              "A String",
+            ],
+            "responseSchema": { # Defines the schema of input and output data. This is a subset of the [OpenAPI 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object). # Optional. Lets you to specify a schema for the model's response, ensuring that the output conforms to a particular structure. This is useful for generating structured data such as JSON. The schema is a subset of the [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema) object. When this field is set, you must also set the `response_mime_type` to `application/json`.
+              "additionalProperties": "", # Optional. If `type` is `OBJECT`, specifies how to handle properties not defined in `properties`. If it is a boolean `false`, no additional properties are allowed. If it is a schema, additional properties are allowed if they conform to the schema.
+              "anyOf": [ # Optional. The instance must be valid against any (one or more) of the subschemas listed in `any_of`.
+                # Object with schema name: GoogleCloudAiplatformV1beta1Schema
+              ],
+              "default": "", # Optional. Default value to use if the field is not specified.
+              "defs": { # Optional. `defs` provides a map of schema definitions that can be reused by `ref` elsewhere in the schema. Only allowed at root level of the schema.
+                "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema
+              },
+              "description": "A String", # Optional. Describes the data. The model uses this field to understand the purpose of the schema and how to use it. It is a best practice to provide a clear and descriptive explanation for the schema and its properties here, rather than in the prompt.
+              "enum": [ # Optional. Possible values of the field. This field can be used to restrict a value to a fixed set of values. To mark a field as an enum, set `format` to `enum` and provide the list of possible values in `enum`. For example: 1. To define directions: `{type:STRING, format:enum, enum:["EAST", "NORTH", "SOUTH", "WEST"]}` 2. To define apartment numbers: `{type:INTEGER, format:enum, enum:["101", "201", "301"]}`
+                "A String",
+              ],
+              "example": "", # Optional. Example of an instance of this schema.
+              "format": "A String", # Optional. The format of the data. For `NUMBER` type, format can be `float` or `double`. For `INTEGER` type, format can be `int32` or `int64`. For `STRING` type, format can be `email`, `byte`, `date`, `date-time`, `password`, and other formats to further refine the data type.
+              "items": # Object with schema name: GoogleCloudAiplatformV1beta1Schema # Optional. If type is `ARRAY`, `items` specifies the schema of elements in the array.
+              "maxItems": "A String", # Optional. If type is `ARRAY`, `max_items` specifies the maximum number of items in an array.
+              "maxLength": "A String", # Optional. If type is `STRING`, `max_length` specifies the maximum length of the string.
+              "maxProperties": "A String", # Optional. If type is `OBJECT`, `max_properties` specifies the maximum number of properties that can be provided.
+              "maximum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `maximum` specifies the maximum allowed value.
+              "minItems": "A String", # Optional. If type is `ARRAY`, `min_items` specifies the minimum number of items in an array.
+              "minLength": "A String", # Optional. If type is `STRING`, `min_length` specifies the minimum length of the string.
+              "minProperties": "A String", # Optional. If type is `OBJECT`, `min_properties` specifies the minimum number of properties that can be provided.
+              "minimum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `minimum` specifies the minimum allowed value.
+              "nullable": True or False, # Optional. Indicates if the value of this field can be null.
+              "pattern": "A String", # Optional. If type is `STRING`, `pattern` specifies a regular expression that the string must match.
+              "properties": { # Optional. If type is `OBJECT`, `properties` is a map of property names to schema definitions for each property of the object.
+                "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema
+              },
+              "propertyOrdering": [ # Optional. Order of properties displayed or used where order matters. This is not a standard field in OpenAPI specification, but can be used to control the order of properties.
+                "A String",
+              ],
+              "ref": "A String", # Optional. Allows referencing another schema definition to use in place of this schema. The value must be a valid reference to a schema in `defs`. For example, the following schema defines a reference to a schema node named "Pet": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the "pet" property is a reference to the schema node named "Pet". See details in https://json-schema.org/understanding-json-schema/structuring
+              "required": [ # Optional. If type is `OBJECT`, `required` lists the names of properties that must be present.
+                "A String",
+              ],
+              "title": "A String", # Optional. Title for the schema.
+              "type": "A String", # Optional. Data type of the schema field.
+            },
+            "routingConfig": { # The configuration for routing the request to a specific model. This can be used to control which model is used for the generation, either automatically or by specifying a model name. # Optional. Routing configuration.
+              "autoMode": { # The configuration for automated routing. When automated routing is specified, the routing will be determined by the pretrained routing model and customer provided model routing preference. # In this mode, the model is selected automatically based on the content of the request.
+                "modelRoutingPreference": "A String", # The model routing preference.
+              },
+              "manualMode": { # The configuration for manual routing. When manual routing is specified, the model will be selected based on the model name provided. # In this mode, the model is specified manually.
+                "modelName": "A String", # The name of the model to use. Only public LLM models are accepted.
+              },
+            },
+            "seed": 42, # Optional. A seed for the random number generator. By setting a seed, you can make the model's output mostly deterministic. For a given prompt and parameters (like temperature, top_p, etc.), the model will produce the same response every time. However, it's not a guaranteed absolute deterministic behavior. This is different from parameters like `temperature`, which control the *level* of randomness. `seed` ensures that the "random" choices the model makes are the same on every run, making it essential for testing and ensuring reproducible results.
+            "speechConfig": { # Configuration for speech generation. # Optional. The speech generation config.
+              "languageCode": "A String", # Optional. The language code (ISO 639-1) for the speech synthesis.
+              "multiSpeakerVoiceConfig": { # Configuration for a multi-speaker text-to-speech request. # The configuration for a multi-speaker text-to-speech request. This field is mutually exclusive with `voice_config`.
+                "speakerVoiceConfigs": [ # Required. A list of configurations for the voices of the speakers. Exactly two speaker voice configurations must be provided.
+                  { # Configuration for a single speaker in a multi-speaker setup.
+                    "speaker": "A String", # Required. The name of the speaker. This should be the same as the speaker name used in the prompt.
+                    "voiceConfig": { # Configuration for a voice. # Required. The configuration for the voice of this speaker.
+                      "prebuiltVoiceConfig": { # Configuration for a prebuilt voice. # The configuration for a prebuilt voice.
+                        "voiceName": "A String", # The name of the prebuilt voice to use.
+                      },
+                      "replicatedVoiceConfig": { # The configuration for the replicated voice to use. # Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample.
+                        "mimeType": "A String", # Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set.
+                        "voiceSampleAudio": "A String", # Optional. The sample of the custom voice.
+                      },
+                    },
+                  },
+                ],
+              },
+              "voiceConfig": { # Configuration for a voice. # The configuration for the voice to use.
+                "prebuiltVoiceConfig": { # Configuration for a prebuilt voice. # The configuration for a prebuilt voice.
+                  "voiceName": "A String", # The name of the prebuilt voice to use.
+                },
+                "replicatedVoiceConfig": { # The configuration for the replicated voice to use. # Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample.
+                  "mimeType": "A String", # Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set.
+                  "voiceSampleAudio": "A String", # Optional. The sample of the custom voice.
+                },
+              },
+            },
+            "stopSequences": [ # Optional. A list of character sequences that will stop the model from generating further tokens. If a stop sequence is generated, the output will end at that point. This is useful for controlling the length and structure of the output. For example, you can use ["\n", "###"] to stop generation at a new line or a specific marker.
+              "A String",
+            ],
+            "temperature": 3.14, # Optional. Controls the randomness of the output. A higher temperature results in more creative and diverse responses, while a lower temperature makes the output more predictable and focused. The valid range is (0.0, 2.0].
+            "thinkingConfig": { # Configuration for the model's thinking features. "Thinking" is a process where the model breaks down a complex task into smaller, manageable steps. This allows the model to reason about the task, plan its approach, and execute the plan to generate a high-quality response. # Optional. Configuration for thinking features. An error will be returned if this field is set for models that don't support thinking.
+              "includeThoughts": True or False, # Optional. If true, the model will include its thoughts in the response. "Thoughts" are the intermediate steps the model takes to arrive at the final response. They can provide insights into the model's reasoning process and help with debugging. If this is true, thoughts are returned only when available.
+              "thinkingBudget": 42, # Optional. The token budget for the model's thinking process. The model will make a best effort to stay within this budget. This can be used to control the trade-off between response quality and latency.
+              "thinkingLevel": "A String", # Optional. The number of thoughts tokens that the model should generate.
+            },
+            "topK": 3.14, # Optional. Specifies the top-k sampling threshold. The model considers only the top k most probable tokens for the next token. This can be useful for generating more coherent and less random text. For example, a `top_k` of 40 means the model will choose the next word from the 40 most likely words.
+            "topP": 3.14, # Optional. Specifies the nucleus sampling threshold. The model considers only the smallest set of tokens whose cumulative probability is at least `top_p`. This helps generate more diverse and less repetitive responses. For example, a `top_p` of 0.9 means the model considers tokens until the cumulative probability of the tokens to select from reaches 0.9. It's recommended to adjust either temperature or `top_p`, but not both.
+          },
+          "samplingCount": 42, # Optional. Number of samples for each instance in the dataset. If not specified, the default is 4. Minimum value is 1, maximum value is 32.
+        },
+        "promptTemplate": "A String", # Template for the prompt used to generate rubrics. The details should be updated based on the most-recent recipe requirements.
+        "rubricContentType": "A String", # The type of rubric content to be generated.
+        "rubricTypeOntology": [ # Optional. An optional, pre-defined list of allowed types for generated rubrics. If this field is provided, it implies `include_rubric_type` should be true, and the generated rubric types should be chosen from this ontology.
+          "A String",
+        ],
+      },
+      "rubricGroupKey": "A String", # Use a pre-defined group of rubrics associated with the input. Refers to a key in the rubric_groups map of EvaluationInstance.
+      "systemInstruction": "A String", # Optional. System instructions for the judge model.
+    },
+    "metadata": { # Metadata about the metric, used for visualization and organization. # Optional. Metadata about the metric, used for visualization and organization.
+      "otherMetadata": { # Optional. Flexible metadata for user-defined attributes.
+        "a_key": "", # Properties of the object.
+      },
+      "scoreRange": { # The range of possible scores for this metric, used for plotting. # Optional. The range of possible scores for this metric, used for plotting.
+        "description": "A String", # Optional. The description of the score explaining the directionality etc.
+        "max": 3.14, # Required. The maximum value of the score range (inclusive).
+        "min": 3.14, # Required. The minimum value of the score range (inclusive).
+        "step": 3.14, # Optional. The distance between discrete steps in the range. If unset, the range is assumed to be continuous.
+      },
+      "title": "A String", # Optional. The user-friendly name for the metric. If not set for a registered metric, it will default to the metric's display name.
+    },
+    "pairwiseMetricSpec": { # Spec for pairwise metric. # Spec for pairwise metric.
+      "baselineResponseFieldName": "A String", # Optional. The field name of the baseline response.
+      "candidateResponseFieldName": "A String", # Optional. The field name of the candidate response.
+      "customOutputFormatConfig": { # Spec for custom output format configuration. # Optional. CustomOutputFormatConfig allows customization of metric output. When this config is set, the default output is replaced with the raw output string. If a custom format is chosen, the `pairwise_choice` and `explanation` fields in the corresponding metric result will be empty.
+        "returnRawOutput": True or False, # Optional. Whether to return raw output.
+      },
+      "metricPromptTemplate": "A String", # Required. Metric prompt template for pairwise metric.
+      "systemInstruction": "A String", # Optional. System instructions for pairwise metric.
+    },
+    "pointwiseMetricSpec": { # Spec for pointwise metric. # Spec for pointwise metric.
+      "customOutputFormatConfig": { # Spec for custom output format configuration. # Optional. CustomOutputFormatConfig allows customization of metric output. By default, metrics return a score and explanation. When this config is set, the default output is replaced with either: - The raw output string. - A parsed output based on a user-defined schema. If a custom format is chosen, the `score` and `explanation` fields in the corresponding metric result will be empty.
+        "returnRawOutput": True or False, # Optional. Whether to return raw output.
+      },
+      "metricPromptTemplate": "A String", # Required. Metric prompt template for pointwise metric.
+      "systemInstruction": "A String", # Optional. System instructions for pointwise metric.
+    },
+    "predefinedMetricSpec": { # The spec for a pre-defined metric. # The spec for a pre-defined metric.
+      "metricSpecName": "A String", # Required. The name of a pre-defined metric, such as "instruction_following_v1" or "text_quality_v1".
+      "metricSpecParameters": { # Optional. The parameters needed to run the pre-defined metric.
+        "a_key": "", # Properties of the object.
+      },
+    },
+    "rougeSpec": { # Spec for rouge score metric - calculates the recall of n-grams in prediction as compared to reference - returns a score ranging between 0 and 1. # Spec for rouge metric.
+      "rougeType": "A String", # Optional. Supported rouge types are rougen[1-9], rougeL, and rougeLsum.
+      "splitSummaries": True or False, # Optional. Whether to split summaries while using rougeLsum.
+      "useStemmer": True or False, # Optional. Whether to use stemmer to compute rouge score.
+    },
+  },
+  "name": "A String", # Identifier. The resource name of the EvaluationMetric. Format: `projects/{project}/locations/{location}/evaluationMetrics/{evaluation_metric}`
+  "updateTime": "A String", # Output only. The time when the EvaluationMetric was last updated.
+}
+
+ +
+ delete(name, x__xgafv=None) +
Deletes an EvaluationMetric.
+
+Args:
+  name: string, Required. The name of the EvaluationMetric resource to be deleted. Format: `projects/{project}/locations/{location}/evaluationMetrics/{evaluation_metric}` (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.
+  },
+}
+
+ +
+ get(name, x__xgafv=None) +
Gets an EvaluationMetric.
+
+Args:
+  name: string, Required. The name of the EvaluationMetric resource. Format: `projects/{project}/locations/{location}/evaluationMetrics/{evaluation_metric}` (required)
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # EvaluationMetric is a resource that represents a reusable metric configuration.
+  "createTime": "A String", # Output only. The time when the EvaluationMetric was created.
+  "description": "A String", # Optional. A description of the EvaluationMetric.
+  "displayName": "A String", # Required. The user-friendly display name for the EvaluationMetric.
+  "gcsUri": "A String", # Optional. The Google Cloud Storage URI that stores the metric specification..
+  "labels": { # Optional. Labels for the evaluation metric.
+    "a_key": "A String",
+  },
+  "metric": { # The metric used for running evaluations. # Optional. The metric configuration.
+    "aggregationMetrics": [ # Optional. The aggregation metrics to use.
+      "A String",
+    ],
+    "bleuSpec": { # Spec for bleu score metric - calculates the precision of n-grams in the prediction as compared to reference - returns a score ranging between 0 to 1. # Spec for bleu metric.
+      "useEffectiveOrder": True or False, # Optional. Whether to use_effective_order to compute bleu score.
+    },
+    "computationBasedMetricSpec": { # Specification for a computation based metric. # Spec for a computation based metric.
+      "parameters": { # Optional. A map of parameters for the metric, e.g. {"rouge_type": "rougeL"}.
+        "a_key": "", # Properties of the object.
+      },
+      "type": "A String", # Required. The type of the computation based metric.
+    },
+    "customCodeExecutionSpec": { # Specificies a metric that is populated by evaluating user-defined Python code. # Spec for Custom Code Execution metric.
+      "evaluationFunction": "A String", # Required. Python function. Expected user to define the following function, e.g.: def evaluate(instance: dict[str, Any]) -> float: Please include this function signature in the code snippet. Instance is the evaluation instance, any fields populated in the instance are available to the function as instance[field_name]. Example: Example input: ``` instance= EvaluationInstance( response=EvaluationInstance.InstanceData(text="The answer is 4."), reference=EvaluationInstance.InstanceData(text="4") ) ``` Example converted input: ``` { 'response': {'text': 'The answer is 4.'}, 'reference': {'text': '4'} } ``` Example python function: ``` def evaluate(instance: dict[str, Any]) -> float: if instance'response' == instance'reference': return 1.0 return 0.0 ``` CustomCodeExecutionSpec is also supported in Batch Evaluation (EvalDataset RPC) and Tuning Evaluation. Each line in the input jsonl file will be converted to dict[str, Any] and passed to the evaluation function.
+    },
+    "exactMatchSpec": { # Spec for exact match metric - returns 1 if prediction and reference exactly matches, otherwise 0. # Spec for exact match metric.
+    },
+    "llmBasedMetricSpec": { # Specification for an LLM based metric. # Spec for an LLM based metric.
+      "additionalConfig": { # Optional. Optional additional configuration for the metric.
+        "a_key": "", # Properties of the object.
+      },
+      "judgeAutoraterConfig": { # The configs for autorater. This is applicable to both EvaluateInstances and EvaluateDataset. # Optional. Optional configuration for the judge LLM (Autorater).
+        "autoraterModel": "A String", # Optional. The fully qualified name of the publisher model or tuned autorater endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}`
+        "flipEnabled": True or False, # Optional. Default is true. Whether to flip the candidate and baseline responses. This is only applicable to the pairwise metric. If enabled, also provide PairwiseMetricSpec.candidate_response_field_name and PairwiseMetricSpec.baseline_response_field_name. When rendering PairwiseMetricSpec.metric_prompt_template, the candidate and baseline fields will be flipped for half of the samples to reduce bias.
+        "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. Configuration options for model generation and outputs.
+          "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.
+          "candidateCount": 42, # Optional. The number of candidate responses to generate. A higher `candidate_count` can provide more options to choose from, but it also consumes more resources. This can be useful for generating a variety of responses and selecting the best one.
+          "enableAffectiveDialog": True or False, # Optional. If enabled, the model will detect emotions and adapt its responses accordingly. For example, if the model detects that the user is frustrated, it may provide a more empathetic response.
+          "frequencyPenalty": 3.14, # Optional. Penalizes tokens based on their frequency in the generated text. A positive value helps to reduce the repetition of words and phrases. Valid values can range from [-2.0, 2.0].
+          "imageConfig": { # Configuration for image generation. This message allows you to control various aspects of image generation, such as the output format, aspect ratio, and whether the model can generate images of people. # Optional. Config for image generation features.
+            "aspectRatio": "A String", # Optional. The desired aspect ratio for the generated images. The following aspect ratios are supported: "1:1" "2:3", "3:2" "3:4", "4:3" "4:5", "5:4" "9:16", "16:9" "21:9"
+            "imageOutputOptions": { # The image output format for generated images. # Optional. The image output format for generated images.
+              "compressionQuality": 42, # Optional. The compression quality of the output image.
+              "mimeType": "A String", # Optional. The image format that the output should be saved as.
+            },
+            "imageSize": "A String", # Optional. Specifies the size of generated images. Supported values are `1K`, `2K`, `4K`. If not specified, the model will use default value `1K`.
+            "personGeneration": "A String", # Optional. Controls whether the model can generate people.
+            "prominentPeople": "A String", # Optional. Controls whether prominent people (celebrities) generation is allowed. If used with personGeneration, personGeneration enum would take precedence. For instance, if ALLOW_NONE is set, all person generation would be blocked. If this field is unspecified, the default behavior is to allow prominent people.
+          },
+          "logprobs": 42, # Optional. The number of top log probabilities to return for each token. This can be used to see which other tokens were considered likely candidates for a given position. A higher value will return more options, but it will also increase the size of the response.
+          "maxOutputTokens": 42, # Optional. The maximum number of tokens to generate in the response. A token is approximately four characters. The default value varies by model. This parameter can be used to control the length of the generated text and prevent overly long responses.
+          "mediaResolution": "A String", # Optional. The token resolution at which input media content is sampled. This is used to control the trade-off between the quality of the response and the number of tokens used to represent the media. A higher resolution allows the model to perceive more detail, which can lead to a more nuanced response, but it will also use more tokens. This does not affect the image dimensions sent to the model.
+          "modelConfig": { # Config for model selection. # Optional. Config for model selection.
+            "featureSelectionPreference": "A String", # Required. Feature selection preference.
+          },
+          "presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0].
+          "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`.
+          "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging.
+          "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined.
+          "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image.
+            "A String",
+          ],
+          "responseSchema": { # Defines the schema of input and output data. This is a subset of the [OpenAPI 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object). # Optional. Lets you to specify a schema for the model's response, ensuring that the output conforms to a particular structure. This is useful for generating structured data such as JSON. The schema is a subset of the [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema) object. When this field is set, you must also set the `response_mime_type` to `application/json`.
+            "additionalProperties": "", # Optional. If `type` is `OBJECT`, specifies how to handle properties not defined in `properties`. If it is a boolean `false`, no additional properties are allowed. If it is a schema, additional properties are allowed if they conform to the schema.
+            "anyOf": [ # Optional. The instance must be valid against any (one or more) of the subschemas listed in `any_of`.
+              # Object with schema name: GoogleCloudAiplatformV1beta1Schema
+            ],
+            "default": "", # Optional. Default value to use if the field is not specified.
+            "defs": { # Optional. `defs` provides a map of schema definitions that can be reused by `ref` elsewhere in the schema. Only allowed at root level of the schema.
+              "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema
+            },
+            "description": "A String", # Optional. Describes the data. The model uses this field to understand the purpose of the schema and how to use it. It is a best practice to provide a clear and descriptive explanation for the schema and its properties here, rather than in the prompt.
+            "enum": [ # Optional. Possible values of the field. This field can be used to restrict a value to a fixed set of values. To mark a field as an enum, set `format` to `enum` and provide the list of possible values in `enum`. For example: 1. To define directions: `{type:STRING, format:enum, enum:["EAST", "NORTH", "SOUTH", "WEST"]}` 2. To define apartment numbers: `{type:INTEGER, format:enum, enum:["101", "201", "301"]}`
+              "A String",
+            ],
+            "example": "", # Optional. Example of an instance of this schema.
+            "format": "A String", # Optional. The format of the data. For `NUMBER` type, format can be `float` or `double`. For `INTEGER` type, format can be `int32` or `int64`. For `STRING` type, format can be `email`, `byte`, `date`, `date-time`, `password`, and other formats to further refine the data type.
+            "items": # Object with schema name: GoogleCloudAiplatformV1beta1Schema # Optional. If type is `ARRAY`, `items` specifies the schema of elements in the array.
+            "maxItems": "A String", # Optional. If type is `ARRAY`, `max_items` specifies the maximum number of items in an array.
+            "maxLength": "A String", # Optional. If type is `STRING`, `max_length` specifies the maximum length of the string.
+            "maxProperties": "A String", # Optional. If type is `OBJECT`, `max_properties` specifies the maximum number of properties that can be provided.
+            "maximum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `maximum` specifies the maximum allowed value.
+            "minItems": "A String", # Optional. If type is `ARRAY`, `min_items` specifies the minimum number of items in an array.
+            "minLength": "A String", # Optional. If type is `STRING`, `min_length` specifies the minimum length of the string.
+            "minProperties": "A String", # Optional. If type is `OBJECT`, `min_properties` specifies the minimum number of properties that can be provided.
+            "minimum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `minimum` specifies the minimum allowed value.
+            "nullable": True or False, # Optional. Indicates if the value of this field can be null.
+            "pattern": "A String", # Optional. If type is `STRING`, `pattern` specifies a regular expression that the string must match.
+            "properties": { # Optional. If type is `OBJECT`, `properties` is a map of property names to schema definitions for each property of the object.
+              "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema
+            },
+            "propertyOrdering": [ # Optional. Order of properties displayed or used where order matters. This is not a standard field in OpenAPI specification, but can be used to control the order of properties.
+              "A String",
+            ],
+            "ref": "A String", # Optional. Allows referencing another schema definition to use in place of this schema. The value must be a valid reference to a schema in `defs`. For example, the following schema defines a reference to a schema node named "Pet": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the "pet" property is a reference to the schema node named "Pet". See details in https://json-schema.org/understanding-json-schema/structuring
+            "required": [ # Optional. If type is `OBJECT`, `required` lists the names of properties that must be present.
+              "A String",
+            ],
+            "title": "A String", # Optional. Title for the schema.
+            "type": "A String", # Optional. Data type of the schema field.
+          },
+          "routingConfig": { # The configuration for routing the request to a specific model. This can be used to control which model is used for the generation, either automatically or by specifying a model name. # Optional. Routing configuration.
+            "autoMode": { # The configuration for automated routing. When automated routing is specified, the routing will be determined by the pretrained routing model and customer provided model routing preference. # In this mode, the model is selected automatically based on the content of the request.
+              "modelRoutingPreference": "A String", # The model routing preference.
+            },
+            "manualMode": { # The configuration for manual routing. When manual routing is specified, the model will be selected based on the model name provided. # In this mode, the model is specified manually.
+              "modelName": "A String", # The name of the model to use. Only public LLM models are accepted.
+            },
+          },
+          "seed": 42, # Optional. A seed for the random number generator. By setting a seed, you can make the model's output mostly deterministic. For a given prompt and parameters (like temperature, top_p, etc.), the model will produce the same response every time. However, it's not a guaranteed absolute deterministic behavior. This is different from parameters like `temperature`, which control the *level* of randomness. `seed` ensures that the "random" choices the model makes are the same on every run, making it essential for testing and ensuring reproducible results.
+          "speechConfig": { # Configuration for speech generation. # Optional. The speech generation config.
+            "languageCode": "A String", # Optional. The language code (ISO 639-1) for the speech synthesis.
+            "multiSpeakerVoiceConfig": { # Configuration for a multi-speaker text-to-speech request. # The configuration for a multi-speaker text-to-speech request. This field is mutually exclusive with `voice_config`.
+              "speakerVoiceConfigs": [ # Required. A list of configurations for the voices of the speakers. Exactly two speaker voice configurations must be provided.
+                { # Configuration for a single speaker in a multi-speaker setup.
+                  "speaker": "A String", # Required. The name of the speaker. This should be the same as the speaker name used in the prompt.
+                  "voiceConfig": { # Configuration for a voice. # Required. The configuration for the voice of this speaker.
+                    "prebuiltVoiceConfig": { # Configuration for a prebuilt voice. # The configuration for a prebuilt voice.
+                      "voiceName": "A String", # The name of the prebuilt voice to use.
+                    },
+                    "replicatedVoiceConfig": { # The configuration for the replicated voice to use. # Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample.
+                      "mimeType": "A String", # Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set.
+                      "voiceSampleAudio": "A String", # Optional. The sample of the custom voice.
+                    },
+                  },
+                },
+              ],
+            },
+            "voiceConfig": { # Configuration for a voice. # The configuration for the voice to use.
+              "prebuiltVoiceConfig": { # Configuration for a prebuilt voice. # The configuration for a prebuilt voice.
+                "voiceName": "A String", # The name of the prebuilt voice to use.
+              },
+              "replicatedVoiceConfig": { # The configuration for the replicated voice to use. # Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample.
+                "mimeType": "A String", # Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set.
+                "voiceSampleAudio": "A String", # Optional. The sample of the custom voice.
+              },
+            },
+          },
+          "stopSequences": [ # Optional. A list of character sequences that will stop the model from generating further tokens. If a stop sequence is generated, the output will end at that point. This is useful for controlling the length and structure of the output. For example, you can use ["\n", "###"] to stop generation at a new line or a specific marker.
+            "A String",
+          ],
+          "temperature": 3.14, # Optional. Controls the randomness of the output. A higher temperature results in more creative and diverse responses, while a lower temperature makes the output more predictable and focused. The valid range is (0.0, 2.0].
+          "thinkingConfig": { # Configuration for the model's thinking features. "Thinking" is a process where the model breaks down a complex task into smaller, manageable steps. This allows the model to reason about the task, plan its approach, and execute the plan to generate a high-quality response. # Optional. Configuration for thinking features. An error will be returned if this field is set for models that don't support thinking.
+            "includeThoughts": True or False, # Optional. If true, the model will include its thoughts in the response. "Thoughts" are the intermediate steps the model takes to arrive at the final response. They can provide insights into the model's reasoning process and help with debugging. If this is true, thoughts are returned only when available.
+            "thinkingBudget": 42, # Optional. The token budget for the model's thinking process. The model will make a best effort to stay within this budget. This can be used to control the trade-off between response quality and latency.
+            "thinkingLevel": "A String", # Optional. The number of thoughts tokens that the model should generate.
+          },
+          "topK": 3.14, # Optional. Specifies the top-k sampling threshold. The model considers only the top k most probable tokens for the next token. This can be useful for generating more coherent and less random text. For example, a `top_k` of 40 means the model will choose the next word from the 40 most likely words.
+          "topP": 3.14, # Optional. Specifies the nucleus sampling threshold. The model considers only the smallest set of tokens whose cumulative probability is at least `top_p`. This helps generate more diverse and less repetitive responses. For example, a `top_p` of 0.9 means the model considers tokens until the cumulative probability of the tokens to select from reaches 0.9. It's recommended to adjust either temperature or `top_p`, but not both.
+        },
+        "samplingCount": 42, # Optional. Number of samples for each instance in the dataset. If not specified, the default is 4. Minimum value is 1, maximum value is 32.
+      },
+      "metricPromptTemplate": "A String", # Required. Template for the prompt sent to the judge model.
+      "predefinedRubricGenerationSpec": { # The spec for a pre-defined metric. # Dynamically generate rubrics using a predefined spec.
+        "metricSpecName": "A String", # Required. The name of a pre-defined metric, such as "instruction_following_v1" or "text_quality_v1".
+        "metricSpecParameters": { # Optional. The parameters needed to run the pre-defined metric.
+          "a_key": "", # Properties of the object.
+        },
+      },
+      "rubricGenerationSpec": { # Specification for how rubrics should be generated. # Dynamically generate rubrics using this specification.
+        "modelConfig": { # The configs for autorater. This is applicable to both EvaluateInstances and EvaluateDataset. # Configuration for the model used in rubric generation. Configs including sampling count and base model can be specified here. Flipping is not supported for rubric generation.
+          "autoraterModel": "A String", # Optional. The fully qualified name of the publisher model or tuned autorater endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}`
+          "flipEnabled": True or False, # Optional. Default is true. Whether to flip the candidate and baseline responses. This is only applicable to the pairwise metric. If enabled, also provide PairwiseMetricSpec.candidate_response_field_name and PairwiseMetricSpec.baseline_response_field_name. When rendering PairwiseMetricSpec.metric_prompt_template, the candidate and baseline fields will be flipped for half of the samples to reduce bias.
+          "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. Configuration options for model generation and outputs.
+            "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.
+            "candidateCount": 42, # Optional. The number of candidate responses to generate. A higher `candidate_count` can provide more options to choose from, but it also consumes more resources. This can be useful for generating a variety of responses and selecting the best one.
+            "enableAffectiveDialog": True or False, # Optional. If enabled, the model will detect emotions and adapt its responses accordingly. For example, if the model detects that the user is frustrated, it may provide a more empathetic response.
+            "frequencyPenalty": 3.14, # Optional. Penalizes tokens based on their frequency in the generated text. A positive value helps to reduce the repetition of words and phrases. Valid values can range from [-2.0, 2.0].
+            "imageConfig": { # Configuration for image generation. This message allows you to control various aspects of image generation, such as the output format, aspect ratio, and whether the model can generate images of people. # Optional. Config for image generation features.
+              "aspectRatio": "A String", # Optional. The desired aspect ratio for the generated images. The following aspect ratios are supported: "1:1" "2:3", "3:2" "3:4", "4:3" "4:5", "5:4" "9:16", "16:9" "21:9"
+              "imageOutputOptions": { # The image output format for generated images. # Optional. The image output format for generated images.
+                "compressionQuality": 42, # Optional. The compression quality of the output image.
+                "mimeType": "A String", # Optional. The image format that the output should be saved as.
+              },
+              "imageSize": "A String", # Optional. Specifies the size of generated images. Supported values are `1K`, `2K`, `4K`. If not specified, the model will use default value `1K`.
+              "personGeneration": "A String", # Optional. Controls whether the model can generate people.
+              "prominentPeople": "A String", # Optional. Controls whether prominent people (celebrities) generation is allowed. If used with personGeneration, personGeneration enum would take precedence. For instance, if ALLOW_NONE is set, all person generation would be blocked. If this field is unspecified, the default behavior is to allow prominent people.
+            },
+            "logprobs": 42, # Optional. The number of top log probabilities to return for each token. This can be used to see which other tokens were considered likely candidates for a given position. A higher value will return more options, but it will also increase the size of the response.
+            "maxOutputTokens": 42, # Optional. The maximum number of tokens to generate in the response. A token is approximately four characters. The default value varies by model. This parameter can be used to control the length of the generated text and prevent overly long responses.
+            "mediaResolution": "A String", # Optional. The token resolution at which input media content is sampled. This is used to control the trade-off between the quality of the response and the number of tokens used to represent the media. A higher resolution allows the model to perceive more detail, which can lead to a more nuanced response, but it will also use more tokens. This does not affect the image dimensions sent to the model.
+            "modelConfig": { # Config for model selection. # Optional. Config for model selection.
+              "featureSelectionPreference": "A String", # Required. Feature selection preference.
+            },
+            "presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0].
+            "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`.
+            "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging.
+            "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined.
+            "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image.
+              "A String",
+            ],
+            "responseSchema": { # Defines the schema of input and output data. This is a subset of the [OpenAPI 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object). # Optional. Lets you to specify a schema for the model's response, ensuring that the output conforms to a particular structure. This is useful for generating structured data such as JSON. The schema is a subset of the [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema) object. When this field is set, you must also set the `response_mime_type` to `application/json`.
+              "additionalProperties": "", # Optional. If `type` is `OBJECT`, specifies how to handle properties not defined in `properties`. If it is a boolean `false`, no additional properties are allowed. If it is a schema, additional properties are allowed if they conform to the schema.
+              "anyOf": [ # Optional. The instance must be valid against any (one or more) of the subschemas listed in `any_of`.
+                # Object with schema name: GoogleCloudAiplatformV1beta1Schema
+              ],
+              "default": "", # Optional. Default value to use if the field is not specified.
+              "defs": { # Optional. `defs` provides a map of schema definitions that can be reused by `ref` elsewhere in the schema. Only allowed at root level of the schema.
+                "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema
+              },
+              "description": "A String", # Optional. Describes the data. The model uses this field to understand the purpose of the schema and how to use it. It is a best practice to provide a clear and descriptive explanation for the schema and its properties here, rather than in the prompt.
+              "enum": [ # Optional. Possible values of the field. This field can be used to restrict a value to a fixed set of values. To mark a field as an enum, set `format` to `enum` and provide the list of possible values in `enum`. For example: 1. To define directions: `{type:STRING, format:enum, enum:["EAST", "NORTH", "SOUTH", "WEST"]}` 2. To define apartment numbers: `{type:INTEGER, format:enum, enum:["101", "201", "301"]}`
+                "A String",
+              ],
+              "example": "", # Optional. Example of an instance of this schema.
+              "format": "A String", # Optional. The format of the data. For `NUMBER` type, format can be `float` or `double`. For `INTEGER` type, format can be `int32` or `int64`. For `STRING` type, format can be `email`, `byte`, `date`, `date-time`, `password`, and other formats to further refine the data type.
+              "items": # Object with schema name: GoogleCloudAiplatformV1beta1Schema # Optional. If type is `ARRAY`, `items` specifies the schema of elements in the array.
+              "maxItems": "A String", # Optional. If type is `ARRAY`, `max_items` specifies the maximum number of items in an array.
+              "maxLength": "A String", # Optional. If type is `STRING`, `max_length` specifies the maximum length of the string.
+              "maxProperties": "A String", # Optional. If type is `OBJECT`, `max_properties` specifies the maximum number of properties that can be provided.
+              "maximum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `maximum` specifies the maximum allowed value.
+              "minItems": "A String", # Optional. If type is `ARRAY`, `min_items` specifies the minimum number of items in an array.
+              "minLength": "A String", # Optional. If type is `STRING`, `min_length` specifies the minimum length of the string.
+              "minProperties": "A String", # Optional. If type is `OBJECT`, `min_properties` specifies the minimum number of properties that can be provided.
+              "minimum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `minimum` specifies the minimum allowed value.
+              "nullable": True or False, # Optional. Indicates if the value of this field can be null.
+              "pattern": "A String", # Optional. If type is `STRING`, `pattern` specifies a regular expression that the string must match.
+              "properties": { # Optional. If type is `OBJECT`, `properties` is a map of property names to schema definitions for each property of the object.
+                "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema
+              },
+              "propertyOrdering": [ # Optional. Order of properties displayed or used where order matters. This is not a standard field in OpenAPI specification, but can be used to control the order of properties.
+                "A String",
+              ],
+              "ref": "A String", # Optional. Allows referencing another schema definition to use in place of this schema. The value must be a valid reference to a schema in `defs`. For example, the following schema defines a reference to a schema node named "Pet": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the "pet" property is a reference to the schema node named "Pet". See details in https://json-schema.org/understanding-json-schema/structuring
+              "required": [ # Optional. If type is `OBJECT`, `required` lists the names of properties that must be present.
+                "A String",
+              ],
+              "title": "A String", # Optional. Title for the schema.
+              "type": "A String", # Optional. Data type of the schema field.
+            },
+            "routingConfig": { # The configuration for routing the request to a specific model. This can be used to control which model is used for the generation, either automatically or by specifying a model name. # Optional. Routing configuration.
+              "autoMode": { # The configuration for automated routing. When automated routing is specified, the routing will be determined by the pretrained routing model and customer provided model routing preference. # In this mode, the model is selected automatically based on the content of the request.
+                "modelRoutingPreference": "A String", # The model routing preference.
+              },
+              "manualMode": { # The configuration for manual routing. When manual routing is specified, the model will be selected based on the model name provided. # In this mode, the model is specified manually.
+                "modelName": "A String", # The name of the model to use. Only public LLM models are accepted.
+              },
+            },
+            "seed": 42, # Optional. A seed for the random number generator. By setting a seed, you can make the model's output mostly deterministic. For a given prompt and parameters (like temperature, top_p, etc.), the model will produce the same response every time. However, it's not a guaranteed absolute deterministic behavior. This is different from parameters like `temperature`, which control the *level* of randomness. `seed` ensures that the "random" choices the model makes are the same on every run, making it essential for testing and ensuring reproducible results.
+            "speechConfig": { # Configuration for speech generation. # Optional. The speech generation config.
+              "languageCode": "A String", # Optional. The language code (ISO 639-1) for the speech synthesis.
+              "multiSpeakerVoiceConfig": { # Configuration for a multi-speaker text-to-speech request. # The configuration for a multi-speaker text-to-speech request. This field is mutually exclusive with `voice_config`.
+                "speakerVoiceConfigs": [ # Required. A list of configurations for the voices of the speakers. Exactly two speaker voice configurations must be provided.
+                  { # Configuration for a single speaker in a multi-speaker setup.
+                    "speaker": "A String", # Required. The name of the speaker. This should be the same as the speaker name used in the prompt.
+                    "voiceConfig": { # Configuration for a voice. # Required. The configuration for the voice of this speaker.
+                      "prebuiltVoiceConfig": { # Configuration for a prebuilt voice. # The configuration for a prebuilt voice.
+                        "voiceName": "A String", # The name of the prebuilt voice to use.
+                      },
+                      "replicatedVoiceConfig": { # The configuration for the replicated voice to use. # Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample.
+                        "mimeType": "A String", # Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set.
+                        "voiceSampleAudio": "A String", # Optional. The sample of the custom voice.
+                      },
+                    },
+                  },
+                ],
+              },
+              "voiceConfig": { # Configuration for a voice. # The configuration for the voice to use.
+                "prebuiltVoiceConfig": { # Configuration for a prebuilt voice. # The configuration for a prebuilt voice.
+                  "voiceName": "A String", # The name of the prebuilt voice to use.
+                },
+                "replicatedVoiceConfig": { # The configuration for the replicated voice to use. # Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample.
+                  "mimeType": "A String", # Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set.
+                  "voiceSampleAudio": "A String", # Optional. The sample of the custom voice.
+                },
+              },
+            },
+            "stopSequences": [ # Optional. A list of character sequences that will stop the model from generating further tokens. If a stop sequence is generated, the output will end at that point. This is useful for controlling the length and structure of the output. For example, you can use ["\n", "###"] to stop generation at a new line or a specific marker.
+              "A String",
+            ],
+            "temperature": 3.14, # Optional. Controls the randomness of the output. A higher temperature results in more creative and diverse responses, while a lower temperature makes the output more predictable and focused. The valid range is (0.0, 2.0].
+            "thinkingConfig": { # Configuration for the model's thinking features. "Thinking" is a process where the model breaks down a complex task into smaller, manageable steps. This allows the model to reason about the task, plan its approach, and execute the plan to generate a high-quality response. # Optional. Configuration for thinking features. An error will be returned if this field is set for models that don't support thinking.
+              "includeThoughts": True or False, # Optional. If true, the model will include its thoughts in the response. "Thoughts" are the intermediate steps the model takes to arrive at the final response. They can provide insights into the model's reasoning process and help with debugging. If this is true, thoughts are returned only when available.
+              "thinkingBudget": 42, # Optional. The token budget for the model's thinking process. The model will make a best effort to stay within this budget. This can be used to control the trade-off between response quality and latency.
+              "thinkingLevel": "A String", # Optional. The number of thoughts tokens that the model should generate.
+            },
+            "topK": 3.14, # Optional. Specifies the top-k sampling threshold. The model considers only the top k most probable tokens for the next token. This can be useful for generating more coherent and less random text. For example, a `top_k` of 40 means the model will choose the next word from the 40 most likely words.
+            "topP": 3.14, # Optional. Specifies the nucleus sampling threshold. The model considers only the smallest set of tokens whose cumulative probability is at least `top_p`. This helps generate more diverse and less repetitive responses. For example, a `top_p` of 0.9 means the model considers tokens until the cumulative probability of the tokens to select from reaches 0.9. It's recommended to adjust either temperature or `top_p`, but not both.
+          },
+          "samplingCount": 42, # Optional. Number of samples for each instance in the dataset. If not specified, the default is 4. Minimum value is 1, maximum value is 32.
+        },
+        "promptTemplate": "A String", # Template for the prompt used to generate rubrics. The details should be updated based on the most-recent recipe requirements.
+        "rubricContentType": "A String", # The type of rubric content to be generated.
+        "rubricTypeOntology": [ # Optional. An optional, pre-defined list of allowed types for generated rubrics. If this field is provided, it implies `include_rubric_type` should be true, and the generated rubric types should be chosen from this ontology.
+          "A String",
+        ],
+      },
+      "rubricGroupKey": "A String", # Use a pre-defined group of rubrics associated with the input. Refers to a key in the rubric_groups map of EvaluationInstance.
+      "systemInstruction": "A String", # Optional. System instructions for the judge model.
+    },
+    "metadata": { # Metadata about the metric, used for visualization and organization. # Optional. Metadata about the metric, used for visualization and organization.
+      "otherMetadata": { # Optional. Flexible metadata for user-defined attributes.
+        "a_key": "", # Properties of the object.
+      },
+      "scoreRange": { # The range of possible scores for this metric, used for plotting. # Optional. The range of possible scores for this metric, used for plotting.
+        "description": "A String", # Optional. The description of the score explaining the directionality etc.
+        "max": 3.14, # Required. The maximum value of the score range (inclusive).
+        "min": 3.14, # Required. The minimum value of the score range (inclusive).
+        "step": 3.14, # Optional. The distance between discrete steps in the range. If unset, the range is assumed to be continuous.
+      },
+      "title": "A String", # Optional. The user-friendly name for the metric. If not set for a registered metric, it will default to the metric's display name.
+    },
+    "pairwiseMetricSpec": { # Spec for pairwise metric. # Spec for pairwise metric.
+      "baselineResponseFieldName": "A String", # Optional. The field name of the baseline response.
+      "candidateResponseFieldName": "A String", # Optional. The field name of the candidate response.
+      "customOutputFormatConfig": { # Spec for custom output format configuration. # Optional. CustomOutputFormatConfig allows customization of metric output. When this config is set, the default output is replaced with the raw output string. If a custom format is chosen, the `pairwise_choice` and `explanation` fields in the corresponding metric result will be empty.
+        "returnRawOutput": True or False, # Optional. Whether to return raw output.
+      },
+      "metricPromptTemplate": "A String", # Required. Metric prompt template for pairwise metric.
+      "systemInstruction": "A String", # Optional. System instructions for pairwise metric.
+    },
+    "pointwiseMetricSpec": { # Spec for pointwise metric. # Spec for pointwise metric.
+      "customOutputFormatConfig": { # Spec for custom output format configuration. # Optional. CustomOutputFormatConfig allows customization of metric output. By default, metrics return a score and explanation. When this config is set, the default output is replaced with either: - The raw output string. - A parsed output based on a user-defined schema. If a custom format is chosen, the `score` and `explanation` fields in the corresponding metric result will be empty.
+        "returnRawOutput": True or False, # Optional. Whether to return raw output.
+      },
+      "metricPromptTemplate": "A String", # Required. Metric prompt template for pointwise metric.
+      "systemInstruction": "A String", # Optional. System instructions for pointwise metric.
+    },
+    "predefinedMetricSpec": { # The spec for a pre-defined metric. # The spec for a pre-defined metric.
+      "metricSpecName": "A String", # Required. The name of a pre-defined metric, such as "instruction_following_v1" or "text_quality_v1".
+      "metricSpecParameters": { # Optional. The parameters needed to run the pre-defined metric.
+        "a_key": "", # Properties of the object.
+      },
+    },
+    "rougeSpec": { # Spec for rouge score metric - calculates the recall of n-grams in prediction as compared to reference - returns a score ranging between 0 and 1. # Spec for rouge metric.
+      "rougeType": "A String", # Optional. Supported rouge types are rougen[1-9], rougeL, and rougeLsum.
+      "splitSummaries": True or False, # Optional. Whether to split summaries while using rougeLsum.
+      "useStemmer": True or False, # Optional. Whether to use stemmer to compute rouge score.
+    },
+  },
+  "name": "A String", # Identifier. The resource name of the EvaluationMetric. Format: `projects/{project}/locations/{location}/evaluationMetrics/{evaluation_metric}`
+  "updateTime": "A String", # Output only. The time when the EvaluationMetric was last updated.
+}
+
+ +
+ list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None) +
Lists EvaluationMetrics.
+
+Args:
+  parent: string, Required. The resource name of the Location from which to list the EvaluationMetrics. Format: `projects/{project}/locations/{location}` (required)
+  filter: string, Optional. Filter expression that matches a subset of the EvaluationMetrics to show. For field names both snake_case and camelCase are supported. For more information about filter syntax, see [AIP-160](https://google.aip.dev/160).
+  orderBy: string, Optional. A comma-separated list of fields to order by, sorted in ascending order by default. Use `desc` after a field name for descending.
+  pageSize: integer, Optional. The maximum number of EvaluationMetrics to return.
+  pageToken: string, Optional. A page token, received from a previous `ListEvaluationMetrics` 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 EvaluationMetricService.ListEvaluationMetrics.
+  "evaluationMetrics": [ # List of EvaluationMetrics in the requested page.
+    { # EvaluationMetric is a resource that represents a reusable metric configuration.
+      "createTime": "A String", # Output only. The time when the EvaluationMetric was created.
+      "description": "A String", # Optional. A description of the EvaluationMetric.
+      "displayName": "A String", # Required. The user-friendly display name for the EvaluationMetric.
+      "gcsUri": "A String", # Optional. The Google Cloud Storage URI that stores the metric specification..
+      "labels": { # Optional. Labels for the evaluation metric.
+        "a_key": "A String",
+      },
+      "metric": { # The metric used for running evaluations. # Optional. The metric configuration.
+        "aggregationMetrics": [ # Optional. The aggregation metrics to use.
+          "A String",
+        ],
+        "bleuSpec": { # Spec for bleu score metric - calculates the precision of n-grams in the prediction as compared to reference - returns a score ranging between 0 to 1. # Spec for bleu metric.
+          "useEffectiveOrder": True or False, # Optional. Whether to use_effective_order to compute bleu score.
+        },
+        "computationBasedMetricSpec": { # Specification for a computation based metric. # Spec for a computation based metric.
+          "parameters": { # Optional. A map of parameters for the metric, e.g. {"rouge_type": "rougeL"}.
+            "a_key": "", # Properties of the object.
+          },
+          "type": "A String", # Required. The type of the computation based metric.
+        },
+        "customCodeExecutionSpec": { # Specificies a metric that is populated by evaluating user-defined Python code. # Spec for Custom Code Execution metric.
+          "evaluationFunction": "A String", # Required. Python function. Expected user to define the following function, e.g.: def evaluate(instance: dict[str, Any]) -> float: Please include this function signature in the code snippet. Instance is the evaluation instance, any fields populated in the instance are available to the function as instance[field_name]. Example: Example input: ``` instance= EvaluationInstance( response=EvaluationInstance.InstanceData(text="The answer is 4."), reference=EvaluationInstance.InstanceData(text="4") ) ``` Example converted input: ``` { 'response': {'text': 'The answer is 4.'}, 'reference': {'text': '4'} } ``` Example python function: ``` def evaluate(instance: dict[str, Any]) -> float: if instance'response' == instance'reference': return 1.0 return 0.0 ``` CustomCodeExecutionSpec is also supported in Batch Evaluation (EvalDataset RPC) and Tuning Evaluation. Each line in the input jsonl file will be converted to dict[str, Any] and passed to the evaluation function.
+        },
+        "exactMatchSpec": { # Spec for exact match metric - returns 1 if prediction and reference exactly matches, otherwise 0. # Spec for exact match metric.
+        },
+        "llmBasedMetricSpec": { # Specification for an LLM based metric. # Spec for an LLM based metric.
+          "additionalConfig": { # Optional. Optional additional configuration for the metric.
+            "a_key": "", # Properties of the object.
+          },
+          "judgeAutoraterConfig": { # The configs for autorater. This is applicable to both EvaluateInstances and EvaluateDataset. # Optional. Optional configuration for the judge LLM (Autorater).
+            "autoraterModel": "A String", # Optional. The fully qualified name of the publisher model or tuned autorater endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}`
+            "flipEnabled": True or False, # Optional. Default is true. Whether to flip the candidate and baseline responses. This is only applicable to the pairwise metric. If enabled, also provide PairwiseMetricSpec.candidate_response_field_name and PairwiseMetricSpec.baseline_response_field_name. When rendering PairwiseMetricSpec.metric_prompt_template, the candidate and baseline fields will be flipped for half of the samples to reduce bias.
+            "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. Configuration options for model generation and outputs.
+              "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.
+              "candidateCount": 42, # Optional. The number of candidate responses to generate. A higher `candidate_count` can provide more options to choose from, but it also consumes more resources. This can be useful for generating a variety of responses and selecting the best one.
+              "enableAffectiveDialog": True or False, # Optional. If enabled, the model will detect emotions and adapt its responses accordingly. For example, if the model detects that the user is frustrated, it may provide a more empathetic response.
+              "frequencyPenalty": 3.14, # Optional. Penalizes tokens based on their frequency in the generated text. A positive value helps to reduce the repetition of words and phrases. Valid values can range from [-2.0, 2.0].
+              "imageConfig": { # Configuration for image generation. This message allows you to control various aspects of image generation, such as the output format, aspect ratio, and whether the model can generate images of people. # Optional. Config for image generation features.
+                "aspectRatio": "A String", # Optional. The desired aspect ratio for the generated images. The following aspect ratios are supported: "1:1" "2:3", "3:2" "3:4", "4:3" "4:5", "5:4" "9:16", "16:9" "21:9"
+                "imageOutputOptions": { # The image output format for generated images. # Optional. The image output format for generated images.
+                  "compressionQuality": 42, # Optional. The compression quality of the output image.
+                  "mimeType": "A String", # Optional. The image format that the output should be saved as.
+                },
+                "imageSize": "A String", # Optional. Specifies the size of generated images. Supported values are `1K`, `2K`, `4K`. If not specified, the model will use default value `1K`.
+                "personGeneration": "A String", # Optional. Controls whether the model can generate people.
+                "prominentPeople": "A String", # Optional. Controls whether prominent people (celebrities) generation is allowed. If used with personGeneration, personGeneration enum would take precedence. For instance, if ALLOW_NONE is set, all person generation would be blocked. If this field is unspecified, the default behavior is to allow prominent people.
+              },
+              "logprobs": 42, # Optional. The number of top log probabilities to return for each token. This can be used to see which other tokens were considered likely candidates for a given position. A higher value will return more options, but it will also increase the size of the response.
+              "maxOutputTokens": 42, # Optional. The maximum number of tokens to generate in the response. A token is approximately four characters. The default value varies by model. This parameter can be used to control the length of the generated text and prevent overly long responses.
+              "mediaResolution": "A String", # Optional. The token resolution at which input media content is sampled. This is used to control the trade-off between the quality of the response and the number of tokens used to represent the media. A higher resolution allows the model to perceive more detail, which can lead to a more nuanced response, but it will also use more tokens. This does not affect the image dimensions sent to the model.
+              "modelConfig": { # Config for model selection. # Optional. Config for model selection.
+                "featureSelectionPreference": "A String", # Required. Feature selection preference.
+              },
+              "presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0].
+              "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`.
+              "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging.
+              "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined.
+              "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image.
+                "A String",
+              ],
+              "responseSchema": { # Defines the schema of input and output data. This is a subset of the [OpenAPI 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object). # Optional. Lets you to specify a schema for the model's response, ensuring that the output conforms to a particular structure. This is useful for generating structured data such as JSON. The schema is a subset of the [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema) object. When this field is set, you must also set the `response_mime_type` to `application/json`.
+                "additionalProperties": "", # Optional. If `type` is `OBJECT`, specifies how to handle properties not defined in `properties`. If it is a boolean `false`, no additional properties are allowed. If it is a schema, additional properties are allowed if they conform to the schema.
+                "anyOf": [ # Optional. The instance must be valid against any (one or more) of the subschemas listed in `any_of`.
+                  # Object with schema name: GoogleCloudAiplatformV1beta1Schema
+                ],
+                "default": "", # Optional. Default value to use if the field is not specified.
+                "defs": { # Optional. `defs` provides a map of schema definitions that can be reused by `ref` elsewhere in the schema. Only allowed at root level of the schema.
+                  "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema
+                },
+                "description": "A String", # Optional. Describes the data. The model uses this field to understand the purpose of the schema and how to use it. It is a best practice to provide a clear and descriptive explanation for the schema and its properties here, rather than in the prompt.
+                "enum": [ # Optional. Possible values of the field. This field can be used to restrict a value to a fixed set of values. To mark a field as an enum, set `format` to `enum` and provide the list of possible values in `enum`. For example: 1. To define directions: `{type:STRING, format:enum, enum:["EAST", "NORTH", "SOUTH", "WEST"]}` 2. To define apartment numbers: `{type:INTEGER, format:enum, enum:["101", "201", "301"]}`
+                  "A String",
+                ],
+                "example": "", # Optional. Example of an instance of this schema.
+                "format": "A String", # Optional. The format of the data. For `NUMBER` type, format can be `float` or `double`. For `INTEGER` type, format can be `int32` or `int64`. For `STRING` type, format can be `email`, `byte`, `date`, `date-time`, `password`, and other formats to further refine the data type.
+                "items": # Object with schema name: GoogleCloudAiplatformV1beta1Schema # Optional. If type is `ARRAY`, `items` specifies the schema of elements in the array.
+                "maxItems": "A String", # Optional. If type is `ARRAY`, `max_items` specifies the maximum number of items in an array.
+                "maxLength": "A String", # Optional. If type is `STRING`, `max_length` specifies the maximum length of the string.
+                "maxProperties": "A String", # Optional. If type is `OBJECT`, `max_properties` specifies the maximum number of properties that can be provided.
+                "maximum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `maximum` specifies the maximum allowed value.
+                "minItems": "A String", # Optional. If type is `ARRAY`, `min_items` specifies the minimum number of items in an array.
+                "minLength": "A String", # Optional. If type is `STRING`, `min_length` specifies the minimum length of the string.
+                "minProperties": "A String", # Optional. If type is `OBJECT`, `min_properties` specifies the minimum number of properties that can be provided.
+                "minimum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `minimum` specifies the minimum allowed value.
+                "nullable": True or False, # Optional. Indicates if the value of this field can be null.
+                "pattern": "A String", # Optional. If type is `STRING`, `pattern` specifies a regular expression that the string must match.
+                "properties": { # Optional. If type is `OBJECT`, `properties` is a map of property names to schema definitions for each property of the object.
+                  "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema
+                },
+                "propertyOrdering": [ # Optional. Order of properties displayed or used where order matters. This is not a standard field in OpenAPI specification, but can be used to control the order of properties.
+                  "A String",
+                ],
+                "ref": "A String", # Optional. Allows referencing another schema definition to use in place of this schema. The value must be a valid reference to a schema in `defs`. For example, the following schema defines a reference to a schema node named "Pet": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the "pet" property is a reference to the schema node named "Pet". See details in https://json-schema.org/understanding-json-schema/structuring
+                "required": [ # Optional. If type is `OBJECT`, `required` lists the names of properties that must be present.
+                  "A String",
+                ],
+                "title": "A String", # Optional. Title for the schema.
+                "type": "A String", # Optional. Data type of the schema field.
+              },
+              "routingConfig": { # The configuration for routing the request to a specific model. This can be used to control which model is used for the generation, either automatically or by specifying a model name. # Optional. Routing configuration.
+                "autoMode": { # The configuration for automated routing. When automated routing is specified, the routing will be determined by the pretrained routing model and customer provided model routing preference. # In this mode, the model is selected automatically based on the content of the request.
+                  "modelRoutingPreference": "A String", # The model routing preference.
+                },
+                "manualMode": { # The configuration for manual routing. When manual routing is specified, the model will be selected based on the model name provided. # In this mode, the model is specified manually.
+                  "modelName": "A String", # The name of the model to use. Only public LLM models are accepted.
+                },
+              },
+              "seed": 42, # Optional. A seed for the random number generator. By setting a seed, you can make the model's output mostly deterministic. For a given prompt and parameters (like temperature, top_p, etc.), the model will produce the same response every time. However, it's not a guaranteed absolute deterministic behavior. This is different from parameters like `temperature`, which control the *level* of randomness. `seed` ensures that the "random" choices the model makes are the same on every run, making it essential for testing and ensuring reproducible results.
+              "speechConfig": { # Configuration for speech generation. # Optional. The speech generation config.
+                "languageCode": "A String", # Optional. The language code (ISO 639-1) for the speech synthesis.
+                "multiSpeakerVoiceConfig": { # Configuration for a multi-speaker text-to-speech request. # The configuration for a multi-speaker text-to-speech request. This field is mutually exclusive with `voice_config`.
+                  "speakerVoiceConfigs": [ # Required. A list of configurations for the voices of the speakers. Exactly two speaker voice configurations must be provided.
+                    { # Configuration for a single speaker in a multi-speaker setup.
+                      "speaker": "A String", # Required. The name of the speaker. This should be the same as the speaker name used in the prompt.
+                      "voiceConfig": { # Configuration for a voice. # Required. The configuration for the voice of this speaker.
+                        "prebuiltVoiceConfig": { # Configuration for a prebuilt voice. # The configuration for a prebuilt voice.
+                          "voiceName": "A String", # The name of the prebuilt voice to use.
+                        },
+                        "replicatedVoiceConfig": { # The configuration for the replicated voice to use. # Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample.
+                          "mimeType": "A String", # Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set.
+                          "voiceSampleAudio": "A String", # Optional. The sample of the custom voice.
+                        },
+                      },
+                    },
+                  ],
+                },
+                "voiceConfig": { # Configuration for a voice. # The configuration for the voice to use.
+                  "prebuiltVoiceConfig": { # Configuration for a prebuilt voice. # The configuration for a prebuilt voice.
+                    "voiceName": "A String", # The name of the prebuilt voice to use.
+                  },
+                  "replicatedVoiceConfig": { # The configuration for the replicated voice to use. # Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample.
+                    "mimeType": "A String", # Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set.
+                    "voiceSampleAudio": "A String", # Optional. The sample of the custom voice.
+                  },
+                },
+              },
+              "stopSequences": [ # Optional. A list of character sequences that will stop the model from generating further tokens. If a stop sequence is generated, the output will end at that point. This is useful for controlling the length and structure of the output. For example, you can use ["\n", "###"] to stop generation at a new line or a specific marker.
+                "A String",
+              ],
+              "temperature": 3.14, # Optional. Controls the randomness of the output. A higher temperature results in more creative and diverse responses, while a lower temperature makes the output more predictable and focused. The valid range is (0.0, 2.0].
+              "thinkingConfig": { # Configuration for the model's thinking features. "Thinking" is a process where the model breaks down a complex task into smaller, manageable steps. This allows the model to reason about the task, plan its approach, and execute the plan to generate a high-quality response. # Optional. Configuration for thinking features. An error will be returned if this field is set for models that don't support thinking.
+                "includeThoughts": True or False, # Optional. If true, the model will include its thoughts in the response. "Thoughts" are the intermediate steps the model takes to arrive at the final response. They can provide insights into the model's reasoning process and help with debugging. If this is true, thoughts are returned only when available.
+                "thinkingBudget": 42, # Optional. The token budget for the model's thinking process. The model will make a best effort to stay within this budget. This can be used to control the trade-off between response quality and latency.
+                "thinkingLevel": "A String", # Optional. The number of thoughts tokens that the model should generate.
+              },
+              "topK": 3.14, # Optional. Specifies the top-k sampling threshold. The model considers only the top k most probable tokens for the next token. This can be useful for generating more coherent and less random text. For example, a `top_k` of 40 means the model will choose the next word from the 40 most likely words.
+              "topP": 3.14, # Optional. Specifies the nucleus sampling threshold. The model considers only the smallest set of tokens whose cumulative probability is at least `top_p`. This helps generate more diverse and less repetitive responses. For example, a `top_p` of 0.9 means the model considers tokens until the cumulative probability of the tokens to select from reaches 0.9. It's recommended to adjust either temperature or `top_p`, but not both.
+            },
+            "samplingCount": 42, # Optional. Number of samples for each instance in the dataset. If not specified, the default is 4. Minimum value is 1, maximum value is 32.
+          },
+          "metricPromptTemplate": "A String", # Required. Template for the prompt sent to the judge model.
+          "predefinedRubricGenerationSpec": { # The spec for a pre-defined metric. # Dynamically generate rubrics using a predefined spec.
+            "metricSpecName": "A String", # Required. The name of a pre-defined metric, such as "instruction_following_v1" or "text_quality_v1".
+            "metricSpecParameters": { # Optional. The parameters needed to run the pre-defined metric.
+              "a_key": "", # Properties of the object.
+            },
+          },
+          "rubricGenerationSpec": { # Specification for how rubrics should be generated. # Dynamically generate rubrics using this specification.
+            "modelConfig": { # The configs for autorater. This is applicable to both EvaluateInstances and EvaluateDataset. # Configuration for the model used in rubric generation. Configs including sampling count and base model can be specified here. Flipping is not supported for rubric generation.
+              "autoraterModel": "A String", # Optional. The fully qualified name of the publisher model or tuned autorater endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}`
+              "flipEnabled": True or False, # Optional. Default is true. Whether to flip the candidate and baseline responses. This is only applicable to the pairwise metric. If enabled, also provide PairwiseMetricSpec.candidate_response_field_name and PairwiseMetricSpec.baseline_response_field_name. When rendering PairwiseMetricSpec.metric_prompt_template, the candidate and baseline fields will be flipped for half of the samples to reduce bias.
+              "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. Configuration options for model generation and outputs.
+                "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.
+                "candidateCount": 42, # Optional. The number of candidate responses to generate. A higher `candidate_count` can provide more options to choose from, but it also consumes more resources. This can be useful for generating a variety of responses and selecting the best one.
+                "enableAffectiveDialog": True or False, # Optional. If enabled, the model will detect emotions and adapt its responses accordingly. For example, if the model detects that the user is frustrated, it may provide a more empathetic response.
+                "frequencyPenalty": 3.14, # Optional. Penalizes tokens based on their frequency in the generated text. A positive value helps to reduce the repetition of words and phrases. Valid values can range from [-2.0, 2.0].
+                "imageConfig": { # Configuration for image generation. This message allows you to control various aspects of image generation, such as the output format, aspect ratio, and whether the model can generate images of people. # Optional. Config for image generation features.
+                  "aspectRatio": "A String", # Optional. The desired aspect ratio for the generated images. The following aspect ratios are supported: "1:1" "2:3", "3:2" "3:4", "4:3" "4:5", "5:4" "9:16", "16:9" "21:9"
+                  "imageOutputOptions": { # The image output format for generated images. # Optional. The image output format for generated images.
+                    "compressionQuality": 42, # Optional. The compression quality of the output image.
+                    "mimeType": "A String", # Optional. The image format that the output should be saved as.
+                  },
+                  "imageSize": "A String", # Optional. Specifies the size of generated images. Supported values are `1K`, `2K`, `4K`. If not specified, the model will use default value `1K`.
+                  "personGeneration": "A String", # Optional. Controls whether the model can generate people.
+                  "prominentPeople": "A String", # Optional. Controls whether prominent people (celebrities) generation is allowed. If used with personGeneration, personGeneration enum would take precedence. For instance, if ALLOW_NONE is set, all person generation would be blocked. If this field is unspecified, the default behavior is to allow prominent people.
+                },
+                "logprobs": 42, # Optional. The number of top log probabilities to return for each token. This can be used to see which other tokens were considered likely candidates for a given position. A higher value will return more options, but it will also increase the size of the response.
+                "maxOutputTokens": 42, # Optional. The maximum number of tokens to generate in the response. A token is approximately four characters. The default value varies by model. This parameter can be used to control the length of the generated text and prevent overly long responses.
+                "mediaResolution": "A String", # Optional. The token resolution at which input media content is sampled. This is used to control the trade-off between the quality of the response and the number of tokens used to represent the media. A higher resolution allows the model to perceive more detail, which can lead to a more nuanced response, but it will also use more tokens. This does not affect the image dimensions sent to the model.
+                "modelConfig": { # Config for model selection. # Optional. Config for model selection.
+                  "featureSelectionPreference": "A String", # Required. Feature selection preference.
+                },
+                "presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0].
+                "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`.
+                "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging.
+                "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined.
+                "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image.
+                  "A String",
+                ],
+                "responseSchema": { # Defines the schema of input and output data. This is a subset of the [OpenAPI 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object). # Optional. Lets you to specify a schema for the model's response, ensuring that the output conforms to a particular structure. This is useful for generating structured data such as JSON. The schema is a subset of the [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema) object. When this field is set, you must also set the `response_mime_type` to `application/json`.
+                  "additionalProperties": "", # Optional. If `type` is `OBJECT`, specifies how to handle properties not defined in `properties`. If it is a boolean `false`, no additional properties are allowed. If it is a schema, additional properties are allowed if they conform to the schema.
+                  "anyOf": [ # Optional. The instance must be valid against any (one or more) of the subschemas listed in `any_of`.
+                    # Object with schema name: GoogleCloudAiplatformV1beta1Schema
+                  ],
+                  "default": "", # Optional. Default value to use if the field is not specified.
+                  "defs": { # Optional. `defs` provides a map of schema definitions that can be reused by `ref` elsewhere in the schema. Only allowed at root level of the schema.
+                    "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema
+                  },
+                  "description": "A String", # Optional. Describes the data. The model uses this field to understand the purpose of the schema and how to use it. It is a best practice to provide a clear and descriptive explanation for the schema and its properties here, rather than in the prompt.
+                  "enum": [ # Optional. Possible values of the field. This field can be used to restrict a value to a fixed set of values. To mark a field as an enum, set `format` to `enum` and provide the list of possible values in `enum`. For example: 1. To define directions: `{type:STRING, format:enum, enum:["EAST", "NORTH", "SOUTH", "WEST"]}` 2. To define apartment numbers: `{type:INTEGER, format:enum, enum:["101", "201", "301"]}`
+                    "A String",
+                  ],
+                  "example": "", # Optional. Example of an instance of this schema.
+                  "format": "A String", # Optional. The format of the data. For `NUMBER` type, format can be `float` or `double`. For `INTEGER` type, format can be `int32` or `int64`. For `STRING` type, format can be `email`, `byte`, `date`, `date-time`, `password`, and other formats to further refine the data type.
+                  "items": # Object with schema name: GoogleCloudAiplatformV1beta1Schema # Optional. If type is `ARRAY`, `items` specifies the schema of elements in the array.
+                  "maxItems": "A String", # Optional. If type is `ARRAY`, `max_items` specifies the maximum number of items in an array.
+                  "maxLength": "A String", # Optional. If type is `STRING`, `max_length` specifies the maximum length of the string.
+                  "maxProperties": "A String", # Optional. If type is `OBJECT`, `max_properties` specifies the maximum number of properties that can be provided.
+                  "maximum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `maximum` specifies the maximum allowed value.
+                  "minItems": "A String", # Optional. If type is `ARRAY`, `min_items` specifies the minimum number of items in an array.
+                  "minLength": "A String", # Optional. If type is `STRING`, `min_length` specifies the minimum length of the string.
+                  "minProperties": "A String", # Optional. If type is `OBJECT`, `min_properties` specifies the minimum number of properties that can be provided.
+                  "minimum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `minimum` specifies the minimum allowed value.
+                  "nullable": True or False, # Optional. Indicates if the value of this field can be null.
+                  "pattern": "A String", # Optional. If type is `STRING`, `pattern` specifies a regular expression that the string must match.
+                  "properties": { # Optional. If type is `OBJECT`, `properties` is a map of property names to schema definitions for each property of the object.
+                    "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema
+                  },
+                  "propertyOrdering": [ # Optional. Order of properties displayed or used where order matters. This is not a standard field in OpenAPI specification, but can be used to control the order of properties.
+                    "A String",
+                  ],
+                  "ref": "A String", # Optional. Allows referencing another schema definition to use in place of this schema. The value must be a valid reference to a schema in `defs`. For example, the following schema defines a reference to a schema node named "Pet": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the "pet" property is a reference to the schema node named "Pet". See details in https://json-schema.org/understanding-json-schema/structuring
+                  "required": [ # Optional. If type is `OBJECT`, `required` lists the names of properties that must be present.
+                    "A String",
+                  ],
+                  "title": "A String", # Optional. Title for the schema.
+                  "type": "A String", # Optional. Data type of the schema field.
+                },
+                "routingConfig": { # The configuration for routing the request to a specific model. This can be used to control which model is used for the generation, either automatically or by specifying a model name. # Optional. Routing configuration.
+                  "autoMode": { # The configuration for automated routing. When automated routing is specified, the routing will be determined by the pretrained routing model and customer provided model routing preference. # In this mode, the model is selected automatically based on the content of the request.
+                    "modelRoutingPreference": "A String", # The model routing preference.
+                  },
+                  "manualMode": { # The configuration for manual routing. When manual routing is specified, the model will be selected based on the model name provided. # In this mode, the model is specified manually.
+                    "modelName": "A String", # The name of the model to use. Only public LLM models are accepted.
+                  },
+                },
+                "seed": 42, # Optional. A seed for the random number generator. By setting a seed, you can make the model's output mostly deterministic. For a given prompt and parameters (like temperature, top_p, etc.), the model will produce the same response every time. However, it's not a guaranteed absolute deterministic behavior. This is different from parameters like `temperature`, which control the *level* of randomness. `seed` ensures that the "random" choices the model makes are the same on every run, making it essential for testing and ensuring reproducible results.
+                "speechConfig": { # Configuration for speech generation. # Optional. The speech generation config.
+                  "languageCode": "A String", # Optional. The language code (ISO 639-1) for the speech synthesis.
+                  "multiSpeakerVoiceConfig": { # Configuration for a multi-speaker text-to-speech request. # The configuration for a multi-speaker text-to-speech request. This field is mutually exclusive with `voice_config`.
+                    "speakerVoiceConfigs": [ # Required. A list of configurations for the voices of the speakers. Exactly two speaker voice configurations must be provided.
+                      { # Configuration for a single speaker in a multi-speaker setup.
+                        "speaker": "A String", # Required. The name of the speaker. This should be the same as the speaker name used in the prompt.
+                        "voiceConfig": { # Configuration for a voice. # Required. The configuration for the voice of this speaker.
+                          "prebuiltVoiceConfig": { # Configuration for a prebuilt voice. # The configuration for a prebuilt voice.
+                            "voiceName": "A String", # The name of the prebuilt voice to use.
+                          },
+                          "replicatedVoiceConfig": { # The configuration for the replicated voice to use. # Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample.
+                            "mimeType": "A String", # Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set.
+                            "voiceSampleAudio": "A String", # Optional. The sample of the custom voice.
+                          },
+                        },
+                      },
+                    ],
+                  },
+                  "voiceConfig": { # Configuration for a voice. # The configuration for the voice to use.
+                    "prebuiltVoiceConfig": { # Configuration for a prebuilt voice. # The configuration for a prebuilt voice.
+                      "voiceName": "A String", # The name of the prebuilt voice to use.
+                    },
+                    "replicatedVoiceConfig": { # The configuration for the replicated voice to use. # Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample.
+                      "mimeType": "A String", # Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set.
+                      "voiceSampleAudio": "A String", # Optional. The sample of the custom voice.
+                    },
+                  },
+                },
+                "stopSequences": [ # Optional. A list of character sequences that will stop the model from generating further tokens. If a stop sequence is generated, the output will end at that point. This is useful for controlling the length and structure of the output. For example, you can use ["\n", "###"] to stop generation at a new line or a specific marker.
+                  "A String",
+                ],
+                "temperature": 3.14, # Optional. Controls the randomness of the output. A higher temperature results in more creative and diverse responses, while a lower temperature makes the output more predictable and focused. The valid range is (0.0, 2.0].
+                "thinkingConfig": { # Configuration for the model's thinking features. "Thinking" is a process where the model breaks down a complex task into smaller, manageable steps. This allows the model to reason about the task, plan its approach, and execute the plan to generate a high-quality response. # Optional. Configuration for thinking features. An error will be returned if this field is set for models that don't support thinking.
+                  "includeThoughts": True or False, # Optional. If true, the model will include its thoughts in the response. "Thoughts" are the intermediate steps the model takes to arrive at the final response. They can provide insights into the model's reasoning process and help with debugging. If this is true, thoughts are returned only when available.
+                  "thinkingBudget": 42, # Optional. The token budget for the model's thinking process. The model will make a best effort to stay within this budget. This can be used to control the trade-off between response quality and latency.
+                  "thinkingLevel": "A String", # Optional. The number of thoughts tokens that the model should generate.
+                },
+                "topK": 3.14, # Optional. Specifies the top-k sampling threshold. The model considers only the top k most probable tokens for the next token. This can be useful for generating more coherent and less random text. For example, a `top_k` of 40 means the model will choose the next word from the 40 most likely words.
+                "topP": 3.14, # Optional. Specifies the nucleus sampling threshold. The model considers only the smallest set of tokens whose cumulative probability is at least `top_p`. This helps generate more diverse and less repetitive responses. For example, a `top_p` of 0.9 means the model considers tokens until the cumulative probability of the tokens to select from reaches 0.9. It's recommended to adjust either temperature or `top_p`, but not both.
+              },
+              "samplingCount": 42, # Optional. Number of samples for each instance in the dataset. If not specified, the default is 4. Minimum value is 1, maximum value is 32.
+            },
+            "promptTemplate": "A String", # Template for the prompt used to generate rubrics. The details should be updated based on the most-recent recipe requirements.
+            "rubricContentType": "A String", # The type of rubric content to be generated.
+            "rubricTypeOntology": [ # Optional. An optional, pre-defined list of allowed types for generated rubrics. If this field is provided, it implies `include_rubric_type` should be true, and the generated rubric types should be chosen from this ontology.
+              "A String",
+            ],
+          },
+          "rubricGroupKey": "A String", # Use a pre-defined group of rubrics associated with the input. Refers to a key in the rubric_groups map of EvaluationInstance.
+          "systemInstruction": "A String", # Optional. System instructions for the judge model.
+        },
+        "metadata": { # Metadata about the metric, used for visualization and organization. # Optional. Metadata about the metric, used for visualization and organization.
+          "otherMetadata": { # Optional. Flexible metadata for user-defined attributes.
+            "a_key": "", # Properties of the object.
+          },
+          "scoreRange": { # The range of possible scores for this metric, used for plotting. # Optional. The range of possible scores for this metric, used for plotting.
+            "description": "A String", # Optional. The description of the score explaining the directionality etc.
+            "max": 3.14, # Required. The maximum value of the score range (inclusive).
+            "min": 3.14, # Required. The minimum value of the score range (inclusive).
+            "step": 3.14, # Optional. The distance between discrete steps in the range. If unset, the range is assumed to be continuous.
+          },
+          "title": "A String", # Optional. The user-friendly name for the metric. If not set for a registered metric, it will default to the metric's display name.
+        },
+        "pairwiseMetricSpec": { # Spec for pairwise metric. # Spec for pairwise metric.
+          "baselineResponseFieldName": "A String", # Optional. The field name of the baseline response.
+          "candidateResponseFieldName": "A String", # Optional. The field name of the candidate response.
+          "customOutputFormatConfig": { # Spec for custom output format configuration. # Optional. CustomOutputFormatConfig allows customization of metric output. When this config is set, the default output is replaced with the raw output string. If a custom format is chosen, the `pairwise_choice` and `explanation` fields in the corresponding metric result will be empty.
+            "returnRawOutput": True or False, # Optional. Whether to return raw output.
+          },
+          "metricPromptTemplate": "A String", # Required. Metric prompt template for pairwise metric.
+          "systemInstruction": "A String", # Optional. System instructions for pairwise metric.
+        },
+        "pointwiseMetricSpec": { # Spec for pointwise metric. # Spec for pointwise metric.
+          "customOutputFormatConfig": { # Spec for custom output format configuration. # Optional. CustomOutputFormatConfig allows customization of metric output. By default, metrics return a score and explanation. When this config is set, the default output is replaced with either: - The raw output string. - A parsed output based on a user-defined schema. If a custom format is chosen, the `score` and `explanation` fields in the corresponding metric result will be empty.
+            "returnRawOutput": True or False, # Optional. Whether to return raw output.
+          },
+          "metricPromptTemplate": "A String", # Required. Metric prompt template for pointwise metric.
+          "systemInstruction": "A String", # Optional. System instructions for pointwise metric.
+        },
+        "predefinedMetricSpec": { # The spec for a pre-defined metric. # The spec for a pre-defined metric.
+          "metricSpecName": "A String", # Required. The name of a pre-defined metric, such as "instruction_following_v1" or "text_quality_v1".
+          "metricSpecParameters": { # Optional. The parameters needed to run the pre-defined metric.
+            "a_key": "", # Properties of the object.
+          },
+        },
+        "rougeSpec": { # Spec for rouge score metric - calculates the recall of n-grams in prediction as compared to reference - returns a score ranging between 0 and 1. # Spec for rouge metric.
+          "rougeType": "A String", # Optional. Supported rouge types are rougen[1-9], rougeL, and rougeLsum.
+          "splitSummaries": True or False, # Optional. Whether to split summaries while using rougeLsum.
+          "useStemmer": True or False, # Optional. Whether to use stemmer to compute rouge score.
+        },
+      },
+      "name": "A String", # Identifier. The resource name of the EvaluationMetric. Format: `projects/{project}/locations/{location}/evaluationMetrics/{evaluation_metric}`
+      "updateTime": "A String", # Output only. The time when the EvaluationMetric was last updated.
+    },
+  ],
+  "nextPageToken": "A String", # A token to retrieve the next page of results.
+}
+
+ +
+ list_next() +
Retrieves the next page of results.
+
+        Args:
+          previous_request: The request for the previous page. (required)
+          previous_response: The response from the request for the previous page. (required)
+
+        Returns:
+          A request object that you can call 'execute()' on to request the next
+          page. Returns None if there are no more items in the collection.
+        
+
+ \ No newline at end of file diff --git a/docs/dyn/aiplatform_v1beta1.projects.locations.evaluationRuns.html b/docs/dyn/aiplatform_v1beta1.projects.locations.evaluationRuns.html index d73e3f7edb..4dbac81e3b 100644 --- a/docs/dyn/aiplatform_v1beta1.projects.locations.evaluationRuns.html +++ b/docs/dyn/aiplatform_v1beta1.projects.locations.evaluationRuns.html @@ -195,7 +195,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -291,6 +291,7 @@

Method Details

}, "datasetCustomMetrics": [ # Optional. Specifications for custom dataset-level aggregations. { # Defines a custom dataset-level aggregation. + "aggregationFunction": "A String", # Required. The Python code string containing the aggregation function. Expected function signature: `def aggregate(instances: list[dict[str, Any]]) -> dict[str, float]:` The `instances` argument is a list of dictionaries, where each dictionary represents a single evaluation result item. The structure of each dictionary corresponds to the fields in the `EvaluationResult` message. This includes: - `"request"`: Contains the original input data and model inputs (from `EvaluationResult.EvaluationRequest`). - `"candidate_results"`: Contains the results of any instance-level metrics (from `EvaluationResult.CandidateResults`). Example of a single item in the `instances` list: { "request": { "prompt": {"text": "What is the capital of France?"}, "golden_response": {"text": "Paris"}, "candidate_responses": [{"candidate": "model-v1", "text": "Paris"}] }, "candidate_results": [ {"metric": "exact_match", "score": 1.0}, {"metric": "bleu", "score": 0.9} ] } "displayName": "A String", # Optional. A display name for this custom summary metric. Used to prefix keys in the output summaryMetrics map. If not provided, a default name like "dataset_custom_metric_1", "dataset_custom_metric_2", etc., will be generated based on the order in the repeated field. }, ], @@ -332,7 +333,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -434,6 +435,7 @@

Method Details

}, }, "rubricGenerationSpec": { # Specification for how rubrics should be generated. # Dynamically generate rubrics using this specification. + "metricResourceName": "A String", # Optional. Resource name of the metric definition. "modelConfig": { # The autorater config used for the evaluation run. # Optional. Configuration for the model used in rubric generation. Configs including sampling count and base model can be specified here. Flipping is not supported for rubric generation. "autoraterModel": "A String", # Optional. The fully qualified name of the publisher model or tuned autorater endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` "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. Configuration options for model generation and outputs. @@ -460,7 +462,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -613,7 +615,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -742,7 +744,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -845,6 +847,18 @@

Method Details

"rubricGroupKey": "A String", # Use a pre-defined group of rubrics associated with the input. Refers to a key in the rubric_groups map of EvaluationInstance. "systemInstruction": "A String", # Optional. System instructions for the judge model. }, + "metadata": { # Metadata about the metric, used for visualization and organization. # Optional. Metadata about the metric, used for visualization and organization. + "otherMetadata": { # Optional. Flexible metadata for user-defined attributes. + "a_key": "", # Properties of the object. + }, + "scoreRange": { # The range of possible scores for this metric, used for plotting. # Optional. The range of possible scores for this metric, used for plotting. + "description": "A String", # Optional. The description of the score explaining the directionality etc. + "max": 3.14, # Required. The maximum value of the score range (inclusive). + "min": 3.14, # Required. The minimum value of the score range (inclusive). + "step": 3.14, # Optional. The distance between discrete steps in the range. If unset, the range is assumed to be continuous. + }, + "title": "A String", # Optional. The user-friendly name for the metric. If not set for a registered metric, it will default to the metric's display name. + }, "pairwiseMetricSpec": { # Spec for pairwise metric. # Spec for pairwise metric. "baselineResponseFieldName": "A String", # Optional. The field name of the baseline response. "candidateResponseFieldName": "A String", # Optional. The field name of the candidate response. @@ -873,6 +887,7 @@

Method Details

"useStemmer": True or False, # Optional. Whether to use stemmer to compute rouge score. }, }, + "metricResourceName": "A String", # Optional. The resource name of the metric definition. "predefinedMetricSpec": { # Specification for a pre-defined metric. # Spec for a pre-defined metric. "metricSpecName": "A String", # Required. The name of a pre-defined metric, such as "instruction_following_v1" or "text_quality_v1". "parameters": { # Optional. The parameters needed to run the pre-defined metric. @@ -920,7 +935,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -1016,6 +1031,7 @@

Method Details

}, "metricPromptTemplate": "A String", # Optional. Template for the prompt used by the judge model to evaluate against rubrics. "rubricGenerationSpec": { # Specification for how rubrics should be generated. # Dynamically generate rubrics for evaluation using this specification. + "metricResourceName": "A String", # Optional. Resource name of the metric definition. "modelConfig": { # The autorater config used for the evaluation run. # Optional. Configuration for the model used in rubric generation. Configs including sampling count and base model can be specified here. Flipping is not supported for rubric generation. "autoraterModel": "A String", # Optional. The fully qualified name of the publisher model or tuned autorater endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` "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. Configuration options for model generation and outputs. @@ -1042,7 +1058,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -1167,6 +1183,7 @@

Method Details

}, }, "rubricGenerationSpec": { # Specification for how rubrics should be generated. # Dynamically generate rubrics using this specification. + "metricResourceName": "A String", # Optional. Resource name of the metric definition. "modelConfig": { # The autorater config used for the evaluation run. # Optional. Configuration for the model used in rubric generation. Configs including sampling count and base model can be specified here. Flipping is not supported for rubric generation. "autoraterModel": "A String", # Optional. The fully qualified name of the publisher model or tuned autorater endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` "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. Configuration options for model generation and outputs. @@ -1193,7 +1210,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -1309,7 +1326,7 @@

Method Details

}, "evaluationSetSnapshot": "A String", # Output only. The specific evaluation set of the evaluation run. For runs with an evaluation set input, this will be that same set. For runs with BigQuery input, it's the sampled BigQuery dataset. "inferenceConfigs": { # Optional. The candidate to inference config map for the evaluation run. The candidate can be up to 128 characters long and can consist of any UTF-8 characters. - "a_key": { # An inference config used for model inference during the evaluation run. + "a_key": { # Defines the configuration for a candidate model or agent being evaluated. `InferenceConfig` encapsulates all the necessary information to invoke or scrape the candidate during the evaluation run. This includes direct model inference parameters, agent execution settings, and multi-turn scraping configurations (such as user simulators). It serves as the primary representation of the candidate across different stages of the evaluation process. "agentConfig": { # Configuration that describes an agent. # Optional. Deprecated: Use `agents` instead. Agent config used to generate responses. "developerInstruction": { # 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. # Optional. The developer instruction for the agent. "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. @@ -1611,161 +1628,527 @@

Method Details

}, ], }, - "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. - "candidateCount": 42, # Optional. The number of candidate responses to generate. A higher `candidate_count` can provide more options to choose from, but it also consumes more resources. This can be useful for generating a variety of responses and selecting the best one. - "enableAffectiveDialog": True or False, # Optional. If enabled, the model will detect emotions and adapt its responses accordingly. For example, if the model detects that the user is frustrated, it may provide a more empathetic response. - "frequencyPenalty": 3.14, # Optional. Penalizes tokens based on their frequency in the generated text. A positive value helps to reduce the repetition of words and phrases. Valid values can range from [-2.0, 2.0]. - "imageConfig": { # Configuration for image generation. This message allows you to control various aspects of image generation, such as the output format, aspect ratio, and whether the model can generate images of people. # Optional. Config for image generation features. - "aspectRatio": "A String", # Optional. The desired aspect ratio for the generated images. The following aspect ratios are supported: "1:1" "2:3", "3:2" "3:4", "4:3" "4:5", "5:4" "9:16", "16:9" "21:9" - "imageOutputOptions": { # The image output format for generated images. # Optional. The image output format for generated images. - "compressionQuality": 42, # Optional. The compression quality of the output image. - "mimeType": "A String", # Optional. The image format that the output should be saved as. - }, - "imageSize": "A String", # Optional. Specifies the size of generated images. Supported values are `1K`, `2K`, `4K`. If not specified, the model will use default value `1K`. - "personGeneration": "A String", # Optional. Controls whether the model can generate people. - "prominentPeople": "A String", # Optional. Controls whether prominent people (celebrities) generation is allowed. If used with personGeneration, personGeneration enum would take precedence. For instance, if ALLOW_NONE is set, all person generation would be blocked. If this field is unspecified, the default behavior is to allow prominent people. - }, - "logprobs": 42, # Optional. The number of top log probabilities to return for each token. This can be used to see which other tokens were considered likely candidates for a given position. A higher value will return more options, but it will also increase the size of the response. - "maxOutputTokens": 42, # Optional. The maximum number of tokens to generate in the response. A token is approximately four characters. The default value varies by model. This parameter can be used to control the length of the generated text and prevent overly long responses. - "mediaResolution": "A String", # Optional. The token resolution at which input media content is sampled. This is used to control the trade-off between the quality of the response and the number of tokens used to represent the media. A higher resolution allows the model to perceive more detail, which can lead to a more nuanced response, but it will also use more tokens. This does not affect the image dimensions sent to the model. - "modelConfig": { # Config for model selection. # Optional. Config for model selection. - "featureSelectionPreference": "A String", # Required. Feature selection preference. - }, - "presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. - "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. - "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. - "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. - "A String", - ], - "responseSchema": { # Defines the schema of input and output data. This is a subset of the [OpenAPI 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object). # Optional. Lets you to specify a schema for the model's response, ensuring that the output conforms to a particular structure. This is useful for generating structured data such as JSON. The schema is a subset of the [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema) object. When this field is set, you must also set the `response_mime_type` to `application/json`. - "additionalProperties": "", # Optional. If `type` is `OBJECT`, specifies how to handle properties not defined in `properties`. If it is a boolean `false`, no additional properties are allowed. If it is a schema, additional properties are allowed if they conform to the schema. - "anyOf": [ # Optional. The instance must be valid against any (one or more) of the subschemas listed in `any_of`. - # Object with schema name: GoogleCloudAiplatformV1beta1Schema - ], - "default": "", # Optional. Default value to use if the field is not specified. - "defs": { # Optional. `defs` provides a map of schema definitions that can be reused by `ref` elsewhere in the schema. Only allowed at root level of the schema. - "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema - }, - "description": "A String", # Optional. Describes the data. The model uses this field to understand the purpose of the schema and how to use it. It is a best practice to provide a clear and descriptive explanation for the schema and its properties here, rather than in the prompt. - "enum": [ # Optional. Possible values of the field. This field can be used to restrict a value to a fixed set of values. To mark a field as an enum, set `format` to `enum` and provide the list of possible values in `enum`. For example: 1. To define directions: `{type:STRING, format:enum, enum:["EAST", "NORTH", "SOUTH", "WEST"]}` 2. To define apartment numbers: `{type:INTEGER, format:enum, enum:["101", "201", "301"]}` - "A String", - ], - "example": "", # Optional. Example of an instance of this schema. - "format": "A String", # Optional. The format of the data. For `NUMBER` type, format can be `float` or `double`. For `INTEGER` type, format can be `int32` or `int64`. For `STRING` type, format can be `email`, `byte`, `date`, `date-time`, `password`, and other formats to further refine the data type. - "items": # Object with schema name: GoogleCloudAiplatformV1beta1Schema # Optional. If type is `ARRAY`, `items` specifies the schema of elements in the array. - "maxItems": "A String", # Optional. If type is `ARRAY`, `max_items` specifies the maximum number of items in an array. - "maxLength": "A String", # Optional. If type is `STRING`, `max_length` specifies the maximum length of the string. - "maxProperties": "A String", # Optional. If type is `OBJECT`, `max_properties` specifies the maximum number of properties that can be provided. - "maximum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `maximum` specifies the maximum allowed value. - "minItems": "A String", # Optional. If type is `ARRAY`, `min_items` specifies the minimum number of items in an array. - "minLength": "A String", # Optional. If type is `STRING`, `min_length` specifies the minimum length of the string. - "minProperties": "A String", # Optional. If type is `OBJECT`, `min_properties` specifies the minimum number of properties that can be provided. - "minimum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `minimum` specifies the minimum allowed value. - "nullable": True or False, # Optional. Indicates if the value of this field can be null. - "pattern": "A String", # Optional. If type is `STRING`, `pattern` specifies a regular expression that the string must match. - "properties": { # Optional. If type is `OBJECT`, `properties` is a map of property names to schema definitions for each property of the object. - "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema - }, - "propertyOrdering": [ # Optional. Order of properties displayed or used where order matters. This is not a standard field in OpenAPI specification, but can be used to control the order of properties. - "A String", - ], - "ref": "A String", # Optional. Allows referencing another schema definition to use in place of this schema. The value must be a valid reference to a schema in `defs`. For example, the following schema defines a reference to a schema node named "Pet": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the "pet" property is a reference to the schema node named "Pet". See details in https://json-schema.org/understanding-json-schema/structuring - "required": [ # Optional. If type is `OBJECT`, `required` lists the names of properties that must be present. - "A String", - ], - "title": "A String", # Optional. Title for the schema. - "type": "A String", # Optional. Data type of the schema field. - }, - "routingConfig": { # The configuration for routing the request to a specific model. This can be used to control which model is used for the generation, either automatically or by specifying a model name. # Optional. Routing configuration. - "autoMode": { # The configuration for automated routing. When automated routing is specified, the routing will be determined by the pretrained routing model and customer provided model routing preference. # In this mode, the model is selected automatically based on the content of the request. - "modelRoutingPreference": "A String", # The model routing preference. + "agentRunConfig": { # Configuration for Agent Run. # Optional. Agent run config. + "agentEngine": "A String", # Optional. The resource name of the Agent Engine. Format: projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine} For example: projects/123/locations/us-central1/reasoningEngines/456 + "sessionInput": { # Session input to run an Agent. # Optional. The session input to get agent running results. + "parameters": { # Optional. Additional parameters for the session, like app_name, etc. For example, {"app_name": "my-app"}. + "a_key": "A String", }, - "manualMode": { # The configuration for manual routing. When manual routing is specified, the model will be selected based on the model name provided. # In this mode, the model is specified manually. - "modelName": "A String", # The name of the model to use. Only public LLM models are accepted. + "sessionState": { # Optional. Session specific memory which stores key conversation points. + "a_key": "", # Properties of the object. }, + "userId": "A String", # Optional. The user id for the agent session. The ID can be up to 128 characters long. }, - "seed": 42, # Optional. A seed for the random number generator. By setting a seed, you can make the model's output mostly deterministic. For a given prompt and parameters (like temperature, top_p, etc.), the model will produce the same response every time. However, it's not a guaranteed absolute deterministic behavior. This is different from parameters like `temperature`, which control the *level* of randomness. `seed` ensures that the "random" choices the model makes are the same on every run, making it essential for testing and ensuring reproducible results. - "speechConfig": { # Configuration for speech generation. # Optional. The speech generation config. - "languageCode": "A String", # Optional. The language code (ISO 639-1) for the speech synthesis. - "multiSpeakerVoiceConfig": { # Configuration for a multi-speaker text-to-speech request. # The configuration for a multi-speaker text-to-speech request. This field is mutually exclusive with `voice_config`. - "speakerVoiceConfigs": [ # Required. A list of configurations for the voices of the speakers. Exactly two speaker voice configurations must be provided. - { # Configuration for a single speaker in a multi-speaker setup. - "speaker": "A String", # Required. The name of the speaker. This should be the same as the speaker name used in the prompt. - "voiceConfig": { # Configuration for a voice. # Required. The configuration for the voice of this speaker. - "prebuiltVoiceConfig": { # Configuration for a prebuilt voice. # The configuration for a prebuilt voice. - "voiceName": "A String", # The name of the prebuilt voice to use. - }, - "replicatedVoiceConfig": { # The configuration for the replicated voice to use. # Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample. - "mimeType": "A String", # Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set. - "voiceSampleAudio": "A String", # Optional. The sample of the custom voice. + "userSimulatorConfig": { # Used for multi-turn agent scraping. Contains configuration for a user simulator that uses an LLM to generate messages on behalf of the user. # The configuration for a user simulator that uses an LLM to generate messages on behalf of the user. + "maxTurn": 42, # Maximum number of invocations allowed by the multi-turn agent scraping. This property allows us to stop a run-off conversation, where the agent and the user simulator get into a never ending loop. The initial fixed prompt is also counted as an invocation. + "modelConfig": { # 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. # The configuration for the model. + "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. + "candidateCount": 42, # Optional. The number of candidate responses to generate. A higher `candidate_count` can provide more options to choose from, but it also consumes more resources. This can be useful for generating a variety of responses and selecting the best one. + "enableAffectiveDialog": True or False, # Optional. If enabled, the model will detect emotions and adapt its responses accordingly. For example, if the model detects that the user is frustrated, it may provide a more empathetic response. + "frequencyPenalty": 3.14, # Optional. Penalizes tokens based on their frequency in the generated text. A positive value helps to reduce the repetition of words and phrases. Valid values can range from [-2.0, 2.0]. + "imageConfig": { # Configuration for image generation. This message allows you to control various aspects of image generation, such as the output format, aspect ratio, and whether the model can generate images of people. # Optional. Config for image generation features. + "aspectRatio": "A String", # Optional. The desired aspect ratio for the generated images. The following aspect ratios are supported: "1:1" "2:3", "3:2" "3:4", "4:3" "4:5", "5:4" "9:16", "16:9" "21:9" + "imageOutputOptions": { # The image output format for generated images. # Optional. The image output format for generated images. + "compressionQuality": 42, # Optional. The compression quality of the output image. + "mimeType": "A String", # Optional. The image format that the output should be saved as. + }, + "imageSize": "A String", # Optional. Specifies the size of generated images. Supported values are `1K`, `2K`, `4K`. If not specified, the model will use default value `1K`. + "personGeneration": "A String", # Optional. Controls whether the model can generate people. + "prominentPeople": "A String", # Optional. Controls whether prominent people (celebrities) generation is allowed. If used with personGeneration, personGeneration enum would take precedence. For instance, if ALLOW_NONE is set, all person generation would be blocked. If this field is unspecified, the default behavior is to allow prominent people. + }, + "logprobs": 42, # Optional. The number of top log probabilities to return for each token. This can be used to see which other tokens were considered likely candidates for a given position. A higher value will return more options, but it will also increase the size of the response. + "maxOutputTokens": 42, # Optional. The maximum number of tokens to generate in the response. A token is approximately four characters. The default value varies by model. This parameter can be used to control the length of the generated text and prevent overly long responses. + "mediaResolution": "A String", # Optional. The token resolution at which input media content is sampled. This is used to control the trade-off between the quality of the response and the number of tokens used to represent the media. A higher resolution allows the model to perceive more detail, which can lead to a more nuanced response, but it will also use more tokens. This does not affect the image dimensions sent to the model. + "modelConfig": { # Config for model selection. # Optional. Config for model selection. + "featureSelectionPreference": "A String", # Required. Feature selection preference. + }, + "presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. + "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. + "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. + "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. + "A String", + ], + "responseSchema": { # Defines the schema of input and output data. This is a subset of the [OpenAPI 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object). # Optional. Lets you to specify a schema for the model's response, ensuring that the output conforms to a particular structure. This is useful for generating structured data such as JSON. The schema is a subset of the [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema) object. When this field is set, you must also set the `response_mime_type` to `application/json`. + "additionalProperties": "", # Optional. If `type` is `OBJECT`, specifies how to handle properties not defined in `properties`. If it is a boolean `false`, no additional properties are allowed. If it is a schema, additional properties are allowed if they conform to the schema. + "anyOf": [ # Optional. The instance must be valid against any (one or more) of the subschemas listed in `any_of`. + # Object with schema name: GoogleCloudAiplatformV1beta1Schema + ], + "default": "", # Optional. Default value to use if the field is not specified. + "defs": { # Optional. `defs` provides a map of schema definitions that can be reused by `ref` elsewhere in the schema. Only allowed at root level of the schema. + "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema + }, + "description": "A String", # Optional. Describes the data. The model uses this field to understand the purpose of the schema and how to use it. It is a best practice to provide a clear and descriptive explanation for the schema and its properties here, rather than in the prompt. + "enum": [ # Optional. Possible values of the field. This field can be used to restrict a value to a fixed set of values. To mark a field as an enum, set `format` to `enum` and provide the list of possible values in `enum`. For example: 1. To define directions: `{type:STRING, format:enum, enum:["EAST", "NORTH", "SOUTH", "WEST"]}` 2. To define apartment numbers: `{type:INTEGER, format:enum, enum:["101", "201", "301"]}` + "A String", + ], + "example": "", # Optional. Example of an instance of this schema. + "format": "A String", # Optional. The format of the data. For `NUMBER` type, format can be `float` or `double`. For `INTEGER` type, format can be `int32` or `int64`. For `STRING` type, format can be `email`, `byte`, `date`, `date-time`, `password`, and other formats to further refine the data type. + "items": # Object with schema name: GoogleCloudAiplatformV1beta1Schema # Optional. If type is `ARRAY`, `items` specifies the schema of elements in the array. + "maxItems": "A String", # Optional. If type is `ARRAY`, `max_items` specifies the maximum number of items in an array. + "maxLength": "A String", # Optional. If type is `STRING`, `max_length` specifies the maximum length of the string. + "maxProperties": "A String", # Optional. If type is `OBJECT`, `max_properties` specifies the maximum number of properties that can be provided. + "maximum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `maximum` specifies the maximum allowed value. + "minItems": "A String", # Optional. If type is `ARRAY`, `min_items` specifies the minimum number of items in an array. + "minLength": "A String", # Optional. If type is `STRING`, `min_length` specifies the minimum length of the string. + "minProperties": "A String", # Optional. If type is `OBJECT`, `min_properties` specifies the minimum number of properties that can be provided. + "minimum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `minimum` specifies the minimum allowed value. + "nullable": True or False, # Optional. Indicates if the value of this field can be null. + "pattern": "A String", # Optional. If type is `STRING`, `pattern` specifies a regular expression that the string must match. + "properties": { # Optional. If type is `OBJECT`, `properties` is a map of property names to schema definitions for each property of the object. + "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema + }, + "propertyOrdering": [ # Optional. Order of properties displayed or used where order matters. This is not a standard field in OpenAPI specification, but can be used to control the order of properties. + "A String", + ], + "ref": "A String", # Optional. Allows referencing another schema definition to use in place of this schema. The value must be a valid reference to a schema in `defs`. For example, the following schema defines a reference to a schema node named "Pet": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the "pet" property is a reference to the schema node named "Pet". See details in https://json-schema.org/understanding-json-schema/structuring + "required": [ # Optional. If type is `OBJECT`, `required` lists the names of properties that must be present. + "A String", + ], + "title": "A String", # Optional. Title for the schema. + "type": "A String", # Optional. Data type of the schema field. + }, + "routingConfig": { # The configuration for routing the request to a specific model. This can be used to control which model is used for the generation, either automatically or by specifying a model name. # Optional. Routing configuration. + "autoMode": { # The configuration for automated routing. When automated routing is specified, the routing will be determined by the pretrained routing model and customer provided model routing preference. # In this mode, the model is selected automatically based on the content of the request. + "modelRoutingPreference": "A String", # The model routing preference. + }, + "manualMode": { # The configuration for manual routing. When manual routing is specified, the model will be selected based on the model name provided. # In this mode, the model is specified manually. + "modelName": "A String", # The name of the model to use. Only public LLM models are accepted. + }, + }, + "seed": 42, # Optional. A seed for the random number generator. By setting a seed, you can make the model's output mostly deterministic. For a given prompt and parameters (like temperature, top_p, etc.), the model will produce the same response every time. However, it's not a guaranteed absolute deterministic behavior. This is different from parameters like `temperature`, which control the *level* of randomness. `seed` ensures that the "random" choices the model makes are the same on every run, making it essential for testing and ensuring reproducible results. + "speechConfig": { # Configuration for speech generation. # Optional. The speech generation config. + "languageCode": "A String", # Optional. The language code (ISO 639-1) for the speech synthesis. + "multiSpeakerVoiceConfig": { # Configuration for a multi-speaker text-to-speech request. # The configuration for a multi-speaker text-to-speech request. This field is mutually exclusive with `voice_config`. + "speakerVoiceConfigs": [ # Required. A list of configurations for the voices of the speakers. Exactly two speaker voice configurations must be provided. + { # Configuration for a single speaker in a multi-speaker setup. + "speaker": "A String", # Required. The name of the speaker. This should be the same as the speaker name used in the prompt. + "voiceConfig": { # Configuration for a voice. # Required. The configuration for the voice of this speaker. + "prebuiltVoiceConfig": { # Configuration for a prebuilt voice. # The configuration for a prebuilt voice. + "voiceName": "A String", # The name of the prebuilt voice to use. + }, + "replicatedVoiceConfig": { # The configuration for the replicated voice to use. # Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample. + "mimeType": "A String", # Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set. + "voiceSampleAudio": "A String", # Optional. The sample of the custom voice. + }, + }, }, + ], + }, + "voiceConfig": { # Configuration for a voice. # The configuration for the voice to use. + "prebuiltVoiceConfig": { # Configuration for a prebuilt voice. # The configuration for a prebuilt voice. + "voiceName": "A String", # The name of the prebuilt voice to use. + }, + "replicatedVoiceConfig": { # The configuration for the replicated voice to use. # Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample. + "mimeType": "A String", # Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set. + "voiceSampleAudio": "A String", # Optional. The sample of the custom voice. }, }, - ], - }, - "voiceConfig": { # Configuration for a voice. # The configuration for the voice to use. - "prebuiltVoiceConfig": { # Configuration for a prebuilt voice. # The configuration for a prebuilt voice. - "voiceName": "A String", # The name of the prebuilt voice to use. }, - "replicatedVoiceConfig": { # The configuration for the replicated voice to use. # Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample. - "mimeType": "A String", # Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set. - "voiceSampleAudio": "A String", # Optional. The sample of the custom voice. + "stopSequences": [ # Optional. A list of character sequences that will stop the model from generating further tokens. If a stop sequence is generated, the output will end at that point. This is useful for controlling the length and structure of the output. For example, you can use ["\n", "###"] to stop generation at a new line or a specific marker. + "A String", + ], + "temperature": 3.14, # Optional. Controls the randomness of the output. A higher temperature results in more creative and diverse responses, while a lower temperature makes the output more predictable and focused. The valid range is (0.0, 2.0]. + "thinkingConfig": { # Configuration for the model's thinking features. "Thinking" is a process where the model breaks down a complex task into smaller, manageable steps. This allows the model to reason about the task, plan its approach, and execute the plan to generate a high-quality response. # Optional. Configuration for thinking features. An error will be returned if this field is set for models that don't support thinking. + "includeThoughts": True or False, # Optional. If true, the model will include its thoughts in the response. "Thoughts" are the intermediate steps the model takes to arrive at the final response. They can provide insights into the model's reasoning process and help with debugging. If this is true, thoughts are returned only when available. + "thinkingBudget": 42, # Optional. The token budget for the model's thinking process. The model will make a best effort to stay within this budget. This can be used to control the trade-off between response quality and latency. + "thinkingLevel": "A String", # Optional. The number of thoughts tokens that the model should generate. }, + "topK": 3.14, # Optional. Specifies the top-k sampling threshold. The model considers only the top k most probable tokens for the next token. This can be useful for generating more coherent and less random text. For example, a `top_k` of 40 means the model will choose the next word from the 40 most likely words. + "topP": 3.14, # Optional. Specifies the nucleus sampling threshold. The model considers only the smallest set of tokens whose cumulative probability is at least `top_p`. This helps generate more diverse and less repetitive responses. For example, a `top_p` of 0.9 means the model considers tokens until the cumulative probability of the tokens to select from reaches 0.9. It's recommended to adjust either temperature or `top_p`, but not both. }, + "modelName": "A String", # The model name to use for multi-turn agent scraping to get next user message, e.g. "gemini-3-flash-preview". }, - "stopSequences": [ # Optional. A list of character sequences that will stop the model from generating further tokens. If a stop sequence is generated, the output will end at that point. This is useful for controlling the length and structure of the output. For example, you can use ["\n", "###"] to stop generation at a new line or a specific marker. - "A String", - ], - "temperature": 3.14, # Optional. Controls the randomness of the output. A higher temperature results in more creative and diverse responses, while a lower temperature makes the output more predictable and focused. The valid range is (0.0, 2.0]. - "thinkingConfig": { # Configuration for the model's thinking features. "Thinking" is a process where the model breaks down a complex task into smaller, manageable steps. This allows the model to reason about the task, plan its approach, and execute the plan to generate a high-quality response. # Optional. Configuration for thinking features. An error will be returned if this field is set for models that don't support thinking. - "includeThoughts": True or False, # Optional. If true, the model will include its thoughts in the response. "Thoughts" are the intermediate steps the model takes to arrive at the final response. They can provide insights into the model's reasoning process and help with debugging. If this is true, thoughts are returned only when available. - "thinkingBudget": 42, # Optional. The token budget for the model's thinking process. The model will make a best effort to stay within this budget. This can be used to control the trade-off between response quality and latency. - "thinkingLevel": "A String", # Optional. The number of thoughts tokens that the model should generate. - }, - "topK": 3.14, # Optional. Specifies the top-k sampling threshold. The model considers only the top k most probable tokens for the next token. This can be useful for generating more coherent and less random text. For example, a `top_k` of 40 means the model will choose the next word from the 40 most likely words. - "topP": 3.14, # Optional. Specifies the nucleus sampling threshold. The model considers only the smallest set of tokens whose cumulative probability is at least `top_p`. This helps generate more diverse and less repetitive responses. For example, a `top_p` of 0.9 means the model considers tokens until the cumulative probability of the tokens to select from reaches 0.9. It's recommended to adjust either temperature or `top_p`, but not both. - }, - "model": "A String", # Optional. The fully qualified name of the publisher model or endpoint to use. Anthropic and Llama third-party models are also supported through Model Garden. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Third-party model format: `projects/{project}/locations/{location}/publishers/anthropic/models/{model}` `projects/{project}/locations/{location}/publishers/llama/models/{model}` Endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` - }, - }, - "labels": { # Optional. Labels for the evaluation run. - "a_key": "A String", - }, - "metadata": "", # Optional. Metadata about the evaluation run, can be used by the caller to store additional tracking information about the evaluation run. - "name": "A String", # Identifier. The resource name of the EvaluationRun. This is a unique identifier. Format: `projects/{project}/locations/{location}/evaluationRuns/{evaluation_run}` - "state": "A String", # Output only. The state of the evaluation run. -} - - x__xgafv: string, V1 error format. - Allowed values - 1 - v1 error format - 2 - v2 error format - -Returns: - An object of the form: - - { # EvaluationRun is a resource that represents a single evaluation run, which includes a set of prompts, model responses, evaluation configuration and the resulting metrics. - "completionTime": "A String", # Output only. Time when the evaluation run was completed. - "createTime": "A String", # Output only. Time when the evaluation run was created. - "dataSource": { # The data source for the evaluation run. # Required. The data source for the evaluation run. - "bigqueryRequestSet": { # The request set for the evaluation run. # Evaluation data in bigquery. - "candidateResponseColumns": { # Optional. Map of candidate name to candidate response column name. The column will be in evaluation_item.CandidateResponse format. - "a_key": "A String", - }, - "promptColumn": "A String", # Optional. The name of the column that contains the requests to evaluate. This will be in evaluation_item.EvalPrompt format. - "rubricsColumn": "A String", # Optional. The name of the column that contains the rubrics. This is in evaluation_rubric.RubricGroup format. - "samplingConfig": { # The sampling config. # Optional. The sampling config for the bigquery resource. - "samplingCount": 42, # Optional. The total number of logged data to import. If available data is less than the sampling count, all data will be imported. Default is 100. - "samplingDuration": "A String", # Optional. How long to wait before sampling data from the BigQuery table. If not specified, defaults to 0. - "samplingMethod": "A String", # Optional. The sampling method to use. }, - "uri": "A String", # Required. The URI of a BigQuery table. e.g. bq://projectId.bqDatasetId.bqTableId - }, - "evaluationSet": "A String", # The EvaluationSet resource name. Format: `projects/{project}/locations/{location}/evaluationSets/{evaluation_set}` - }, - "displayName": "A String", # Required. The display name of the Evaluation Run. + "agents": { # Optional. Contains the static configurations for each agent in the system. Key: agent_id (matches the `author` field in events). Value: The static configuration of the agent. + "a_key": { # Represents configuration for an Agent. + "agentId": "A String", # Required. Unique identifier of the agent. This ID is used to refer to this agent, e.g., in AgentEvent.author, or in the `sub_agents` field. It must be unique within the `agents` map. + "agentType": "A String", # Optional. The type or class of the agent (e.g., "LlmAgent", "RouterAgent", "ToolUseAgent"). Useful for the autorater to understand the expected behavior of the agent. + "description": "A String", # Optional. A high-level description of the agent's role and responsibilities. Critical for evaluating if the agent is routing tasks correctly. + "instruction": "A String", # Optional. Provides instructions for the LLM model, guiding the agent's behavior. Can be static or dynamic. Dynamic instructions can contain placeholders like {variable_name} that will be resolved at runtime using the `AgentEvent.state_delta` field. + "subAgents": [ # Optional. The list of valid agent IDs that this agent can delegate to. This defines the directed edges in the multi-agent system graph topology. + "A String", + ], + "tools": [ # Optional. The list of tools available to this agent. + { # Tool details that the model may use to generate response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the model. A Tool object should contain exactly one type of Tool (e.g FunctionDeclaration, Retrieval or GoogleSearchRetrieval). + "codeExecution": { # Tool that executes code generated by the model, and automatically returns the result to the model. See also ExecutableCode and CodeExecutionResult, which are input and output to this tool. # Optional. CodeExecution tool type. Enables the model to execute code as part of generation. + }, + "computerUse": { # Tool to support computer use. # Optional. Tool to support the model interacting directly with the computer. If enabled, it automatically populates computer-use specific Function Declarations. + "environment": "A String", # Required. The environment being operated. + "excludedPredefinedFunctions": [ # Optional. By default, [predefined functions](https://cloud.google.com/vertex-ai/generative-ai/docs/computer-use#supported-actions) are included in the final model call. Some of them can be explicitly excluded from being automatically included. This can serve two purposes: 1. Using a more restricted / different action space. 2. Improving the definitions / instructions of predefined functions. + "A String", + ], + }, + "enterpriseWebSearch": { # Tool to search public web data, powered by Vertex AI Search and Sec4 compliance. # Optional. Tool to support searching public web data, powered by Vertex AI Search and Sec4 compliance. + "blockingConfidence": "A String", # Optional. Sites with confidence level chosen & above this value will be blocked from the search results. + "excludeDomains": [ # Optional. List of domains to be excluded from the search results. The default limit is 2000 domains. + "A String", + ], + }, + "functionDeclarations": [ # Optional. Function tool type. One or more function declarations to be passed to the model along with the current user query. Model may decide to call a subset of these functions by populating FunctionCall in the response. User should provide a FunctionResponse for each function call in the next turn. Based on the function responses, Model will generate the final response back to the user. Maximum 512 function declarations can be provided. + { # Structured representation of a function declaration as defined by the [OpenAPI 3.0 specification](https://spec.openapis.org/oas/v3.0.3). Included in this declaration are the function name, description, parameters and response type. This FunctionDeclaration is a representation of a block of code that can be used as a `Tool` by the model and executed by the client. + "description": "A String", # Optional. Description and purpose of the function. Model uses it to decide how and whether to call the function. + "name": "A String", # Required. The name of the function to call. Must start with a letter or an underscore. Must be a-z, A-Z, 0-9, or contain underscores, dots, colons and dashes, with a maximum length of 64. + "parameters": { # Defines the schema of input and output data. This is a subset of the [OpenAPI 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object). # Optional. Describes the parameters to this function in JSON Schema Object format. Reflects the Open API 3.03 Parameter Object. string Key: the name of the parameter. Parameter names are case sensitive. Schema Value: the Schema defining the type used for the parameter. For function with no parameters, this can be left unset. Parameter names must start with a letter or an underscore and must only contain chars a-z, A-Z, 0-9, or underscores with a maximum length of 64. Example with 1 required and 1 optional parameter: type: OBJECT properties: param1: type: STRING param2: type: INTEGER required: - param1 + "additionalProperties": "", # Optional. If `type` is `OBJECT`, specifies how to handle properties not defined in `properties`. If it is a boolean `false`, no additional properties are allowed. If it is a schema, additional properties are allowed if they conform to the schema. + "anyOf": [ # Optional. The instance must be valid against any (one or more) of the subschemas listed in `any_of`. + # Object with schema name: GoogleCloudAiplatformV1beta1Schema + ], + "default": "", # Optional. Default value to use if the field is not specified. + "defs": { # Optional. `defs` provides a map of schema definitions that can be reused by `ref` elsewhere in the schema. Only allowed at root level of the schema. + "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema + }, + "description": "A String", # Optional. Describes the data. The model uses this field to understand the purpose of the schema and how to use it. It is a best practice to provide a clear and descriptive explanation for the schema and its properties here, rather than in the prompt. + "enum": [ # Optional. Possible values of the field. This field can be used to restrict a value to a fixed set of values. To mark a field as an enum, set `format` to `enum` and provide the list of possible values in `enum`. For example: 1. To define directions: `{type:STRING, format:enum, enum:["EAST", "NORTH", "SOUTH", "WEST"]}` 2. To define apartment numbers: `{type:INTEGER, format:enum, enum:["101", "201", "301"]}` + "A String", + ], + "example": "", # Optional. Example of an instance of this schema. + "format": "A String", # Optional. The format of the data. For `NUMBER` type, format can be `float` or `double`. For `INTEGER` type, format can be `int32` or `int64`. For `STRING` type, format can be `email`, `byte`, `date`, `date-time`, `password`, and other formats to further refine the data type. + "items": # Object with schema name: GoogleCloudAiplatformV1beta1Schema # Optional. If type is `ARRAY`, `items` specifies the schema of elements in the array. + "maxItems": "A String", # Optional. If type is `ARRAY`, `max_items` specifies the maximum number of items in an array. + "maxLength": "A String", # Optional. If type is `STRING`, `max_length` specifies the maximum length of the string. + "maxProperties": "A String", # Optional. If type is `OBJECT`, `max_properties` specifies the maximum number of properties that can be provided. + "maximum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `maximum` specifies the maximum allowed value. + "minItems": "A String", # Optional. If type is `ARRAY`, `min_items` specifies the minimum number of items in an array. + "minLength": "A String", # Optional. If type is `STRING`, `min_length` specifies the minimum length of the string. + "minProperties": "A String", # Optional. If type is `OBJECT`, `min_properties` specifies the minimum number of properties that can be provided. + "minimum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `minimum` specifies the minimum allowed value. + "nullable": True or False, # Optional. Indicates if the value of this field can be null. + "pattern": "A String", # Optional. If type is `STRING`, `pattern` specifies a regular expression that the string must match. + "properties": { # Optional. If type is `OBJECT`, `properties` is a map of property names to schema definitions for each property of the object. + "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema + }, + "propertyOrdering": [ # Optional. Order of properties displayed or used where order matters. This is not a standard field in OpenAPI specification, but can be used to control the order of properties. + "A String", + ], + "ref": "A String", # Optional. Allows referencing another schema definition to use in place of this schema. The value must be a valid reference to a schema in `defs`. For example, the following schema defines a reference to a schema node named "Pet": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the "pet" property is a reference to the schema node named "Pet". See details in https://json-schema.org/understanding-json-schema/structuring + "required": [ # Optional. If type is `OBJECT`, `required` lists the names of properties that must be present. + "A String", + ], + "title": "A String", # Optional. Title for the schema. + "type": "A String", # Optional. Data type of the schema field. + }, + "parametersJsonSchema": "", # Optional. Describes the parameters to the function in JSON Schema format. The schema must describe an object where the properties are the parameters to the function. For example: ``` { "type": "object", "properties": { "name": { "type": "string" }, "age": { "type": "integer" } }, "additionalProperties": false, "required": ["name", "age"], "propertyOrdering": ["name", "age"] } ``` This field is mutually exclusive with `parameters`. + "response": { # Defines the schema of input and output data. This is a subset of the [OpenAPI 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object). # Optional. Describes the output from this function in JSON Schema format. Reflects the Open API 3.03 Response Object. The Schema defines the type used for the response value of the function. + "additionalProperties": "", # Optional. If `type` is `OBJECT`, specifies how to handle properties not defined in `properties`. If it is a boolean `false`, no additional properties are allowed. If it is a schema, additional properties are allowed if they conform to the schema. + "anyOf": [ # Optional. The instance must be valid against any (one or more) of the subschemas listed in `any_of`. + # Object with schema name: GoogleCloudAiplatformV1beta1Schema + ], + "default": "", # Optional. Default value to use if the field is not specified. + "defs": { # Optional. `defs` provides a map of schema definitions that can be reused by `ref` elsewhere in the schema. Only allowed at root level of the schema. + "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema + }, + "description": "A String", # Optional. Describes the data. The model uses this field to understand the purpose of the schema and how to use it. It is a best practice to provide a clear and descriptive explanation for the schema and its properties here, rather than in the prompt. + "enum": [ # Optional. Possible values of the field. This field can be used to restrict a value to a fixed set of values. To mark a field as an enum, set `format` to `enum` and provide the list of possible values in `enum`. For example: 1. To define directions: `{type:STRING, format:enum, enum:["EAST", "NORTH", "SOUTH", "WEST"]}` 2. To define apartment numbers: `{type:INTEGER, format:enum, enum:["101", "201", "301"]}` + "A String", + ], + "example": "", # Optional. Example of an instance of this schema. + "format": "A String", # Optional. The format of the data. For `NUMBER` type, format can be `float` or `double`. For `INTEGER` type, format can be `int32` or `int64`. For `STRING` type, format can be `email`, `byte`, `date`, `date-time`, `password`, and other formats to further refine the data type. + "items": # Object with schema name: GoogleCloudAiplatformV1beta1Schema # Optional. If type is `ARRAY`, `items` specifies the schema of elements in the array. + "maxItems": "A String", # Optional. If type is `ARRAY`, `max_items` specifies the maximum number of items in an array. + "maxLength": "A String", # Optional. If type is `STRING`, `max_length` specifies the maximum length of the string. + "maxProperties": "A String", # Optional. If type is `OBJECT`, `max_properties` specifies the maximum number of properties that can be provided. + "maximum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `maximum` specifies the maximum allowed value. + "minItems": "A String", # Optional. If type is `ARRAY`, `min_items` specifies the minimum number of items in an array. + "minLength": "A String", # Optional. If type is `STRING`, `min_length` specifies the minimum length of the string. + "minProperties": "A String", # Optional. If type is `OBJECT`, `min_properties` specifies the minimum number of properties that can be provided. + "minimum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `minimum` specifies the minimum allowed value. + "nullable": True or False, # Optional. Indicates if the value of this field can be null. + "pattern": "A String", # Optional. If type is `STRING`, `pattern` specifies a regular expression that the string must match. + "properties": { # Optional. If type is `OBJECT`, `properties` is a map of property names to schema definitions for each property of the object. + "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema + }, + "propertyOrdering": [ # Optional. Order of properties displayed or used where order matters. This is not a standard field in OpenAPI specification, but can be used to control the order of properties. + "A String", + ], + "ref": "A String", # Optional. Allows referencing another schema definition to use in place of this schema. The value must be a valid reference to a schema in `defs`. For example, the following schema defines a reference to a schema node named "Pet": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the "pet" property is a reference to the schema node named "Pet". See details in https://json-schema.org/understanding-json-schema/structuring + "required": [ # Optional. If type is `OBJECT`, `required` lists the names of properties that must be present. + "A String", + ], + "title": "A String", # Optional. Title for the schema. + "type": "A String", # Optional. Data type of the schema field. + }, + "responseJsonSchema": "", # Optional. Describes the output from this function in JSON Schema format. The value specified by the schema is the response value of the function. This field is mutually exclusive with `response`. + }, + ], + "googleMaps": { # Tool to retrieve public maps data for grounding, powered by Google. # Optional. GoogleMaps tool type. Tool to support Google Maps in Model. + "enableWidget": True or False, # Optional. If true, include the widget context token in the response. + }, + "googleSearch": { # GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google. # Optional. GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google. + "blockingConfidence": "A String", # Optional. Sites with confidence level chosen & above this value will be blocked from the search results. + "excludeDomains": [ # Optional. List of domains to be excluded from the search results. The default limit is 2000 domains. Example: ["amazon.com", "facebook.com"]. + "A String", + ], + "searchTypes": { # Different types of search that can be enabled on the GoogleSearch tool. # Optional. The set of search types to enable. If not set, web search is enabled by default. + "imageSearch": { # Image search for grounding and related configurations. # Optional. Setting this field enables image search. Image bytes are returned. + }, + "webSearch": { # Standard web search for grounding and related configurations. Only text results are returned. # Optional. Setting this field enables web search. Only text results are returned. + }, + }, + }, + "googleSearchRetrieval": { # Tool to retrieve public web data for grounding, powered by Google. # Optional. Specialized retrieval tool that is powered by Google Search. + "dynamicRetrievalConfig": { # Describes the options to customize dynamic retrieval. # Specifies the dynamic retrieval configuration for the given source. + "dynamicThreshold": 3.14, # Optional. The threshold to be used in dynamic retrieval. If not set, a system default value is used. + "mode": "A String", # The mode of the predictor to be used in dynamic retrieval. + }, + }, + "parallelAiSearch": { # ParallelAiSearch tool type. A tool that uses the Parallel.ai search engine for grounding. # Optional. If specified, Vertex AI will use Parallel.ai to search for information to answer user queries. The search results will be grounded on Parallel.ai and presented to the model for response generation + "apiKey": "A String", # Optional. The API key for ParallelAiSearch. If an API key is not provided, the system will attempt to verify access by checking for an active Parallel.ai subscription through the Google Cloud Marketplace. See https://docs.parallel.ai/search/search-quickstart for more details. + "customConfigs": { # Optional. Custom configs for ParallelAiSearch. This field can be used to pass any parameter from the Parallel.ai Search API. See the Parallel.ai documentation for the full list of available parameters and their usage: https://docs.parallel.ai/api-reference/search-beta/search Currently only `source_policy`, `excerpts`, `max_results`, `mode`, `fetch_policy` can be set via this field. For example: { "source_policy": { "include_domains": ["google.com", "wikipedia.org"], "exclude_domains": ["example.com"] }, "fetch_policy": { "max_age_seconds": 3600 } } + "a_key": "", # Properties of the object. + }, + }, + "retrieval": { # Defines a retrieval tool that model can call to access external knowledge. # Optional. Retrieval tool type. System will always execute the provided retrieval tool(s) to get external knowledge to answer the prompt. Retrieval results are presented to the model for generation. + "disableAttribution": True or False, # Optional. Deprecated. This option is no longer supported. + "externalApi": { # Retrieve from data source powered by external API for grounding. The external API is not owned by Google, but need to follow the pre-defined API spec. # Use data source powered by external API for grounding. + "apiAuth": { # The generic reusable api auth config. Deprecated. Please use AuthConfig (google/cloud/aiplatform/master/auth.proto) instead. # The authentication config to access the API. Deprecated. Please use auth_config instead. + "apiKeyConfig": { # The API secret. # The API secret. + "apiKeySecretVersion": "A String", # Required. The SecretManager secret version resource name storing API key. e.g. projects/{project}/secrets/{secret}/versions/{version} + "apiKeyString": "A String", # The API key string. Either this or `api_key_secret_version` must be set. + }, + }, + "apiSpec": "A String", # The API spec that the external API implements. + "authConfig": { # Auth configuration to run the extension. # The authentication config to access the API. + "apiKeyConfig": { # Config for authentication with API key. # Config for API key auth. + "apiKeySecret": "A String", # Optional. The name of the SecretManager secret version resource storing the API key. Format: `projects/{project}/secrets/{secrete}/versions/{version}` - If both `api_key_secret` and `api_key_string` are specified, this field takes precedence over `api_key_string`. - If specified, the `secretmanager.versions.access` permission should be granted to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the specified resource. + "apiKeyString": "A String", # Optional. The API key to be used in the request directly. + "httpElementLocation": "A String", # Optional. The location of the API key. + "name": "A String", # Optional. The parameter name of the API key. E.g. If the API request is "https://example.com/act?api_key=", "api_key" would be the parameter name. + }, + "authType": "A String", # Type of auth scheme. + "googleServiceAccountConfig": { # Config for Google Service Account Authentication. # Config for Google Service Account auth. + "serviceAccount": "A String", # Optional. The service account that the extension execution service runs as. - If the service account is specified, the `iam.serviceAccounts.getAccessToken` permission should be granted to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the specified service account. - If not specified, the Vertex AI Extension Service Agent will be used to execute the Extension. + }, + "httpBasicAuthConfig": { # Config for HTTP Basic Authentication. # Config for HTTP Basic auth. + "credentialSecret": "A String", # Required. The name of the SecretManager secret version resource storing the base64 encoded credentials. Format: `projects/{project}/secrets/{secrete}/versions/{version}` - If specified, the `secretmanager.versions.access` permission should be granted to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the specified resource. + }, + "oauthConfig": { # Config for user oauth. # Config for user oauth. + "accessToken": "A String", # Access token for extension endpoint. Only used to propagate token from [[ExecuteExtensionRequest.runtime_auth_config]] at request time. + "serviceAccount": "A String", # The service account used to generate access tokens for executing the Extension. - If the service account is specified, the `iam.serviceAccounts.getAccessToken` permission should be granted to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the provided service account. + }, + "oidcConfig": { # Config for user OIDC auth. # Config for user OIDC auth. + "idToken": "A String", # OpenID Connect formatted ID token for extension endpoint. Only used to propagate token from [[ExecuteExtensionRequest.runtime_auth_config]] at request time. + "serviceAccount": "A String", # The service account used to generate an OpenID Connect (OIDC)-compatible JWT token signed by the Google OIDC Provider (accounts.google.com) for extension endpoint (https://cloud.google.com/iam/docs/create-short-lived-credentials-direct#sa-credentials-oidc). - The audience for the token will be set to the URL in the server url defined in the OpenApi spec. - If the service account is provided, the service account should grant `iam.serviceAccounts.getOpenIdToken` permission to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents). + }, + }, + "elasticSearchParams": { # The search parameters to use for the ELASTIC_SEARCH spec. # Parameters for the elastic search API. + "index": "A String", # The ElasticSearch index to use. + "numHits": 42, # Optional. Number of hits (chunks) to request. When specified, it is passed to Elasticsearch as the `num_hits` param. + "searchTemplate": "A String", # The ElasticSearch search template to use. + }, + "endpoint": "A String", # The endpoint of the external API. The system will call the API at this endpoint to retrieve the data for grounding. Example: https://acme.com:443/search + "simpleSearchParams": { # The search parameters to use for SIMPLE_SEARCH spec. # Parameters for the simple search API. + }, + }, + "vertexAiSearch": { # Retrieve from Vertex AI Search datastore or engine for grounding. datastore and engine are mutually exclusive. See https://cloud.google.com/products/agent-builder # Set to use data source powered by Vertex AI Search. + "dataStoreSpecs": [ # Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. It should only be set if engine is used. + { # Define data stores within engine to filter on in a search call and configurations for those data stores. For more information, see https://cloud.google.com/generative-ai-app-builder/docs/reference/rpc/google.cloud.discoveryengine.v1#datastorespec + "dataStore": "A String", # Full resource name of DataStore, such as Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}` + "filter": "A String", # Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see [Filtering](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) + }, + ], + "datastore": "A String", # Optional. Fully-qualified Vertex AI Search data store resource ID. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}` + "engine": "A String", # Optional. Fully-qualified Vertex AI Search engine resource ID. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` + "filter": "A String", # Optional. Filter strings to be passed to the search API. + "maxResults": 42, # Optional. Number of search results to return per query. The default value is 10. The maximumm allowed value is 10. + }, + "vertexRagStore": { # Retrieve from Vertex RAG Store for grounding. # Set to use data source powered by Vertex RAG store. User data is uploaded via the VertexRagDataService. + "ragCorpora": [ # Optional. Deprecated. Please use rag_resources instead. + "A String", + ], + "ragResources": [ # Optional. The representation of the rag source. It can be used to specify corpus only or ragfiles. Currently only support one corpus or multiple files from one corpus. In the future we may open up multiple corpora support. + { # The definition of the Rag resource. + "ragCorpus": "A String", # Optional. RagCorpora resource name. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` + "ragFileIds": [ # Optional. rag_file_id. The files should be in the same rag_corpus set in rag_corpus field. + "A String", + ], + }, + ], + "ragRetrievalConfig": { # Specifies the context retrieval config. # Optional. The retrieval config for the Rag query. + "filter": { # Config for filters. # Optional. Config for filters. + "metadataFilter": "A String", # Optional. String for metadata filtering. + "vectorDistanceThreshold": 3.14, # Optional. Only returns contexts with vector distance smaller than the threshold. + "vectorSimilarityThreshold": 3.14, # Optional. Only returns contexts with vector similarity larger than the threshold. + }, + "hybridSearch": { # Config for Hybrid Search. # Optional. Config for Hybrid Search. + "alpha": 3.14, # Optional. Alpha value controls the weight between dense and sparse vector search results. The range is [0, 1], while 0 means sparse vector search only and 1 means dense vector search only. The default value is 0.5 which balances sparse and dense vector search equally. + }, + "ranking": { # Config for ranking and reranking. # Optional. Config for ranking and reranking. + "llmRanker": { # Config for LlmRanker. # Optional. Config for LlmRanker. + "modelName": "A String", # Optional. The model name used for ranking. See [Supported models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/inference#supported-models). + }, + "rankService": { # Config for Rank Service. # Optional. Config for Rank Service. + "modelName": "A String", # Optional. The model name of the rank service. Format: `semantic-ranker-512@latest` + }, + }, + "topK": 42, # Optional. The number of contexts to retrieve. + }, + "similarityTopK": 42, # Optional. Number of top k results to return from the selected corpora. + "storeContext": True or False, # Optional. Currently only supported for Gemini Multimodal Live API. In Gemini Multimodal Live API, if `store_context` bool is specified, Gemini will leverage it to automatically memorize the interactions between the client and Gemini, and retrieve context when needed to augment the response generation for users' ongoing and future interactions. + "vectorDistanceThreshold": 3.14, # Optional. Only return results with vector distance smaller than the threshold. + }, + }, + "urlContext": { # Tool to support URL context. # Optional. Tool to support URL context retrieval. + }, + }, + ], + }, + }, + "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. + "candidateCount": 42, # Optional. The number of candidate responses to generate. A higher `candidate_count` can provide more options to choose from, but it also consumes more resources. This can be useful for generating a variety of responses and selecting the best one. + "enableAffectiveDialog": True or False, # Optional. If enabled, the model will detect emotions and adapt its responses accordingly. For example, if the model detects that the user is frustrated, it may provide a more empathetic response. + "frequencyPenalty": 3.14, # Optional. Penalizes tokens based on their frequency in the generated text. A positive value helps to reduce the repetition of words and phrases. Valid values can range from [-2.0, 2.0]. + "imageConfig": { # Configuration for image generation. This message allows you to control various aspects of image generation, such as the output format, aspect ratio, and whether the model can generate images of people. # Optional. Config for image generation features. + "aspectRatio": "A String", # Optional. The desired aspect ratio for the generated images. The following aspect ratios are supported: "1:1" "2:3", "3:2" "3:4", "4:3" "4:5", "5:4" "9:16", "16:9" "21:9" + "imageOutputOptions": { # The image output format for generated images. # Optional. The image output format for generated images. + "compressionQuality": 42, # Optional. The compression quality of the output image. + "mimeType": "A String", # Optional. The image format that the output should be saved as. + }, + "imageSize": "A String", # Optional. Specifies the size of generated images. Supported values are `1K`, `2K`, `4K`. If not specified, the model will use default value `1K`. + "personGeneration": "A String", # Optional. Controls whether the model can generate people. + "prominentPeople": "A String", # Optional. Controls whether prominent people (celebrities) generation is allowed. If used with personGeneration, personGeneration enum would take precedence. For instance, if ALLOW_NONE is set, all person generation would be blocked. If this field is unspecified, the default behavior is to allow prominent people. + }, + "logprobs": 42, # Optional. The number of top log probabilities to return for each token. This can be used to see which other tokens were considered likely candidates for a given position. A higher value will return more options, but it will also increase the size of the response. + "maxOutputTokens": 42, # Optional. The maximum number of tokens to generate in the response. A token is approximately four characters. The default value varies by model. This parameter can be used to control the length of the generated text and prevent overly long responses. + "mediaResolution": "A String", # Optional. The token resolution at which input media content is sampled. This is used to control the trade-off between the quality of the response and the number of tokens used to represent the media. A higher resolution allows the model to perceive more detail, which can lead to a more nuanced response, but it will also use more tokens. This does not affect the image dimensions sent to the model. + "modelConfig": { # Config for model selection. # Optional. Config for model selection. + "featureSelectionPreference": "A String", # Required. Feature selection preference. + }, + "presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. + "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. + "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. + "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. + "A String", + ], + "responseSchema": { # Defines the schema of input and output data. This is a subset of the [OpenAPI 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object). # Optional. Lets you to specify a schema for the model's response, ensuring that the output conforms to a particular structure. This is useful for generating structured data such as JSON. The schema is a subset of the [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema) object. When this field is set, you must also set the `response_mime_type` to `application/json`. + "additionalProperties": "", # Optional. If `type` is `OBJECT`, specifies how to handle properties not defined in `properties`. If it is a boolean `false`, no additional properties are allowed. If it is a schema, additional properties are allowed if they conform to the schema. + "anyOf": [ # Optional. The instance must be valid against any (one or more) of the subschemas listed in `any_of`. + # Object with schema name: GoogleCloudAiplatformV1beta1Schema + ], + "default": "", # Optional. Default value to use if the field is not specified. + "defs": { # Optional. `defs` provides a map of schema definitions that can be reused by `ref` elsewhere in the schema. Only allowed at root level of the schema. + "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema + }, + "description": "A String", # Optional. Describes the data. The model uses this field to understand the purpose of the schema and how to use it. It is a best practice to provide a clear and descriptive explanation for the schema and its properties here, rather than in the prompt. + "enum": [ # Optional. Possible values of the field. This field can be used to restrict a value to a fixed set of values. To mark a field as an enum, set `format` to `enum` and provide the list of possible values in `enum`. For example: 1. To define directions: `{type:STRING, format:enum, enum:["EAST", "NORTH", "SOUTH", "WEST"]}` 2. To define apartment numbers: `{type:INTEGER, format:enum, enum:["101", "201", "301"]}` + "A String", + ], + "example": "", # Optional. Example of an instance of this schema. + "format": "A String", # Optional. The format of the data. For `NUMBER` type, format can be `float` or `double`. For `INTEGER` type, format can be `int32` or `int64`. For `STRING` type, format can be `email`, `byte`, `date`, `date-time`, `password`, and other formats to further refine the data type. + "items": # Object with schema name: GoogleCloudAiplatformV1beta1Schema # Optional. If type is `ARRAY`, `items` specifies the schema of elements in the array. + "maxItems": "A String", # Optional. If type is `ARRAY`, `max_items` specifies the maximum number of items in an array. + "maxLength": "A String", # Optional. If type is `STRING`, `max_length` specifies the maximum length of the string. + "maxProperties": "A String", # Optional. If type is `OBJECT`, `max_properties` specifies the maximum number of properties that can be provided. + "maximum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `maximum` specifies the maximum allowed value. + "minItems": "A String", # Optional. If type is `ARRAY`, `min_items` specifies the minimum number of items in an array. + "minLength": "A String", # Optional. If type is `STRING`, `min_length` specifies the minimum length of the string. + "minProperties": "A String", # Optional. If type is `OBJECT`, `min_properties` specifies the minimum number of properties that can be provided. + "minimum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `minimum` specifies the minimum allowed value. + "nullable": True or False, # Optional. Indicates if the value of this field can be null. + "pattern": "A String", # Optional. If type is `STRING`, `pattern` specifies a regular expression that the string must match. + "properties": { # Optional. If type is `OBJECT`, `properties` is a map of property names to schema definitions for each property of the object. + "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema + }, + "propertyOrdering": [ # Optional. Order of properties displayed or used where order matters. This is not a standard field in OpenAPI specification, but can be used to control the order of properties. + "A String", + ], + "ref": "A String", # Optional. Allows referencing another schema definition to use in place of this schema. The value must be a valid reference to a schema in `defs`. For example, the following schema defines a reference to a schema node named "Pet": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the "pet" property is a reference to the schema node named "Pet". See details in https://json-schema.org/understanding-json-schema/structuring + "required": [ # Optional. If type is `OBJECT`, `required` lists the names of properties that must be present. + "A String", + ], + "title": "A String", # Optional. Title for the schema. + "type": "A String", # Optional. Data type of the schema field. + }, + "routingConfig": { # The configuration for routing the request to a specific model. This can be used to control which model is used for the generation, either automatically or by specifying a model name. # Optional. Routing configuration. + "autoMode": { # The configuration for automated routing. When automated routing is specified, the routing will be determined by the pretrained routing model and customer provided model routing preference. # In this mode, the model is selected automatically based on the content of the request. + "modelRoutingPreference": "A String", # The model routing preference. + }, + "manualMode": { # The configuration for manual routing. When manual routing is specified, the model will be selected based on the model name provided. # In this mode, the model is specified manually. + "modelName": "A String", # The name of the model to use. Only public LLM models are accepted. + }, + }, + "seed": 42, # Optional. A seed for the random number generator. By setting a seed, you can make the model's output mostly deterministic. For a given prompt and parameters (like temperature, top_p, etc.), the model will produce the same response every time. However, it's not a guaranteed absolute deterministic behavior. This is different from parameters like `temperature`, which control the *level* of randomness. `seed` ensures that the "random" choices the model makes are the same on every run, making it essential for testing and ensuring reproducible results. + "speechConfig": { # Configuration for speech generation. # Optional. The speech generation config. + "languageCode": "A String", # Optional. The language code (ISO 639-1) for the speech synthesis. + "multiSpeakerVoiceConfig": { # Configuration for a multi-speaker text-to-speech request. # The configuration for a multi-speaker text-to-speech request. This field is mutually exclusive with `voice_config`. + "speakerVoiceConfigs": [ # Required. A list of configurations for the voices of the speakers. Exactly two speaker voice configurations must be provided. + { # Configuration for a single speaker in a multi-speaker setup. + "speaker": "A String", # Required. The name of the speaker. This should be the same as the speaker name used in the prompt. + "voiceConfig": { # Configuration for a voice. # Required. The configuration for the voice of this speaker. + "prebuiltVoiceConfig": { # Configuration for a prebuilt voice. # The configuration for a prebuilt voice. + "voiceName": "A String", # The name of the prebuilt voice to use. + }, + "replicatedVoiceConfig": { # The configuration for the replicated voice to use. # Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample. + "mimeType": "A String", # Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set. + "voiceSampleAudio": "A String", # Optional. The sample of the custom voice. + }, + }, + }, + ], + }, + "voiceConfig": { # Configuration for a voice. # The configuration for the voice to use. + "prebuiltVoiceConfig": { # Configuration for a prebuilt voice. # The configuration for a prebuilt voice. + "voiceName": "A String", # The name of the prebuilt voice to use. + }, + "replicatedVoiceConfig": { # The configuration for the replicated voice to use. # Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample. + "mimeType": "A String", # Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set. + "voiceSampleAudio": "A String", # Optional. The sample of the custom voice. + }, + }, + }, + "stopSequences": [ # Optional. A list of character sequences that will stop the model from generating further tokens. If a stop sequence is generated, the output will end at that point. This is useful for controlling the length and structure of the output. For example, you can use ["\n", "###"] to stop generation at a new line or a specific marker. + "A String", + ], + "temperature": 3.14, # Optional. Controls the randomness of the output. A higher temperature results in more creative and diverse responses, while a lower temperature makes the output more predictable and focused. The valid range is (0.0, 2.0]. + "thinkingConfig": { # Configuration for the model's thinking features. "Thinking" is a process where the model breaks down a complex task into smaller, manageable steps. This allows the model to reason about the task, plan its approach, and execute the plan to generate a high-quality response. # Optional. Configuration for thinking features. An error will be returned if this field is set for models that don't support thinking. + "includeThoughts": True or False, # Optional. If true, the model will include its thoughts in the response. "Thoughts" are the intermediate steps the model takes to arrive at the final response. They can provide insights into the model's reasoning process and help with debugging. If this is true, thoughts are returned only when available. + "thinkingBudget": 42, # Optional. The token budget for the model's thinking process. The model will make a best effort to stay within this budget. This can be used to control the trade-off between response quality and latency. + "thinkingLevel": "A String", # Optional. The number of thoughts tokens that the model should generate. + }, + "topK": 3.14, # Optional. Specifies the top-k sampling threshold. The model considers only the top k most probable tokens for the next token. This can be useful for generating more coherent and less random text. For example, a `top_k` of 40 means the model will choose the next word from the 40 most likely words. + "topP": 3.14, # Optional. Specifies the nucleus sampling threshold. The model considers only the smallest set of tokens whose cumulative probability is at least `top_p`. This helps generate more diverse and less repetitive responses. For example, a `top_p` of 0.9 means the model considers tokens until the cumulative probability of the tokens to select from reaches 0.9. It's recommended to adjust either temperature or `top_p`, but not both. + }, + "model": "A String", # Optional. The fully qualified name of the publisher model or endpoint to use. Anthropic and Llama third-party models are also supported through Model Garden. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Third-party model formats: `projects/{project}/locations/{location}/publishers/anthropic/models/{model}` or `projects/{project}/locations/{location}/publishers/llama/models/{model}` Endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` + }, + }, + "labels": { # Optional. Labels for the evaluation run. + "a_key": "A String", + }, + "metadata": "", # Optional. Metadata about the evaluation run, can be used by the caller to store additional tracking information about the evaluation run. + "name": "A String", # Identifier. The resource name of the EvaluationRun. This is a unique identifier. Format: `projects/{project}/locations/{location}/evaluationRuns/{evaluation_run}` + "state": "A String", # Output only. The state of the evaluation run. +} + + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { # EvaluationRun is a resource that represents a single evaluation run, which includes a set of prompts, model responses, evaluation configuration and the resulting metrics. + "completionTime": "A String", # Output only. Time when the evaluation run was completed. + "createTime": "A String", # Output only. Time when the evaluation run was created. + "dataSource": { # The data source for the evaluation run. # Required. The data source for the evaluation run. + "bigqueryRequestSet": { # The request set for the evaluation run. # Evaluation data in bigquery. + "candidateResponseColumns": { # Optional. Map of candidate name to candidate response column name. The column will be in evaluation_item.CandidateResponse format. + "a_key": "A String", + }, + "promptColumn": "A String", # Optional. The name of the column that contains the requests to evaluate. This will be in evaluation_item.EvalPrompt format. + "rubricsColumn": "A String", # Optional. The name of the column that contains the rubrics. This is in evaluation_rubric.RubricGroup format. + "samplingConfig": { # The sampling config. # Optional. The sampling config for the bigquery resource. + "samplingCount": 42, # Optional. The total number of logged data to import. If available data is less than the sampling count, all data will be imported. Default is 100. + "samplingDuration": "A String", # Optional. How long to wait before sampling data from the BigQuery table. If not specified, defaults to 0. + "samplingMethod": "A String", # Optional. The sampling method to use. + }, + "uri": "A String", # Required. The URI of a BigQuery table. e.g. bq://projectId.bqDatasetId.bqTableId + }, + "evaluationSet": "A String", # The EvaluationSet resource name. Format: `projects/{project}/locations/{location}/evaluationSets/{evaluation_set}` + }, + "displayName": "A String", # Required. The display name of the Evaluation Run. "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. Only populated when the evaluation run's state is FAILED or CANCELLED. "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. @@ -1802,7 +2185,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -1898,6 +2281,7 @@

Method Details

}, "datasetCustomMetrics": [ # Optional. Specifications for custom dataset-level aggregations. { # Defines a custom dataset-level aggregation. + "aggregationFunction": "A String", # Required. The Python code string containing the aggregation function. Expected function signature: `def aggregate(instances: list[dict[str, Any]]) -> dict[str, float]:` The `instances` argument is a list of dictionaries, where each dictionary represents a single evaluation result item. The structure of each dictionary corresponds to the fields in the `EvaluationResult` message. This includes: - `"request"`: Contains the original input data and model inputs (from `EvaluationResult.EvaluationRequest`). - `"candidate_results"`: Contains the results of any instance-level metrics (from `EvaluationResult.CandidateResults`). Example of a single item in the `instances` list: { "request": { "prompt": {"text": "What is the capital of France?"}, "golden_response": {"text": "Paris"}, "candidate_responses": [{"candidate": "model-v1", "text": "Paris"}] }, "candidate_results": [ {"metric": "exact_match", "score": 1.0}, {"metric": "bleu", "score": 0.9} ] } "displayName": "A String", # Optional. A display name for this custom summary metric. Used to prefix keys in the output summaryMetrics map. If not provided, a default name like "dataset_custom_metric_1", "dataset_custom_metric_2", etc., will be generated based on the order in the repeated field. }, ], @@ -1939,7 +2323,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -2041,6 +2425,7 @@

Method Details

}, }, "rubricGenerationSpec": { # Specification for how rubrics should be generated. # Dynamically generate rubrics using this specification. + "metricResourceName": "A String", # Optional. Resource name of the metric definition. "modelConfig": { # The autorater config used for the evaluation run. # Optional. Configuration for the model used in rubric generation. Configs including sampling count and base model can be specified here. Flipping is not supported for rubric generation. "autoraterModel": "A String", # Optional. The fully qualified name of the publisher model or tuned autorater endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` "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. Configuration options for model generation and outputs. @@ -2067,7 +2452,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -2220,7 +2605,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -2349,7 +2734,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -2449,8 +2834,20 @@

Method Details

"A String", ], }, - "rubricGroupKey": "A String", # Use a pre-defined group of rubrics associated with the input. Refers to a key in the rubric_groups map of EvaluationInstance. - "systemInstruction": "A String", # Optional. System instructions for the judge model. + "rubricGroupKey": "A String", # Use a pre-defined group of rubrics associated with the input. Refers to a key in the rubric_groups map of EvaluationInstance. + "systemInstruction": "A String", # Optional. System instructions for the judge model. + }, + "metadata": { # Metadata about the metric, used for visualization and organization. # Optional. Metadata about the metric, used for visualization and organization. + "otherMetadata": { # Optional. Flexible metadata for user-defined attributes. + "a_key": "", # Properties of the object. + }, + "scoreRange": { # The range of possible scores for this metric, used for plotting. # Optional. The range of possible scores for this metric, used for plotting. + "description": "A String", # Optional. The description of the score explaining the directionality etc. + "max": 3.14, # Required. The maximum value of the score range (inclusive). + "min": 3.14, # Required. The minimum value of the score range (inclusive). + "step": 3.14, # Optional. The distance between discrete steps in the range. If unset, the range is assumed to be continuous. + }, + "title": "A String", # Optional. The user-friendly name for the metric. If not set for a registered metric, it will default to the metric's display name. }, "pairwiseMetricSpec": { # Spec for pairwise metric. # Spec for pairwise metric. "baselineResponseFieldName": "A String", # Optional. The field name of the baseline response. @@ -2480,6 +2877,7 @@

Method Details

"useStemmer": True or False, # Optional. Whether to use stemmer to compute rouge score. }, }, + "metricResourceName": "A String", # Optional. The resource name of the metric definition. "predefinedMetricSpec": { # Specification for a pre-defined metric. # Spec for a pre-defined metric. "metricSpecName": "A String", # Required. The name of a pre-defined metric, such as "instruction_following_v1" or "text_quality_v1". "parameters": { # Optional. The parameters needed to run the pre-defined metric. @@ -2527,7 +2925,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -2623,6 +3021,7 @@

Method Details

}, "metricPromptTemplate": "A String", # Optional. Template for the prompt used by the judge model to evaluate against rubrics. "rubricGenerationSpec": { # Specification for how rubrics should be generated. # Dynamically generate rubrics for evaluation using this specification. + "metricResourceName": "A String", # Optional. Resource name of the metric definition. "modelConfig": { # The autorater config used for the evaluation run. # Optional. Configuration for the model used in rubric generation. Configs including sampling count and base model can be specified here. Flipping is not supported for rubric generation. "autoraterModel": "A String", # Optional. The fully qualified name of the publisher model or tuned autorater endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` "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. Configuration options for model generation and outputs. @@ -2649,7 +3048,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -2774,6 +3173,7 @@

Method Details

}, }, "rubricGenerationSpec": { # Specification for how rubrics should be generated. # Dynamically generate rubrics using this specification. + "metricResourceName": "A String", # Optional. Resource name of the metric definition. "modelConfig": { # The autorater config used for the evaluation run. # Optional. Configuration for the model used in rubric generation. Configs including sampling count and base model can be specified here. Flipping is not supported for rubric generation. "autoraterModel": "A String", # Optional. The fully qualified name of the publisher model or tuned autorater endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` "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. Configuration options for model generation and outputs. @@ -2800,7 +3200,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -2916,7 +3316,7 @@

Method Details

}, "evaluationSetSnapshot": "A String", # Output only. The specific evaluation set of the evaluation run. For runs with an evaluation set input, this will be that same set. For runs with BigQuery input, it's the sampled BigQuery dataset. "inferenceConfigs": { # Optional. The candidate to inference config map for the evaluation run. The candidate can be up to 128 characters long and can consist of any UTF-8 characters. - "a_key": { # An inference config used for model inference during the evaluation run. + "a_key": { # Defines the configuration for a candidate model or agent being evaluated. `InferenceConfig` encapsulates all the necessary information to invoke or scrape the candidate during the evaluation run. This includes direct model inference parameters, agent execution settings, and multi-turn scraping configurations (such as user simulators). It serves as the primary representation of the candidate across different stages of the evaluation process. "agentConfig": { # Configuration that describes an agent. # Optional. Deprecated: Use `agents` instead. Agent config used to generate responses. "developerInstruction": { # 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. # Optional. The developer instruction for the agent. "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. @@ -3218,6 +3618,372 @@

Method Details

}, ], }, + "agentRunConfig": { # Configuration for Agent Run. # Optional. Agent run config. + "agentEngine": "A String", # Optional. The resource name of the Agent Engine. Format: projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine} For example: projects/123/locations/us-central1/reasoningEngines/456 + "sessionInput": { # Session input to run an Agent. # Optional. The session input to get agent running results. + "parameters": { # Optional. Additional parameters for the session, like app_name, etc. For example, {"app_name": "my-app"}. + "a_key": "A String", + }, + "sessionState": { # Optional. Session specific memory which stores key conversation points. + "a_key": "", # Properties of the object. + }, + "userId": "A String", # Optional. The user id for the agent session. The ID can be up to 128 characters long. + }, + "userSimulatorConfig": { # Used for multi-turn agent scraping. Contains configuration for a user simulator that uses an LLM to generate messages on behalf of the user. # The configuration for a user simulator that uses an LLM to generate messages on behalf of the user. + "maxTurn": 42, # Maximum number of invocations allowed by the multi-turn agent scraping. This property allows us to stop a run-off conversation, where the agent and the user simulator get into a never ending loop. The initial fixed prompt is also counted as an invocation. + "modelConfig": { # 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. # The configuration for the model. + "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. + "candidateCount": 42, # Optional. The number of candidate responses to generate. A higher `candidate_count` can provide more options to choose from, but it also consumes more resources. This can be useful for generating a variety of responses and selecting the best one. + "enableAffectiveDialog": True or False, # Optional. If enabled, the model will detect emotions and adapt its responses accordingly. For example, if the model detects that the user is frustrated, it may provide a more empathetic response. + "frequencyPenalty": 3.14, # Optional. Penalizes tokens based on their frequency in the generated text. A positive value helps to reduce the repetition of words and phrases. Valid values can range from [-2.0, 2.0]. + "imageConfig": { # Configuration for image generation. This message allows you to control various aspects of image generation, such as the output format, aspect ratio, and whether the model can generate images of people. # Optional. Config for image generation features. + "aspectRatio": "A String", # Optional. The desired aspect ratio for the generated images. The following aspect ratios are supported: "1:1" "2:3", "3:2" "3:4", "4:3" "4:5", "5:4" "9:16", "16:9" "21:9" + "imageOutputOptions": { # The image output format for generated images. # Optional. The image output format for generated images. + "compressionQuality": 42, # Optional. The compression quality of the output image. + "mimeType": "A String", # Optional. The image format that the output should be saved as. + }, + "imageSize": "A String", # Optional. Specifies the size of generated images. Supported values are `1K`, `2K`, `4K`. If not specified, the model will use default value `1K`. + "personGeneration": "A String", # Optional. Controls whether the model can generate people. + "prominentPeople": "A String", # Optional. Controls whether prominent people (celebrities) generation is allowed. If used with personGeneration, personGeneration enum would take precedence. For instance, if ALLOW_NONE is set, all person generation would be blocked. If this field is unspecified, the default behavior is to allow prominent people. + }, + "logprobs": 42, # Optional. The number of top log probabilities to return for each token. This can be used to see which other tokens were considered likely candidates for a given position. A higher value will return more options, but it will also increase the size of the response. + "maxOutputTokens": 42, # Optional. The maximum number of tokens to generate in the response. A token is approximately four characters. The default value varies by model. This parameter can be used to control the length of the generated text and prevent overly long responses. + "mediaResolution": "A String", # Optional. The token resolution at which input media content is sampled. This is used to control the trade-off between the quality of the response and the number of tokens used to represent the media. A higher resolution allows the model to perceive more detail, which can lead to a more nuanced response, but it will also use more tokens. This does not affect the image dimensions sent to the model. + "modelConfig": { # Config for model selection. # Optional. Config for model selection. + "featureSelectionPreference": "A String", # Required. Feature selection preference. + }, + "presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. + "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. + "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. + "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. + "A String", + ], + "responseSchema": { # Defines the schema of input and output data. This is a subset of the [OpenAPI 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object). # Optional. Lets you to specify a schema for the model's response, ensuring that the output conforms to a particular structure. This is useful for generating structured data such as JSON. The schema is a subset of the [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema) object. When this field is set, you must also set the `response_mime_type` to `application/json`. + "additionalProperties": "", # Optional. If `type` is `OBJECT`, specifies how to handle properties not defined in `properties`. If it is a boolean `false`, no additional properties are allowed. If it is a schema, additional properties are allowed if they conform to the schema. + "anyOf": [ # Optional. The instance must be valid against any (one or more) of the subschemas listed in `any_of`. + # Object with schema name: GoogleCloudAiplatformV1beta1Schema + ], + "default": "", # Optional. Default value to use if the field is not specified. + "defs": { # Optional. `defs` provides a map of schema definitions that can be reused by `ref` elsewhere in the schema. Only allowed at root level of the schema. + "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema + }, + "description": "A String", # Optional. Describes the data. The model uses this field to understand the purpose of the schema and how to use it. It is a best practice to provide a clear and descriptive explanation for the schema and its properties here, rather than in the prompt. + "enum": [ # Optional. Possible values of the field. This field can be used to restrict a value to a fixed set of values. To mark a field as an enum, set `format` to `enum` and provide the list of possible values in `enum`. For example: 1. To define directions: `{type:STRING, format:enum, enum:["EAST", "NORTH", "SOUTH", "WEST"]}` 2. To define apartment numbers: `{type:INTEGER, format:enum, enum:["101", "201", "301"]}` + "A String", + ], + "example": "", # Optional. Example of an instance of this schema. + "format": "A String", # Optional. The format of the data. For `NUMBER` type, format can be `float` or `double`. For `INTEGER` type, format can be `int32` or `int64`. For `STRING` type, format can be `email`, `byte`, `date`, `date-time`, `password`, and other formats to further refine the data type. + "items": # Object with schema name: GoogleCloudAiplatformV1beta1Schema # Optional. If type is `ARRAY`, `items` specifies the schema of elements in the array. + "maxItems": "A String", # Optional. If type is `ARRAY`, `max_items` specifies the maximum number of items in an array. + "maxLength": "A String", # Optional. If type is `STRING`, `max_length` specifies the maximum length of the string. + "maxProperties": "A String", # Optional. If type is `OBJECT`, `max_properties` specifies the maximum number of properties that can be provided. + "maximum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `maximum` specifies the maximum allowed value. + "minItems": "A String", # Optional. If type is `ARRAY`, `min_items` specifies the minimum number of items in an array. + "minLength": "A String", # Optional. If type is `STRING`, `min_length` specifies the minimum length of the string. + "minProperties": "A String", # Optional. If type is `OBJECT`, `min_properties` specifies the minimum number of properties that can be provided. + "minimum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `minimum` specifies the minimum allowed value. + "nullable": True or False, # Optional. Indicates if the value of this field can be null. + "pattern": "A String", # Optional. If type is `STRING`, `pattern` specifies a regular expression that the string must match. + "properties": { # Optional. If type is `OBJECT`, `properties` is a map of property names to schema definitions for each property of the object. + "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema + }, + "propertyOrdering": [ # Optional. Order of properties displayed or used where order matters. This is not a standard field in OpenAPI specification, but can be used to control the order of properties. + "A String", + ], + "ref": "A String", # Optional. Allows referencing another schema definition to use in place of this schema. The value must be a valid reference to a schema in `defs`. For example, the following schema defines a reference to a schema node named "Pet": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the "pet" property is a reference to the schema node named "Pet". See details in https://json-schema.org/understanding-json-schema/structuring + "required": [ # Optional. If type is `OBJECT`, `required` lists the names of properties that must be present. + "A String", + ], + "title": "A String", # Optional. Title for the schema. + "type": "A String", # Optional. Data type of the schema field. + }, + "routingConfig": { # The configuration for routing the request to a specific model. This can be used to control which model is used for the generation, either automatically or by specifying a model name. # Optional. Routing configuration. + "autoMode": { # The configuration for automated routing. When automated routing is specified, the routing will be determined by the pretrained routing model and customer provided model routing preference. # In this mode, the model is selected automatically based on the content of the request. + "modelRoutingPreference": "A String", # The model routing preference. + }, + "manualMode": { # The configuration for manual routing. When manual routing is specified, the model will be selected based on the model name provided. # In this mode, the model is specified manually. + "modelName": "A String", # The name of the model to use. Only public LLM models are accepted. + }, + }, + "seed": 42, # Optional. A seed for the random number generator. By setting a seed, you can make the model's output mostly deterministic. For a given prompt and parameters (like temperature, top_p, etc.), the model will produce the same response every time. However, it's not a guaranteed absolute deterministic behavior. This is different from parameters like `temperature`, which control the *level* of randomness. `seed` ensures that the "random" choices the model makes are the same on every run, making it essential for testing and ensuring reproducible results. + "speechConfig": { # Configuration for speech generation. # Optional. The speech generation config. + "languageCode": "A String", # Optional. The language code (ISO 639-1) for the speech synthesis. + "multiSpeakerVoiceConfig": { # Configuration for a multi-speaker text-to-speech request. # The configuration for a multi-speaker text-to-speech request. This field is mutually exclusive with `voice_config`. + "speakerVoiceConfigs": [ # Required. A list of configurations for the voices of the speakers. Exactly two speaker voice configurations must be provided. + { # Configuration for a single speaker in a multi-speaker setup. + "speaker": "A String", # Required. The name of the speaker. This should be the same as the speaker name used in the prompt. + "voiceConfig": { # Configuration for a voice. # Required. The configuration for the voice of this speaker. + "prebuiltVoiceConfig": { # Configuration for a prebuilt voice. # The configuration for a prebuilt voice. + "voiceName": "A String", # The name of the prebuilt voice to use. + }, + "replicatedVoiceConfig": { # The configuration for the replicated voice to use. # Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample. + "mimeType": "A String", # Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set. + "voiceSampleAudio": "A String", # Optional. The sample of the custom voice. + }, + }, + }, + ], + }, + "voiceConfig": { # Configuration for a voice. # The configuration for the voice to use. + "prebuiltVoiceConfig": { # Configuration for a prebuilt voice. # The configuration for a prebuilt voice. + "voiceName": "A String", # The name of the prebuilt voice to use. + }, + "replicatedVoiceConfig": { # The configuration for the replicated voice to use. # Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample. + "mimeType": "A String", # Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set. + "voiceSampleAudio": "A String", # Optional. The sample of the custom voice. + }, + }, + }, + "stopSequences": [ # Optional. A list of character sequences that will stop the model from generating further tokens. If a stop sequence is generated, the output will end at that point. This is useful for controlling the length and structure of the output. For example, you can use ["\n", "###"] to stop generation at a new line or a specific marker. + "A String", + ], + "temperature": 3.14, # Optional. Controls the randomness of the output. A higher temperature results in more creative and diverse responses, while a lower temperature makes the output more predictable and focused. The valid range is (0.0, 2.0]. + "thinkingConfig": { # Configuration for the model's thinking features. "Thinking" is a process where the model breaks down a complex task into smaller, manageable steps. This allows the model to reason about the task, plan its approach, and execute the plan to generate a high-quality response. # Optional. Configuration for thinking features. An error will be returned if this field is set for models that don't support thinking. + "includeThoughts": True or False, # Optional. If true, the model will include its thoughts in the response. "Thoughts" are the intermediate steps the model takes to arrive at the final response. They can provide insights into the model's reasoning process and help with debugging. If this is true, thoughts are returned only when available. + "thinkingBudget": 42, # Optional. The token budget for the model's thinking process. The model will make a best effort to stay within this budget. This can be used to control the trade-off between response quality and latency. + "thinkingLevel": "A String", # Optional. The number of thoughts tokens that the model should generate. + }, + "topK": 3.14, # Optional. Specifies the top-k sampling threshold. The model considers only the top k most probable tokens for the next token. This can be useful for generating more coherent and less random text. For example, a `top_k` of 40 means the model will choose the next word from the 40 most likely words. + "topP": 3.14, # Optional. Specifies the nucleus sampling threshold. The model considers only the smallest set of tokens whose cumulative probability is at least `top_p`. This helps generate more diverse and less repetitive responses. For example, a `top_p` of 0.9 means the model considers tokens until the cumulative probability of the tokens to select from reaches 0.9. It's recommended to adjust either temperature or `top_p`, but not both. + }, + "modelName": "A String", # The model name to use for multi-turn agent scraping to get next user message, e.g. "gemini-3-flash-preview". + }, + }, + "agents": { # Optional. Contains the static configurations for each agent in the system. Key: agent_id (matches the `author` field in events). Value: The static configuration of the agent. + "a_key": { # Represents configuration for an Agent. + "agentId": "A String", # Required. Unique identifier of the agent. This ID is used to refer to this agent, e.g., in AgentEvent.author, or in the `sub_agents` field. It must be unique within the `agents` map. + "agentType": "A String", # Optional. The type or class of the agent (e.g., "LlmAgent", "RouterAgent", "ToolUseAgent"). Useful for the autorater to understand the expected behavior of the agent. + "description": "A String", # Optional. A high-level description of the agent's role and responsibilities. Critical for evaluating if the agent is routing tasks correctly. + "instruction": "A String", # Optional. Provides instructions for the LLM model, guiding the agent's behavior. Can be static or dynamic. Dynamic instructions can contain placeholders like {variable_name} that will be resolved at runtime using the `AgentEvent.state_delta` field. + "subAgents": [ # Optional. The list of valid agent IDs that this agent can delegate to. This defines the directed edges in the multi-agent system graph topology. + "A String", + ], + "tools": [ # Optional. The list of tools available to this agent. + { # Tool details that the model may use to generate response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the model. A Tool object should contain exactly one type of Tool (e.g FunctionDeclaration, Retrieval or GoogleSearchRetrieval). + "codeExecution": { # Tool that executes code generated by the model, and automatically returns the result to the model. See also ExecutableCode and CodeExecutionResult, which are input and output to this tool. # Optional. CodeExecution tool type. Enables the model to execute code as part of generation. + }, + "computerUse": { # Tool to support computer use. # Optional. Tool to support the model interacting directly with the computer. If enabled, it automatically populates computer-use specific Function Declarations. + "environment": "A String", # Required. The environment being operated. + "excludedPredefinedFunctions": [ # Optional. By default, [predefined functions](https://cloud.google.com/vertex-ai/generative-ai/docs/computer-use#supported-actions) are included in the final model call. Some of them can be explicitly excluded from being automatically included. This can serve two purposes: 1. Using a more restricted / different action space. 2. Improving the definitions / instructions of predefined functions. + "A String", + ], + }, + "enterpriseWebSearch": { # Tool to search public web data, powered by Vertex AI Search and Sec4 compliance. # Optional. Tool to support searching public web data, powered by Vertex AI Search and Sec4 compliance. + "blockingConfidence": "A String", # Optional. Sites with confidence level chosen & above this value will be blocked from the search results. + "excludeDomains": [ # Optional. List of domains to be excluded from the search results. The default limit is 2000 domains. + "A String", + ], + }, + "functionDeclarations": [ # Optional. Function tool type. One or more function declarations to be passed to the model along with the current user query. Model may decide to call a subset of these functions by populating FunctionCall in the response. User should provide a FunctionResponse for each function call in the next turn. Based on the function responses, Model will generate the final response back to the user. Maximum 512 function declarations can be provided. + { # Structured representation of a function declaration as defined by the [OpenAPI 3.0 specification](https://spec.openapis.org/oas/v3.0.3). Included in this declaration are the function name, description, parameters and response type. This FunctionDeclaration is a representation of a block of code that can be used as a `Tool` by the model and executed by the client. + "description": "A String", # Optional. Description and purpose of the function. Model uses it to decide how and whether to call the function. + "name": "A String", # Required. The name of the function to call. Must start with a letter or an underscore. Must be a-z, A-Z, 0-9, or contain underscores, dots, colons and dashes, with a maximum length of 64. + "parameters": { # Defines the schema of input and output data. This is a subset of the [OpenAPI 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object). # Optional. Describes the parameters to this function in JSON Schema Object format. Reflects the Open API 3.03 Parameter Object. string Key: the name of the parameter. Parameter names are case sensitive. Schema Value: the Schema defining the type used for the parameter. For function with no parameters, this can be left unset. Parameter names must start with a letter or an underscore and must only contain chars a-z, A-Z, 0-9, or underscores with a maximum length of 64. Example with 1 required and 1 optional parameter: type: OBJECT properties: param1: type: STRING param2: type: INTEGER required: - param1 + "additionalProperties": "", # Optional. If `type` is `OBJECT`, specifies how to handle properties not defined in `properties`. If it is a boolean `false`, no additional properties are allowed. If it is a schema, additional properties are allowed if they conform to the schema. + "anyOf": [ # Optional. The instance must be valid against any (one or more) of the subschemas listed in `any_of`. + # Object with schema name: GoogleCloudAiplatformV1beta1Schema + ], + "default": "", # Optional. Default value to use if the field is not specified. + "defs": { # Optional. `defs` provides a map of schema definitions that can be reused by `ref` elsewhere in the schema. Only allowed at root level of the schema. + "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema + }, + "description": "A String", # Optional. Describes the data. The model uses this field to understand the purpose of the schema and how to use it. It is a best practice to provide a clear and descriptive explanation for the schema and its properties here, rather than in the prompt. + "enum": [ # Optional. Possible values of the field. This field can be used to restrict a value to a fixed set of values. To mark a field as an enum, set `format` to `enum` and provide the list of possible values in `enum`. For example: 1. To define directions: `{type:STRING, format:enum, enum:["EAST", "NORTH", "SOUTH", "WEST"]}` 2. To define apartment numbers: `{type:INTEGER, format:enum, enum:["101", "201", "301"]}` + "A String", + ], + "example": "", # Optional. Example of an instance of this schema. + "format": "A String", # Optional. The format of the data. For `NUMBER` type, format can be `float` or `double`. For `INTEGER` type, format can be `int32` or `int64`. For `STRING` type, format can be `email`, `byte`, `date`, `date-time`, `password`, and other formats to further refine the data type. + "items": # Object with schema name: GoogleCloudAiplatformV1beta1Schema # Optional. If type is `ARRAY`, `items` specifies the schema of elements in the array. + "maxItems": "A String", # Optional. If type is `ARRAY`, `max_items` specifies the maximum number of items in an array. + "maxLength": "A String", # Optional. If type is `STRING`, `max_length` specifies the maximum length of the string. + "maxProperties": "A String", # Optional. If type is `OBJECT`, `max_properties` specifies the maximum number of properties that can be provided. + "maximum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `maximum` specifies the maximum allowed value. + "minItems": "A String", # Optional. If type is `ARRAY`, `min_items` specifies the minimum number of items in an array. + "minLength": "A String", # Optional. If type is `STRING`, `min_length` specifies the minimum length of the string. + "minProperties": "A String", # Optional. If type is `OBJECT`, `min_properties` specifies the minimum number of properties that can be provided. + "minimum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `minimum` specifies the minimum allowed value. + "nullable": True or False, # Optional. Indicates if the value of this field can be null. + "pattern": "A String", # Optional. If type is `STRING`, `pattern` specifies a regular expression that the string must match. + "properties": { # Optional. If type is `OBJECT`, `properties` is a map of property names to schema definitions for each property of the object. + "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema + }, + "propertyOrdering": [ # Optional. Order of properties displayed or used where order matters. This is not a standard field in OpenAPI specification, but can be used to control the order of properties. + "A String", + ], + "ref": "A String", # Optional. Allows referencing another schema definition to use in place of this schema. The value must be a valid reference to a schema in `defs`. For example, the following schema defines a reference to a schema node named "Pet": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the "pet" property is a reference to the schema node named "Pet". See details in https://json-schema.org/understanding-json-schema/structuring + "required": [ # Optional. If type is `OBJECT`, `required` lists the names of properties that must be present. + "A String", + ], + "title": "A String", # Optional. Title for the schema. + "type": "A String", # Optional. Data type of the schema field. + }, + "parametersJsonSchema": "", # Optional. Describes the parameters to the function in JSON Schema format. The schema must describe an object where the properties are the parameters to the function. For example: ``` { "type": "object", "properties": { "name": { "type": "string" }, "age": { "type": "integer" } }, "additionalProperties": false, "required": ["name", "age"], "propertyOrdering": ["name", "age"] } ``` This field is mutually exclusive with `parameters`. + "response": { # Defines the schema of input and output data. This is a subset of the [OpenAPI 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object). # Optional. Describes the output from this function in JSON Schema format. Reflects the Open API 3.03 Response Object. The Schema defines the type used for the response value of the function. + "additionalProperties": "", # Optional. If `type` is `OBJECT`, specifies how to handle properties not defined in `properties`. If it is a boolean `false`, no additional properties are allowed. If it is a schema, additional properties are allowed if they conform to the schema. + "anyOf": [ # Optional. The instance must be valid against any (one or more) of the subschemas listed in `any_of`. + # Object with schema name: GoogleCloudAiplatformV1beta1Schema + ], + "default": "", # Optional. Default value to use if the field is not specified. + "defs": { # Optional. `defs` provides a map of schema definitions that can be reused by `ref` elsewhere in the schema. Only allowed at root level of the schema. + "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema + }, + "description": "A String", # Optional. Describes the data. The model uses this field to understand the purpose of the schema and how to use it. It is a best practice to provide a clear and descriptive explanation for the schema and its properties here, rather than in the prompt. + "enum": [ # Optional. Possible values of the field. This field can be used to restrict a value to a fixed set of values. To mark a field as an enum, set `format` to `enum` and provide the list of possible values in `enum`. For example: 1. To define directions: `{type:STRING, format:enum, enum:["EAST", "NORTH", "SOUTH", "WEST"]}` 2. To define apartment numbers: `{type:INTEGER, format:enum, enum:["101", "201", "301"]}` + "A String", + ], + "example": "", # Optional. Example of an instance of this schema. + "format": "A String", # Optional. The format of the data. For `NUMBER` type, format can be `float` or `double`. For `INTEGER` type, format can be `int32` or `int64`. For `STRING` type, format can be `email`, `byte`, `date`, `date-time`, `password`, and other formats to further refine the data type. + "items": # Object with schema name: GoogleCloudAiplatformV1beta1Schema # Optional. If type is `ARRAY`, `items` specifies the schema of elements in the array. + "maxItems": "A String", # Optional. If type is `ARRAY`, `max_items` specifies the maximum number of items in an array. + "maxLength": "A String", # Optional. If type is `STRING`, `max_length` specifies the maximum length of the string. + "maxProperties": "A String", # Optional. If type is `OBJECT`, `max_properties` specifies the maximum number of properties that can be provided. + "maximum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `maximum` specifies the maximum allowed value. + "minItems": "A String", # Optional. If type is `ARRAY`, `min_items` specifies the minimum number of items in an array. + "minLength": "A String", # Optional. If type is `STRING`, `min_length` specifies the minimum length of the string. + "minProperties": "A String", # Optional. If type is `OBJECT`, `min_properties` specifies the minimum number of properties that can be provided. + "minimum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `minimum` specifies the minimum allowed value. + "nullable": True or False, # Optional. Indicates if the value of this field can be null. + "pattern": "A String", # Optional. If type is `STRING`, `pattern` specifies a regular expression that the string must match. + "properties": { # Optional. If type is `OBJECT`, `properties` is a map of property names to schema definitions for each property of the object. + "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema + }, + "propertyOrdering": [ # Optional. Order of properties displayed or used where order matters. This is not a standard field in OpenAPI specification, but can be used to control the order of properties. + "A String", + ], + "ref": "A String", # Optional. Allows referencing another schema definition to use in place of this schema. The value must be a valid reference to a schema in `defs`. For example, the following schema defines a reference to a schema node named "Pet": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the "pet" property is a reference to the schema node named "Pet". See details in https://json-schema.org/understanding-json-schema/structuring + "required": [ # Optional. If type is `OBJECT`, `required` lists the names of properties that must be present. + "A String", + ], + "title": "A String", # Optional. Title for the schema. + "type": "A String", # Optional. Data type of the schema field. + }, + "responseJsonSchema": "", # Optional. Describes the output from this function in JSON Schema format. The value specified by the schema is the response value of the function. This field is mutually exclusive with `response`. + }, + ], + "googleMaps": { # Tool to retrieve public maps data for grounding, powered by Google. # Optional. GoogleMaps tool type. Tool to support Google Maps in Model. + "enableWidget": True or False, # Optional. If true, include the widget context token in the response. + }, + "googleSearch": { # GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google. # Optional. GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google. + "blockingConfidence": "A String", # Optional. Sites with confidence level chosen & above this value will be blocked from the search results. + "excludeDomains": [ # Optional. List of domains to be excluded from the search results. The default limit is 2000 domains. Example: ["amazon.com", "facebook.com"]. + "A String", + ], + "searchTypes": { # Different types of search that can be enabled on the GoogleSearch tool. # Optional. The set of search types to enable. If not set, web search is enabled by default. + "imageSearch": { # Image search for grounding and related configurations. # Optional. Setting this field enables image search. Image bytes are returned. + }, + "webSearch": { # Standard web search for grounding and related configurations. Only text results are returned. # Optional. Setting this field enables web search. Only text results are returned. + }, + }, + }, + "googleSearchRetrieval": { # Tool to retrieve public web data for grounding, powered by Google. # Optional. Specialized retrieval tool that is powered by Google Search. + "dynamicRetrievalConfig": { # Describes the options to customize dynamic retrieval. # Specifies the dynamic retrieval configuration for the given source. + "dynamicThreshold": 3.14, # Optional. The threshold to be used in dynamic retrieval. If not set, a system default value is used. + "mode": "A String", # The mode of the predictor to be used in dynamic retrieval. + }, + }, + "parallelAiSearch": { # ParallelAiSearch tool type. A tool that uses the Parallel.ai search engine for grounding. # Optional. If specified, Vertex AI will use Parallel.ai to search for information to answer user queries. The search results will be grounded on Parallel.ai and presented to the model for response generation + "apiKey": "A String", # Optional. The API key for ParallelAiSearch. If an API key is not provided, the system will attempt to verify access by checking for an active Parallel.ai subscription through the Google Cloud Marketplace. See https://docs.parallel.ai/search/search-quickstart for more details. + "customConfigs": { # Optional. Custom configs for ParallelAiSearch. This field can be used to pass any parameter from the Parallel.ai Search API. See the Parallel.ai documentation for the full list of available parameters and their usage: https://docs.parallel.ai/api-reference/search-beta/search Currently only `source_policy`, `excerpts`, `max_results`, `mode`, `fetch_policy` can be set via this field. For example: { "source_policy": { "include_domains": ["google.com", "wikipedia.org"], "exclude_domains": ["example.com"] }, "fetch_policy": { "max_age_seconds": 3600 } } + "a_key": "", # Properties of the object. + }, + }, + "retrieval": { # Defines a retrieval tool that model can call to access external knowledge. # Optional. Retrieval tool type. System will always execute the provided retrieval tool(s) to get external knowledge to answer the prompt. Retrieval results are presented to the model for generation. + "disableAttribution": True or False, # Optional. Deprecated. This option is no longer supported. + "externalApi": { # Retrieve from data source powered by external API for grounding. The external API is not owned by Google, but need to follow the pre-defined API spec. # Use data source powered by external API for grounding. + "apiAuth": { # The generic reusable api auth config. Deprecated. Please use AuthConfig (google/cloud/aiplatform/master/auth.proto) instead. # The authentication config to access the API. Deprecated. Please use auth_config instead. + "apiKeyConfig": { # The API secret. # The API secret. + "apiKeySecretVersion": "A String", # Required. The SecretManager secret version resource name storing API key. e.g. projects/{project}/secrets/{secret}/versions/{version} + "apiKeyString": "A String", # The API key string. Either this or `api_key_secret_version` must be set. + }, + }, + "apiSpec": "A String", # The API spec that the external API implements. + "authConfig": { # Auth configuration to run the extension. # The authentication config to access the API. + "apiKeyConfig": { # Config for authentication with API key. # Config for API key auth. + "apiKeySecret": "A String", # Optional. The name of the SecretManager secret version resource storing the API key. Format: `projects/{project}/secrets/{secrete}/versions/{version}` - If both `api_key_secret` and `api_key_string` are specified, this field takes precedence over `api_key_string`. - If specified, the `secretmanager.versions.access` permission should be granted to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the specified resource. + "apiKeyString": "A String", # Optional. The API key to be used in the request directly. + "httpElementLocation": "A String", # Optional. The location of the API key. + "name": "A String", # Optional. The parameter name of the API key. E.g. If the API request is "https://example.com/act?api_key=", "api_key" would be the parameter name. + }, + "authType": "A String", # Type of auth scheme. + "googleServiceAccountConfig": { # Config for Google Service Account Authentication. # Config for Google Service Account auth. + "serviceAccount": "A String", # Optional. The service account that the extension execution service runs as. - If the service account is specified, the `iam.serviceAccounts.getAccessToken` permission should be granted to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the specified service account. - If not specified, the Vertex AI Extension Service Agent will be used to execute the Extension. + }, + "httpBasicAuthConfig": { # Config for HTTP Basic Authentication. # Config for HTTP Basic auth. + "credentialSecret": "A String", # Required. The name of the SecretManager secret version resource storing the base64 encoded credentials. Format: `projects/{project}/secrets/{secrete}/versions/{version}` - If specified, the `secretmanager.versions.access` permission should be granted to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the specified resource. + }, + "oauthConfig": { # Config for user oauth. # Config for user oauth. + "accessToken": "A String", # Access token for extension endpoint. Only used to propagate token from [[ExecuteExtensionRequest.runtime_auth_config]] at request time. + "serviceAccount": "A String", # The service account used to generate access tokens for executing the Extension. - If the service account is specified, the `iam.serviceAccounts.getAccessToken` permission should be granted to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the provided service account. + }, + "oidcConfig": { # Config for user OIDC auth. # Config for user OIDC auth. + "idToken": "A String", # OpenID Connect formatted ID token for extension endpoint. Only used to propagate token from [[ExecuteExtensionRequest.runtime_auth_config]] at request time. + "serviceAccount": "A String", # The service account used to generate an OpenID Connect (OIDC)-compatible JWT token signed by the Google OIDC Provider (accounts.google.com) for extension endpoint (https://cloud.google.com/iam/docs/create-short-lived-credentials-direct#sa-credentials-oidc). - The audience for the token will be set to the URL in the server url defined in the OpenApi spec. - If the service account is provided, the service account should grant `iam.serviceAccounts.getOpenIdToken` permission to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents). + }, + }, + "elasticSearchParams": { # The search parameters to use for the ELASTIC_SEARCH spec. # Parameters for the elastic search API. + "index": "A String", # The ElasticSearch index to use. + "numHits": 42, # Optional. Number of hits (chunks) to request. When specified, it is passed to Elasticsearch as the `num_hits` param. + "searchTemplate": "A String", # The ElasticSearch search template to use. + }, + "endpoint": "A String", # The endpoint of the external API. The system will call the API at this endpoint to retrieve the data for grounding. Example: https://acme.com:443/search + "simpleSearchParams": { # The search parameters to use for SIMPLE_SEARCH spec. # Parameters for the simple search API. + }, + }, + "vertexAiSearch": { # Retrieve from Vertex AI Search datastore or engine for grounding. datastore and engine are mutually exclusive. See https://cloud.google.com/products/agent-builder # Set to use data source powered by Vertex AI Search. + "dataStoreSpecs": [ # Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. It should only be set if engine is used. + { # Define data stores within engine to filter on in a search call and configurations for those data stores. For more information, see https://cloud.google.com/generative-ai-app-builder/docs/reference/rpc/google.cloud.discoveryengine.v1#datastorespec + "dataStore": "A String", # Full resource name of DataStore, such as Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}` + "filter": "A String", # Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see [Filtering](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) + }, + ], + "datastore": "A String", # Optional. Fully-qualified Vertex AI Search data store resource ID. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}` + "engine": "A String", # Optional. Fully-qualified Vertex AI Search engine resource ID. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` + "filter": "A String", # Optional. Filter strings to be passed to the search API. + "maxResults": 42, # Optional. Number of search results to return per query. The default value is 10. The maximumm allowed value is 10. + }, + "vertexRagStore": { # Retrieve from Vertex RAG Store for grounding. # Set to use data source powered by Vertex RAG store. User data is uploaded via the VertexRagDataService. + "ragCorpora": [ # Optional. Deprecated. Please use rag_resources instead. + "A String", + ], + "ragResources": [ # Optional. The representation of the rag source. It can be used to specify corpus only or ragfiles. Currently only support one corpus or multiple files from one corpus. In the future we may open up multiple corpora support. + { # The definition of the Rag resource. + "ragCorpus": "A String", # Optional. RagCorpora resource name. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` + "ragFileIds": [ # Optional. rag_file_id. The files should be in the same rag_corpus set in rag_corpus field. + "A String", + ], + }, + ], + "ragRetrievalConfig": { # Specifies the context retrieval config. # Optional. The retrieval config for the Rag query. + "filter": { # Config for filters. # Optional. Config for filters. + "metadataFilter": "A String", # Optional. String for metadata filtering. + "vectorDistanceThreshold": 3.14, # Optional. Only returns contexts with vector distance smaller than the threshold. + "vectorSimilarityThreshold": 3.14, # Optional. Only returns contexts with vector similarity larger than the threshold. + }, + "hybridSearch": { # Config for Hybrid Search. # Optional. Config for Hybrid Search. + "alpha": 3.14, # Optional. Alpha value controls the weight between dense and sparse vector search results. The range is [0, 1], while 0 means sparse vector search only and 1 means dense vector search only. The default value is 0.5 which balances sparse and dense vector search equally. + }, + "ranking": { # Config for ranking and reranking. # Optional. Config for ranking and reranking. + "llmRanker": { # Config for LlmRanker. # Optional. Config for LlmRanker. + "modelName": "A String", # Optional. The model name used for ranking. See [Supported models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/inference#supported-models). + }, + "rankService": { # Config for Rank Service. # Optional. Config for Rank Service. + "modelName": "A String", # Optional. The model name of the rank service. Format: `semantic-ranker-512@latest` + }, + }, + "topK": 42, # Optional. The number of contexts to retrieve. + }, + "similarityTopK": 42, # Optional. Number of top k results to return from the selected corpora. + "storeContext": True or False, # Optional. Currently only supported for Gemini Multimodal Live API. In Gemini Multimodal Live API, if `store_context` bool is specified, Gemini will leverage it to automatically memorize the interactions between the client and Gemini, and retrieve context when needed to augment the response generation for users' ongoing and future interactions. + "vectorDistanceThreshold": 3.14, # Optional. Only return results with vector distance smaller than the threshold. + }, + }, + "urlContext": { # Tool to support URL context. # Optional. Tool to support URL context retrieval. + }, + }, + ], + }, + }, "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. "candidateCount": 42, # Optional. The number of candidate responses to generate. A higher `candidate_count` can provide more options to choose from, but it also consumes more resources. This can be useful for generating a variety of responses and selecting the best one. @@ -3242,7 +4008,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -3334,7 +4100,7 @@

Method Details

"topK": 3.14, # Optional. Specifies the top-k sampling threshold. The model considers only the top k most probable tokens for the next token. This can be useful for generating more coherent and less random text. For example, a `top_k` of 40 means the model will choose the next word from the 40 most likely words. "topP": 3.14, # Optional. Specifies the nucleus sampling threshold. The model considers only the smallest set of tokens whose cumulative probability is at least `top_p`. This helps generate more diverse and less repetitive responses. For example, a `top_p` of 0.9 means the model considers tokens until the cumulative probability of the tokens to select from reaches 0.9. It's recommended to adjust either temperature or `top_p`, but not both. }, - "model": "A String", # Optional. The fully qualified name of the publisher model or endpoint to use. Anthropic and Llama third-party models are also supported through Model Garden. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Third-party model format: `projects/{project}/locations/{location}/publishers/anthropic/models/{model}` `projects/{project}/locations/{location}/publishers/llama/models/{model}` Endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` + "model": "A String", # Optional. The fully qualified name of the publisher model or endpoint to use. Anthropic and Llama third-party models are also supported through Model Garden. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Third-party model formats: `projects/{project}/locations/{location}/publishers/anthropic/models/{model}` or `projects/{project}/locations/{location}/publishers/llama/models/{model}` Endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` }, }, "labels": { # Optional. Labels for the evaluation run. @@ -3451,7 +4217,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -3547,6 +4313,7 @@

Method Details

}, "datasetCustomMetrics": [ # Optional. Specifications for custom dataset-level aggregations. { # Defines a custom dataset-level aggregation. + "aggregationFunction": "A String", # Required. The Python code string containing the aggregation function. Expected function signature: `def aggregate(instances: list[dict[str, Any]]) -> dict[str, float]:` The `instances` argument is a list of dictionaries, where each dictionary represents a single evaluation result item. The structure of each dictionary corresponds to the fields in the `EvaluationResult` message. This includes: - `"request"`: Contains the original input data and model inputs (from `EvaluationResult.EvaluationRequest`). - `"candidate_results"`: Contains the results of any instance-level metrics (from `EvaluationResult.CandidateResults`). Example of a single item in the `instances` list: { "request": { "prompt": {"text": "What is the capital of France?"}, "golden_response": {"text": "Paris"}, "candidate_responses": [{"candidate": "model-v1", "text": "Paris"}] }, "candidate_results": [ {"metric": "exact_match", "score": 1.0}, {"metric": "bleu", "score": 0.9} ] } "displayName": "A String", # Optional. A display name for this custom summary metric. Used to prefix keys in the output summaryMetrics map. If not provided, a default name like "dataset_custom_metric_1", "dataset_custom_metric_2", etc., will be generated based on the order in the repeated field. }, ], @@ -3588,7 +4355,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -3690,6 +4457,7 @@

Method Details

}, }, "rubricGenerationSpec": { # Specification for how rubrics should be generated. # Dynamically generate rubrics using this specification. + "metricResourceName": "A String", # Optional. Resource name of the metric definition. "modelConfig": { # The autorater config used for the evaluation run. # Optional. Configuration for the model used in rubric generation. Configs including sampling count and base model can be specified here. Flipping is not supported for rubric generation. "autoraterModel": "A String", # Optional. The fully qualified name of the publisher model or tuned autorater endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` "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. Configuration options for model generation and outputs. @@ -3716,7 +4484,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -3869,7 +4637,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -3998,7 +4766,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -4101,6 +4869,18 @@

Method Details

"rubricGroupKey": "A String", # Use a pre-defined group of rubrics associated with the input. Refers to a key in the rubric_groups map of EvaluationInstance. "systemInstruction": "A String", # Optional. System instructions for the judge model. }, + "metadata": { # Metadata about the metric, used for visualization and organization. # Optional. Metadata about the metric, used for visualization and organization. + "otherMetadata": { # Optional. Flexible metadata for user-defined attributes. + "a_key": "", # Properties of the object. + }, + "scoreRange": { # The range of possible scores for this metric, used for plotting. # Optional. The range of possible scores for this metric, used for plotting. + "description": "A String", # Optional. The description of the score explaining the directionality etc. + "max": 3.14, # Required. The maximum value of the score range (inclusive). + "min": 3.14, # Required. The minimum value of the score range (inclusive). + "step": 3.14, # Optional. The distance between discrete steps in the range. If unset, the range is assumed to be continuous. + }, + "title": "A String", # Optional. The user-friendly name for the metric. If not set for a registered metric, it will default to the metric's display name. + }, "pairwiseMetricSpec": { # Spec for pairwise metric. # Spec for pairwise metric. "baselineResponseFieldName": "A String", # Optional. The field name of the baseline response. "candidateResponseFieldName": "A String", # Optional. The field name of the candidate response. @@ -4129,6 +4909,7 @@

Method Details

"useStemmer": True or False, # Optional. Whether to use stemmer to compute rouge score. }, }, + "metricResourceName": "A String", # Optional. The resource name of the metric definition. "predefinedMetricSpec": { # Specification for a pre-defined metric. # Spec for a pre-defined metric. "metricSpecName": "A String", # Required. The name of a pre-defined metric, such as "instruction_following_v1" or "text_quality_v1". "parameters": { # Optional. The parameters needed to run the pre-defined metric. @@ -4176,7 +4957,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -4272,6 +5053,7 @@

Method Details

}, "metricPromptTemplate": "A String", # Optional. Template for the prompt used by the judge model to evaluate against rubrics. "rubricGenerationSpec": { # Specification for how rubrics should be generated. # Dynamically generate rubrics for evaluation using this specification. + "metricResourceName": "A String", # Optional. Resource name of the metric definition. "modelConfig": { # The autorater config used for the evaluation run. # Optional. Configuration for the model used in rubric generation. Configs including sampling count and base model can be specified here. Flipping is not supported for rubric generation. "autoraterModel": "A String", # Optional. The fully qualified name of the publisher model or tuned autorater endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` "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. Configuration options for model generation and outputs. @@ -4298,7 +5080,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -4423,6 +5205,7 @@

Method Details

}, }, "rubricGenerationSpec": { # Specification for how rubrics should be generated. # Dynamically generate rubrics using this specification. + "metricResourceName": "A String", # Optional. Resource name of the metric definition. "modelConfig": { # The autorater config used for the evaluation run. # Optional. Configuration for the model used in rubric generation. Configs including sampling count and base model can be specified here. Flipping is not supported for rubric generation. "autoraterModel": "A String", # Optional. The fully qualified name of the publisher model or tuned autorater endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` "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. Configuration options for model generation and outputs. @@ -4449,7 +5232,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -4565,7 +5348,7 @@

Method Details

}, "evaluationSetSnapshot": "A String", # Output only. The specific evaluation set of the evaluation run. For runs with an evaluation set input, this will be that same set. For runs with BigQuery input, it's the sampled BigQuery dataset. "inferenceConfigs": { # Optional. The candidate to inference config map for the evaluation run. The candidate can be up to 128 characters long and can consist of any UTF-8 characters. - "a_key": { # An inference config used for model inference during the evaluation run. + "a_key": { # Defines the configuration for a candidate model or agent being evaluated. `InferenceConfig` encapsulates all the necessary information to invoke or scrape the candidate during the evaluation run. This includes direct model inference parameters, agent execution settings, and multi-turn scraping configurations (such as user simulators). It serves as the primary representation of the candidate across different stages of the evaluation process. "agentConfig": { # Configuration that describes an agent. # Optional. Deprecated: Use `agents` instead. Agent config used to generate responses. "developerInstruction": { # 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. # Optional. The developer instruction for the agent. "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. @@ -4867,6 +5650,372 @@

Method Details

}, ], }, + "agentRunConfig": { # Configuration for Agent Run. # Optional. Agent run config. + "agentEngine": "A String", # Optional. The resource name of the Agent Engine. Format: projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine} For example: projects/123/locations/us-central1/reasoningEngines/456 + "sessionInput": { # Session input to run an Agent. # Optional. The session input to get agent running results. + "parameters": { # Optional. Additional parameters for the session, like app_name, etc. For example, {"app_name": "my-app"}. + "a_key": "A String", + }, + "sessionState": { # Optional. Session specific memory which stores key conversation points. + "a_key": "", # Properties of the object. + }, + "userId": "A String", # Optional. The user id for the agent session. The ID can be up to 128 characters long. + }, + "userSimulatorConfig": { # Used for multi-turn agent scraping. Contains configuration for a user simulator that uses an LLM to generate messages on behalf of the user. # The configuration for a user simulator that uses an LLM to generate messages on behalf of the user. + "maxTurn": 42, # Maximum number of invocations allowed by the multi-turn agent scraping. This property allows us to stop a run-off conversation, where the agent and the user simulator get into a never ending loop. The initial fixed prompt is also counted as an invocation. + "modelConfig": { # 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. # The configuration for the model. + "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. + "candidateCount": 42, # Optional. The number of candidate responses to generate. A higher `candidate_count` can provide more options to choose from, but it also consumes more resources. This can be useful for generating a variety of responses and selecting the best one. + "enableAffectiveDialog": True or False, # Optional. If enabled, the model will detect emotions and adapt its responses accordingly. For example, if the model detects that the user is frustrated, it may provide a more empathetic response. + "frequencyPenalty": 3.14, # Optional. Penalizes tokens based on their frequency in the generated text. A positive value helps to reduce the repetition of words and phrases. Valid values can range from [-2.0, 2.0]. + "imageConfig": { # Configuration for image generation. This message allows you to control various aspects of image generation, such as the output format, aspect ratio, and whether the model can generate images of people. # Optional. Config for image generation features. + "aspectRatio": "A String", # Optional. The desired aspect ratio for the generated images. The following aspect ratios are supported: "1:1" "2:3", "3:2" "3:4", "4:3" "4:5", "5:4" "9:16", "16:9" "21:9" + "imageOutputOptions": { # The image output format for generated images. # Optional. The image output format for generated images. + "compressionQuality": 42, # Optional. The compression quality of the output image. + "mimeType": "A String", # Optional. The image format that the output should be saved as. + }, + "imageSize": "A String", # Optional. Specifies the size of generated images. Supported values are `1K`, `2K`, `4K`. If not specified, the model will use default value `1K`. + "personGeneration": "A String", # Optional. Controls whether the model can generate people. + "prominentPeople": "A String", # Optional. Controls whether prominent people (celebrities) generation is allowed. If used with personGeneration, personGeneration enum would take precedence. For instance, if ALLOW_NONE is set, all person generation would be blocked. If this field is unspecified, the default behavior is to allow prominent people. + }, + "logprobs": 42, # Optional. The number of top log probabilities to return for each token. This can be used to see which other tokens were considered likely candidates for a given position. A higher value will return more options, but it will also increase the size of the response. + "maxOutputTokens": 42, # Optional. The maximum number of tokens to generate in the response. A token is approximately four characters. The default value varies by model. This parameter can be used to control the length of the generated text and prevent overly long responses. + "mediaResolution": "A String", # Optional. The token resolution at which input media content is sampled. This is used to control the trade-off between the quality of the response and the number of tokens used to represent the media. A higher resolution allows the model to perceive more detail, which can lead to a more nuanced response, but it will also use more tokens. This does not affect the image dimensions sent to the model. + "modelConfig": { # Config for model selection. # Optional. Config for model selection. + "featureSelectionPreference": "A String", # Required. Feature selection preference. + }, + "presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. + "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. + "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. + "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. + "A String", + ], + "responseSchema": { # Defines the schema of input and output data. This is a subset of the [OpenAPI 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object). # Optional. Lets you to specify a schema for the model's response, ensuring that the output conforms to a particular structure. This is useful for generating structured data such as JSON. The schema is a subset of the [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema) object. When this field is set, you must also set the `response_mime_type` to `application/json`. + "additionalProperties": "", # Optional. If `type` is `OBJECT`, specifies how to handle properties not defined in `properties`. If it is a boolean `false`, no additional properties are allowed. If it is a schema, additional properties are allowed if they conform to the schema. + "anyOf": [ # Optional. The instance must be valid against any (one or more) of the subschemas listed in `any_of`. + # Object with schema name: GoogleCloudAiplatformV1beta1Schema + ], + "default": "", # Optional. Default value to use if the field is not specified. + "defs": { # Optional. `defs` provides a map of schema definitions that can be reused by `ref` elsewhere in the schema. Only allowed at root level of the schema. + "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema + }, + "description": "A String", # Optional. Describes the data. The model uses this field to understand the purpose of the schema and how to use it. It is a best practice to provide a clear and descriptive explanation for the schema and its properties here, rather than in the prompt. + "enum": [ # Optional. Possible values of the field. This field can be used to restrict a value to a fixed set of values. To mark a field as an enum, set `format` to `enum` and provide the list of possible values in `enum`. For example: 1. To define directions: `{type:STRING, format:enum, enum:["EAST", "NORTH", "SOUTH", "WEST"]}` 2. To define apartment numbers: `{type:INTEGER, format:enum, enum:["101", "201", "301"]}` + "A String", + ], + "example": "", # Optional. Example of an instance of this schema. + "format": "A String", # Optional. The format of the data. For `NUMBER` type, format can be `float` or `double`. For `INTEGER` type, format can be `int32` or `int64`. For `STRING` type, format can be `email`, `byte`, `date`, `date-time`, `password`, and other formats to further refine the data type. + "items": # Object with schema name: GoogleCloudAiplatformV1beta1Schema # Optional. If type is `ARRAY`, `items` specifies the schema of elements in the array. + "maxItems": "A String", # Optional. If type is `ARRAY`, `max_items` specifies the maximum number of items in an array. + "maxLength": "A String", # Optional. If type is `STRING`, `max_length` specifies the maximum length of the string. + "maxProperties": "A String", # Optional. If type is `OBJECT`, `max_properties` specifies the maximum number of properties that can be provided. + "maximum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `maximum` specifies the maximum allowed value. + "minItems": "A String", # Optional. If type is `ARRAY`, `min_items` specifies the minimum number of items in an array. + "minLength": "A String", # Optional. If type is `STRING`, `min_length` specifies the minimum length of the string. + "minProperties": "A String", # Optional. If type is `OBJECT`, `min_properties` specifies the minimum number of properties that can be provided. + "minimum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `minimum` specifies the minimum allowed value. + "nullable": True or False, # Optional. Indicates if the value of this field can be null. + "pattern": "A String", # Optional. If type is `STRING`, `pattern` specifies a regular expression that the string must match. + "properties": { # Optional. If type is `OBJECT`, `properties` is a map of property names to schema definitions for each property of the object. + "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema + }, + "propertyOrdering": [ # Optional. Order of properties displayed or used where order matters. This is not a standard field in OpenAPI specification, but can be used to control the order of properties. + "A String", + ], + "ref": "A String", # Optional. Allows referencing another schema definition to use in place of this schema. The value must be a valid reference to a schema in `defs`. For example, the following schema defines a reference to a schema node named "Pet": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the "pet" property is a reference to the schema node named "Pet". See details in https://json-schema.org/understanding-json-schema/structuring + "required": [ # Optional. If type is `OBJECT`, `required` lists the names of properties that must be present. + "A String", + ], + "title": "A String", # Optional. Title for the schema. + "type": "A String", # Optional. Data type of the schema field. + }, + "routingConfig": { # The configuration for routing the request to a specific model. This can be used to control which model is used for the generation, either automatically or by specifying a model name. # Optional. Routing configuration. + "autoMode": { # The configuration for automated routing. When automated routing is specified, the routing will be determined by the pretrained routing model and customer provided model routing preference. # In this mode, the model is selected automatically based on the content of the request. + "modelRoutingPreference": "A String", # The model routing preference. + }, + "manualMode": { # The configuration for manual routing. When manual routing is specified, the model will be selected based on the model name provided. # In this mode, the model is specified manually. + "modelName": "A String", # The name of the model to use. Only public LLM models are accepted. + }, + }, + "seed": 42, # Optional. A seed for the random number generator. By setting a seed, you can make the model's output mostly deterministic. For a given prompt and parameters (like temperature, top_p, etc.), the model will produce the same response every time. However, it's not a guaranteed absolute deterministic behavior. This is different from parameters like `temperature`, which control the *level* of randomness. `seed` ensures that the "random" choices the model makes are the same on every run, making it essential for testing and ensuring reproducible results. + "speechConfig": { # Configuration for speech generation. # Optional. The speech generation config. + "languageCode": "A String", # Optional. The language code (ISO 639-1) for the speech synthesis. + "multiSpeakerVoiceConfig": { # Configuration for a multi-speaker text-to-speech request. # The configuration for a multi-speaker text-to-speech request. This field is mutually exclusive with `voice_config`. + "speakerVoiceConfigs": [ # Required. A list of configurations for the voices of the speakers. Exactly two speaker voice configurations must be provided. + { # Configuration for a single speaker in a multi-speaker setup. + "speaker": "A String", # Required. The name of the speaker. This should be the same as the speaker name used in the prompt. + "voiceConfig": { # Configuration for a voice. # Required. The configuration for the voice of this speaker. + "prebuiltVoiceConfig": { # Configuration for a prebuilt voice. # The configuration for a prebuilt voice. + "voiceName": "A String", # The name of the prebuilt voice to use. + }, + "replicatedVoiceConfig": { # The configuration for the replicated voice to use. # Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample. + "mimeType": "A String", # Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set. + "voiceSampleAudio": "A String", # Optional. The sample of the custom voice. + }, + }, + }, + ], + }, + "voiceConfig": { # Configuration for a voice. # The configuration for the voice to use. + "prebuiltVoiceConfig": { # Configuration for a prebuilt voice. # The configuration for a prebuilt voice. + "voiceName": "A String", # The name of the prebuilt voice to use. + }, + "replicatedVoiceConfig": { # The configuration for the replicated voice to use. # Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample. + "mimeType": "A String", # Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set. + "voiceSampleAudio": "A String", # Optional. The sample of the custom voice. + }, + }, + }, + "stopSequences": [ # Optional. A list of character sequences that will stop the model from generating further tokens. If a stop sequence is generated, the output will end at that point. This is useful for controlling the length and structure of the output. For example, you can use ["\n", "###"] to stop generation at a new line or a specific marker. + "A String", + ], + "temperature": 3.14, # Optional. Controls the randomness of the output. A higher temperature results in more creative and diverse responses, while a lower temperature makes the output more predictable and focused. The valid range is (0.0, 2.0]. + "thinkingConfig": { # Configuration for the model's thinking features. "Thinking" is a process where the model breaks down a complex task into smaller, manageable steps. This allows the model to reason about the task, plan its approach, and execute the plan to generate a high-quality response. # Optional. Configuration for thinking features. An error will be returned if this field is set for models that don't support thinking. + "includeThoughts": True or False, # Optional. If true, the model will include its thoughts in the response. "Thoughts" are the intermediate steps the model takes to arrive at the final response. They can provide insights into the model's reasoning process and help with debugging. If this is true, thoughts are returned only when available. + "thinkingBudget": 42, # Optional. The token budget for the model's thinking process. The model will make a best effort to stay within this budget. This can be used to control the trade-off between response quality and latency. + "thinkingLevel": "A String", # Optional. The number of thoughts tokens that the model should generate. + }, + "topK": 3.14, # Optional. Specifies the top-k sampling threshold. The model considers only the top k most probable tokens for the next token. This can be useful for generating more coherent and less random text. For example, a `top_k` of 40 means the model will choose the next word from the 40 most likely words. + "topP": 3.14, # Optional. Specifies the nucleus sampling threshold. The model considers only the smallest set of tokens whose cumulative probability is at least `top_p`. This helps generate more diverse and less repetitive responses. For example, a `top_p` of 0.9 means the model considers tokens until the cumulative probability of the tokens to select from reaches 0.9. It's recommended to adjust either temperature or `top_p`, but not both. + }, + "modelName": "A String", # The model name to use for multi-turn agent scraping to get next user message, e.g. "gemini-3-flash-preview". + }, + }, + "agents": { # Optional. Contains the static configurations for each agent in the system. Key: agent_id (matches the `author` field in events). Value: The static configuration of the agent. + "a_key": { # Represents configuration for an Agent. + "agentId": "A String", # Required. Unique identifier of the agent. This ID is used to refer to this agent, e.g., in AgentEvent.author, or in the `sub_agents` field. It must be unique within the `agents` map. + "agentType": "A String", # Optional. The type or class of the agent (e.g., "LlmAgent", "RouterAgent", "ToolUseAgent"). Useful for the autorater to understand the expected behavior of the agent. + "description": "A String", # Optional. A high-level description of the agent's role and responsibilities. Critical for evaluating if the agent is routing tasks correctly. + "instruction": "A String", # Optional. Provides instructions for the LLM model, guiding the agent's behavior. Can be static or dynamic. Dynamic instructions can contain placeholders like {variable_name} that will be resolved at runtime using the `AgentEvent.state_delta` field. + "subAgents": [ # Optional. The list of valid agent IDs that this agent can delegate to. This defines the directed edges in the multi-agent system graph topology. + "A String", + ], + "tools": [ # Optional. The list of tools available to this agent. + { # Tool details that the model may use to generate response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the model. A Tool object should contain exactly one type of Tool (e.g FunctionDeclaration, Retrieval or GoogleSearchRetrieval). + "codeExecution": { # Tool that executes code generated by the model, and automatically returns the result to the model. See also ExecutableCode and CodeExecutionResult, which are input and output to this tool. # Optional. CodeExecution tool type. Enables the model to execute code as part of generation. + }, + "computerUse": { # Tool to support computer use. # Optional. Tool to support the model interacting directly with the computer. If enabled, it automatically populates computer-use specific Function Declarations. + "environment": "A String", # Required. The environment being operated. + "excludedPredefinedFunctions": [ # Optional. By default, [predefined functions](https://cloud.google.com/vertex-ai/generative-ai/docs/computer-use#supported-actions) are included in the final model call. Some of them can be explicitly excluded from being automatically included. This can serve two purposes: 1. Using a more restricted / different action space. 2. Improving the definitions / instructions of predefined functions. + "A String", + ], + }, + "enterpriseWebSearch": { # Tool to search public web data, powered by Vertex AI Search and Sec4 compliance. # Optional. Tool to support searching public web data, powered by Vertex AI Search and Sec4 compliance. + "blockingConfidence": "A String", # Optional. Sites with confidence level chosen & above this value will be blocked from the search results. + "excludeDomains": [ # Optional. List of domains to be excluded from the search results. The default limit is 2000 domains. + "A String", + ], + }, + "functionDeclarations": [ # Optional. Function tool type. One or more function declarations to be passed to the model along with the current user query. Model may decide to call a subset of these functions by populating FunctionCall in the response. User should provide a FunctionResponse for each function call in the next turn. Based on the function responses, Model will generate the final response back to the user. Maximum 512 function declarations can be provided. + { # Structured representation of a function declaration as defined by the [OpenAPI 3.0 specification](https://spec.openapis.org/oas/v3.0.3). Included in this declaration are the function name, description, parameters and response type. This FunctionDeclaration is a representation of a block of code that can be used as a `Tool` by the model and executed by the client. + "description": "A String", # Optional. Description and purpose of the function. Model uses it to decide how and whether to call the function. + "name": "A String", # Required. The name of the function to call. Must start with a letter or an underscore. Must be a-z, A-Z, 0-9, or contain underscores, dots, colons and dashes, with a maximum length of 64. + "parameters": { # Defines the schema of input and output data. This is a subset of the [OpenAPI 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object). # Optional. Describes the parameters to this function in JSON Schema Object format. Reflects the Open API 3.03 Parameter Object. string Key: the name of the parameter. Parameter names are case sensitive. Schema Value: the Schema defining the type used for the parameter. For function with no parameters, this can be left unset. Parameter names must start with a letter or an underscore and must only contain chars a-z, A-Z, 0-9, or underscores with a maximum length of 64. Example with 1 required and 1 optional parameter: type: OBJECT properties: param1: type: STRING param2: type: INTEGER required: - param1 + "additionalProperties": "", # Optional. If `type` is `OBJECT`, specifies how to handle properties not defined in `properties`. If it is a boolean `false`, no additional properties are allowed. If it is a schema, additional properties are allowed if they conform to the schema. + "anyOf": [ # Optional. The instance must be valid against any (one or more) of the subschemas listed in `any_of`. + # Object with schema name: GoogleCloudAiplatformV1beta1Schema + ], + "default": "", # Optional. Default value to use if the field is not specified. + "defs": { # Optional. `defs` provides a map of schema definitions that can be reused by `ref` elsewhere in the schema. Only allowed at root level of the schema. + "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema + }, + "description": "A String", # Optional. Describes the data. The model uses this field to understand the purpose of the schema and how to use it. It is a best practice to provide a clear and descriptive explanation for the schema and its properties here, rather than in the prompt. + "enum": [ # Optional. Possible values of the field. This field can be used to restrict a value to a fixed set of values. To mark a field as an enum, set `format` to `enum` and provide the list of possible values in `enum`. For example: 1. To define directions: `{type:STRING, format:enum, enum:["EAST", "NORTH", "SOUTH", "WEST"]}` 2. To define apartment numbers: `{type:INTEGER, format:enum, enum:["101", "201", "301"]}` + "A String", + ], + "example": "", # Optional. Example of an instance of this schema. + "format": "A String", # Optional. The format of the data. For `NUMBER` type, format can be `float` or `double`. For `INTEGER` type, format can be `int32` or `int64`. For `STRING` type, format can be `email`, `byte`, `date`, `date-time`, `password`, and other formats to further refine the data type. + "items": # Object with schema name: GoogleCloudAiplatformV1beta1Schema # Optional. If type is `ARRAY`, `items` specifies the schema of elements in the array. + "maxItems": "A String", # Optional. If type is `ARRAY`, `max_items` specifies the maximum number of items in an array. + "maxLength": "A String", # Optional. If type is `STRING`, `max_length` specifies the maximum length of the string. + "maxProperties": "A String", # Optional. If type is `OBJECT`, `max_properties` specifies the maximum number of properties that can be provided. + "maximum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `maximum` specifies the maximum allowed value. + "minItems": "A String", # Optional. If type is `ARRAY`, `min_items` specifies the minimum number of items in an array. + "minLength": "A String", # Optional. If type is `STRING`, `min_length` specifies the minimum length of the string. + "minProperties": "A String", # Optional. If type is `OBJECT`, `min_properties` specifies the minimum number of properties that can be provided. + "minimum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `minimum` specifies the minimum allowed value. + "nullable": True or False, # Optional. Indicates if the value of this field can be null. + "pattern": "A String", # Optional. If type is `STRING`, `pattern` specifies a regular expression that the string must match. + "properties": { # Optional. If type is `OBJECT`, `properties` is a map of property names to schema definitions for each property of the object. + "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema + }, + "propertyOrdering": [ # Optional. Order of properties displayed or used where order matters. This is not a standard field in OpenAPI specification, but can be used to control the order of properties. + "A String", + ], + "ref": "A String", # Optional. Allows referencing another schema definition to use in place of this schema. The value must be a valid reference to a schema in `defs`. For example, the following schema defines a reference to a schema node named "Pet": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the "pet" property is a reference to the schema node named "Pet". See details in https://json-schema.org/understanding-json-schema/structuring + "required": [ # Optional. If type is `OBJECT`, `required` lists the names of properties that must be present. + "A String", + ], + "title": "A String", # Optional. Title for the schema. + "type": "A String", # Optional. Data type of the schema field. + }, + "parametersJsonSchema": "", # Optional. Describes the parameters to the function in JSON Schema format. The schema must describe an object where the properties are the parameters to the function. For example: ``` { "type": "object", "properties": { "name": { "type": "string" }, "age": { "type": "integer" } }, "additionalProperties": false, "required": ["name", "age"], "propertyOrdering": ["name", "age"] } ``` This field is mutually exclusive with `parameters`. + "response": { # Defines the schema of input and output data. This is a subset of the [OpenAPI 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object). # Optional. Describes the output from this function in JSON Schema format. Reflects the Open API 3.03 Response Object. The Schema defines the type used for the response value of the function. + "additionalProperties": "", # Optional. If `type` is `OBJECT`, specifies how to handle properties not defined in `properties`. If it is a boolean `false`, no additional properties are allowed. If it is a schema, additional properties are allowed if they conform to the schema. + "anyOf": [ # Optional. The instance must be valid against any (one or more) of the subschemas listed in `any_of`. + # Object with schema name: GoogleCloudAiplatformV1beta1Schema + ], + "default": "", # Optional. Default value to use if the field is not specified. + "defs": { # Optional. `defs` provides a map of schema definitions that can be reused by `ref` elsewhere in the schema. Only allowed at root level of the schema. + "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema + }, + "description": "A String", # Optional. Describes the data. The model uses this field to understand the purpose of the schema and how to use it. It is a best practice to provide a clear and descriptive explanation for the schema and its properties here, rather than in the prompt. + "enum": [ # Optional. Possible values of the field. This field can be used to restrict a value to a fixed set of values. To mark a field as an enum, set `format` to `enum` and provide the list of possible values in `enum`. For example: 1. To define directions: `{type:STRING, format:enum, enum:["EAST", "NORTH", "SOUTH", "WEST"]}` 2. To define apartment numbers: `{type:INTEGER, format:enum, enum:["101", "201", "301"]}` + "A String", + ], + "example": "", # Optional. Example of an instance of this schema. + "format": "A String", # Optional. The format of the data. For `NUMBER` type, format can be `float` or `double`. For `INTEGER` type, format can be `int32` or `int64`. For `STRING` type, format can be `email`, `byte`, `date`, `date-time`, `password`, and other formats to further refine the data type. + "items": # Object with schema name: GoogleCloudAiplatformV1beta1Schema # Optional. If type is `ARRAY`, `items` specifies the schema of elements in the array. + "maxItems": "A String", # Optional. If type is `ARRAY`, `max_items` specifies the maximum number of items in an array. + "maxLength": "A String", # Optional. If type is `STRING`, `max_length` specifies the maximum length of the string. + "maxProperties": "A String", # Optional. If type is `OBJECT`, `max_properties` specifies the maximum number of properties that can be provided. + "maximum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `maximum` specifies the maximum allowed value. + "minItems": "A String", # Optional. If type is `ARRAY`, `min_items` specifies the minimum number of items in an array. + "minLength": "A String", # Optional. If type is `STRING`, `min_length` specifies the minimum length of the string. + "minProperties": "A String", # Optional. If type is `OBJECT`, `min_properties` specifies the minimum number of properties that can be provided. + "minimum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `minimum` specifies the minimum allowed value. + "nullable": True or False, # Optional. Indicates if the value of this field can be null. + "pattern": "A String", # Optional. If type is `STRING`, `pattern` specifies a regular expression that the string must match. + "properties": { # Optional. If type is `OBJECT`, `properties` is a map of property names to schema definitions for each property of the object. + "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema + }, + "propertyOrdering": [ # Optional. Order of properties displayed or used where order matters. This is not a standard field in OpenAPI specification, but can be used to control the order of properties. + "A String", + ], + "ref": "A String", # Optional. Allows referencing another schema definition to use in place of this schema. The value must be a valid reference to a schema in `defs`. For example, the following schema defines a reference to a schema node named "Pet": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the "pet" property is a reference to the schema node named "Pet". See details in https://json-schema.org/understanding-json-schema/structuring + "required": [ # Optional. If type is `OBJECT`, `required` lists the names of properties that must be present. + "A String", + ], + "title": "A String", # Optional. Title for the schema. + "type": "A String", # Optional. Data type of the schema field. + }, + "responseJsonSchema": "", # Optional. Describes the output from this function in JSON Schema format. The value specified by the schema is the response value of the function. This field is mutually exclusive with `response`. + }, + ], + "googleMaps": { # Tool to retrieve public maps data for grounding, powered by Google. # Optional. GoogleMaps tool type. Tool to support Google Maps in Model. + "enableWidget": True or False, # Optional. If true, include the widget context token in the response. + }, + "googleSearch": { # GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google. # Optional. GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google. + "blockingConfidence": "A String", # Optional. Sites with confidence level chosen & above this value will be blocked from the search results. + "excludeDomains": [ # Optional. List of domains to be excluded from the search results. The default limit is 2000 domains. Example: ["amazon.com", "facebook.com"]. + "A String", + ], + "searchTypes": { # Different types of search that can be enabled on the GoogleSearch tool. # Optional. The set of search types to enable. If not set, web search is enabled by default. + "imageSearch": { # Image search for grounding and related configurations. # Optional. Setting this field enables image search. Image bytes are returned. + }, + "webSearch": { # Standard web search for grounding and related configurations. Only text results are returned. # Optional. Setting this field enables web search. Only text results are returned. + }, + }, + }, + "googleSearchRetrieval": { # Tool to retrieve public web data for grounding, powered by Google. # Optional. Specialized retrieval tool that is powered by Google Search. + "dynamicRetrievalConfig": { # Describes the options to customize dynamic retrieval. # Specifies the dynamic retrieval configuration for the given source. + "dynamicThreshold": 3.14, # Optional. The threshold to be used in dynamic retrieval. If not set, a system default value is used. + "mode": "A String", # The mode of the predictor to be used in dynamic retrieval. + }, + }, + "parallelAiSearch": { # ParallelAiSearch tool type. A tool that uses the Parallel.ai search engine for grounding. # Optional. If specified, Vertex AI will use Parallel.ai to search for information to answer user queries. The search results will be grounded on Parallel.ai and presented to the model for response generation + "apiKey": "A String", # Optional. The API key for ParallelAiSearch. If an API key is not provided, the system will attempt to verify access by checking for an active Parallel.ai subscription through the Google Cloud Marketplace. See https://docs.parallel.ai/search/search-quickstart for more details. + "customConfigs": { # Optional. Custom configs for ParallelAiSearch. This field can be used to pass any parameter from the Parallel.ai Search API. See the Parallel.ai documentation for the full list of available parameters and their usage: https://docs.parallel.ai/api-reference/search-beta/search Currently only `source_policy`, `excerpts`, `max_results`, `mode`, `fetch_policy` can be set via this field. For example: { "source_policy": { "include_domains": ["google.com", "wikipedia.org"], "exclude_domains": ["example.com"] }, "fetch_policy": { "max_age_seconds": 3600 } } + "a_key": "", # Properties of the object. + }, + }, + "retrieval": { # Defines a retrieval tool that model can call to access external knowledge. # Optional. Retrieval tool type. System will always execute the provided retrieval tool(s) to get external knowledge to answer the prompt. Retrieval results are presented to the model for generation. + "disableAttribution": True or False, # Optional. Deprecated. This option is no longer supported. + "externalApi": { # Retrieve from data source powered by external API for grounding. The external API is not owned by Google, but need to follow the pre-defined API spec. # Use data source powered by external API for grounding. + "apiAuth": { # The generic reusable api auth config. Deprecated. Please use AuthConfig (google/cloud/aiplatform/master/auth.proto) instead. # The authentication config to access the API. Deprecated. Please use auth_config instead. + "apiKeyConfig": { # The API secret. # The API secret. + "apiKeySecretVersion": "A String", # Required. The SecretManager secret version resource name storing API key. e.g. projects/{project}/secrets/{secret}/versions/{version} + "apiKeyString": "A String", # The API key string. Either this or `api_key_secret_version` must be set. + }, + }, + "apiSpec": "A String", # The API spec that the external API implements. + "authConfig": { # Auth configuration to run the extension. # The authentication config to access the API. + "apiKeyConfig": { # Config for authentication with API key. # Config for API key auth. + "apiKeySecret": "A String", # Optional. The name of the SecretManager secret version resource storing the API key. Format: `projects/{project}/secrets/{secrete}/versions/{version}` - If both `api_key_secret` and `api_key_string` are specified, this field takes precedence over `api_key_string`. - If specified, the `secretmanager.versions.access` permission should be granted to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the specified resource. + "apiKeyString": "A String", # Optional. The API key to be used in the request directly. + "httpElementLocation": "A String", # Optional. The location of the API key. + "name": "A String", # Optional. The parameter name of the API key. E.g. If the API request is "https://example.com/act?api_key=", "api_key" would be the parameter name. + }, + "authType": "A String", # Type of auth scheme. + "googleServiceAccountConfig": { # Config for Google Service Account Authentication. # Config for Google Service Account auth. + "serviceAccount": "A String", # Optional. The service account that the extension execution service runs as. - If the service account is specified, the `iam.serviceAccounts.getAccessToken` permission should be granted to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the specified service account. - If not specified, the Vertex AI Extension Service Agent will be used to execute the Extension. + }, + "httpBasicAuthConfig": { # Config for HTTP Basic Authentication. # Config for HTTP Basic auth. + "credentialSecret": "A String", # Required. The name of the SecretManager secret version resource storing the base64 encoded credentials. Format: `projects/{project}/secrets/{secrete}/versions/{version}` - If specified, the `secretmanager.versions.access` permission should be granted to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the specified resource. + }, + "oauthConfig": { # Config for user oauth. # Config for user oauth. + "accessToken": "A String", # Access token for extension endpoint. Only used to propagate token from [[ExecuteExtensionRequest.runtime_auth_config]] at request time. + "serviceAccount": "A String", # The service account used to generate access tokens for executing the Extension. - If the service account is specified, the `iam.serviceAccounts.getAccessToken` permission should be granted to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the provided service account. + }, + "oidcConfig": { # Config for user OIDC auth. # Config for user OIDC auth. + "idToken": "A String", # OpenID Connect formatted ID token for extension endpoint. Only used to propagate token from [[ExecuteExtensionRequest.runtime_auth_config]] at request time. + "serviceAccount": "A String", # The service account used to generate an OpenID Connect (OIDC)-compatible JWT token signed by the Google OIDC Provider (accounts.google.com) for extension endpoint (https://cloud.google.com/iam/docs/create-short-lived-credentials-direct#sa-credentials-oidc). - The audience for the token will be set to the URL in the server url defined in the OpenApi spec. - If the service account is provided, the service account should grant `iam.serviceAccounts.getOpenIdToken` permission to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents). + }, + }, + "elasticSearchParams": { # The search parameters to use for the ELASTIC_SEARCH spec. # Parameters for the elastic search API. + "index": "A String", # The ElasticSearch index to use. + "numHits": 42, # Optional. Number of hits (chunks) to request. When specified, it is passed to Elasticsearch as the `num_hits` param. + "searchTemplate": "A String", # The ElasticSearch search template to use. + }, + "endpoint": "A String", # The endpoint of the external API. The system will call the API at this endpoint to retrieve the data for grounding. Example: https://acme.com:443/search + "simpleSearchParams": { # The search parameters to use for SIMPLE_SEARCH spec. # Parameters for the simple search API. + }, + }, + "vertexAiSearch": { # Retrieve from Vertex AI Search datastore or engine for grounding. datastore and engine are mutually exclusive. See https://cloud.google.com/products/agent-builder # Set to use data source powered by Vertex AI Search. + "dataStoreSpecs": [ # Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. It should only be set if engine is used. + { # Define data stores within engine to filter on in a search call and configurations for those data stores. For more information, see https://cloud.google.com/generative-ai-app-builder/docs/reference/rpc/google.cloud.discoveryengine.v1#datastorespec + "dataStore": "A String", # Full resource name of DataStore, such as Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}` + "filter": "A String", # Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see [Filtering](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) + }, + ], + "datastore": "A String", # Optional. Fully-qualified Vertex AI Search data store resource ID. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}` + "engine": "A String", # Optional. Fully-qualified Vertex AI Search engine resource ID. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` + "filter": "A String", # Optional. Filter strings to be passed to the search API. + "maxResults": 42, # Optional. Number of search results to return per query. The default value is 10. The maximumm allowed value is 10. + }, + "vertexRagStore": { # Retrieve from Vertex RAG Store for grounding. # Set to use data source powered by Vertex RAG store. User data is uploaded via the VertexRagDataService. + "ragCorpora": [ # Optional. Deprecated. Please use rag_resources instead. + "A String", + ], + "ragResources": [ # Optional. The representation of the rag source. It can be used to specify corpus only or ragfiles. Currently only support one corpus or multiple files from one corpus. In the future we may open up multiple corpora support. + { # The definition of the Rag resource. + "ragCorpus": "A String", # Optional. RagCorpora resource name. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` + "ragFileIds": [ # Optional. rag_file_id. The files should be in the same rag_corpus set in rag_corpus field. + "A String", + ], + }, + ], + "ragRetrievalConfig": { # Specifies the context retrieval config. # Optional. The retrieval config for the Rag query. + "filter": { # Config for filters. # Optional. Config for filters. + "metadataFilter": "A String", # Optional. String for metadata filtering. + "vectorDistanceThreshold": 3.14, # Optional. Only returns contexts with vector distance smaller than the threshold. + "vectorSimilarityThreshold": 3.14, # Optional. Only returns contexts with vector similarity larger than the threshold. + }, + "hybridSearch": { # Config for Hybrid Search. # Optional. Config for Hybrid Search. + "alpha": 3.14, # Optional. Alpha value controls the weight between dense and sparse vector search results. The range is [0, 1], while 0 means sparse vector search only and 1 means dense vector search only. The default value is 0.5 which balances sparse and dense vector search equally. + }, + "ranking": { # Config for ranking and reranking. # Optional. Config for ranking and reranking. + "llmRanker": { # Config for LlmRanker. # Optional. Config for LlmRanker. + "modelName": "A String", # Optional. The model name used for ranking. See [Supported models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/inference#supported-models). + }, + "rankService": { # Config for Rank Service. # Optional. Config for Rank Service. + "modelName": "A String", # Optional. The model name of the rank service. Format: `semantic-ranker-512@latest` + }, + }, + "topK": 42, # Optional. The number of contexts to retrieve. + }, + "similarityTopK": 42, # Optional. Number of top k results to return from the selected corpora. + "storeContext": True or False, # Optional. Currently only supported for Gemini Multimodal Live API. In Gemini Multimodal Live API, if `store_context` bool is specified, Gemini will leverage it to automatically memorize the interactions between the client and Gemini, and retrieve context when needed to augment the response generation for users' ongoing and future interactions. + "vectorDistanceThreshold": 3.14, # Optional. Only return results with vector distance smaller than the threshold. + }, + }, + "urlContext": { # Tool to support URL context. # Optional. Tool to support URL context retrieval. + }, + }, + ], + }, + }, "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. "candidateCount": 42, # Optional. The number of candidate responses to generate. A higher `candidate_count` can provide more options to choose from, but it also consumes more resources. This can be useful for generating a variety of responses and selecting the best one. @@ -4891,7 +6040,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -4983,7 +6132,7 @@

Method Details

"topK": 3.14, # Optional. Specifies the top-k sampling threshold. The model considers only the top k most probable tokens for the next token. This can be useful for generating more coherent and less random text. For example, a `top_k` of 40 means the model will choose the next word from the 40 most likely words. "topP": 3.14, # Optional. Specifies the nucleus sampling threshold. The model considers only the smallest set of tokens whose cumulative probability is at least `top_p`. This helps generate more diverse and less repetitive responses. For example, a `top_p` of 0.9 means the model considers tokens until the cumulative probability of the tokens to select from reaches 0.9. It's recommended to adjust either temperature or `top_p`, but not both. }, - "model": "A String", # Optional. The fully qualified name of the publisher model or endpoint to use. Anthropic and Llama third-party models are also supported through Model Garden. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Third-party model format: `projects/{project}/locations/{location}/publishers/anthropic/models/{model}` `projects/{project}/locations/{location}/publishers/llama/models/{model}` Endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` + "model": "A String", # Optional. The fully qualified name of the publisher model or endpoint to use. Anthropic and Llama third-party models are also supported through Model Garden. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Third-party model formats: `projects/{project}/locations/{location}/publishers/anthropic/models/{model}` or `projects/{project}/locations/{location}/publishers/llama/models/{model}` Endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` }, }, "labels": { # Optional. Labels for the evaluation run. @@ -5071,7 +6220,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -5167,6 +6316,7 @@

Method Details

}, "datasetCustomMetrics": [ # Optional. Specifications for custom dataset-level aggregations. { # Defines a custom dataset-level aggregation. + "aggregationFunction": "A String", # Required. The Python code string containing the aggregation function. Expected function signature: `def aggregate(instances: list[dict[str, Any]]) -> dict[str, float]:` The `instances` argument is a list of dictionaries, where each dictionary represents a single evaluation result item. The structure of each dictionary corresponds to the fields in the `EvaluationResult` message. This includes: - `"request"`: Contains the original input data and model inputs (from `EvaluationResult.EvaluationRequest`). - `"candidate_results"`: Contains the results of any instance-level metrics (from `EvaluationResult.CandidateResults`). Example of a single item in the `instances` list: { "request": { "prompt": {"text": "What is the capital of France?"}, "golden_response": {"text": "Paris"}, "candidate_responses": [{"candidate": "model-v1", "text": "Paris"}] }, "candidate_results": [ {"metric": "exact_match", "score": 1.0}, {"metric": "bleu", "score": 0.9} ] } "displayName": "A String", # Optional. A display name for this custom summary metric. Used to prefix keys in the output summaryMetrics map. If not provided, a default name like "dataset_custom_metric_1", "dataset_custom_metric_2", etc., will be generated based on the order in the repeated field. }, ], @@ -5208,7 +6358,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -5310,6 +6460,7 @@

Method Details

}, }, "rubricGenerationSpec": { # Specification for how rubrics should be generated. # Dynamically generate rubrics using this specification. + "metricResourceName": "A String", # Optional. Resource name of the metric definition. "modelConfig": { # The autorater config used for the evaluation run. # Optional. Configuration for the model used in rubric generation. Configs including sampling count and base model can be specified here. Flipping is not supported for rubric generation. "autoraterModel": "A String", # Optional. The fully qualified name of the publisher model or tuned autorater endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` "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. Configuration options for model generation and outputs. @@ -5336,7 +6487,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -5489,7 +6640,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -5618,7 +6769,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -5721,6 +6872,18 @@

Method Details

"rubricGroupKey": "A String", # Use a pre-defined group of rubrics associated with the input. Refers to a key in the rubric_groups map of EvaluationInstance. "systemInstruction": "A String", # Optional. System instructions for the judge model. }, + "metadata": { # Metadata about the metric, used for visualization and organization. # Optional. Metadata about the metric, used for visualization and organization. + "otherMetadata": { # Optional. Flexible metadata for user-defined attributes. + "a_key": "", # Properties of the object. + }, + "scoreRange": { # The range of possible scores for this metric, used for plotting. # Optional. The range of possible scores for this metric, used for plotting. + "description": "A String", # Optional. The description of the score explaining the directionality etc. + "max": 3.14, # Required. The maximum value of the score range (inclusive). + "min": 3.14, # Required. The minimum value of the score range (inclusive). + "step": 3.14, # Optional. The distance between discrete steps in the range. If unset, the range is assumed to be continuous. + }, + "title": "A String", # Optional. The user-friendly name for the metric. If not set for a registered metric, it will default to the metric's display name. + }, "pairwiseMetricSpec": { # Spec for pairwise metric. # Spec for pairwise metric. "baselineResponseFieldName": "A String", # Optional. The field name of the baseline response. "candidateResponseFieldName": "A String", # Optional. The field name of the candidate response. @@ -5749,6 +6912,7 @@

Method Details

"useStemmer": True or False, # Optional. Whether to use stemmer to compute rouge score. }, }, + "metricResourceName": "A String", # Optional. The resource name of the metric definition. "predefinedMetricSpec": { # Specification for a pre-defined metric. # Spec for a pre-defined metric. "metricSpecName": "A String", # Required. The name of a pre-defined metric, such as "instruction_following_v1" or "text_quality_v1". "parameters": { # Optional. The parameters needed to run the pre-defined metric. @@ -5796,7 +6960,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -5892,6 +7056,7 @@

Method Details

}, "metricPromptTemplate": "A String", # Optional. Template for the prompt used by the judge model to evaluate against rubrics. "rubricGenerationSpec": { # Specification for how rubrics should be generated. # Dynamically generate rubrics for evaluation using this specification. + "metricResourceName": "A String", # Optional. Resource name of the metric definition. "modelConfig": { # The autorater config used for the evaluation run. # Optional. Configuration for the model used in rubric generation. Configs including sampling count and base model can be specified here. Flipping is not supported for rubric generation. "autoraterModel": "A String", # Optional. The fully qualified name of the publisher model or tuned autorater endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` "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. Configuration options for model generation and outputs. @@ -5918,7 +7083,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -6043,6 +7208,7 @@

Method Details

}, }, "rubricGenerationSpec": { # Specification for how rubrics should be generated. # Dynamically generate rubrics using this specification. + "metricResourceName": "A String", # Optional. Resource name of the metric definition. "modelConfig": { # The autorater config used for the evaluation run. # Optional. Configuration for the model used in rubric generation. Configs including sampling count and base model can be specified here. Flipping is not supported for rubric generation. "autoraterModel": "A String", # Optional. The fully qualified name of the publisher model or tuned autorater endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` "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. Configuration options for model generation and outputs. @@ -6069,7 +7235,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -6185,7 +7351,7 @@

Method Details

}, "evaluationSetSnapshot": "A String", # Output only. The specific evaluation set of the evaluation run. For runs with an evaluation set input, this will be that same set. For runs with BigQuery input, it's the sampled BigQuery dataset. "inferenceConfigs": { # Optional. The candidate to inference config map for the evaluation run. The candidate can be up to 128 characters long and can consist of any UTF-8 characters. - "a_key": { # An inference config used for model inference during the evaluation run. + "a_key": { # Defines the configuration for a candidate model or agent being evaluated. `InferenceConfig` encapsulates all the necessary information to invoke or scrape the candidate during the evaluation run. This includes direct model inference parameters, agent execution settings, and multi-turn scraping configurations (such as user simulators). It serves as the primary representation of the candidate across different stages of the evaluation process. "agentConfig": { # Configuration that describes an agent. # Optional. Deprecated: Use `agents` instead. Agent config used to generate responses. "developerInstruction": { # 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. # Optional. The developer instruction for the agent. "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. @@ -6487,6 +7653,372 @@

Method Details

}, ], }, + "agentRunConfig": { # Configuration for Agent Run. # Optional. Agent run config. + "agentEngine": "A String", # Optional. The resource name of the Agent Engine. Format: projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine} For example: projects/123/locations/us-central1/reasoningEngines/456 + "sessionInput": { # Session input to run an Agent. # Optional. The session input to get agent running results. + "parameters": { # Optional. Additional parameters for the session, like app_name, etc. For example, {"app_name": "my-app"}. + "a_key": "A String", + }, + "sessionState": { # Optional. Session specific memory which stores key conversation points. + "a_key": "", # Properties of the object. + }, + "userId": "A String", # Optional. The user id for the agent session. The ID can be up to 128 characters long. + }, + "userSimulatorConfig": { # Used for multi-turn agent scraping. Contains configuration for a user simulator that uses an LLM to generate messages on behalf of the user. # The configuration for a user simulator that uses an LLM to generate messages on behalf of the user. + "maxTurn": 42, # Maximum number of invocations allowed by the multi-turn agent scraping. This property allows us to stop a run-off conversation, where the agent and the user simulator get into a never ending loop. The initial fixed prompt is also counted as an invocation. + "modelConfig": { # 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. # The configuration for the model. + "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. + "candidateCount": 42, # Optional. The number of candidate responses to generate. A higher `candidate_count` can provide more options to choose from, but it also consumes more resources. This can be useful for generating a variety of responses and selecting the best one. + "enableAffectiveDialog": True or False, # Optional. If enabled, the model will detect emotions and adapt its responses accordingly. For example, if the model detects that the user is frustrated, it may provide a more empathetic response. + "frequencyPenalty": 3.14, # Optional. Penalizes tokens based on their frequency in the generated text. A positive value helps to reduce the repetition of words and phrases. Valid values can range from [-2.0, 2.0]. + "imageConfig": { # Configuration for image generation. This message allows you to control various aspects of image generation, such as the output format, aspect ratio, and whether the model can generate images of people. # Optional. Config for image generation features. + "aspectRatio": "A String", # Optional. The desired aspect ratio for the generated images. The following aspect ratios are supported: "1:1" "2:3", "3:2" "3:4", "4:3" "4:5", "5:4" "9:16", "16:9" "21:9" + "imageOutputOptions": { # The image output format for generated images. # Optional. The image output format for generated images. + "compressionQuality": 42, # Optional. The compression quality of the output image. + "mimeType": "A String", # Optional. The image format that the output should be saved as. + }, + "imageSize": "A String", # Optional. Specifies the size of generated images. Supported values are `1K`, `2K`, `4K`. If not specified, the model will use default value `1K`. + "personGeneration": "A String", # Optional. Controls whether the model can generate people. + "prominentPeople": "A String", # Optional. Controls whether prominent people (celebrities) generation is allowed. If used with personGeneration, personGeneration enum would take precedence. For instance, if ALLOW_NONE is set, all person generation would be blocked. If this field is unspecified, the default behavior is to allow prominent people. + }, + "logprobs": 42, # Optional. The number of top log probabilities to return for each token. This can be used to see which other tokens were considered likely candidates for a given position. A higher value will return more options, but it will also increase the size of the response. + "maxOutputTokens": 42, # Optional. The maximum number of tokens to generate in the response. A token is approximately four characters. The default value varies by model. This parameter can be used to control the length of the generated text and prevent overly long responses. + "mediaResolution": "A String", # Optional. The token resolution at which input media content is sampled. This is used to control the trade-off between the quality of the response and the number of tokens used to represent the media. A higher resolution allows the model to perceive more detail, which can lead to a more nuanced response, but it will also use more tokens. This does not affect the image dimensions sent to the model. + "modelConfig": { # Config for model selection. # Optional. Config for model selection. + "featureSelectionPreference": "A String", # Required. Feature selection preference. + }, + "presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. + "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. + "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. + "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. + "A String", + ], + "responseSchema": { # Defines the schema of input and output data. This is a subset of the [OpenAPI 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object). # Optional. Lets you to specify a schema for the model's response, ensuring that the output conforms to a particular structure. This is useful for generating structured data such as JSON. The schema is a subset of the [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema) object. When this field is set, you must also set the `response_mime_type` to `application/json`. + "additionalProperties": "", # Optional. If `type` is `OBJECT`, specifies how to handle properties not defined in `properties`. If it is a boolean `false`, no additional properties are allowed. If it is a schema, additional properties are allowed if they conform to the schema. + "anyOf": [ # Optional. The instance must be valid against any (one or more) of the subschemas listed in `any_of`. + # Object with schema name: GoogleCloudAiplatformV1beta1Schema + ], + "default": "", # Optional. Default value to use if the field is not specified. + "defs": { # Optional. `defs` provides a map of schema definitions that can be reused by `ref` elsewhere in the schema. Only allowed at root level of the schema. + "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema + }, + "description": "A String", # Optional. Describes the data. The model uses this field to understand the purpose of the schema and how to use it. It is a best practice to provide a clear and descriptive explanation for the schema and its properties here, rather than in the prompt. + "enum": [ # Optional. Possible values of the field. This field can be used to restrict a value to a fixed set of values. To mark a field as an enum, set `format` to `enum` and provide the list of possible values in `enum`. For example: 1. To define directions: `{type:STRING, format:enum, enum:["EAST", "NORTH", "SOUTH", "WEST"]}` 2. To define apartment numbers: `{type:INTEGER, format:enum, enum:["101", "201", "301"]}` + "A String", + ], + "example": "", # Optional. Example of an instance of this schema. + "format": "A String", # Optional. The format of the data. For `NUMBER` type, format can be `float` or `double`. For `INTEGER` type, format can be `int32` or `int64`. For `STRING` type, format can be `email`, `byte`, `date`, `date-time`, `password`, and other formats to further refine the data type. + "items": # Object with schema name: GoogleCloudAiplatformV1beta1Schema # Optional. If type is `ARRAY`, `items` specifies the schema of elements in the array. + "maxItems": "A String", # Optional. If type is `ARRAY`, `max_items` specifies the maximum number of items in an array. + "maxLength": "A String", # Optional. If type is `STRING`, `max_length` specifies the maximum length of the string. + "maxProperties": "A String", # Optional. If type is `OBJECT`, `max_properties` specifies the maximum number of properties that can be provided. + "maximum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `maximum` specifies the maximum allowed value. + "minItems": "A String", # Optional. If type is `ARRAY`, `min_items` specifies the minimum number of items in an array. + "minLength": "A String", # Optional. If type is `STRING`, `min_length` specifies the minimum length of the string. + "minProperties": "A String", # Optional. If type is `OBJECT`, `min_properties` specifies the minimum number of properties that can be provided. + "minimum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `minimum` specifies the minimum allowed value. + "nullable": True or False, # Optional. Indicates if the value of this field can be null. + "pattern": "A String", # Optional. If type is `STRING`, `pattern` specifies a regular expression that the string must match. + "properties": { # Optional. If type is `OBJECT`, `properties` is a map of property names to schema definitions for each property of the object. + "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema + }, + "propertyOrdering": [ # Optional. Order of properties displayed or used where order matters. This is not a standard field in OpenAPI specification, but can be used to control the order of properties. + "A String", + ], + "ref": "A String", # Optional. Allows referencing another schema definition to use in place of this schema. The value must be a valid reference to a schema in `defs`. For example, the following schema defines a reference to a schema node named "Pet": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the "pet" property is a reference to the schema node named "Pet". See details in https://json-schema.org/understanding-json-schema/structuring + "required": [ # Optional. If type is `OBJECT`, `required` lists the names of properties that must be present. + "A String", + ], + "title": "A String", # Optional. Title for the schema. + "type": "A String", # Optional. Data type of the schema field. + }, + "routingConfig": { # The configuration for routing the request to a specific model. This can be used to control which model is used for the generation, either automatically or by specifying a model name. # Optional. Routing configuration. + "autoMode": { # The configuration for automated routing. When automated routing is specified, the routing will be determined by the pretrained routing model and customer provided model routing preference. # In this mode, the model is selected automatically based on the content of the request. + "modelRoutingPreference": "A String", # The model routing preference. + }, + "manualMode": { # The configuration for manual routing. When manual routing is specified, the model will be selected based on the model name provided. # In this mode, the model is specified manually. + "modelName": "A String", # The name of the model to use. Only public LLM models are accepted. + }, + }, + "seed": 42, # Optional. A seed for the random number generator. By setting a seed, you can make the model's output mostly deterministic. For a given prompt and parameters (like temperature, top_p, etc.), the model will produce the same response every time. However, it's not a guaranteed absolute deterministic behavior. This is different from parameters like `temperature`, which control the *level* of randomness. `seed` ensures that the "random" choices the model makes are the same on every run, making it essential for testing and ensuring reproducible results. + "speechConfig": { # Configuration for speech generation. # Optional. The speech generation config. + "languageCode": "A String", # Optional. The language code (ISO 639-1) for the speech synthesis. + "multiSpeakerVoiceConfig": { # Configuration for a multi-speaker text-to-speech request. # The configuration for a multi-speaker text-to-speech request. This field is mutually exclusive with `voice_config`. + "speakerVoiceConfigs": [ # Required. A list of configurations for the voices of the speakers. Exactly two speaker voice configurations must be provided. + { # Configuration for a single speaker in a multi-speaker setup. + "speaker": "A String", # Required. The name of the speaker. This should be the same as the speaker name used in the prompt. + "voiceConfig": { # Configuration for a voice. # Required. The configuration for the voice of this speaker. + "prebuiltVoiceConfig": { # Configuration for a prebuilt voice. # The configuration for a prebuilt voice. + "voiceName": "A String", # The name of the prebuilt voice to use. + }, + "replicatedVoiceConfig": { # The configuration for the replicated voice to use. # Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample. + "mimeType": "A String", # Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set. + "voiceSampleAudio": "A String", # Optional. The sample of the custom voice. + }, + }, + }, + ], + }, + "voiceConfig": { # Configuration for a voice. # The configuration for the voice to use. + "prebuiltVoiceConfig": { # Configuration for a prebuilt voice. # The configuration for a prebuilt voice. + "voiceName": "A String", # The name of the prebuilt voice to use. + }, + "replicatedVoiceConfig": { # The configuration for the replicated voice to use. # Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample. + "mimeType": "A String", # Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set. + "voiceSampleAudio": "A String", # Optional. The sample of the custom voice. + }, + }, + }, + "stopSequences": [ # Optional. A list of character sequences that will stop the model from generating further tokens. If a stop sequence is generated, the output will end at that point. This is useful for controlling the length and structure of the output. For example, you can use ["\n", "###"] to stop generation at a new line or a specific marker. + "A String", + ], + "temperature": 3.14, # Optional. Controls the randomness of the output. A higher temperature results in more creative and diverse responses, while a lower temperature makes the output more predictable and focused. The valid range is (0.0, 2.0]. + "thinkingConfig": { # Configuration for the model's thinking features. "Thinking" is a process where the model breaks down a complex task into smaller, manageable steps. This allows the model to reason about the task, plan its approach, and execute the plan to generate a high-quality response. # Optional. Configuration for thinking features. An error will be returned if this field is set for models that don't support thinking. + "includeThoughts": True or False, # Optional. If true, the model will include its thoughts in the response. "Thoughts" are the intermediate steps the model takes to arrive at the final response. They can provide insights into the model's reasoning process and help with debugging. If this is true, thoughts are returned only when available. + "thinkingBudget": 42, # Optional. The token budget for the model's thinking process. The model will make a best effort to stay within this budget. This can be used to control the trade-off between response quality and latency. + "thinkingLevel": "A String", # Optional. The number of thoughts tokens that the model should generate. + }, + "topK": 3.14, # Optional. Specifies the top-k sampling threshold. The model considers only the top k most probable tokens for the next token. This can be useful for generating more coherent and less random text. For example, a `top_k` of 40 means the model will choose the next word from the 40 most likely words. + "topP": 3.14, # Optional. Specifies the nucleus sampling threshold. The model considers only the smallest set of tokens whose cumulative probability is at least `top_p`. This helps generate more diverse and less repetitive responses. For example, a `top_p` of 0.9 means the model considers tokens until the cumulative probability of the tokens to select from reaches 0.9. It's recommended to adjust either temperature or `top_p`, but not both. + }, + "modelName": "A String", # The model name to use for multi-turn agent scraping to get next user message, e.g. "gemini-3-flash-preview". + }, + }, + "agents": { # Optional. Contains the static configurations for each agent in the system. Key: agent_id (matches the `author` field in events). Value: The static configuration of the agent. + "a_key": { # Represents configuration for an Agent. + "agentId": "A String", # Required. Unique identifier of the agent. This ID is used to refer to this agent, e.g., in AgentEvent.author, or in the `sub_agents` field. It must be unique within the `agents` map. + "agentType": "A String", # Optional. The type or class of the agent (e.g., "LlmAgent", "RouterAgent", "ToolUseAgent"). Useful for the autorater to understand the expected behavior of the agent. + "description": "A String", # Optional. A high-level description of the agent's role and responsibilities. Critical for evaluating if the agent is routing tasks correctly. + "instruction": "A String", # Optional. Provides instructions for the LLM model, guiding the agent's behavior. Can be static or dynamic. Dynamic instructions can contain placeholders like {variable_name} that will be resolved at runtime using the `AgentEvent.state_delta` field. + "subAgents": [ # Optional. The list of valid agent IDs that this agent can delegate to. This defines the directed edges in the multi-agent system graph topology. + "A String", + ], + "tools": [ # Optional. The list of tools available to this agent. + { # Tool details that the model may use to generate response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the model. A Tool object should contain exactly one type of Tool (e.g FunctionDeclaration, Retrieval or GoogleSearchRetrieval). + "codeExecution": { # Tool that executes code generated by the model, and automatically returns the result to the model. See also ExecutableCode and CodeExecutionResult, which are input and output to this tool. # Optional. CodeExecution tool type. Enables the model to execute code as part of generation. + }, + "computerUse": { # Tool to support computer use. # Optional. Tool to support the model interacting directly with the computer. If enabled, it automatically populates computer-use specific Function Declarations. + "environment": "A String", # Required. The environment being operated. + "excludedPredefinedFunctions": [ # Optional. By default, [predefined functions](https://cloud.google.com/vertex-ai/generative-ai/docs/computer-use#supported-actions) are included in the final model call. Some of them can be explicitly excluded from being automatically included. This can serve two purposes: 1. Using a more restricted / different action space. 2. Improving the definitions / instructions of predefined functions. + "A String", + ], + }, + "enterpriseWebSearch": { # Tool to search public web data, powered by Vertex AI Search and Sec4 compliance. # Optional. Tool to support searching public web data, powered by Vertex AI Search and Sec4 compliance. + "blockingConfidence": "A String", # Optional. Sites with confidence level chosen & above this value will be blocked from the search results. + "excludeDomains": [ # Optional. List of domains to be excluded from the search results. The default limit is 2000 domains. + "A String", + ], + }, + "functionDeclarations": [ # Optional. Function tool type. One or more function declarations to be passed to the model along with the current user query. Model may decide to call a subset of these functions by populating FunctionCall in the response. User should provide a FunctionResponse for each function call in the next turn. Based on the function responses, Model will generate the final response back to the user. Maximum 512 function declarations can be provided. + { # Structured representation of a function declaration as defined by the [OpenAPI 3.0 specification](https://spec.openapis.org/oas/v3.0.3). Included in this declaration are the function name, description, parameters and response type. This FunctionDeclaration is a representation of a block of code that can be used as a `Tool` by the model and executed by the client. + "description": "A String", # Optional. Description and purpose of the function. Model uses it to decide how and whether to call the function. + "name": "A String", # Required. The name of the function to call. Must start with a letter or an underscore. Must be a-z, A-Z, 0-9, or contain underscores, dots, colons and dashes, with a maximum length of 64. + "parameters": { # Defines the schema of input and output data. This is a subset of the [OpenAPI 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object). # Optional. Describes the parameters to this function in JSON Schema Object format. Reflects the Open API 3.03 Parameter Object. string Key: the name of the parameter. Parameter names are case sensitive. Schema Value: the Schema defining the type used for the parameter. For function with no parameters, this can be left unset. Parameter names must start with a letter or an underscore and must only contain chars a-z, A-Z, 0-9, or underscores with a maximum length of 64. Example with 1 required and 1 optional parameter: type: OBJECT properties: param1: type: STRING param2: type: INTEGER required: - param1 + "additionalProperties": "", # Optional. If `type` is `OBJECT`, specifies how to handle properties not defined in `properties`. If it is a boolean `false`, no additional properties are allowed. If it is a schema, additional properties are allowed if they conform to the schema. + "anyOf": [ # Optional. The instance must be valid against any (one or more) of the subschemas listed in `any_of`. + # Object with schema name: GoogleCloudAiplatformV1beta1Schema + ], + "default": "", # Optional. Default value to use if the field is not specified. + "defs": { # Optional. `defs` provides a map of schema definitions that can be reused by `ref` elsewhere in the schema. Only allowed at root level of the schema. + "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema + }, + "description": "A String", # Optional. Describes the data. The model uses this field to understand the purpose of the schema and how to use it. It is a best practice to provide a clear and descriptive explanation for the schema and its properties here, rather than in the prompt. + "enum": [ # Optional. Possible values of the field. This field can be used to restrict a value to a fixed set of values. To mark a field as an enum, set `format` to `enum` and provide the list of possible values in `enum`. For example: 1. To define directions: `{type:STRING, format:enum, enum:["EAST", "NORTH", "SOUTH", "WEST"]}` 2. To define apartment numbers: `{type:INTEGER, format:enum, enum:["101", "201", "301"]}` + "A String", + ], + "example": "", # Optional. Example of an instance of this schema. + "format": "A String", # Optional. The format of the data. For `NUMBER` type, format can be `float` or `double`. For `INTEGER` type, format can be `int32` or `int64`. For `STRING` type, format can be `email`, `byte`, `date`, `date-time`, `password`, and other formats to further refine the data type. + "items": # Object with schema name: GoogleCloudAiplatformV1beta1Schema # Optional. If type is `ARRAY`, `items` specifies the schema of elements in the array. + "maxItems": "A String", # Optional. If type is `ARRAY`, `max_items` specifies the maximum number of items in an array. + "maxLength": "A String", # Optional. If type is `STRING`, `max_length` specifies the maximum length of the string. + "maxProperties": "A String", # Optional. If type is `OBJECT`, `max_properties` specifies the maximum number of properties that can be provided. + "maximum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `maximum` specifies the maximum allowed value. + "minItems": "A String", # Optional. If type is `ARRAY`, `min_items` specifies the minimum number of items in an array. + "minLength": "A String", # Optional. If type is `STRING`, `min_length` specifies the minimum length of the string. + "minProperties": "A String", # Optional. If type is `OBJECT`, `min_properties` specifies the minimum number of properties that can be provided. + "minimum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `minimum` specifies the minimum allowed value. + "nullable": True or False, # Optional. Indicates if the value of this field can be null. + "pattern": "A String", # Optional. If type is `STRING`, `pattern` specifies a regular expression that the string must match. + "properties": { # Optional. If type is `OBJECT`, `properties` is a map of property names to schema definitions for each property of the object. + "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema + }, + "propertyOrdering": [ # Optional. Order of properties displayed or used where order matters. This is not a standard field in OpenAPI specification, but can be used to control the order of properties. + "A String", + ], + "ref": "A String", # Optional. Allows referencing another schema definition to use in place of this schema. The value must be a valid reference to a schema in `defs`. For example, the following schema defines a reference to a schema node named "Pet": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the "pet" property is a reference to the schema node named "Pet". See details in https://json-schema.org/understanding-json-schema/structuring + "required": [ # Optional. If type is `OBJECT`, `required` lists the names of properties that must be present. + "A String", + ], + "title": "A String", # Optional. Title for the schema. + "type": "A String", # Optional. Data type of the schema field. + }, + "parametersJsonSchema": "", # Optional. Describes the parameters to the function in JSON Schema format. The schema must describe an object where the properties are the parameters to the function. For example: ``` { "type": "object", "properties": { "name": { "type": "string" }, "age": { "type": "integer" } }, "additionalProperties": false, "required": ["name", "age"], "propertyOrdering": ["name", "age"] } ``` This field is mutually exclusive with `parameters`. + "response": { # Defines the schema of input and output data. This is a subset of the [OpenAPI 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object). # Optional. Describes the output from this function in JSON Schema format. Reflects the Open API 3.03 Response Object. The Schema defines the type used for the response value of the function. + "additionalProperties": "", # Optional. If `type` is `OBJECT`, specifies how to handle properties not defined in `properties`. If it is a boolean `false`, no additional properties are allowed. If it is a schema, additional properties are allowed if they conform to the schema. + "anyOf": [ # Optional. The instance must be valid against any (one or more) of the subschemas listed in `any_of`. + # Object with schema name: GoogleCloudAiplatformV1beta1Schema + ], + "default": "", # Optional. Default value to use if the field is not specified. + "defs": { # Optional. `defs` provides a map of schema definitions that can be reused by `ref` elsewhere in the schema. Only allowed at root level of the schema. + "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema + }, + "description": "A String", # Optional. Describes the data. The model uses this field to understand the purpose of the schema and how to use it. It is a best practice to provide a clear and descriptive explanation for the schema and its properties here, rather than in the prompt. + "enum": [ # Optional. Possible values of the field. This field can be used to restrict a value to a fixed set of values. To mark a field as an enum, set `format` to `enum` and provide the list of possible values in `enum`. For example: 1. To define directions: `{type:STRING, format:enum, enum:["EAST", "NORTH", "SOUTH", "WEST"]}` 2. To define apartment numbers: `{type:INTEGER, format:enum, enum:["101", "201", "301"]}` + "A String", + ], + "example": "", # Optional. Example of an instance of this schema. + "format": "A String", # Optional. The format of the data. For `NUMBER` type, format can be `float` or `double`. For `INTEGER` type, format can be `int32` or `int64`. For `STRING` type, format can be `email`, `byte`, `date`, `date-time`, `password`, and other formats to further refine the data type. + "items": # Object with schema name: GoogleCloudAiplatformV1beta1Schema # Optional. If type is `ARRAY`, `items` specifies the schema of elements in the array. + "maxItems": "A String", # Optional. If type is `ARRAY`, `max_items` specifies the maximum number of items in an array. + "maxLength": "A String", # Optional. If type is `STRING`, `max_length` specifies the maximum length of the string. + "maxProperties": "A String", # Optional. If type is `OBJECT`, `max_properties` specifies the maximum number of properties that can be provided. + "maximum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `maximum` specifies the maximum allowed value. + "minItems": "A String", # Optional. If type is `ARRAY`, `min_items` specifies the minimum number of items in an array. + "minLength": "A String", # Optional. If type is `STRING`, `min_length` specifies the minimum length of the string. + "minProperties": "A String", # Optional. If type is `OBJECT`, `min_properties` specifies the minimum number of properties that can be provided. + "minimum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `minimum` specifies the minimum allowed value. + "nullable": True or False, # Optional. Indicates if the value of this field can be null. + "pattern": "A String", # Optional. If type is `STRING`, `pattern` specifies a regular expression that the string must match. + "properties": { # Optional. If type is `OBJECT`, `properties` is a map of property names to schema definitions for each property of the object. + "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema + }, + "propertyOrdering": [ # Optional. Order of properties displayed or used where order matters. This is not a standard field in OpenAPI specification, but can be used to control the order of properties. + "A String", + ], + "ref": "A String", # Optional. Allows referencing another schema definition to use in place of this schema. The value must be a valid reference to a schema in `defs`. For example, the following schema defines a reference to a schema node named "Pet": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the "pet" property is a reference to the schema node named "Pet". See details in https://json-schema.org/understanding-json-schema/structuring + "required": [ # Optional. If type is `OBJECT`, `required` lists the names of properties that must be present. + "A String", + ], + "title": "A String", # Optional. Title for the schema. + "type": "A String", # Optional. Data type of the schema field. + }, + "responseJsonSchema": "", # Optional. Describes the output from this function in JSON Schema format. The value specified by the schema is the response value of the function. This field is mutually exclusive with `response`. + }, + ], + "googleMaps": { # Tool to retrieve public maps data for grounding, powered by Google. # Optional. GoogleMaps tool type. Tool to support Google Maps in Model. + "enableWidget": True or False, # Optional. If true, include the widget context token in the response. + }, + "googleSearch": { # GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google. # Optional. GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google. + "blockingConfidence": "A String", # Optional. Sites with confidence level chosen & above this value will be blocked from the search results. + "excludeDomains": [ # Optional. List of domains to be excluded from the search results. The default limit is 2000 domains. Example: ["amazon.com", "facebook.com"]. + "A String", + ], + "searchTypes": { # Different types of search that can be enabled on the GoogleSearch tool. # Optional. The set of search types to enable. If not set, web search is enabled by default. + "imageSearch": { # Image search for grounding and related configurations. # Optional. Setting this field enables image search. Image bytes are returned. + }, + "webSearch": { # Standard web search for grounding and related configurations. Only text results are returned. # Optional. Setting this field enables web search. Only text results are returned. + }, + }, + }, + "googleSearchRetrieval": { # Tool to retrieve public web data for grounding, powered by Google. # Optional. Specialized retrieval tool that is powered by Google Search. + "dynamicRetrievalConfig": { # Describes the options to customize dynamic retrieval. # Specifies the dynamic retrieval configuration for the given source. + "dynamicThreshold": 3.14, # Optional. The threshold to be used in dynamic retrieval. If not set, a system default value is used. + "mode": "A String", # The mode of the predictor to be used in dynamic retrieval. + }, + }, + "parallelAiSearch": { # ParallelAiSearch tool type. A tool that uses the Parallel.ai search engine for grounding. # Optional. If specified, Vertex AI will use Parallel.ai to search for information to answer user queries. The search results will be grounded on Parallel.ai and presented to the model for response generation + "apiKey": "A String", # Optional. The API key for ParallelAiSearch. If an API key is not provided, the system will attempt to verify access by checking for an active Parallel.ai subscription through the Google Cloud Marketplace. See https://docs.parallel.ai/search/search-quickstart for more details. + "customConfigs": { # Optional. Custom configs for ParallelAiSearch. This field can be used to pass any parameter from the Parallel.ai Search API. See the Parallel.ai documentation for the full list of available parameters and their usage: https://docs.parallel.ai/api-reference/search-beta/search Currently only `source_policy`, `excerpts`, `max_results`, `mode`, `fetch_policy` can be set via this field. For example: { "source_policy": { "include_domains": ["google.com", "wikipedia.org"], "exclude_domains": ["example.com"] }, "fetch_policy": { "max_age_seconds": 3600 } } + "a_key": "", # Properties of the object. + }, + }, + "retrieval": { # Defines a retrieval tool that model can call to access external knowledge. # Optional. Retrieval tool type. System will always execute the provided retrieval tool(s) to get external knowledge to answer the prompt. Retrieval results are presented to the model for generation. + "disableAttribution": True or False, # Optional. Deprecated. This option is no longer supported. + "externalApi": { # Retrieve from data source powered by external API for grounding. The external API is not owned by Google, but need to follow the pre-defined API spec. # Use data source powered by external API for grounding. + "apiAuth": { # The generic reusable api auth config. Deprecated. Please use AuthConfig (google/cloud/aiplatform/master/auth.proto) instead. # The authentication config to access the API. Deprecated. Please use auth_config instead. + "apiKeyConfig": { # The API secret. # The API secret. + "apiKeySecretVersion": "A String", # Required. The SecretManager secret version resource name storing API key. e.g. projects/{project}/secrets/{secret}/versions/{version} + "apiKeyString": "A String", # The API key string. Either this or `api_key_secret_version` must be set. + }, + }, + "apiSpec": "A String", # The API spec that the external API implements. + "authConfig": { # Auth configuration to run the extension. # The authentication config to access the API. + "apiKeyConfig": { # Config for authentication with API key. # Config for API key auth. + "apiKeySecret": "A String", # Optional. The name of the SecretManager secret version resource storing the API key. Format: `projects/{project}/secrets/{secrete}/versions/{version}` - If both `api_key_secret` and `api_key_string` are specified, this field takes precedence over `api_key_string`. - If specified, the `secretmanager.versions.access` permission should be granted to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the specified resource. + "apiKeyString": "A String", # Optional. The API key to be used in the request directly. + "httpElementLocation": "A String", # Optional. The location of the API key. + "name": "A String", # Optional. The parameter name of the API key. E.g. If the API request is "https://example.com/act?api_key=", "api_key" would be the parameter name. + }, + "authType": "A String", # Type of auth scheme. + "googleServiceAccountConfig": { # Config for Google Service Account Authentication. # Config for Google Service Account auth. + "serviceAccount": "A String", # Optional. The service account that the extension execution service runs as. - If the service account is specified, the `iam.serviceAccounts.getAccessToken` permission should be granted to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the specified service account. - If not specified, the Vertex AI Extension Service Agent will be used to execute the Extension. + }, + "httpBasicAuthConfig": { # Config for HTTP Basic Authentication. # Config for HTTP Basic auth. + "credentialSecret": "A String", # Required. The name of the SecretManager secret version resource storing the base64 encoded credentials. Format: `projects/{project}/secrets/{secrete}/versions/{version}` - If specified, the `secretmanager.versions.access` permission should be granted to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the specified resource. + }, + "oauthConfig": { # Config for user oauth. # Config for user oauth. + "accessToken": "A String", # Access token for extension endpoint. Only used to propagate token from [[ExecuteExtensionRequest.runtime_auth_config]] at request time. + "serviceAccount": "A String", # The service account used to generate access tokens for executing the Extension. - If the service account is specified, the `iam.serviceAccounts.getAccessToken` permission should be granted to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the provided service account. + }, + "oidcConfig": { # Config for user OIDC auth. # Config for user OIDC auth. + "idToken": "A String", # OpenID Connect formatted ID token for extension endpoint. Only used to propagate token from [[ExecuteExtensionRequest.runtime_auth_config]] at request time. + "serviceAccount": "A String", # The service account used to generate an OpenID Connect (OIDC)-compatible JWT token signed by the Google OIDC Provider (accounts.google.com) for extension endpoint (https://cloud.google.com/iam/docs/create-short-lived-credentials-direct#sa-credentials-oidc). - The audience for the token will be set to the URL in the server url defined in the OpenApi spec. - If the service account is provided, the service account should grant `iam.serviceAccounts.getOpenIdToken` permission to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents). + }, + }, + "elasticSearchParams": { # The search parameters to use for the ELASTIC_SEARCH spec. # Parameters for the elastic search API. + "index": "A String", # The ElasticSearch index to use. + "numHits": 42, # Optional. Number of hits (chunks) to request. When specified, it is passed to Elasticsearch as the `num_hits` param. + "searchTemplate": "A String", # The ElasticSearch search template to use. + }, + "endpoint": "A String", # The endpoint of the external API. The system will call the API at this endpoint to retrieve the data for grounding. Example: https://acme.com:443/search + "simpleSearchParams": { # The search parameters to use for SIMPLE_SEARCH spec. # Parameters for the simple search API. + }, + }, + "vertexAiSearch": { # Retrieve from Vertex AI Search datastore or engine for grounding. datastore and engine are mutually exclusive. See https://cloud.google.com/products/agent-builder # Set to use data source powered by Vertex AI Search. + "dataStoreSpecs": [ # Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. It should only be set if engine is used. + { # Define data stores within engine to filter on in a search call and configurations for those data stores. For more information, see https://cloud.google.com/generative-ai-app-builder/docs/reference/rpc/google.cloud.discoveryengine.v1#datastorespec + "dataStore": "A String", # Full resource name of DataStore, such as Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}` + "filter": "A String", # Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see [Filtering](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) + }, + ], + "datastore": "A String", # Optional. Fully-qualified Vertex AI Search data store resource ID. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}` + "engine": "A String", # Optional. Fully-qualified Vertex AI Search engine resource ID. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` + "filter": "A String", # Optional. Filter strings to be passed to the search API. + "maxResults": 42, # Optional. Number of search results to return per query. The default value is 10. The maximumm allowed value is 10. + }, + "vertexRagStore": { # Retrieve from Vertex RAG Store for grounding. # Set to use data source powered by Vertex RAG store. User data is uploaded via the VertexRagDataService. + "ragCorpora": [ # Optional. Deprecated. Please use rag_resources instead. + "A String", + ], + "ragResources": [ # Optional. The representation of the rag source. It can be used to specify corpus only or ragfiles. Currently only support one corpus or multiple files from one corpus. In the future we may open up multiple corpora support. + { # The definition of the Rag resource. + "ragCorpus": "A String", # Optional. RagCorpora resource name. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` + "ragFileIds": [ # Optional. rag_file_id. The files should be in the same rag_corpus set in rag_corpus field. + "A String", + ], + }, + ], + "ragRetrievalConfig": { # Specifies the context retrieval config. # Optional. The retrieval config for the Rag query. + "filter": { # Config for filters. # Optional. Config for filters. + "metadataFilter": "A String", # Optional. String for metadata filtering. + "vectorDistanceThreshold": 3.14, # Optional. Only returns contexts with vector distance smaller than the threshold. + "vectorSimilarityThreshold": 3.14, # Optional. Only returns contexts with vector similarity larger than the threshold. + }, + "hybridSearch": { # Config for Hybrid Search. # Optional. Config for Hybrid Search. + "alpha": 3.14, # Optional. Alpha value controls the weight between dense and sparse vector search results. The range is [0, 1], while 0 means sparse vector search only and 1 means dense vector search only. The default value is 0.5 which balances sparse and dense vector search equally. + }, + "ranking": { # Config for ranking and reranking. # Optional. Config for ranking and reranking. + "llmRanker": { # Config for LlmRanker. # Optional. Config for LlmRanker. + "modelName": "A String", # Optional. The model name used for ranking. See [Supported models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/inference#supported-models). + }, + "rankService": { # Config for Rank Service. # Optional. Config for Rank Service. + "modelName": "A String", # Optional. The model name of the rank service. Format: `semantic-ranker-512@latest` + }, + }, + "topK": 42, # Optional. The number of contexts to retrieve. + }, + "similarityTopK": 42, # Optional. Number of top k results to return from the selected corpora. + "storeContext": True or False, # Optional. Currently only supported for Gemini Multimodal Live API. In Gemini Multimodal Live API, if `store_context` bool is specified, Gemini will leverage it to automatically memorize the interactions between the client and Gemini, and retrieve context when needed to augment the response generation for users' ongoing and future interactions. + "vectorDistanceThreshold": 3.14, # Optional. Only return results with vector distance smaller than the threshold. + }, + }, + "urlContext": { # Tool to support URL context. # Optional. Tool to support URL context retrieval. + }, + }, + ], + }, + }, "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. "candidateCount": 42, # Optional. The number of candidate responses to generate. A higher `candidate_count` can provide more options to choose from, but it also consumes more resources. This can be useful for generating a variety of responses and selecting the best one. @@ -6511,7 +8043,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -6603,7 +8135,7 @@

Method Details

"topK": 3.14, # Optional. Specifies the top-k sampling threshold. The model considers only the top k most probable tokens for the next token. This can be useful for generating more coherent and less random text. For example, a `top_k` of 40 means the model will choose the next word from the 40 most likely words. "topP": 3.14, # Optional. Specifies the nucleus sampling threshold. The model considers only the smallest set of tokens whose cumulative probability is at least `top_p`. This helps generate more diverse and less repetitive responses. For example, a `top_p` of 0.9 means the model considers tokens until the cumulative probability of the tokens to select from reaches 0.9. It's recommended to adjust either temperature or `top_p`, but not both. }, - "model": "A String", # Optional. The fully qualified name of the publisher model or endpoint to use. Anthropic and Llama third-party models are also supported through Model Garden. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Third-party model format: `projects/{project}/locations/{location}/publishers/anthropic/models/{model}` `projects/{project}/locations/{location}/publishers/llama/models/{model}` Endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` + "model": "A String", # Optional. The fully qualified name of the publisher model or endpoint to use. Anthropic and Llama third-party models are also supported through Model Garden. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Third-party model formats: `projects/{project}/locations/{location}/publishers/anthropic/models/{model}` or `projects/{project}/locations/{location}/publishers/llama/models/{model}` Endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` }, }, "labels": { # Optional. Labels for the evaluation run. diff --git a/docs/dyn/aiplatform_v1beta1.projects.locations.html b/docs/dyn/aiplatform_v1beta1.projects.locations.html index 282ffbc086..f66d5ed212 100644 --- a/docs/dyn/aiplatform_v1beta1.projects.locations.html +++ b/docs/dyn/aiplatform_v1beta1.projects.locations.html @@ -342,6 +342,9 @@

Instance Methods

generateSyntheticData(location, body=None, x__xgafv=None)

Generates synthetic (artificial) data based on a description

+

+ generateUserScenarios(location, body=None, x__xgafv=None)

+

Generates user scenarios for agent evaluation.

get(name, x__xgafv=None)

Gets information about a location.

@@ -1693,7 +1696,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -1848,7 +1851,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -1977,7 +1980,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -2080,6 +2083,18 @@

Method Details

"rubricGroupKey": "A String", # Use a pre-defined group of rubrics associated with the input. Refers to a key in the rubric_groups map of EvaluationInstance. "systemInstruction": "A String", # Optional. System instructions for the judge model. }, + "metadata": { # Metadata about the metric, used for visualization and organization. # Optional. Metadata about the metric, used for visualization and organization. + "otherMetadata": { # Optional. Flexible metadata for user-defined attributes. + "a_key": "", # Properties of the object. + }, + "scoreRange": { # The range of possible scores for this metric, used for plotting. # Optional. The range of possible scores for this metric, used for plotting. + "description": "A String", # Optional. The description of the score explaining the directionality etc. + "max": 3.14, # Required. The maximum value of the score range (inclusive). + "min": 3.14, # Required. The minimum value of the score range (inclusive). + "step": 3.14, # Optional. The distance between discrete steps in the range. If unset, the range is assumed to be continuous. + }, + "title": "A String", # Optional. The user-friendly name for the metric. If not set for a registered metric, it will default to the metric's display name. + }, "pairwiseMetricSpec": { # Spec for pairwise metric. # Spec for pairwise metric. "baselineResponseFieldName": "A String", # Optional. The field name of the baseline response. "candidateResponseFieldName": "A String", # Optional. The field name of the candidate response. @@ -2182,7 +2197,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -4591,6 +4606,332 @@

Method Details

}, }, "location": "A String", # Required. The resource name of the Location to evaluate the instances. Format: `projects/{project}/locations/{location}` + "metricSources": [ # Optional. The metrics (either inline or registered) used for evaluation. Currently, we only support evaluating a single metric. If multiple metrics are provided, only the first one will be evaluated. + { # The metric source used for evaluation. + "metric": { # The metric used for running evaluations. # Inline metric config. + "aggregationMetrics": [ # Optional. The aggregation metrics to use. + "A String", + ], + "bleuSpec": { # Spec for bleu score metric - calculates the precision of n-grams in the prediction as compared to reference - returns a score ranging between 0 to 1. # Spec for bleu metric. + "useEffectiveOrder": True or False, # Optional. Whether to use_effective_order to compute bleu score. + }, + "computationBasedMetricSpec": { # Specification for a computation based metric. # Spec for a computation based metric. + "parameters": { # Optional. A map of parameters for the metric, e.g. {"rouge_type": "rougeL"}. + "a_key": "", # Properties of the object. + }, + "type": "A String", # Required. The type of the computation based metric. + }, + "customCodeExecutionSpec": { # Specificies a metric that is populated by evaluating user-defined Python code. # Spec for Custom Code Execution metric. + "evaluationFunction": "A String", # Required. Python function. Expected user to define the following function, e.g.: def evaluate(instance: dict[str, Any]) -> float: Please include this function signature in the code snippet. Instance is the evaluation instance, any fields populated in the instance are available to the function as instance[field_name]. Example: Example input: ``` instance= EvaluationInstance( response=EvaluationInstance.InstanceData(text="The answer is 4."), reference=EvaluationInstance.InstanceData(text="4") ) ``` Example converted input: ``` { 'response': {'text': 'The answer is 4.'}, 'reference': {'text': '4'} } ``` Example python function: ``` def evaluate(instance: dict[str, Any]) -> float: if instance'response' == instance'reference': return 1.0 return 0.0 ``` CustomCodeExecutionSpec is also supported in Batch Evaluation (EvalDataset RPC) and Tuning Evaluation. Each line in the input jsonl file will be converted to dict[str, Any] and passed to the evaluation function. + }, + "exactMatchSpec": { # Spec for exact match metric - returns 1 if prediction and reference exactly matches, otherwise 0. # Spec for exact match metric. + }, + "llmBasedMetricSpec": { # Specification for an LLM based metric. # Spec for an LLM based metric. + "additionalConfig": { # Optional. Optional additional configuration for the metric. + "a_key": "", # Properties of the object. + }, + "judgeAutoraterConfig": { # The configs for autorater. This is applicable to both EvaluateInstances and EvaluateDataset. # Optional. Optional configuration for the judge LLM (Autorater). + "autoraterModel": "A String", # Optional. The fully qualified name of the publisher model or tuned autorater endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` + "flipEnabled": True or False, # Optional. Default is true. Whether to flip the candidate and baseline responses. This is only applicable to the pairwise metric. If enabled, also provide PairwiseMetricSpec.candidate_response_field_name and PairwiseMetricSpec.baseline_response_field_name. When rendering PairwiseMetricSpec.metric_prompt_template, the candidate and baseline fields will be flipped for half of the samples to reduce bias. + "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. Configuration options for model generation and outputs. + "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. + "candidateCount": 42, # Optional. The number of candidate responses to generate. A higher `candidate_count` can provide more options to choose from, but it also consumes more resources. This can be useful for generating a variety of responses and selecting the best one. + "enableAffectiveDialog": True or False, # Optional. If enabled, the model will detect emotions and adapt its responses accordingly. For example, if the model detects that the user is frustrated, it may provide a more empathetic response. + "frequencyPenalty": 3.14, # Optional. Penalizes tokens based on their frequency in the generated text. A positive value helps to reduce the repetition of words and phrases. Valid values can range from [-2.0, 2.0]. + "imageConfig": { # Configuration for image generation. This message allows you to control various aspects of image generation, such as the output format, aspect ratio, and whether the model can generate images of people. # Optional. Config for image generation features. + "aspectRatio": "A String", # Optional. The desired aspect ratio for the generated images. The following aspect ratios are supported: "1:1" "2:3", "3:2" "3:4", "4:3" "4:5", "5:4" "9:16", "16:9" "21:9" + "imageOutputOptions": { # The image output format for generated images. # Optional. The image output format for generated images. + "compressionQuality": 42, # Optional. The compression quality of the output image. + "mimeType": "A String", # Optional. The image format that the output should be saved as. + }, + "imageSize": "A String", # Optional. Specifies the size of generated images. Supported values are `1K`, `2K`, `4K`. If not specified, the model will use default value `1K`. + "personGeneration": "A String", # Optional. Controls whether the model can generate people. + "prominentPeople": "A String", # Optional. Controls whether prominent people (celebrities) generation is allowed. If used with personGeneration, personGeneration enum would take precedence. For instance, if ALLOW_NONE is set, all person generation would be blocked. If this field is unspecified, the default behavior is to allow prominent people. + }, + "logprobs": 42, # Optional. The number of top log probabilities to return for each token. This can be used to see which other tokens were considered likely candidates for a given position. A higher value will return more options, but it will also increase the size of the response. + "maxOutputTokens": 42, # Optional. The maximum number of tokens to generate in the response. A token is approximately four characters. The default value varies by model. This parameter can be used to control the length of the generated text and prevent overly long responses. + "mediaResolution": "A String", # Optional. The token resolution at which input media content is sampled. This is used to control the trade-off between the quality of the response and the number of tokens used to represent the media. A higher resolution allows the model to perceive more detail, which can lead to a more nuanced response, but it will also use more tokens. This does not affect the image dimensions sent to the model. + "modelConfig": { # Config for model selection. # Optional. Config for model selection. + "featureSelectionPreference": "A String", # Required. Feature selection preference. + }, + "presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. + "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. + "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. + "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. + "A String", + ], + "responseSchema": { # Defines the schema of input and output data. This is a subset of the [OpenAPI 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object). # Optional. Lets you to specify a schema for the model's response, ensuring that the output conforms to a particular structure. This is useful for generating structured data such as JSON. The schema is a subset of the [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema) object. When this field is set, you must also set the `response_mime_type` to `application/json`. + "additionalProperties": "", # Optional. If `type` is `OBJECT`, specifies how to handle properties not defined in `properties`. If it is a boolean `false`, no additional properties are allowed. If it is a schema, additional properties are allowed if they conform to the schema. + "anyOf": [ # Optional. The instance must be valid against any (one or more) of the subschemas listed in `any_of`. + # Object with schema name: GoogleCloudAiplatformV1beta1Schema + ], + "default": "", # Optional. Default value to use if the field is not specified. + "defs": { # Optional. `defs` provides a map of schema definitions that can be reused by `ref` elsewhere in the schema. Only allowed at root level of the schema. + "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema + }, + "description": "A String", # Optional. Describes the data. The model uses this field to understand the purpose of the schema and how to use it. It is a best practice to provide a clear and descriptive explanation for the schema and its properties here, rather than in the prompt. + "enum": [ # Optional. Possible values of the field. This field can be used to restrict a value to a fixed set of values. To mark a field as an enum, set `format` to `enum` and provide the list of possible values in `enum`. For example: 1. To define directions: `{type:STRING, format:enum, enum:["EAST", "NORTH", "SOUTH", "WEST"]}` 2. To define apartment numbers: `{type:INTEGER, format:enum, enum:["101", "201", "301"]}` + "A String", + ], + "example": "", # Optional. Example of an instance of this schema. + "format": "A String", # Optional. The format of the data. For `NUMBER` type, format can be `float` or `double`. For `INTEGER` type, format can be `int32` or `int64`. For `STRING` type, format can be `email`, `byte`, `date`, `date-time`, `password`, and other formats to further refine the data type. + "items": # Object with schema name: GoogleCloudAiplatformV1beta1Schema # Optional. If type is `ARRAY`, `items` specifies the schema of elements in the array. + "maxItems": "A String", # Optional. If type is `ARRAY`, `max_items` specifies the maximum number of items in an array. + "maxLength": "A String", # Optional. If type is `STRING`, `max_length` specifies the maximum length of the string. + "maxProperties": "A String", # Optional. If type is `OBJECT`, `max_properties` specifies the maximum number of properties that can be provided. + "maximum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `maximum` specifies the maximum allowed value. + "minItems": "A String", # Optional. If type is `ARRAY`, `min_items` specifies the minimum number of items in an array. + "minLength": "A String", # Optional. If type is `STRING`, `min_length` specifies the minimum length of the string. + "minProperties": "A String", # Optional. If type is `OBJECT`, `min_properties` specifies the minimum number of properties that can be provided. + "minimum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `minimum` specifies the minimum allowed value. + "nullable": True or False, # Optional. Indicates if the value of this field can be null. + "pattern": "A String", # Optional. If type is `STRING`, `pattern` specifies a regular expression that the string must match. + "properties": { # Optional. If type is `OBJECT`, `properties` is a map of property names to schema definitions for each property of the object. + "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema + }, + "propertyOrdering": [ # Optional. Order of properties displayed or used where order matters. This is not a standard field in OpenAPI specification, but can be used to control the order of properties. + "A String", + ], + "ref": "A String", # Optional. Allows referencing another schema definition to use in place of this schema. The value must be a valid reference to a schema in `defs`. For example, the following schema defines a reference to a schema node named "Pet": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the "pet" property is a reference to the schema node named "Pet". See details in https://json-schema.org/understanding-json-schema/structuring + "required": [ # Optional. If type is `OBJECT`, `required` lists the names of properties that must be present. + "A String", + ], + "title": "A String", # Optional. Title for the schema. + "type": "A String", # Optional. Data type of the schema field. + }, + "routingConfig": { # The configuration for routing the request to a specific model. This can be used to control which model is used for the generation, either automatically or by specifying a model name. # Optional. Routing configuration. + "autoMode": { # The configuration for automated routing. When automated routing is specified, the routing will be determined by the pretrained routing model and customer provided model routing preference. # In this mode, the model is selected automatically based on the content of the request. + "modelRoutingPreference": "A String", # The model routing preference. + }, + "manualMode": { # The configuration for manual routing. When manual routing is specified, the model will be selected based on the model name provided. # In this mode, the model is specified manually. + "modelName": "A String", # The name of the model to use. Only public LLM models are accepted. + }, + }, + "seed": 42, # Optional. A seed for the random number generator. By setting a seed, you can make the model's output mostly deterministic. For a given prompt and parameters (like temperature, top_p, etc.), the model will produce the same response every time. However, it's not a guaranteed absolute deterministic behavior. This is different from parameters like `temperature`, which control the *level* of randomness. `seed` ensures that the "random" choices the model makes are the same on every run, making it essential for testing and ensuring reproducible results. + "speechConfig": { # Configuration for speech generation. # Optional. The speech generation config. + "languageCode": "A String", # Optional. The language code (ISO 639-1) for the speech synthesis. + "multiSpeakerVoiceConfig": { # Configuration for a multi-speaker text-to-speech request. # The configuration for a multi-speaker text-to-speech request. This field is mutually exclusive with `voice_config`. + "speakerVoiceConfigs": [ # Required. A list of configurations for the voices of the speakers. Exactly two speaker voice configurations must be provided. + { # Configuration for a single speaker in a multi-speaker setup. + "speaker": "A String", # Required. The name of the speaker. This should be the same as the speaker name used in the prompt. + "voiceConfig": { # Configuration for a voice. # Required. The configuration for the voice of this speaker. + "prebuiltVoiceConfig": { # Configuration for a prebuilt voice. # The configuration for a prebuilt voice. + "voiceName": "A String", # The name of the prebuilt voice to use. + }, + "replicatedVoiceConfig": { # The configuration for the replicated voice to use. # Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample. + "mimeType": "A String", # Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set. + "voiceSampleAudio": "A String", # Optional. The sample of the custom voice. + }, + }, + }, + ], + }, + "voiceConfig": { # Configuration for a voice. # The configuration for the voice to use. + "prebuiltVoiceConfig": { # Configuration for a prebuilt voice. # The configuration for a prebuilt voice. + "voiceName": "A String", # The name of the prebuilt voice to use. + }, + "replicatedVoiceConfig": { # The configuration for the replicated voice to use. # Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample. + "mimeType": "A String", # Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set. + "voiceSampleAudio": "A String", # Optional. The sample of the custom voice. + }, + }, + }, + "stopSequences": [ # Optional. A list of character sequences that will stop the model from generating further tokens. If a stop sequence is generated, the output will end at that point. This is useful for controlling the length and structure of the output. For example, you can use ["\n", "###"] to stop generation at a new line or a specific marker. + "A String", + ], + "temperature": 3.14, # Optional. Controls the randomness of the output. A higher temperature results in more creative and diverse responses, while a lower temperature makes the output more predictable and focused. The valid range is (0.0, 2.0]. + "thinkingConfig": { # Configuration for the model's thinking features. "Thinking" is a process where the model breaks down a complex task into smaller, manageable steps. This allows the model to reason about the task, plan its approach, and execute the plan to generate a high-quality response. # Optional. Configuration for thinking features. An error will be returned if this field is set for models that don't support thinking. + "includeThoughts": True or False, # Optional. If true, the model will include its thoughts in the response. "Thoughts" are the intermediate steps the model takes to arrive at the final response. They can provide insights into the model's reasoning process and help with debugging. If this is true, thoughts are returned only when available. + "thinkingBudget": 42, # Optional. The token budget for the model's thinking process. The model will make a best effort to stay within this budget. This can be used to control the trade-off between response quality and latency. + "thinkingLevel": "A String", # Optional. The number of thoughts tokens that the model should generate. + }, + "topK": 3.14, # Optional. Specifies the top-k sampling threshold. The model considers only the top k most probable tokens for the next token. This can be useful for generating more coherent and less random text. For example, a `top_k` of 40 means the model will choose the next word from the 40 most likely words. + "topP": 3.14, # Optional. Specifies the nucleus sampling threshold. The model considers only the smallest set of tokens whose cumulative probability is at least `top_p`. This helps generate more diverse and less repetitive responses. For example, a `top_p` of 0.9 means the model considers tokens until the cumulative probability of the tokens to select from reaches 0.9. It's recommended to adjust either temperature or `top_p`, but not both. + }, + "samplingCount": 42, # Optional. Number of samples for each instance in the dataset. If not specified, the default is 4. Minimum value is 1, maximum value is 32. + }, + "metricPromptTemplate": "A String", # Required. Template for the prompt sent to the judge model. + "predefinedRubricGenerationSpec": { # The spec for a pre-defined metric. # Dynamically generate rubrics using a predefined spec. + "metricSpecName": "A String", # Required. The name of a pre-defined metric, such as "instruction_following_v1" or "text_quality_v1". + "metricSpecParameters": { # Optional. The parameters needed to run the pre-defined metric. + "a_key": "", # Properties of the object. + }, + }, + "rubricGenerationSpec": { # Specification for how rubrics should be generated. # Dynamically generate rubrics using this specification. + "modelConfig": { # The configs for autorater. This is applicable to both EvaluateInstances and EvaluateDataset. # Configuration for the model used in rubric generation. Configs including sampling count and base model can be specified here. Flipping is not supported for rubric generation. + "autoraterModel": "A String", # Optional. The fully qualified name of the publisher model or tuned autorater endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` + "flipEnabled": True or False, # Optional. Default is true. Whether to flip the candidate and baseline responses. This is only applicable to the pairwise metric. If enabled, also provide PairwiseMetricSpec.candidate_response_field_name and PairwiseMetricSpec.baseline_response_field_name. When rendering PairwiseMetricSpec.metric_prompt_template, the candidate and baseline fields will be flipped for half of the samples to reduce bias. + "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. Configuration options for model generation and outputs. + "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. + "candidateCount": 42, # Optional. The number of candidate responses to generate. A higher `candidate_count` can provide more options to choose from, but it also consumes more resources. This can be useful for generating a variety of responses and selecting the best one. + "enableAffectiveDialog": True or False, # Optional. If enabled, the model will detect emotions and adapt its responses accordingly. For example, if the model detects that the user is frustrated, it may provide a more empathetic response. + "frequencyPenalty": 3.14, # Optional. Penalizes tokens based on their frequency in the generated text. A positive value helps to reduce the repetition of words and phrases. Valid values can range from [-2.0, 2.0]. + "imageConfig": { # Configuration for image generation. This message allows you to control various aspects of image generation, such as the output format, aspect ratio, and whether the model can generate images of people. # Optional. Config for image generation features. + "aspectRatio": "A String", # Optional. The desired aspect ratio for the generated images. The following aspect ratios are supported: "1:1" "2:3", "3:2" "3:4", "4:3" "4:5", "5:4" "9:16", "16:9" "21:9" + "imageOutputOptions": { # The image output format for generated images. # Optional. The image output format for generated images. + "compressionQuality": 42, # Optional. The compression quality of the output image. + "mimeType": "A String", # Optional. The image format that the output should be saved as. + }, + "imageSize": "A String", # Optional. Specifies the size of generated images. Supported values are `1K`, `2K`, `4K`. If not specified, the model will use default value `1K`. + "personGeneration": "A String", # Optional. Controls whether the model can generate people. + "prominentPeople": "A String", # Optional. Controls whether prominent people (celebrities) generation is allowed. If used with personGeneration, personGeneration enum would take precedence. For instance, if ALLOW_NONE is set, all person generation would be blocked. If this field is unspecified, the default behavior is to allow prominent people. + }, + "logprobs": 42, # Optional. The number of top log probabilities to return for each token. This can be used to see which other tokens were considered likely candidates for a given position. A higher value will return more options, but it will also increase the size of the response. + "maxOutputTokens": 42, # Optional. The maximum number of tokens to generate in the response. A token is approximately four characters. The default value varies by model. This parameter can be used to control the length of the generated text and prevent overly long responses. + "mediaResolution": "A String", # Optional. The token resolution at which input media content is sampled. This is used to control the trade-off between the quality of the response and the number of tokens used to represent the media. A higher resolution allows the model to perceive more detail, which can lead to a more nuanced response, but it will also use more tokens. This does not affect the image dimensions sent to the model. + "modelConfig": { # Config for model selection. # Optional. Config for model selection. + "featureSelectionPreference": "A String", # Required. Feature selection preference. + }, + "presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. + "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. + "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. + "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. + "A String", + ], + "responseSchema": { # Defines the schema of input and output data. This is a subset of the [OpenAPI 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object). # Optional. Lets you to specify a schema for the model's response, ensuring that the output conforms to a particular structure. This is useful for generating structured data such as JSON. The schema is a subset of the [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema) object. When this field is set, you must also set the `response_mime_type` to `application/json`. + "additionalProperties": "", # Optional. If `type` is `OBJECT`, specifies how to handle properties not defined in `properties`. If it is a boolean `false`, no additional properties are allowed. If it is a schema, additional properties are allowed if they conform to the schema. + "anyOf": [ # Optional. The instance must be valid against any (one or more) of the subschemas listed in `any_of`. + # Object with schema name: GoogleCloudAiplatformV1beta1Schema + ], + "default": "", # Optional. Default value to use if the field is not specified. + "defs": { # Optional. `defs` provides a map of schema definitions that can be reused by `ref` elsewhere in the schema. Only allowed at root level of the schema. + "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema + }, + "description": "A String", # Optional. Describes the data. The model uses this field to understand the purpose of the schema and how to use it. It is a best practice to provide a clear and descriptive explanation for the schema and its properties here, rather than in the prompt. + "enum": [ # Optional. Possible values of the field. This field can be used to restrict a value to a fixed set of values. To mark a field as an enum, set `format` to `enum` and provide the list of possible values in `enum`. For example: 1. To define directions: `{type:STRING, format:enum, enum:["EAST", "NORTH", "SOUTH", "WEST"]}` 2. To define apartment numbers: `{type:INTEGER, format:enum, enum:["101", "201", "301"]}` + "A String", + ], + "example": "", # Optional. Example of an instance of this schema. + "format": "A String", # Optional. The format of the data. For `NUMBER` type, format can be `float` or `double`. For `INTEGER` type, format can be `int32` or `int64`. For `STRING` type, format can be `email`, `byte`, `date`, `date-time`, `password`, and other formats to further refine the data type. + "items": # Object with schema name: GoogleCloudAiplatformV1beta1Schema # Optional. If type is `ARRAY`, `items` specifies the schema of elements in the array. + "maxItems": "A String", # Optional. If type is `ARRAY`, `max_items` specifies the maximum number of items in an array. + "maxLength": "A String", # Optional. If type is `STRING`, `max_length` specifies the maximum length of the string. + "maxProperties": "A String", # Optional. If type is `OBJECT`, `max_properties` specifies the maximum number of properties that can be provided. + "maximum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `maximum` specifies the maximum allowed value. + "minItems": "A String", # Optional. If type is `ARRAY`, `min_items` specifies the minimum number of items in an array. + "minLength": "A String", # Optional. If type is `STRING`, `min_length` specifies the minimum length of the string. + "minProperties": "A String", # Optional. If type is `OBJECT`, `min_properties` specifies the minimum number of properties that can be provided. + "minimum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `minimum` specifies the minimum allowed value. + "nullable": True or False, # Optional. Indicates if the value of this field can be null. + "pattern": "A String", # Optional. If type is `STRING`, `pattern` specifies a regular expression that the string must match. + "properties": { # Optional. If type is `OBJECT`, `properties` is a map of property names to schema definitions for each property of the object. + "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema + }, + "propertyOrdering": [ # Optional. Order of properties displayed or used where order matters. This is not a standard field in OpenAPI specification, but can be used to control the order of properties. + "A String", + ], + "ref": "A String", # Optional. Allows referencing another schema definition to use in place of this schema. The value must be a valid reference to a schema in `defs`. For example, the following schema defines a reference to a schema node named "Pet": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the "pet" property is a reference to the schema node named "Pet". See details in https://json-schema.org/understanding-json-schema/structuring + "required": [ # Optional. If type is `OBJECT`, `required` lists the names of properties that must be present. + "A String", + ], + "title": "A String", # Optional. Title for the schema. + "type": "A String", # Optional. Data type of the schema field. + }, + "routingConfig": { # The configuration for routing the request to a specific model. This can be used to control which model is used for the generation, either automatically or by specifying a model name. # Optional. Routing configuration. + "autoMode": { # The configuration for automated routing. When automated routing is specified, the routing will be determined by the pretrained routing model and customer provided model routing preference. # In this mode, the model is selected automatically based on the content of the request. + "modelRoutingPreference": "A String", # The model routing preference. + }, + "manualMode": { # The configuration for manual routing. When manual routing is specified, the model will be selected based on the model name provided. # In this mode, the model is specified manually. + "modelName": "A String", # The name of the model to use. Only public LLM models are accepted. + }, + }, + "seed": 42, # Optional. A seed for the random number generator. By setting a seed, you can make the model's output mostly deterministic. For a given prompt and parameters (like temperature, top_p, etc.), the model will produce the same response every time. However, it's not a guaranteed absolute deterministic behavior. This is different from parameters like `temperature`, which control the *level* of randomness. `seed` ensures that the "random" choices the model makes are the same on every run, making it essential for testing and ensuring reproducible results. + "speechConfig": { # Configuration for speech generation. # Optional. The speech generation config. + "languageCode": "A String", # Optional. The language code (ISO 639-1) for the speech synthesis. + "multiSpeakerVoiceConfig": { # Configuration for a multi-speaker text-to-speech request. # The configuration for a multi-speaker text-to-speech request. This field is mutually exclusive with `voice_config`. + "speakerVoiceConfigs": [ # Required. A list of configurations for the voices of the speakers. Exactly two speaker voice configurations must be provided. + { # Configuration for a single speaker in a multi-speaker setup. + "speaker": "A String", # Required. The name of the speaker. This should be the same as the speaker name used in the prompt. + "voiceConfig": { # Configuration for a voice. # Required. The configuration for the voice of this speaker. + "prebuiltVoiceConfig": { # Configuration for a prebuilt voice. # The configuration for a prebuilt voice. + "voiceName": "A String", # The name of the prebuilt voice to use. + }, + "replicatedVoiceConfig": { # The configuration for the replicated voice to use. # Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample. + "mimeType": "A String", # Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set. + "voiceSampleAudio": "A String", # Optional. The sample of the custom voice. + }, + }, + }, + ], + }, + "voiceConfig": { # Configuration for a voice. # The configuration for the voice to use. + "prebuiltVoiceConfig": { # Configuration for a prebuilt voice. # The configuration for a prebuilt voice. + "voiceName": "A String", # The name of the prebuilt voice to use. + }, + "replicatedVoiceConfig": { # The configuration for the replicated voice to use. # Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample. + "mimeType": "A String", # Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set. + "voiceSampleAudio": "A String", # Optional. The sample of the custom voice. + }, + }, + }, + "stopSequences": [ # Optional. A list of character sequences that will stop the model from generating further tokens. If a stop sequence is generated, the output will end at that point. This is useful for controlling the length and structure of the output. For example, you can use ["\n", "###"] to stop generation at a new line or a specific marker. + "A String", + ], + "temperature": 3.14, # Optional. Controls the randomness of the output. A higher temperature results in more creative and diverse responses, while a lower temperature makes the output more predictable and focused. The valid range is (0.0, 2.0]. + "thinkingConfig": { # Configuration for the model's thinking features. "Thinking" is a process where the model breaks down a complex task into smaller, manageable steps. This allows the model to reason about the task, plan its approach, and execute the plan to generate a high-quality response. # Optional. Configuration for thinking features. An error will be returned if this field is set for models that don't support thinking. + "includeThoughts": True or False, # Optional. If true, the model will include its thoughts in the response. "Thoughts" are the intermediate steps the model takes to arrive at the final response. They can provide insights into the model's reasoning process and help with debugging. If this is true, thoughts are returned only when available. + "thinkingBudget": 42, # Optional. The token budget for the model's thinking process. The model will make a best effort to stay within this budget. This can be used to control the trade-off between response quality and latency. + "thinkingLevel": "A String", # Optional. The number of thoughts tokens that the model should generate. + }, + "topK": 3.14, # Optional. Specifies the top-k sampling threshold. The model considers only the top k most probable tokens for the next token. This can be useful for generating more coherent and less random text. For example, a `top_k` of 40 means the model will choose the next word from the 40 most likely words. + "topP": 3.14, # Optional. Specifies the nucleus sampling threshold. The model considers only the smallest set of tokens whose cumulative probability is at least `top_p`. This helps generate more diverse and less repetitive responses. For example, a `top_p` of 0.9 means the model considers tokens until the cumulative probability of the tokens to select from reaches 0.9. It's recommended to adjust either temperature or `top_p`, but not both. + }, + "samplingCount": 42, # Optional. Number of samples for each instance in the dataset. If not specified, the default is 4. Minimum value is 1, maximum value is 32. + }, + "promptTemplate": "A String", # Template for the prompt used to generate rubrics. The details should be updated based on the most-recent recipe requirements. + "rubricContentType": "A String", # The type of rubric content to be generated. + "rubricTypeOntology": [ # Optional. An optional, pre-defined list of allowed types for generated rubrics. If this field is provided, it implies `include_rubric_type` should be true, and the generated rubric types should be chosen from this ontology. + "A String", + ], + }, + "rubricGroupKey": "A String", # Use a pre-defined group of rubrics associated with the input. Refers to a key in the rubric_groups map of EvaluationInstance. + "systemInstruction": "A String", # Optional. System instructions for the judge model. + }, + "metadata": { # Metadata about the metric, used for visualization and organization. # Optional. Metadata about the metric, used for visualization and organization. + "otherMetadata": { # Optional. Flexible metadata for user-defined attributes. + "a_key": "", # Properties of the object. + }, + "scoreRange": { # The range of possible scores for this metric, used for plotting. # Optional. The range of possible scores for this metric, used for plotting. + "description": "A String", # Optional. The description of the score explaining the directionality etc. + "max": 3.14, # Required. The maximum value of the score range (inclusive). + "min": 3.14, # Required. The minimum value of the score range (inclusive). + "step": 3.14, # Optional. The distance between discrete steps in the range. If unset, the range is assumed to be continuous. + }, + "title": "A String", # Optional. The user-friendly name for the metric. If not set for a registered metric, it will default to the metric's display name. + }, + "pairwiseMetricSpec": { # Spec for pairwise metric. # Spec for pairwise metric. + "baselineResponseFieldName": "A String", # Optional. The field name of the baseline response. + "candidateResponseFieldName": "A String", # Optional. The field name of the candidate response. + "customOutputFormatConfig": { # Spec for custom output format configuration. # Optional. CustomOutputFormatConfig allows customization of metric output. When this config is set, the default output is replaced with the raw output string. If a custom format is chosen, the `pairwise_choice` and `explanation` fields in the corresponding metric result will be empty. + "returnRawOutput": True or False, # Optional. Whether to return raw output. + }, + "metricPromptTemplate": "A String", # Required. Metric prompt template for pairwise metric. + "systemInstruction": "A String", # Optional. System instructions for pairwise metric. + }, + "pointwiseMetricSpec": { # Spec for pointwise metric. # Spec for pointwise metric. + "customOutputFormatConfig": { # Spec for custom output format configuration. # Optional. CustomOutputFormatConfig allows customization of metric output. By default, metrics return a score and explanation. When this config is set, the default output is replaced with either: - The raw output string. - A parsed output based on a user-defined schema. If a custom format is chosen, the `score` and `explanation` fields in the corresponding metric result will be empty. + "returnRawOutput": True or False, # Optional. Whether to return raw output. + }, + "metricPromptTemplate": "A String", # Required. Metric prompt template for pointwise metric. + "systemInstruction": "A String", # Optional. System instructions for pointwise metric. + }, + "predefinedMetricSpec": { # The spec for a pre-defined metric. # The spec for a pre-defined metric. + "metricSpecName": "A String", # Required. The name of a pre-defined metric, such as "instruction_following_v1" or "text_quality_v1". + "metricSpecParameters": { # Optional. The parameters needed to run the pre-defined metric. + "a_key": "", # Properties of the object. + }, + }, + "rougeSpec": { # Spec for rouge score metric - calculates the recall of n-grams in prediction as compared to reference - returns a score ranging between 0 and 1. # Spec for rouge metric. + "rougeType": "A String", # Optional. Supported rouge types are rougen[1-9], rougeL, and rougeLsum. + "splitSummaries": True or False, # Optional. Whether to split summaries while using rougeLsum. + "useStemmer": True or False, # Optional. Whether to use stemmer to compute rouge score. + }, + }, + "metricResourceName": "A String", # Resource name for registered metric. + }, + ], "metrics": [ # The metrics used for evaluation. Currently, we only support evaluating a single metric. If multiple metrics are provided, only the first one will be evaluated. { # The metric used for running evaluations. "aggregationMetrics": [ # Optional. The aggregation metrics to use. @@ -4641,7 +4982,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -4770,7 +5111,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -4873,6 +5214,18 @@

Method Details

"rubricGroupKey": "A String", # Use a pre-defined group of rubrics associated with the input. Refers to a key in the rubric_groups map of EvaluationInstance. "systemInstruction": "A String", # Optional. System instructions for the judge model. }, + "metadata": { # Metadata about the metric, used for visualization and organization. # Optional. Metadata about the metric, used for visualization and organization. + "otherMetadata": { # Optional. Flexible metadata for user-defined attributes. + "a_key": "", # Properties of the object. + }, + "scoreRange": { # The range of possible scores for this metric, used for plotting. # Optional. The range of possible scores for this metric, used for plotting. + "description": "A String", # Optional. The description of the score explaining the directionality etc. + "max": 3.14, # Required. The maximum value of the score range (inclusive). + "min": 3.14, # Required. The minimum value of the score range (inclusive). + "step": 3.14, # Optional. The distance between discrete steps in the range. If unset, the range is assumed to be continuous. + }, + "title": "A String", # Optional. The user-friendly name for the metric. If not set for a registered metric, it will default to the metric's display name. + }, "pairwiseMetricSpec": { # Spec for pairwise metric. # Spec for pairwise metric. "baselineResponseFieldName": "A String", # Optional. The field name of the baseline response. "candidateResponseFieldName": "A String", # Optional. The field name of the candidate response. @@ -6073,6 +6426,7 @@

Method Details

}, ], "location": "A String", # Required. The resource name of the Location to generate rubrics from. Format: `projects/{project}/locations/{location}` + "metricResourceName": "A String", # Optional. The resource name of a registered metric. Rubric generation using predefined metric spec or LLMBasedMetricSpec is supported. If this field is set, the configuration provided in this field is used for rubric generation. The `predefined_rubric_generation_spec` and `rubric_generation_spec` fields will be ignored. "predefinedRubricGenerationSpec": { # The spec for a pre-defined metric. # Optional. Specification for using the rubric generation configs of a pre-defined metric, e.g. "generic_quality_v1" and "instruction_following_v1". Some of the configs may be only used in rubric generation and not supporting evaluation, e.g. "fully_customized_generic_quality_v1". If this field is set, the `rubric_generation_spec` field will be ignored. "metricSpecName": "A String", # Required. The name of a pre-defined metric, such as "instruction_following_v1" or "text_quality_v1". "metricSpecParameters": { # Optional. The parameters needed to run the pre-defined metric. @@ -6107,7 +6461,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -6438,6 +6792,277 @@

Method Details

}
+
+ generateUserScenarios(location, body=None, x__xgafv=None) +
Generates user scenarios for agent evaluation.
+
+Args:
+  location: string, Required. The resource name of the Location to run the job. Format: `projects/{project}/locations/{location}` (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # Request message for DataFoundryService.GenerateUserScenarios.
+  "agents": { # Required. A map containing the static configurations for each agent in the system. Key: agent_id (matches the `author` field in events). Value: The static configuration of the agent.
+    "a_key": { # Represents configuration for an Agent.
+      "agentId": "A String", # Required. Unique identifier of the agent. This ID is used to refer to this agent, e.g., in AgentEvent.author, or in the `sub_agents` field. It must be unique within the `agents` map.
+      "agentType": "A String", # Optional. The type or class of the agent (e.g., "LlmAgent", "RouterAgent", "ToolUseAgent"). Useful for the autorater to understand the expected behavior of the agent.
+      "description": "A String", # Optional. A high-level description of the agent's role and responsibilities. Critical for evaluating if the agent is routing tasks correctly.
+      "instruction": "A String", # Optional. Provides instructions for the LLM model, guiding the agent's behavior. Can be static or dynamic. Dynamic instructions can contain placeholders like {variable_name} that will be resolved at runtime using the `AgentEvent.state_delta` field.
+      "subAgents": [ # Optional. The list of valid agent IDs that this agent can delegate to. This defines the directed edges in the multi-agent system graph topology.
+        "A String",
+      ],
+      "tools": [ # Optional. The list of tools available to this agent.
+        { # Tool details that the model may use to generate response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the model. A Tool object should contain exactly one type of Tool (e.g FunctionDeclaration, Retrieval or GoogleSearchRetrieval).
+          "codeExecution": { # Tool that executes code generated by the model, and automatically returns the result to the model. See also ExecutableCode and CodeExecutionResult, which are input and output to this tool. # Optional. CodeExecution tool type. Enables the model to execute code as part of generation.
+          },
+          "computerUse": { # Tool to support computer use. # Optional. Tool to support the model interacting directly with the computer. If enabled, it automatically populates computer-use specific Function Declarations.
+            "environment": "A String", # Required. The environment being operated.
+            "excludedPredefinedFunctions": [ # Optional. By default, [predefined functions](https://cloud.google.com/vertex-ai/generative-ai/docs/computer-use#supported-actions) are included in the final model call. Some of them can be explicitly excluded from being automatically included. This can serve two purposes: 1. Using a more restricted / different action space. 2. Improving the definitions / instructions of predefined functions.
+              "A String",
+            ],
+          },
+          "enterpriseWebSearch": { # Tool to search public web data, powered by Vertex AI Search and Sec4 compliance. # Optional. Tool to support searching public web data, powered by Vertex AI Search and Sec4 compliance.
+            "blockingConfidence": "A String", # Optional. Sites with confidence level chosen & above this value will be blocked from the search results.
+            "excludeDomains": [ # Optional. List of domains to be excluded from the search results. The default limit is 2000 domains.
+              "A String",
+            ],
+          },
+          "functionDeclarations": [ # Optional. Function tool type. One or more function declarations to be passed to the model along with the current user query. Model may decide to call a subset of these functions by populating FunctionCall in the response. User should provide a FunctionResponse for each function call in the next turn. Based on the function responses, Model will generate the final response back to the user. Maximum 512 function declarations can be provided.
+            { # Structured representation of a function declaration as defined by the [OpenAPI 3.0 specification](https://spec.openapis.org/oas/v3.0.3). Included in this declaration are the function name, description, parameters and response type. This FunctionDeclaration is a representation of a block of code that can be used as a `Tool` by the model and executed by the client.
+              "description": "A String", # Optional. Description and purpose of the function. Model uses it to decide how and whether to call the function.
+              "name": "A String", # Required. The name of the function to call. Must start with a letter or an underscore. Must be a-z, A-Z, 0-9, or contain underscores, dots, colons and dashes, with a maximum length of 64.
+              "parameters": { # Defines the schema of input and output data. This is a subset of the [OpenAPI 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object). # Optional. Describes the parameters to this function in JSON Schema Object format. Reflects the Open API 3.03 Parameter Object. string Key: the name of the parameter. Parameter names are case sensitive. Schema Value: the Schema defining the type used for the parameter. For function with no parameters, this can be left unset. Parameter names must start with a letter or an underscore and must only contain chars a-z, A-Z, 0-9, or underscores with a maximum length of 64. Example with 1 required and 1 optional parameter: type: OBJECT properties: param1: type: STRING param2: type: INTEGER required: - param1
+                "additionalProperties": "", # Optional. If `type` is `OBJECT`, specifies how to handle properties not defined in `properties`. If it is a boolean `false`, no additional properties are allowed. If it is a schema, additional properties are allowed if they conform to the schema.
+                "anyOf": [ # Optional. The instance must be valid against any (one or more) of the subschemas listed in `any_of`.
+                  # Object with schema name: GoogleCloudAiplatformV1beta1Schema
+                ],
+                "default": "", # Optional. Default value to use if the field is not specified.
+                "defs": { # Optional. `defs` provides a map of schema definitions that can be reused by `ref` elsewhere in the schema. Only allowed at root level of the schema.
+                  "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema
+                },
+                "description": "A String", # Optional. Describes the data. The model uses this field to understand the purpose of the schema and how to use it. It is a best practice to provide a clear and descriptive explanation for the schema and its properties here, rather than in the prompt.
+                "enum": [ # Optional. Possible values of the field. This field can be used to restrict a value to a fixed set of values. To mark a field as an enum, set `format` to `enum` and provide the list of possible values in `enum`. For example: 1. To define directions: `{type:STRING, format:enum, enum:["EAST", "NORTH", "SOUTH", "WEST"]}` 2. To define apartment numbers: `{type:INTEGER, format:enum, enum:["101", "201", "301"]}`
+                  "A String",
+                ],
+                "example": "", # Optional. Example of an instance of this schema.
+                "format": "A String", # Optional. The format of the data. For `NUMBER` type, format can be `float` or `double`. For `INTEGER` type, format can be `int32` or `int64`. For `STRING` type, format can be `email`, `byte`, `date`, `date-time`, `password`, and other formats to further refine the data type.
+                "items": # Object with schema name: GoogleCloudAiplatformV1beta1Schema # Optional. If type is `ARRAY`, `items` specifies the schema of elements in the array.
+                "maxItems": "A String", # Optional. If type is `ARRAY`, `max_items` specifies the maximum number of items in an array.
+                "maxLength": "A String", # Optional. If type is `STRING`, `max_length` specifies the maximum length of the string.
+                "maxProperties": "A String", # Optional. If type is `OBJECT`, `max_properties` specifies the maximum number of properties that can be provided.
+                "maximum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `maximum` specifies the maximum allowed value.
+                "minItems": "A String", # Optional. If type is `ARRAY`, `min_items` specifies the minimum number of items in an array.
+                "minLength": "A String", # Optional. If type is `STRING`, `min_length` specifies the minimum length of the string.
+                "minProperties": "A String", # Optional. If type is `OBJECT`, `min_properties` specifies the minimum number of properties that can be provided.
+                "minimum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `minimum` specifies the minimum allowed value.
+                "nullable": True or False, # Optional. Indicates if the value of this field can be null.
+                "pattern": "A String", # Optional. If type is `STRING`, `pattern` specifies a regular expression that the string must match.
+                "properties": { # Optional. If type is `OBJECT`, `properties` is a map of property names to schema definitions for each property of the object.
+                  "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema
+                },
+                "propertyOrdering": [ # Optional. Order of properties displayed or used where order matters. This is not a standard field in OpenAPI specification, but can be used to control the order of properties.
+                  "A String",
+                ],
+                "ref": "A String", # Optional. Allows referencing another schema definition to use in place of this schema. The value must be a valid reference to a schema in `defs`. For example, the following schema defines a reference to a schema node named "Pet": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the "pet" property is a reference to the schema node named "Pet". See details in https://json-schema.org/understanding-json-schema/structuring
+                "required": [ # Optional. If type is `OBJECT`, `required` lists the names of properties that must be present.
+                  "A String",
+                ],
+                "title": "A String", # Optional. Title for the schema.
+                "type": "A String", # Optional. Data type of the schema field.
+              },
+              "parametersJsonSchema": "", # Optional. Describes the parameters to the function in JSON Schema format. The schema must describe an object where the properties are the parameters to the function. For example: ``` { "type": "object", "properties": { "name": { "type": "string" }, "age": { "type": "integer" } }, "additionalProperties": false, "required": ["name", "age"], "propertyOrdering": ["name", "age"] } ``` This field is mutually exclusive with `parameters`.
+              "response": { # Defines the schema of input and output data. This is a subset of the [OpenAPI 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object). # Optional. Describes the output from this function in JSON Schema format. Reflects the Open API 3.03 Response Object. The Schema defines the type used for the response value of the function.
+                "additionalProperties": "", # Optional. If `type` is `OBJECT`, specifies how to handle properties not defined in `properties`. If it is a boolean `false`, no additional properties are allowed. If it is a schema, additional properties are allowed if they conform to the schema.
+                "anyOf": [ # Optional. The instance must be valid against any (one or more) of the subschemas listed in `any_of`.
+                  # Object with schema name: GoogleCloudAiplatformV1beta1Schema
+                ],
+                "default": "", # Optional. Default value to use if the field is not specified.
+                "defs": { # Optional. `defs` provides a map of schema definitions that can be reused by `ref` elsewhere in the schema. Only allowed at root level of the schema.
+                  "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema
+                },
+                "description": "A String", # Optional. Describes the data. The model uses this field to understand the purpose of the schema and how to use it. It is a best practice to provide a clear and descriptive explanation for the schema and its properties here, rather than in the prompt.
+                "enum": [ # Optional. Possible values of the field. This field can be used to restrict a value to a fixed set of values. To mark a field as an enum, set `format` to `enum` and provide the list of possible values in `enum`. For example: 1. To define directions: `{type:STRING, format:enum, enum:["EAST", "NORTH", "SOUTH", "WEST"]}` 2. To define apartment numbers: `{type:INTEGER, format:enum, enum:["101", "201", "301"]}`
+                  "A String",
+                ],
+                "example": "", # Optional. Example of an instance of this schema.
+                "format": "A String", # Optional. The format of the data. For `NUMBER` type, format can be `float` or `double`. For `INTEGER` type, format can be `int32` or `int64`. For `STRING` type, format can be `email`, `byte`, `date`, `date-time`, `password`, and other formats to further refine the data type.
+                "items": # Object with schema name: GoogleCloudAiplatformV1beta1Schema # Optional. If type is `ARRAY`, `items` specifies the schema of elements in the array.
+                "maxItems": "A String", # Optional. If type is `ARRAY`, `max_items` specifies the maximum number of items in an array.
+                "maxLength": "A String", # Optional. If type is `STRING`, `max_length` specifies the maximum length of the string.
+                "maxProperties": "A String", # Optional. If type is `OBJECT`, `max_properties` specifies the maximum number of properties that can be provided.
+                "maximum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `maximum` specifies the maximum allowed value.
+                "minItems": "A String", # Optional. If type is `ARRAY`, `min_items` specifies the minimum number of items in an array.
+                "minLength": "A String", # Optional. If type is `STRING`, `min_length` specifies the minimum length of the string.
+                "minProperties": "A String", # Optional. If type is `OBJECT`, `min_properties` specifies the minimum number of properties that can be provided.
+                "minimum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `minimum` specifies the minimum allowed value.
+                "nullable": True or False, # Optional. Indicates if the value of this field can be null.
+                "pattern": "A String", # Optional. If type is `STRING`, `pattern` specifies a regular expression that the string must match.
+                "properties": { # Optional. If type is `OBJECT`, `properties` is a map of property names to schema definitions for each property of the object.
+                  "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema
+                },
+                "propertyOrdering": [ # Optional. Order of properties displayed or used where order matters. This is not a standard field in OpenAPI specification, but can be used to control the order of properties.
+                  "A String",
+                ],
+                "ref": "A String", # Optional. Allows referencing another schema definition to use in place of this schema. The value must be a valid reference to a schema in `defs`. For example, the following schema defines a reference to a schema node named "Pet": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the "pet" property is a reference to the schema node named "Pet". See details in https://json-schema.org/understanding-json-schema/structuring
+                "required": [ # Optional. If type is `OBJECT`, `required` lists the names of properties that must be present.
+                  "A String",
+                ],
+                "title": "A String", # Optional. Title for the schema.
+                "type": "A String", # Optional. Data type of the schema field.
+              },
+              "responseJsonSchema": "", # Optional. Describes the output from this function in JSON Schema format. The value specified by the schema is the response value of the function. This field is mutually exclusive with `response`.
+            },
+          ],
+          "googleMaps": { # Tool to retrieve public maps data for grounding, powered by Google. # Optional. GoogleMaps tool type. Tool to support Google Maps in Model.
+            "enableWidget": True or False, # Optional. If true, include the widget context token in the response.
+          },
+          "googleSearch": { # GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google. # Optional. GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google.
+            "blockingConfidence": "A String", # Optional. Sites with confidence level chosen & above this value will be blocked from the search results.
+            "excludeDomains": [ # Optional. List of domains to be excluded from the search results. The default limit is 2000 domains. Example: ["amazon.com", "facebook.com"].
+              "A String",
+            ],
+            "searchTypes": { # Different types of search that can be enabled on the GoogleSearch tool. # Optional. The set of search types to enable. If not set, web search is enabled by default.
+              "imageSearch": { # Image search for grounding and related configurations. # Optional. Setting this field enables image search. Image bytes are returned.
+              },
+              "webSearch": { # Standard web search for grounding and related configurations. Only text results are returned. # Optional. Setting this field enables web search. Only text results are returned.
+              },
+            },
+          },
+          "googleSearchRetrieval": { # Tool to retrieve public web data for grounding, powered by Google. # Optional. Specialized retrieval tool that is powered by Google Search.
+            "dynamicRetrievalConfig": { # Describes the options to customize dynamic retrieval. # Specifies the dynamic retrieval configuration for the given source.
+              "dynamicThreshold": 3.14, # Optional. The threshold to be used in dynamic retrieval. If not set, a system default value is used.
+              "mode": "A String", # The mode of the predictor to be used in dynamic retrieval.
+            },
+          },
+          "parallelAiSearch": { # ParallelAiSearch tool type. A tool that uses the Parallel.ai search engine for grounding. # Optional. If specified, Vertex AI will use Parallel.ai to search for information to answer user queries. The search results will be grounded on Parallel.ai and presented to the model for response generation
+            "apiKey": "A String", # Optional. The API key for ParallelAiSearch. If an API key is not provided, the system will attempt to verify access by checking for an active Parallel.ai subscription through the Google Cloud Marketplace. See https://docs.parallel.ai/search/search-quickstart for more details.
+            "customConfigs": { # Optional. Custom configs for ParallelAiSearch. This field can be used to pass any parameter from the Parallel.ai Search API. See the Parallel.ai documentation for the full list of available parameters and their usage: https://docs.parallel.ai/api-reference/search-beta/search Currently only `source_policy`, `excerpts`, `max_results`, `mode`, `fetch_policy` can be set via this field. For example: { "source_policy": { "include_domains": ["google.com", "wikipedia.org"], "exclude_domains": ["example.com"] }, "fetch_policy": { "max_age_seconds": 3600 } }
+              "a_key": "", # Properties of the object.
+            },
+          },
+          "retrieval": { # Defines a retrieval tool that model can call to access external knowledge. # Optional. Retrieval tool type. System will always execute the provided retrieval tool(s) to get external knowledge to answer the prompt. Retrieval results are presented to the model for generation.
+            "disableAttribution": True or False, # Optional. Deprecated. This option is no longer supported.
+            "externalApi": { # Retrieve from data source powered by external API for grounding. The external API is not owned by Google, but need to follow the pre-defined API spec. # Use data source powered by external API for grounding.
+              "apiAuth": { # The generic reusable api auth config. Deprecated. Please use AuthConfig (google/cloud/aiplatform/master/auth.proto) instead. # The authentication config to access the API. Deprecated. Please use auth_config instead.
+                "apiKeyConfig": { # The API secret. # The API secret.
+                  "apiKeySecretVersion": "A String", # Required. The SecretManager secret version resource name storing API key. e.g. projects/{project}/secrets/{secret}/versions/{version}
+                  "apiKeyString": "A String", # The API key string. Either this or `api_key_secret_version` must be set.
+                },
+              },
+              "apiSpec": "A String", # The API spec that the external API implements.
+              "authConfig": { # Auth configuration to run the extension. # The authentication config to access the API.
+                "apiKeyConfig": { # Config for authentication with API key. # Config for API key auth.
+                  "apiKeySecret": "A String", # Optional. The name of the SecretManager secret version resource storing the API key. Format: `projects/{project}/secrets/{secrete}/versions/{version}` - If both `api_key_secret` and `api_key_string` are specified, this field takes precedence over `api_key_string`. - If specified, the `secretmanager.versions.access` permission should be granted to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the specified resource.
+                  "apiKeyString": "A String", # Optional. The API key to be used in the request directly.
+                  "httpElementLocation": "A String", # Optional. The location of the API key.
+                  "name": "A String", # Optional. The parameter name of the API key. E.g. If the API request is "https://example.com/act?api_key=", "api_key" would be the parameter name.
+                },
+                "authType": "A String", # Type of auth scheme.
+                "googleServiceAccountConfig": { # Config for Google Service Account Authentication. # Config for Google Service Account auth.
+                  "serviceAccount": "A String", # Optional. The service account that the extension execution service runs as. - If the service account is specified, the `iam.serviceAccounts.getAccessToken` permission should be granted to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the specified service account. - If not specified, the Vertex AI Extension Service Agent will be used to execute the Extension.
+                },
+                "httpBasicAuthConfig": { # Config for HTTP Basic Authentication. # Config for HTTP Basic auth.
+                  "credentialSecret": "A String", # Required. The name of the SecretManager secret version resource storing the base64 encoded credentials. Format: `projects/{project}/secrets/{secrete}/versions/{version}` - If specified, the `secretmanager.versions.access` permission should be granted to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the specified resource.
+                },
+                "oauthConfig": { # Config for user oauth. # Config for user oauth.
+                  "accessToken": "A String", # Access token for extension endpoint. Only used to propagate token from [[ExecuteExtensionRequest.runtime_auth_config]] at request time.
+                  "serviceAccount": "A String", # The service account used to generate access tokens for executing the Extension. - If the service account is specified, the `iam.serviceAccounts.getAccessToken` permission should be granted to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the provided service account.
+                },
+                "oidcConfig": { # Config for user OIDC auth. # Config for user OIDC auth.
+                  "idToken": "A String", # OpenID Connect formatted ID token for extension endpoint. Only used to propagate token from [[ExecuteExtensionRequest.runtime_auth_config]] at request time.
+                  "serviceAccount": "A String", # The service account used to generate an OpenID Connect (OIDC)-compatible JWT token signed by the Google OIDC Provider (accounts.google.com) for extension endpoint (https://cloud.google.com/iam/docs/create-short-lived-credentials-direct#sa-credentials-oidc). - The audience for the token will be set to the URL in the server url defined in the OpenApi spec. - If the service account is provided, the service account should grant `iam.serviceAccounts.getOpenIdToken` permission to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents).
+                },
+              },
+              "elasticSearchParams": { # The search parameters to use for the ELASTIC_SEARCH spec. # Parameters for the elastic search API.
+                "index": "A String", # The ElasticSearch index to use.
+                "numHits": 42, # Optional. Number of hits (chunks) to request. When specified, it is passed to Elasticsearch as the `num_hits` param.
+                "searchTemplate": "A String", # The ElasticSearch search template to use.
+              },
+              "endpoint": "A String", # The endpoint of the external API. The system will call the API at this endpoint to retrieve the data for grounding. Example: https://acme.com:443/search
+              "simpleSearchParams": { # The search parameters to use for SIMPLE_SEARCH spec. # Parameters for the simple search API.
+              },
+            },
+            "vertexAiSearch": { # Retrieve from Vertex AI Search datastore or engine for grounding. datastore and engine are mutually exclusive. See https://cloud.google.com/products/agent-builder # Set to use data source powered by Vertex AI Search.
+              "dataStoreSpecs": [ # Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. It should only be set if engine is used.
+                { # Define data stores within engine to filter on in a search call and configurations for those data stores. For more information, see https://cloud.google.com/generative-ai-app-builder/docs/reference/rpc/google.cloud.discoveryengine.v1#datastorespec
+                  "dataStore": "A String", # Full resource name of DataStore, such as Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}`
+                  "filter": "A String", # Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see [Filtering](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)
+                },
+              ],
+              "datastore": "A String", # Optional. Fully-qualified Vertex AI Search data store resource ID. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}`
+              "engine": "A String", # Optional. Fully-qualified Vertex AI Search engine resource ID. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`
+              "filter": "A String", # Optional. Filter strings to be passed to the search API.
+              "maxResults": 42, # Optional. Number of search results to return per query. The default value is 10. The maximumm allowed value is 10.
+            },
+            "vertexRagStore": { # Retrieve from Vertex RAG Store for grounding. # Set to use data source powered by Vertex RAG store. User data is uploaded via the VertexRagDataService.
+              "ragCorpora": [ # Optional. Deprecated. Please use rag_resources instead.
+                "A String",
+              ],
+              "ragResources": [ # Optional. The representation of the rag source. It can be used to specify corpus only or ragfiles. Currently only support one corpus or multiple files from one corpus. In the future we may open up multiple corpora support.
+                { # The definition of the Rag resource.
+                  "ragCorpus": "A String", # Optional. RagCorpora resource name. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}`
+                  "ragFileIds": [ # Optional. rag_file_id. The files should be in the same rag_corpus set in rag_corpus field.
+                    "A String",
+                  ],
+                },
+              ],
+              "ragRetrievalConfig": { # Specifies the context retrieval config. # Optional. The retrieval config for the Rag query.
+                "filter": { # Config for filters. # Optional. Config for filters.
+                  "metadataFilter": "A String", # Optional. String for metadata filtering.
+                  "vectorDistanceThreshold": 3.14, # Optional. Only returns contexts with vector distance smaller than the threshold.
+                  "vectorSimilarityThreshold": 3.14, # Optional. Only returns contexts with vector similarity larger than the threshold.
+                },
+                "hybridSearch": { # Config for Hybrid Search. # Optional. Config for Hybrid Search.
+                  "alpha": 3.14, # Optional. Alpha value controls the weight between dense and sparse vector search results. The range is [0, 1], while 0 means sparse vector search only and 1 means dense vector search only. The default value is 0.5 which balances sparse and dense vector search equally.
+                },
+                "ranking": { # Config for ranking and reranking. # Optional. Config for ranking and reranking.
+                  "llmRanker": { # Config for LlmRanker. # Optional. Config for LlmRanker.
+                    "modelName": "A String", # Optional. The model name used for ranking. See [Supported models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/inference#supported-models).
+                  },
+                  "rankService": { # Config for Rank Service. # Optional. Config for Rank Service.
+                    "modelName": "A String", # Optional. The model name of the rank service. Format: `semantic-ranker-512@latest`
+                  },
+                },
+                "topK": 42, # Optional. The number of contexts to retrieve.
+              },
+              "similarityTopK": 42, # Optional. Number of top k results to return from the selected corpora.
+              "storeContext": True or False, # Optional. Currently only supported for Gemini Multimodal Live API. In Gemini Multimodal Live API, if `store_context` bool is specified, Gemini will leverage it to automatically memorize the interactions between the client and Gemini, and retrieve context when needed to augment the response generation for users' ongoing and future interactions.
+              "vectorDistanceThreshold": 3.14, # Optional. Only return results with vector distance smaller than the threshold.
+            },
+          },
+          "urlContext": { # Tool to support URL context. # Optional. Tool to support URL context retrieval.
+          },
+        },
+      ],
+    },
+  },
+  "rootAgentId": "A String", # Required. The agent id to identify the root agent.
+  "userScenarioGenerationConfig": { # User scenario generation configuration. # Required. Configuration for generating user scenarios.
+    "environmentData": "A String", # Optional. Environment data in string type.
+    "modelName": "A String", # Optional. The model name to use for generation. It can be model name, e.g. "gemini-3-pro-preview". or the fully qualified name of the publisher model or endpoint. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}`
+    "simulationInstruction": "A String", # Optional. Simulation instruction to guide the user scenario generation.
+    "userScenarioCount": "A String", # Required. The number of user scenarios to generate. The maximum number of scenarios that can be generated is 100.
+  },
+}
+
+  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 DataFoundryService.GenerateUserScenarios.
+  "userScenarios": [ # The generated user scenarios used to simulate multi-turn agent running results and agent evaluation.
+    { # Output of user scenario generation.
+      "conversationPlan": "A String", # Conversation plan to drive multi-turn agent run and get simulated agent eval dataset.
+      "startingPrompt": "A String", # Starting prompt for the conversation between simulated user and agent under the test.
+    },
+  ],
+}
+
+
get(name, x__xgafv=None)
Gets information about a location.
diff --git a/docs/dyn/aiplatform_v1beta1.projects.locations.models.html b/docs/dyn/aiplatform_v1beta1.projects.locations.models.html
index 851c04e569..6715479f11 100644
--- a/docs/dyn/aiplatform_v1beta1.projects.locations.models.html
+++ b/docs/dyn/aiplatform_v1beta1.projects.locations.models.html
@@ -611,7 +611,7 @@ 

Method Details

"copy": True or False, # If this Model is copy of another Model. If true then source_type pertains to the original. "sourceType": "A String", # Type of the model source. }, - "name": "A String", # The resource name of the Model. + "name": "A String", # Identifier. The resource name of the Model. "originalModelInfo": { # Contains information about the original Model if this Model is a copy. # Output only. If this Model is a copy of another Model, this contains info about the original. "model": "A String", # Output only. The resource name of the Model this Model is a copy of, including the revision. Format: `projects/{project}/locations/{location}/models/{model_id}@{version_id}` }, @@ -989,7 +989,7 @@

Method Details

"copy": True or False, # If this Model is copy of another Model. If true then source_type pertains to the original. "sourceType": "A String", # Type of the model source. }, - "name": "A String", # The resource name of the Model. + "name": "A String", # Identifier. The resource name of the Model. "originalModelInfo": { # Contains information about the original Model if this Model is a copy. # Output only. If this Model is a copy of another Model, this contains info about the original. "model": "A String", # Output only. The resource name of the Model this Model is a copy of, including the revision. Format: `projects/{project}/locations/{location}/models/{model_id}@{version_id}` }, @@ -1378,7 +1378,7 @@

Method Details

"copy": True or False, # If this Model is copy of another Model. If true then source_type pertains to the original. "sourceType": "A String", # Type of the model source. }, - "name": "A String", # The resource name of the Model. + "name": "A String", # Identifier. The resource name of the Model. "originalModelInfo": { # Contains information about the original Model if this Model is a copy. # Output only. If this Model is a copy of another Model, this contains info about the original. "model": "A String", # Output only. The resource name of the Model this Model is a copy of, including the revision. Format: `projects/{project}/locations/{location}/models/{model_id}@{version_id}` }, @@ -1755,7 +1755,7 @@

Method Details

"copy": True or False, # If this Model is copy of another Model. If true then source_type pertains to the original. "sourceType": "A String", # Type of the model source. }, - "name": "A String", # The resource name of the Model. + "name": "A String", # Identifier. The resource name of the Model. "originalModelInfo": { # Contains information about the original Model if this Model is a copy. # Output only. If this Model is a copy of another Model, this contains info about the original. "model": "A String", # Output only. The resource name of the Model this Model is a copy of, including the revision. Format: `projects/{project}/locations/{location}/models/{model_id}@{version_id}` }, @@ -1800,7 +1800,7 @@

Method Details

Updates a Model.
 
 Args:
-  name: string, The resource name of the Model. (required)
+  name: string, Identifier. The resource name of the Model. (required)
   body: object, The request body.
     The object takes the form of:
 
@@ -2087,7 +2087,7 @@ 

Method Details

"copy": True or False, # If this Model is copy of another Model. If true then source_type pertains to the original. "sourceType": "A String", # Type of the model source. }, - "name": "A String", # The resource name of the Model. + "name": "A String", # Identifier. The resource name of the Model. "originalModelInfo": { # Contains information about the original Model if this Model is a copy. # Output only. If this Model is a copy of another Model, this contains info about the original. "model": "A String", # Output only. The resource name of the Model this Model is a copy of, including the revision. Format: `projects/{project}/locations/{location}/models/{model_id}@{version_id}` }, @@ -2418,7 +2418,7 @@

Method Details

"copy": True or False, # If this Model is copy of another Model. If true then source_type pertains to the original. "sourceType": "A String", # Type of the model source. }, - "name": "A String", # The resource name of the Model. + "name": "A String", # Identifier. The resource name of the Model. "originalModelInfo": { # Contains information about the original Model if this Model is a copy. # Output only. If this Model is a copy of another Model, this contains info about the original. "model": "A String", # Output only. The resource name of the Model this Model is a copy of, including the revision. Format: `projects/{project}/locations/{location}/models/{model_id}@{version_id}` }, @@ -2893,7 +2893,7 @@

Method Details

"copy": True or False, # If this Model is copy of another Model. If true then source_type pertains to the original. "sourceType": "A String", # Type of the model source. }, - "name": "A String", # The resource name of the Model. + "name": "A String", # Identifier. The resource name of the Model. "originalModelInfo": { # Contains information about the original Model if this Model is a copy. # Output only. If this Model is a copy of another Model, this contains info about the original. "model": "A String", # Output only. The resource name of the Model this Model is a copy of, including the revision. Format: `projects/{project}/locations/{location}/models/{model_id}@{version_id}` }, diff --git a/docs/dyn/aiplatform_v1beta1.projects.locations.publishers.models.html b/docs/dyn/aiplatform_v1beta1.projects.locations.publishers.models.html index 0a05ccb18e..b575783ad8 100644 --- a/docs/dyn/aiplatform_v1beta1.projects.locations.publishers.models.html +++ b/docs/dyn/aiplatform_v1beta1.projects.locations.publishers.models.html @@ -362,7 +362,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -1158,7 +1158,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -1962,6 +1962,9 @@

Method Details

"instances": [ # Required. The instances that are the input to the prediction call. A DeployedModel may have an upper limit on the number of instances it supports per request, and when it is exceeded the prediction call errors in case of AutoML Models, or, in case of customer created Models, the behaviour is as documented by that Model. The schema of any single instance may be specified via Endpoint's DeployedModels' Model's PredictSchemata's instance_schema_uri. "", ], + "labels": { # Optional. The labels with user-defined metadata for the request. It is used for billing and reporting only. Label keys and values can be no longer than 63 characters (Unicode codepoints) and can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter. + "a_key": "A String", + }, "parameters": "", # Optional. The parameters that govern the prediction. The schema of the parameters may be specified via Endpoint's DeployedModels' Model's PredictSchemata's parameters_schema_uri. } @@ -2388,7 +2391,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], diff --git a/docs/dyn/aiplatform_v1beta1.projects.locations.reasoningEngines.a2a.html b/docs/dyn/aiplatform_v1beta1.projects.locations.reasoningEngines.a2a.html index 03768274b2..ced65052aa 100644 --- a/docs/dyn/aiplatform_v1beta1.projects.locations.reasoningEngines.a2a.html +++ b/docs/dyn/aiplatform_v1beta1.projects.locations.reasoningEngines.a2a.html @@ -74,18 +74,76 @@

Vertex AI API . projects . locations . reasoningEngines . a2a

Instance Methods

+

+ message() +

+

Returns the message Resource.

+ +

+ tasks() +

+

Returns the tasks Resource.

+

v1()

Returns the v1 Resource.

+

+ card(name, a2aEndpoint, historyLength=None, x__xgafv=None)

+

Get request for reasoning engine instance via the A2A get protocol apis.

close()

Close httplib2 connections.

+

+ extendedAgentCard(name, a2aEndpoint, historyLength=None, x__xgafv=None)

+

Get request for reasoning engine instance via the A2A get protocol apis.

Method Details

+
+ card(name, a2aEndpoint, historyLength=None, x__xgafv=None) +
Get request for reasoning engine instance via the A2A get protocol apis.
+
+Args:
+  name: string, Required. The full resource path of the reasoning engine, captured from the URL. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` (required)
+  a2aEndpoint: string, Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123` (required)
+  historyLength: string, Optional. The optional query parameter for the getTask endpoint. Mapped from "?history_length=". This indicates how many turns of history to return. If not set, the default value is 0, which means all the history will be returned.
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    {
+  "a_key": "", # Properties of the object.
+}
+
+
close()
Close httplib2 connections.
+
+ extendedAgentCard(name, a2aEndpoint, historyLength=None, x__xgafv=None) +
Get request for reasoning engine instance via the A2A get protocol apis.
+
+Args:
+  name: string, Required. The full resource path of the reasoning engine, captured from the URL. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` (required)
+  a2aEndpoint: string, Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123` (required)
+  historyLength: string, Optional. The optional query parameter for the getTask endpoint. Mapped from "?history_length=". This indicates how many turns of history to return. If not set, the default value is 0, which means all the history will be returned.
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    {
+  "a_key": "", # Properties of the object.
+}
+
+ \ No newline at end of file diff --git a/docs/dyn/aiplatform_v1beta1.projects.locations.reasoningEngines.a2a.message.html b/docs/dyn/aiplatform_v1beta1.projects.locations.reasoningEngines.a2a.message.html new file mode 100644 index 0000000000..2c4b366a86 --- /dev/null +++ b/docs/dyn/aiplatform_v1beta1.projects.locations.reasoningEngines.a2a.message.html @@ -0,0 +1,140 @@ + + + +

Vertex AI API . projects . locations . reasoningEngines . a2a . message

+

Instance Methods

+

+ close()

+

Close httplib2 connections.

+

+ send(name, a2aEndpoint, body=None, x__xgafv=None)

+

Send post request for reasoning engine instance via the A2A post protocol apis.

+

+ stream(name, a2aEndpoint, body=None, x__xgafv=None)

+

Streams queries using a reasoning engine instance via the A2A streaming protocol apis.

+

Method Details

+
+ close() +
Close httplib2 connections.
+
+ +
+ send(name, a2aEndpoint, body=None, x__xgafv=None) +
Send post request for reasoning engine instance via the A2A post protocol apis.
+
+Args:
+  name: string, Required. The full resource path of the reasoning engine, captured from the URL. (required)
+  a2aEndpoint: string, Required. The a2a endpoint path, captured from the URL. e.g., v1/message:send (required)
+  body: object, The request body.
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    {
+  "a_key": "", # Properties of the object.
+}
+
+ +
+ stream(name, a2aEndpoint, body=None, x__xgafv=None) +
Streams queries using a reasoning engine instance via the A2A streaming protocol apis.
+
+Args:
+  name: string, Required. The full resource path of the reasoning engine, captured from the URL. (required)
+  a2aEndpoint: string, Required. The http endpoint extracted from the URL path. e.g., v1/message:stream. (required)
+  body: object, The request body.
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Message that represents an arbitrary HTTP body. It should only be used for payload formats that can't be represented as JSON, such as raw binary or an HTML page. This message can be used both in streaming and non-streaming API methods in the request as well as the response. It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body. Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged.
+  "contentType": "A String", # The HTTP Content-Type header value specifying the content type of the body.
+  "data": "A String", # The HTTP request/response body as raw binary.
+  "extensions": [ # Application specific response metadata. Must be set in the first response for streaming APIs.
+    {
+      "a_key": "", # Properties of the object. Contains field @type with type URL.
+    },
+  ],
+}
+
+ + \ No newline at end of file diff --git a/docs/dyn/aiplatform_v1beta1.projects.locations.reasoningEngines.a2a.tasks.html b/docs/dyn/aiplatform_v1beta1.projects.locations.reasoningEngines.a2a.tasks.html new file mode 100644 index 0000000000..c9d478556c --- /dev/null +++ b/docs/dyn/aiplatform_v1beta1.projects.locations.reasoningEngines.a2a.tasks.html @@ -0,0 +1,168 @@ + + + +

Vertex AI API . projects . locations . reasoningEngines . a2a . tasks

+

Instance Methods

+

+ pushNotificationConfigs() +

+

Returns the pushNotificationConfigs Resource.

+ +

+ a2aGetReasoningEngine(name, a2aEndpoint, historyLength=None, x__xgafv=None)

+

Get request for reasoning engine instance via the A2A get protocol apis.

+

+ cancel(name, a2aEndpoint, body=None, x__xgafv=None)

+

Send post request for reasoning engine instance via the A2A post protocol apis.

+

+ close()

+

Close httplib2 connections.

+

+ subscribe(name, a2aEndpoint, x__xgafv=None)

+

Stream get request for reasoning engine instance via the A2A stream get protocol apis.

+

Method Details

+
+ a2aGetReasoningEngine(name, a2aEndpoint, historyLength=None, x__xgafv=None) +
Get request for reasoning engine instance via the A2A get protocol apis.
+
+Args:
+  name: string, Required. The full resource path of the reasoning engine, captured from the URL. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` (required)
+  a2aEndpoint: string, Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123` (required)
+  historyLength: string, Optional. The optional query parameter for the getTask endpoint. Mapped from "?history_length=". This indicates how many turns of history to return. If not set, the default value is 0, which means all the history will be returned.
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    {
+  "a_key": "", # Properties of the object.
+}
+
+ +
+ cancel(name, a2aEndpoint, body=None, x__xgafv=None) +
Send post request for reasoning engine instance via the A2A post protocol apis.
+
+Args:
+  name: string, Required. The full resource path of the reasoning engine, captured from the URL. (required)
+  a2aEndpoint: string, Required. The a2a endpoint path, captured from the URL. e.g., v1/message:send (required)
+  body: object, The request body.
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    {
+  "a_key": "", # Properties of the object.
+}
+
+ +
+ close() +
Close httplib2 connections.
+
+ +
+ subscribe(name, a2aEndpoint, x__xgafv=None) +
Stream get request for reasoning engine instance via the A2A stream get protocol apis.
+
+Args:
+  name: string, Required. The full resource path of the reasoning engine, captured from the URL. (required)
+  a2aEndpoint: string, Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123:subscribe`. (required)
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Message that represents an arbitrary HTTP body. It should only be used for payload formats that can't be represented as JSON, such as raw binary or an HTML page. This message can be used both in streaming and non-streaming API methods in the request as well as the response. It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body. Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged.
+  "contentType": "A String", # The HTTP Content-Type header value specifying the content type of the body.
+  "data": "A String", # The HTTP request/response body as raw binary.
+  "extensions": [ # Application specific response metadata. Must be set in the first response for streaming APIs.
+    {
+      "a_key": "", # Properties of the object. Contains field @type with type URL.
+    },
+  ],
+}
+
+ + \ No newline at end of file diff --git a/docs/dyn/aiplatform_v1beta1.projects.locations.reasoningEngines.a2a.tasks.pushNotificationConfigs.html b/docs/dyn/aiplatform_v1beta1.projects.locations.reasoningEngines.a2a.tasks.pushNotificationConfigs.html new file mode 100644 index 0000000000..1fc775e793 --- /dev/null +++ b/docs/dyn/aiplatform_v1beta1.projects.locations.reasoningEngines.a2a.tasks.pushNotificationConfigs.html @@ -0,0 +1,110 @@ + + + +

Vertex AI API . projects . locations . reasoningEngines . a2a . tasks . pushNotificationConfigs

+

Instance Methods

+

+ a2aGetReasoningEngine(name, a2aEndpoint, historyLength=None, x__xgafv=None)

+

Get request for reasoning engine instance via the A2A get protocol apis.

+

+ close()

+

Close httplib2 connections.

+

Method Details

+
+ a2aGetReasoningEngine(name, a2aEndpoint, historyLength=None, x__xgafv=None) +
Get request for reasoning engine instance via the A2A get protocol apis.
+
+Args:
+  name: string, Required. The full resource path of the reasoning engine, captured from the URL. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` (required)
+  a2aEndpoint: string, Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123` (required)
+  historyLength: string, Optional. The optional query parameter for the getTask endpoint. Mapped from "?history_length=". This indicates how many turns of history to return. If not set, the default value is 0, which means all the history will be returned.
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    {
+  "a_key": "", # Properties of the object.
+}
+
+ +
+ close() +
Close httplib2 connections.
+
+ + \ No newline at end of file diff --git a/docs/dyn/aiplatform_v1beta1.projects.locations.reasoningEngines.a2a.v1.html b/docs/dyn/aiplatform_v1beta1.projects.locations.reasoningEngines.a2a.v1.html index 5212cf6b05..75b24c9619 100644 --- a/docs/dyn/aiplatform_v1beta1.projects.locations.reasoningEngines.a2a.v1.html +++ b/docs/dyn/aiplatform_v1beta1.projects.locations.reasoningEngines.a2a.v1.html @@ -90,6 +90,9 @@

Instance Methods

close()

Close httplib2 connections.

+

+ extendedAgentCard(name, a2aEndpoint, historyLength=None, x__xgafv=None)

+

Get request for reasoning engine instance via the A2A get protocol apis.

Method Details

card(name, a2aEndpoint, historyLength=None, x__xgafv=None) @@ -117,4 +120,25 @@

Method Details

Close httplib2 connections.
+
+ extendedAgentCard(name, a2aEndpoint, historyLength=None, x__xgafv=None) +
Get request for reasoning engine instance via the A2A get protocol apis.
+
+Args:
+  name: string, Required. The full resource path of the reasoning engine, captured from the URL. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` (required)
+  a2aEndpoint: string, Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123` (required)
+  historyLength: string, Optional. The optional query parameter for the getTask endpoint. Mapped from "?history_length=". This indicates how many turns of history to return. If not set, the default value is 0, which means all the history will be returned.
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    {
+  "a_key": "", # Properties of the object.
+}
+
+ \ No newline at end of file diff --git a/docs/dyn/aiplatform_v1beta1.projects.locations.reasoningEngines.a2aTasks.events.html b/docs/dyn/aiplatform_v1beta1.projects.locations.reasoningEngines.a2aTasks.events.html new file mode 100644 index 0000000000..cb0b09dd52 --- /dev/null +++ b/docs/dyn/aiplatform_v1beta1.projects.locations.reasoningEngines.a2aTasks.events.html @@ -0,0 +1,403 @@ + + + +

Vertex AI API . projects . locations . reasoningEngines . a2aTasks . events

+

Instance Methods

+

+ close()

+

Close httplib2 connections.

+

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

+

Lists TaskEvents for an A2aTask.

+

+ list_next()

+

Retrieves the next page of results.

+

Method Details

+
+ close() +
Close httplib2 connections.
+
+ +
+ list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None) +
Lists TaskEvents for an A2aTask.
+
+Args:
+  parent: string, Required. The resource name of the A2aTask to list the TaskEvents under. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/a2aTasks/{a2a_task}` (required)
+  filter: string, Optional. The standard list filter. Supported fields: * `create_time` range (i.e. `create_time>="2025-01-31T11:30:00-04:00"` where the timestamp is in RFC 3339 format) More detail in [AIP-160](https://google.aip.dev/160).
+  orderBy: string, Optional. A comma-separated list of fields to order the results by. If this field is omitted, the results will be ordered by `event_sequence_number` in descending order. For each field, the default sort order is ascending. To specify descending order for a field, append a ` desc` suffix. For example: `create_time desc`. Supported fields: * `create_time` * `event_sequence_number`
+  pageSize: integer, Optional. The maximum number of events to return. The service may return fewer than this value. If unspecified, at most 100 events will be returned. The maximum value is 100; values above 100 will hit exception.
+  pageToken: string, Optional. The next_page_token value returned from a previous list AgentEngineTaskStoreService.ListA2aTaskEvents call.
+  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 AgentEngineTaskStoreService.ListA2aTaskEvents.
+  "nextPageToken": "A String", # A token to retrieve the next page of results.
+  "taskEvents": [ # List of TaskEvents in the requested page.
+    { # An event that occurred for a task. Note that TaskEvent is just a record of task's change. Hence, it's not a Cloud resource.
+      "createTime": "A String", # Output only. The create time of the event.
+      "eventData": { # Data for a TaskEvent. # Required. The delta associated with the event.
+        "metadataChange": { # An event representing a change to the task's top-level metadata. example: metadata_change: { new_metadata: { "name": "My task", } update_mask: { paths: "name" } } # Optional. A change to the task's metadata.
+          "newMetadata": { # Required. The complete state of the metadata object *after* the change.
+            "a_key": "", # Properties of the object.
+          },
+          "updateMask": "A String", # Optional. A field mask indicating which paths in the Struct were changed. If not set, all fields will be updated. go/aip-internal/cloud-standard/2412
+        },
+        "outputChange": { # An event representing a change to the task's outputs. # Optional. A change to the task's final outputs.
+          "taskArtifactChange": { # Describes changes to the artifact list. # Required. A granular change to the list of artifacts.
+            "addedArtifacts": [ # Optional. A list of brand-new artifacts created in this event.
+              { # Represents a single artifact produced by a task. sample: artifacts: { artifact_id: "image-12345" name: "Generated Sunset Image" description: "A beautiful sunset over the mountains, generated by the user's request." parts: { inline_data: { mime_type: "image/png" data: "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAA=" } } }
+                "artifactId": "A String", # Required. The unique identifier of the artifact within the task. This id is provided by the creator of the artifact.
+                "description": "A String", # Optional. A human readable description of the artifact.
+                "displayName": "A String", # Optional. The human-readable name of the artifact provided by the creator.
+                "metadata": { # Optional. Additional metadata for the artifact. For A2A, the URIs of the extensions that were used to produce this artifact will be stored here.
+                  "a_key": "", # Properties of the object.
+                },
+                "parts": [ # Required. The content of the artifact.
+                  { # 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` can only 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.
+                    "codeExecutionResult": { # Result of executing the ExecutableCode. Generated only when the `CodeExecution` tool is used. # Optional. The result of executing the ExecutableCode.
+                      "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.
+                      "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.
+                    },
+                    "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.
+                    },
+                  },
+                ],
+              },
+            ],
+            "deletedArtifactIds": [ # Optional. A list of artifact IDs that were removed in this event.
+              "A String",
+            ],
+            "updatedArtifacts": [ # Optional. A list of existing artifacts that were modified in this event.
+              { # Represents a single artifact produced by a task. sample: artifacts: { artifact_id: "image-12345" name: "Generated Sunset Image" description: "A beautiful sunset over the mountains, generated by the user's request." parts: { inline_data: { mime_type: "image/png" data: "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAA=" } } }
+                "artifactId": "A String", # Required. The unique identifier of the artifact within the task. This id is provided by the creator of the artifact.
+                "description": "A String", # Optional. A human readable description of the artifact.
+                "displayName": "A String", # Optional. The human-readable name of the artifact provided by the creator.
+                "metadata": { # Optional. Additional metadata for the artifact. For A2A, the URIs of the extensions that were used to produce this artifact will be stored here.
+                  "a_key": "", # Properties of the object.
+                },
+                "parts": [ # Required. The content of the artifact.
+                  { # 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` can only 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.
+                    "codeExecutionResult": { # Result of executing the ExecutableCode. Generated only when the `CodeExecution` tool is used. # Optional. The result of executing the ExecutableCode.
+                      "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.
+                      "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.
+                    },
+                    "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.
+                    },
+                  },
+                ],
+              },
+            ],
+          },
+        },
+        "stateChange": { # A message representing a change in a task's state. # Optional. A change in the task's state.
+          "newState": "A String", # Required. The new state of the task.
+        },
+        "statusDetailsChange": { # Represents a change to the task's status details. # Optional. A change to the framework-specific status details.
+          "newTaskStatus": { # Represents the additional status details of a task. # Required. The complete state of the task's status *after* the change.
+            "taskMessage": { # Represents a single message in a conversation, compliant with the A2A specification. # Optional. The message associated with the single-turn interaction between the user and the agent or agent and agent.
+              "messageId": "A String", # Required. The unique identifier of the message.
+              "metadata": { # Optional. A2A message may have extension_uris or reference_task_ids. They will be stored under metadata.
+                "a_key": "", # Properties of the object.
+              },
+              "parts": [ # Required. The parts of the message.
+                { # 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` can only 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.
+                  "codeExecutionResult": { # Result of executing the ExecutableCode. Generated only when the `CodeExecution` tool is used. # Optional. The result of executing the ExecutableCode.
+                    "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.
+                    "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.
+                  },
+                  "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", # Required. The role of the sender of the message. e.g. "user", "agent"
+            },
+          },
+        },
+      },
+      "eventSequenceNumber": "A String", # Required. The sequence number of the event. This is used to uniquely identify the event within the task and order events chronologically. This is a id generated by the SDK.
+    },
+  ],
+}
+
+ +
+ list_next() +
Retrieves the next page of results.
+
+        Args:
+          previous_request: The request for the previous page. (required)
+          previous_response: The response from the request for the previous page. (required)
+
+        Returns:
+          A request object that you can call 'execute()' on to request the next
+          page. Returns None if there are no more items in the collection.
+        
+
+ + \ No newline at end of file diff --git a/docs/dyn/aiplatform_v1beta1.projects.locations.reasoningEngines.a2aTasks.html b/docs/dyn/aiplatform_v1beta1.projects.locations.reasoningEngines.a2aTasks.html new file mode 100644 index 0000000000..0bde312c9c --- /dev/null +++ b/docs/dyn/aiplatform_v1beta1.projects.locations.reasoningEngines.a2aTasks.html @@ -0,0 +1,1200 @@ + + + +

Vertex AI API . projects . locations . reasoningEngines . a2aTasks

+

Instance Methods

+

+ events() +

+

Returns the events Resource.

+ +

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

+

Appends TaskEvents to an A2aTask.

+

+ close()

+

Close httplib2 connections.

+

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

+

Creates an A2aTask.

+

+ get(name, x__xgafv=None)

+

Gets an A2aTask.

+

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

+

Lists A2aTasks for a ReasoningEngine.

+

+ list_next()

+

Retrieves the next page of results.

+

Method Details

+
+ appendEvents(name, body=None, x__xgafv=None) +
Appends TaskEvents to an A2aTask.
+
+Args:
+  name: string, Required. The resource name of the A2aTask to append events to. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/a2aTasks/{a2a_task}` (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # Request message for AgentEngineTaskStoreService.AppendA2aTaskEvents.
+  "taskEvents": [ # Required. The events to append. The number of events to append must be less than or equal to 100. Otherwise, an exception will be thrown.
+    { # An event that occurred for a task. Note that TaskEvent is just a record of task's change. Hence, it's not a Cloud resource.
+      "createTime": "A String", # Output only. The create time of the event.
+      "eventData": { # Data for a TaskEvent. # Required. The delta associated with the event.
+        "metadataChange": { # An event representing a change to the task's top-level metadata. example: metadata_change: { new_metadata: { "name": "My task", } update_mask: { paths: "name" } } # Optional. A change to the task's metadata.
+          "newMetadata": { # Required. The complete state of the metadata object *after* the change.
+            "a_key": "", # Properties of the object.
+          },
+          "updateMask": "A String", # Optional. A field mask indicating which paths in the Struct were changed. If not set, all fields will be updated. go/aip-internal/cloud-standard/2412
+        },
+        "outputChange": { # An event representing a change to the task's outputs. # Optional. A change to the task's final outputs.
+          "taskArtifactChange": { # Describes changes to the artifact list. # Required. A granular change to the list of artifacts.
+            "addedArtifacts": [ # Optional. A list of brand-new artifacts created in this event.
+              { # Represents a single artifact produced by a task. sample: artifacts: { artifact_id: "image-12345" name: "Generated Sunset Image" description: "A beautiful sunset over the mountains, generated by the user's request." parts: { inline_data: { mime_type: "image/png" data: "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAA=" } } }
+                "artifactId": "A String", # Required. The unique identifier of the artifact within the task. This id is provided by the creator of the artifact.
+                "description": "A String", # Optional. A human readable description of the artifact.
+                "displayName": "A String", # Optional. The human-readable name of the artifact provided by the creator.
+                "metadata": { # Optional. Additional metadata for the artifact. For A2A, the URIs of the extensions that were used to produce this artifact will be stored here.
+                  "a_key": "", # Properties of the object.
+                },
+                "parts": [ # Required. The content of the artifact.
+                  { # 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` can only 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.
+                    "codeExecutionResult": { # Result of executing the ExecutableCode. Generated only when the `CodeExecution` tool is used. # Optional. The result of executing the ExecutableCode.
+                      "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.
+                      "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.
+                    },
+                    "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.
+                    },
+                  },
+                ],
+              },
+            ],
+            "deletedArtifactIds": [ # Optional. A list of artifact IDs that were removed in this event.
+              "A String",
+            ],
+            "updatedArtifacts": [ # Optional. A list of existing artifacts that were modified in this event.
+              { # Represents a single artifact produced by a task. sample: artifacts: { artifact_id: "image-12345" name: "Generated Sunset Image" description: "A beautiful sunset over the mountains, generated by the user's request." parts: { inline_data: { mime_type: "image/png" data: "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAA=" } } }
+                "artifactId": "A String", # Required. The unique identifier of the artifact within the task. This id is provided by the creator of the artifact.
+                "description": "A String", # Optional. A human readable description of the artifact.
+                "displayName": "A String", # Optional. The human-readable name of the artifact provided by the creator.
+                "metadata": { # Optional. Additional metadata for the artifact. For A2A, the URIs of the extensions that were used to produce this artifact will be stored here.
+                  "a_key": "", # Properties of the object.
+                },
+                "parts": [ # Required. The content of the artifact.
+                  { # 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` can only 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.
+                    "codeExecutionResult": { # Result of executing the ExecutableCode. Generated only when the `CodeExecution` tool is used. # Optional. The result of executing the ExecutableCode.
+                      "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.
+                      "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.
+                    },
+                    "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.
+                    },
+                  },
+                ],
+              },
+            ],
+          },
+        },
+        "stateChange": { # A message representing a change in a task's state. # Optional. A change in the task's state.
+          "newState": "A String", # Required. The new state of the task.
+        },
+        "statusDetailsChange": { # Represents a change to the task's status details. # Optional. A change to the framework-specific status details.
+          "newTaskStatus": { # Represents the additional status details of a task. # Required. The complete state of the task's status *after* the change.
+            "taskMessage": { # Represents a single message in a conversation, compliant with the A2A specification. # Optional. The message associated with the single-turn interaction between the user and the agent or agent and agent.
+              "messageId": "A String", # Required. The unique identifier of the message.
+              "metadata": { # Optional. A2A message may have extension_uris or reference_task_ids. They will be stored under metadata.
+                "a_key": "", # Properties of the object.
+              },
+              "parts": [ # Required. The parts of the message.
+                { # 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` can only 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.
+                  "codeExecutionResult": { # Result of executing the ExecutableCode. Generated only when the `CodeExecution` tool is used. # Optional. The result of executing the ExecutableCode.
+                    "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.
+                    "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.
+                  },
+                  "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", # Required. The role of the sender of the message. e.g. "user", "agent"
+            },
+          },
+        },
+      },
+      "eventSequenceNumber": "A String", # Required. The sequence number of the event. This is used to uniquely identify the event within the task and order events chronologically. This is a id generated by the SDK.
+    },
+  ],
+}
+
+  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 AgentEngineTaskStoreService.AppendA2aTaskEvents.
+}
+
+ +
+ close() +
Close httplib2 connections.
+
+ +
+ create(parent, a2aTaskId=None, body=None, x__xgafv=None) +
Creates an A2aTask.
+
+Args:
+  parent: string, Required. The resource name of the ReasoningEngine to create the A2aTask under. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # An A2aTask represents a unit of work.
+  "contextId": "A String", # Optional. A generic identifier for grouping related tasks (e.g., session_id, workflow_id).
+  "createTime": "A String", # Output only. The creation timestamp of the task.
+  "expireTime": "A String", # Optional. Timestamp of when this task is considered expired. This is *always* provided on output, and is calculated based on the `ttl` if set on the request
+  "metadata": { # Optional. Arbitrary, user-defined metadata.
+    "a_key": "", # Properties of the object.
+  },
+  "name": "A String", # Identifier. The resource name of the task. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/a2aTasks/{a2a_task}`
+  "nextEventSequenceNumber": "A String", # Output only. The next event sequence number to be appended to the task. This value starts at 1 and is guaranteed to be monotonically increasing.
+  "output": { # Represents the final output of a task. # Optional. The final output of the task.
+    "artifacts": [ # Optional. A list of artifacts (files, data) produced by the task.
+      { # Represents a single artifact produced by a task. sample: artifacts: { artifact_id: "image-12345" name: "Generated Sunset Image" description: "A beautiful sunset over the mountains, generated by the user's request." parts: { inline_data: { mime_type: "image/png" data: "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAA=" } } }
+        "artifactId": "A String", # Required. The unique identifier of the artifact within the task. This id is provided by the creator of the artifact.
+        "description": "A String", # Optional. A human readable description of the artifact.
+        "displayName": "A String", # Optional. The human-readable name of the artifact provided by the creator.
+        "metadata": { # Optional. Additional metadata for the artifact. For A2A, the URIs of the extensions that were used to produce this artifact will be stored here.
+          "a_key": "", # Properties of the object.
+        },
+        "parts": [ # Required. The content of the artifact.
+          { # 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` can only 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.
+            "codeExecutionResult": { # Result of executing the ExecutableCode. Generated only when the `CodeExecution` tool is used. # Optional. The result of executing the ExecutableCode.
+              "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.
+              "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.
+            },
+            "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.
+            },
+          },
+        ],
+      },
+    ],
+  },
+  "state": "A String", # Output only. The state of the task. The state of a new task is SUBMITTED by default. The state of a task can only be updated via AppendA2aTaskEvents API.
+  "statusDetails": { # Represents the additional status details of a task. # Optional. The status details of the task.
+    "taskMessage": { # Represents a single message in a conversation, compliant with the A2A specification. # Optional. The message associated with the single-turn interaction between the user and the agent or agent and agent.
+      "messageId": "A String", # Required. The unique identifier of the message.
+      "metadata": { # Optional. A2A message may have extension_uris or reference_task_ids. They will be stored under metadata.
+        "a_key": "", # Properties of the object.
+      },
+      "parts": [ # Required. The parts of the message.
+        { # 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` can only 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.
+          "codeExecutionResult": { # Result of executing the ExecutableCode. Generated only when the `CodeExecution` tool is used. # Optional. The result of executing the ExecutableCode.
+            "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.
+            "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.
+          },
+          "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", # Required. The role of the sender of the message. e.g. "user", "agent"
+    },
+  },
+  "ttl": "A String", # Optional. Input only. The TTL (Time To Live) for the task. If not set, the task will expire in 365 days by default. Valid range: (0 seconds, 1000 days]
+  "updateTime": "A String", # Output only. The last update timestamp of the task.
+}
+
+  a2aTaskId: string, Required. User-defined ID of the A2aTask. This ID must be unique within the ReasoningEngine.
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # An A2aTask represents a unit of work.
+  "contextId": "A String", # Optional. A generic identifier for grouping related tasks (e.g., session_id, workflow_id).
+  "createTime": "A String", # Output only. The creation timestamp of the task.
+  "expireTime": "A String", # Optional. Timestamp of when this task is considered expired. This is *always* provided on output, and is calculated based on the `ttl` if set on the request
+  "metadata": { # Optional. Arbitrary, user-defined metadata.
+    "a_key": "", # Properties of the object.
+  },
+  "name": "A String", # Identifier. The resource name of the task. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/a2aTasks/{a2a_task}`
+  "nextEventSequenceNumber": "A String", # Output only. The next event sequence number to be appended to the task. This value starts at 1 and is guaranteed to be monotonically increasing.
+  "output": { # Represents the final output of a task. # Optional. The final output of the task.
+    "artifacts": [ # Optional. A list of artifacts (files, data) produced by the task.
+      { # Represents a single artifact produced by a task. sample: artifacts: { artifact_id: "image-12345" name: "Generated Sunset Image" description: "A beautiful sunset over the mountains, generated by the user's request." parts: { inline_data: { mime_type: "image/png" data: "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAA=" } } }
+        "artifactId": "A String", # Required. The unique identifier of the artifact within the task. This id is provided by the creator of the artifact.
+        "description": "A String", # Optional. A human readable description of the artifact.
+        "displayName": "A String", # Optional. The human-readable name of the artifact provided by the creator.
+        "metadata": { # Optional. Additional metadata for the artifact. For A2A, the URIs of the extensions that were used to produce this artifact will be stored here.
+          "a_key": "", # Properties of the object.
+        },
+        "parts": [ # Required. The content of the artifact.
+          { # 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` can only 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.
+            "codeExecutionResult": { # Result of executing the ExecutableCode. Generated only when the `CodeExecution` tool is used. # Optional. The result of executing the ExecutableCode.
+              "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.
+              "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.
+            },
+            "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.
+            },
+          },
+        ],
+      },
+    ],
+  },
+  "state": "A String", # Output only. The state of the task. The state of a new task is SUBMITTED by default. The state of a task can only be updated via AppendA2aTaskEvents API.
+  "statusDetails": { # Represents the additional status details of a task. # Optional. The status details of the task.
+    "taskMessage": { # Represents a single message in a conversation, compliant with the A2A specification. # Optional. The message associated with the single-turn interaction between the user and the agent or agent and agent.
+      "messageId": "A String", # Required. The unique identifier of the message.
+      "metadata": { # Optional. A2A message may have extension_uris or reference_task_ids. They will be stored under metadata.
+        "a_key": "", # Properties of the object.
+      },
+      "parts": [ # Required. The parts of the message.
+        { # 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` can only 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.
+          "codeExecutionResult": { # Result of executing the ExecutableCode. Generated only when the `CodeExecution` tool is used. # Optional. The result of executing the ExecutableCode.
+            "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.
+            "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.
+          },
+          "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", # Required. The role of the sender of the message. e.g. "user", "agent"
+    },
+  },
+  "ttl": "A String", # Optional. Input only. The TTL (Time To Live) for the task. If not set, the task will expire in 365 days by default. Valid range: (0 seconds, 1000 days]
+  "updateTime": "A String", # Output only. The last update timestamp of the task.
+}
+
+ +
+ get(name, x__xgafv=None) +
Gets an A2aTask.
+
+Args:
+  name: string, Required. The resource name of the A2aTask. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/a2aTasks/{a2a_task}` (required)
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # An A2aTask represents a unit of work.
+  "contextId": "A String", # Optional. A generic identifier for grouping related tasks (e.g., session_id, workflow_id).
+  "createTime": "A String", # Output only. The creation timestamp of the task.
+  "expireTime": "A String", # Optional. Timestamp of when this task is considered expired. This is *always* provided on output, and is calculated based on the `ttl` if set on the request
+  "metadata": { # Optional. Arbitrary, user-defined metadata.
+    "a_key": "", # Properties of the object.
+  },
+  "name": "A String", # Identifier. The resource name of the task. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/a2aTasks/{a2a_task}`
+  "nextEventSequenceNumber": "A String", # Output only. The next event sequence number to be appended to the task. This value starts at 1 and is guaranteed to be monotonically increasing.
+  "output": { # Represents the final output of a task. # Optional. The final output of the task.
+    "artifacts": [ # Optional. A list of artifacts (files, data) produced by the task.
+      { # Represents a single artifact produced by a task. sample: artifacts: { artifact_id: "image-12345" name: "Generated Sunset Image" description: "A beautiful sunset over the mountains, generated by the user's request." parts: { inline_data: { mime_type: "image/png" data: "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAA=" } } }
+        "artifactId": "A String", # Required. The unique identifier of the artifact within the task. This id is provided by the creator of the artifact.
+        "description": "A String", # Optional. A human readable description of the artifact.
+        "displayName": "A String", # Optional. The human-readable name of the artifact provided by the creator.
+        "metadata": { # Optional. Additional metadata for the artifact. For A2A, the URIs of the extensions that were used to produce this artifact will be stored here.
+          "a_key": "", # Properties of the object.
+        },
+        "parts": [ # Required. The content of the artifact.
+          { # 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` can only 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.
+            "codeExecutionResult": { # Result of executing the ExecutableCode. Generated only when the `CodeExecution` tool is used. # Optional. The result of executing the ExecutableCode.
+              "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.
+              "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.
+            },
+            "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.
+            },
+          },
+        ],
+      },
+    ],
+  },
+  "state": "A String", # Output only. The state of the task. The state of a new task is SUBMITTED by default. The state of a task can only be updated via AppendA2aTaskEvents API.
+  "statusDetails": { # Represents the additional status details of a task. # Optional. The status details of the task.
+    "taskMessage": { # Represents a single message in a conversation, compliant with the A2A specification. # Optional. The message associated with the single-turn interaction between the user and the agent or agent and agent.
+      "messageId": "A String", # Required. The unique identifier of the message.
+      "metadata": { # Optional. A2A message may have extension_uris or reference_task_ids. They will be stored under metadata.
+        "a_key": "", # Properties of the object.
+      },
+      "parts": [ # Required. The parts of the message.
+        { # 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` can only 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.
+          "codeExecutionResult": { # Result of executing the ExecutableCode. Generated only when the `CodeExecution` tool is used. # Optional. The result of executing the ExecutableCode.
+            "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.
+            "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.
+          },
+          "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", # Required. The role of the sender of the message. e.g. "user", "agent"
+    },
+  },
+  "ttl": "A String", # Optional. Input only. The TTL (Time To Live) for the task. If not set, the task will expire in 365 days by default. Valid range: (0 seconds, 1000 days]
+  "updateTime": "A String", # Output only. The last update timestamp of the task.
+}
+
+ +
+ list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None) +
Lists A2aTasks for a ReasoningEngine.
+
+Args:
+  parent: string, Required. The resource name of the ReasoningEngine to list the A2aTasks under. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` (required)
+  filter: string, Optional. The standard list filter. More detail in [AIP-160](https://google.aip.dev/160). Supported fields: * `context_id` * `state` Example: `context_id="abc"`, `state="WORKING"`.
+  orderBy: string, Optional. A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. If this field is omitted, the default ordering is `create_time` descending. More detail in [AIP-132](https://google.aip.dev/132). Supported fields: * `create_time` * `update_time` Example: `create_time desc`.
+  pageSize: integer, Optional. The maximum number of tasks to return. The service may return fewer than this value. If unspecified, at most 10 tasks will be returned. The maximum value is 100; values above 100 will hit exception.
+  pageToken: string, Optional. The next_page_token value returned from a previous list AgentEngineTaskStoreService.ListA2aTasks call.
+  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 AgentEngineTaskStoreService.ListA2aTasks.
+  "a2aTasks": [ # List of A2aTasks in the requested page.
+    { # An A2aTask represents a unit of work.
+      "contextId": "A String", # Optional. A generic identifier for grouping related tasks (e.g., session_id, workflow_id).
+      "createTime": "A String", # Output only. The creation timestamp of the task.
+      "expireTime": "A String", # Optional. Timestamp of when this task is considered expired. This is *always* provided on output, and is calculated based on the `ttl` if set on the request
+      "metadata": { # Optional. Arbitrary, user-defined metadata.
+        "a_key": "", # Properties of the object.
+      },
+      "name": "A String", # Identifier. The resource name of the task. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/a2aTasks/{a2a_task}`
+      "nextEventSequenceNumber": "A String", # Output only. The next event sequence number to be appended to the task. This value starts at 1 and is guaranteed to be monotonically increasing.
+      "output": { # Represents the final output of a task. # Optional. The final output of the task.
+        "artifacts": [ # Optional. A list of artifacts (files, data) produced by the task.
+          { # Represents a single artifact produced by a task. sample: artifacts: { artifact_id: "image-12345" name: "Generated Sunset Image" description: "A beautiful sunset over the mountains, generated by the user's request." parts: { inline_data: { mime_type: "image/png" data: "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAA=" } } }
+            "artifactId": "A String", # Required. The unique identifier of the artifact within the task. This id is provided by the creator of the artifact.
+            "description": "A String", # Optional. A human readable description of the artifact.
+            "displayName": "A String", # Optional. The human-readable name of the artifact provided by the creator.
+            "metadata": { # Optional. Additional metadata for the artifact. For A2A, the URIs of the extensions that were used to produce this artifact will be stored here.
+              "a_key": "", # Properties of the object.
+            },
+            "parts": [ # Required. The content of the artifact.
+              { # 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` can only 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.
+                "codeExecutionResult": { # Result of executing the ExecutableCode. Generated only when the `CodeExecution` tool is used. # Optional. The result of executing the ExecutableCode.
+                  "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.
+                  "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.
+                },
+                "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.
+                },
+              },
+            ],
+          },
+        ],
+      },
+      "state": "A String", # Output only. The state of the task. The state of a new task is SUBMITTED by default. The state of a task can only be updated via AppendA2aTaskEvents API.
+      "statusDetails": { # Represents the additional status details of a task. # Optional. The status details of the task.
+        "taskMessage": { # Represents a single message in a conversation, compliant with the A2A specification. # Optional. The message associated with the single-turn interaction between the user and the agent or agent and agent.
+          "messageId": "A String", # Required. The unique identifier of the message.
+          "metadata": { # Optional. A2A message may have extension_uris or reference_task_ids. They will be stored under metadata.
+            "a_key": "", # Properties of the object.
+          },
+          "parts": [ # Required. The parts of the message.
+            { # 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` can only 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.
+              "codeExecutionResult": { # Result of executing the ExecutableCode. Generated only when the `CodeExecution` tool is used. # Optional. The result of executing the ExecutableCode.
+                "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.
+                "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.
+              },
+              "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", # Required. The role of the sender of the message. e.g. "user", "agent"
+        },
+      },
+      "ttl": "A String", # Optional. Input only. The TTL (Time To Live) for the task. If not set, the task will expire in 365 days by default. Valid range: (0 seconds, 1000 days]
+      "updateTime": "A String", # Output only. The last update timestamp of the task.
+    },
+  ],
+  "nextPageToken": "A String", # A token, which can be sent as ListA2aTasksRequest.page_token to retrieve the next page. Absence of this field indicates there are no subsequent pages.
+}
+
+ +
+ list_next() +
Retrieves the next page of results.
+
+        Args:
+          previous_request: The request for the previous page. (required)
+          previous_response: The response from the request for the previous page. (required)
+
+        Returns:
+          A request object that you can call 'execute()' on to request the next
+          page. Returns None if there are no more items in the collection.
+        
+
+ + \ No newline at end of file diff --git a/docs/dyn/aiplatform_v1beta1.projects.locations.reasoningEngines.html b/docs/dyn/aiplatform_v1beta1.projects.locations.reasoningEngines.html index ff96f53bcc..9f4f57b569 100644 --- a/docs/dyn/aiplatform_v1beta1.projects.locations.reasoningEngines.html +++ b/docs/dyn/aiplatform_v1beta1.projects.locations.reasoningEngines.html @@ -79,6 +79,11 @@

Instance Methods

Returns the a2a Resource.

+

+ a2aTasks() +

+

Returns the a2aTasks Resource.

+

examples()

@@ -329,6 +334,9 @@

Method Details

"a_key": "", # Properties of the object. }, ], + "containerSpec": { # Specification for deploying from a container image. # Deploy from a container image with a defined entrypoint and commands. + "imageUri": "A String", # Required. The Artifact Registry Docker image URI (e.g., us-central1-docker.pkg.dev/my-project/my-repo/my-image:tag) of the container image that is to be run on each worker replica. + }, "deploymentSpec": { # The specification of a Reasoning Engine deployment. # Optional. The specification of a Reasoning Engine deployment. "agentServerMode": "A String", # The agent server mode. "containerConcurrency": 42, # Optional. Concurrency for each container and agent server. Recommended value: 2 * cpu + 1. Defaults to 9. @@ -685,6 +693,9 @@

Method Details

"a_key": "", # Properties of the object. }, ], + "containerSpec": { # Specification for deploying from a container image. # Deploy from a container image with a defined entrypoint and commands. + "imageUri": "A String", # Required. The Artifact Registry Docker image URI (e.g., us-central1-docker.pkg.dev/my-project/my-repo/my-image:tag) of the container image that is to be run on each worker replica. + }, "deploymentSpec": { # The specification of a Reasoning Engine deployment. # Optional. The specification of a Reasoning Engine deployment. "agentServerMode": "A String", # The agent server mode. "containerConcurrency": 42, # Optional. Concurrency for each container and agent server. Recommended value: 2 * cpu + 1. Defaults to 9. @@ -972,6 +983,9 @@

Method Details

"a_key": "", # Properties of the object. }, ], + "containerSpec": { # Specification for deploying from a container image. # Deploy from a container image with a defined entrypoint and commands. + "imageUri": "A String", # Required. The Artifact Registry Docker image URI (e.g., us-central1-docker.pkg.dev/my-project/my-repo/my-image:tag) of the container image that is to be run on each worker replica. + }, "deploymentSpec": { # The specification of a Reasoning Engine deployment. # Optional. The specification of a Reasoning Engine deployment. "agentServerMode": "A String", # The agent server mode. "containerConcurrency": 42, # Optional. Concurrency for each container and agent server. Recommended value: 2 * cpu + 1. Defaults to 9. @@ -1229,6 +1243,9 @@

Method Details

"a_key": "", # Properties of the object. }, ], + "containerSpec": { # Specification for deploying from a container image. # Deploy from a container image with a defined entrypoint and commands. + "imageUri": "A String", # Required. The Artifact Registry Docker image URI (e.g., us-central1-docker.pkg.dev/my-project/my-repo/my-image:tag) of the container image that is to be run on each worker replica. + }, "deploymentSpec": { # The specification of a Reasoning Engine deployment. # Optional. The specification of a Reasoning Engine deployment. "agentServerMode": "A String", # The agent server mode. "containerConcurrency": 42, # Optional. Concurrency for each container and agent server. Recommended value: 2 * cpu + 1. Defaults to 9. diff --git a/docs/dyn/aiplatform_v1beta1.projects.locations.reasoningEngines.sessions.html b/docs/dyn/aiplatform_v1beta1.projects.locations.reasoningEngines.sessions.html index 0fb21688fa..5dab795fdd 100644 --- a/docs/dyn/aiplatform_v1beta1.projects.locations.reasoningEngines.sessions.html +++ b/docs/dyn/aiplatform_v1beta1.projects.locations.reasoningEngines.sessions.html @@ -374,7 +374,7 @@

Method Details

"userId": "A String", # Required. Immutable. String id provided by the user } - sessionId: string, Optional. The user defined ID to use for session, which will become the final component of the session resource name. If not provided, Vertex AI will generate a value for this ID. This value may be up to 63 characters, and valid characters are `[a-z0-9-]`. The first character must be a letter, and the last character must be a letter or number. + sessionId: string, Optional. The user defined ID to use for session, which will become the final component of the session resource name. If not provided, Vertex AI will generate a value for this ID. This value may be up to 63 characters, and valid characters are `[a-z0-9-]`. The first and last characters must be a letter or number. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format diff --git a/docs/dyn/aiplatform_v1beta1.projects.locations.trainingPipelines.html b/docs/dyn/aiplatform_v1beta1.projects.locations.trainingPipelines.html index 52c0d6bf67..a553e0cf54 100644 --- a/docs/dyn/aiplatform_v1beta1.projects.locations.trainingPipelines.html +++ b/docs/dyn/aiplatform_v1beta1.projects.locations.trainingPipelines.html @@ -480,7 +480,7 @@

Method Details

"copy": True or False, # If this Model is copy of another Model. If true then source_type pertains to the original. "sourceType": "A String", # Type of the model source. }, - "name": "A String", # The resource name of the Model. + "name": "A String", # Identifier. The resource name of the Model. "originalModelInfo": { # Contains information about the original Model if this Model is a copy. # Output only. If this Model is a copy of another Model, this contains info about the original. "model": "A String", # Output only. The resource name of the Model this Model is a copy of, including the revision. Format: `projects/{project}/locations/{location}/models/{model_id}@{version_id}` }, @@ -877,7 +877,7 @@

Method Details

"copy": True or False, # If this Model is copy of another Model. If true then source_type pertains to the original. "sourceType": "A String", # Type of the model source. }, - "name": "A String", # The resource name of the Model. + "name": "A String", # Identifier. The resource name of the Model. "originalModelInfo": { # Contains information about the original Model if this Model is a copy. # Output only. If this Model is a copy of another Model, this contains info about the original. "model": "A String", # Output only. The resource name of the Model this Model is a copy of, including the revision. Format: `projects/{project}/locations/{location}/models/{model_id}@{version_id}` }, @@ -1316,7 +1316,7 @@

Method Details

"copy": True or False, # If this Model is copy of another Model. If true then source_type pertains to the original. "sourceType": "A String", # Type of the model source. }, - "name": "A String", # The resource name of the Model. + "name": "A String", # Identifier. The resource name of the Model. "originalModelInfo": { # Contains information about the original Model if this Model is a copy. # Output only. If this Model is a copy of another Model, this contains info about the original. "model": "A String", # Output only. The resource name of the Model this Model is a copy of, including the revision. Format: `projects/{project}/locations/{location}/models/{model_id}@{version_id}` }, @@ -1727,7 +1727,7 @@

Method Details

"copy": True or False, # If this Model is copy of another Model. If true then source_type pertains to the original. "sourceType": "A String", # Type of the model source. }, - "name": "A String", # The resource name of the Model. + "name": "A String", # Identifier. The resource name of the Model. "originalModelInfo": { # Contains information about the original Model if this Model is a copy. # Output only. If this Model is a copy of another Model, this contains info about the original. "model": "A String", # Output only. The resource name of the Model this Model is a copy of, including the revision. Format: `projects/{project}/locations/{location}/models/{model_id}@{version_id}` }, diff --git a/docs/dyn/aiplatform_v1beta1.projects.locations.tuningJobs.html b/docs/dyn/aiplatform_v1beta1.projects.locations.tuningJobs.html index 883518a5fb..421210ec3c 100644 --- a/docs/dyn/aiplatform_v1beta1.projects.locations.tuningJobs.html +++ b/docs/dyn/aiplatform_v1beta1.projects.locations.tuningJobs.html @@ -156,13 +156,16 @@

Method Details

"baseTeacherModel": "A String", # The base teacher model that is being distilled. See [Supported models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/tuning#supported_models). "hyperParameters": { # Hyperparameters for Distillation. # Optional. Hyperparameters for Distillation. "adapterSize": "A String", # Optional. Adapter size for distillation. + "batchSize": "A String", # Optional. Batch size for tuning. This feature is only available for open source models. "epochCount": "A String", # Optional. Number of complete passes the model makes over the entire training dataset during training. + "learningRate": 3.14, # Optional. Specifies the learning rate for tuning. Mutually exclusive with `learning_rate_multiplier`. This feature is only available for open source models. "learningRateMultiplier": 3.14, # Optional. Multiplier for adjusting the default learning rate. }, "pipelineRootDirectory": "A String", # Deprecated. A path in a Cloud Storage bucket, which will be treated as the root output directory of the distillation pipeline. It is used by the system to generate the paths of output artifacts. "studentModel": "A String", # The student model that is being tuned, e.g., "google/gemma-2b-1.1-it". Deprecated. Use base_model instead. "trainingDatasetUri": "A String", # Deprecated. Cloud Storage path to file containing training dataset for tuning. The dataset must be formatted as a JSONL file. "tunedTeacherModelSource": "A String", # The resource name of the Tuned teacher model. Format: `projects/{project}/locations/{location}/models/{model}`. + "tuningMode": "A String", # Optional. Specifies the tuning mode for distillation (sft part). This feature is only available for open source models. "validationDatasetUri": "A String", # Optional. Cloud Storage path to file containing validation dataset for tuning. The dataset must be formatted as a JSONL file. }, "encryptionSpec": { # Represents a customer-managed encryption key specification that can be applied to a Vertex AI resource. # Customer-managed encryption key options for a TuningJob. If this is set, then all resources created by the TuningJob will be encrypted with the provided encryption key. @@ -325,7 +328,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -419,6 +422,12 @@

Method Details

}, "samplingCount": 42, # Optional. Number of samples for each instance in the dataset. If not specified, the default is 4. Minimum value is 1, maximum value is 32. }, + "datasetCustomMetrics": [ # Optional. Specifications for custom dataset-level aggregations. + { # Defines a custom dataset-level aggregation. + "aggregationFunction": "A String", # Required. The Python code string containing the aggregation function. Expected function signature: `def aggregate(instances: list[dict[str, Any]]) -> dict[str, float]:` The `instances` argument is a list of dictionaries, where each dictionary represents a single evaluation result item. The structure of each dictionary corresponds to the fields in the `EvaluationResult` message. This includes: - `"request"`: Contains the original input data and model inputs (from `EvaluationResult.EvaluationRequest`). - `"candidate_results"`: Contains the results of any instance-level metrics (from `EvaluationResult.CandidateResults`). Example of a single item in the `instances` list: { "request": { "prompt": {"text": "What is the capital of France?"}, "golden_response": {"text": "Paris"}, "candidate_responses": [{"candidate": "model-v1", "text": "Paris"}] }, "candidate_results": [ {"metric": "exact_match", "score": 1.0}, {"metric": "bleu", "score": 0.9} ] } + "displayName": "A String", # Optional. A display name for this custom summary metric. Used to prefix keys in the output summaryMetrics map. If not provided, a default name like "dataset_custom_metric_1", "dataset_custom_metric_2", etc., will be generated based on the order in the repeated field. + }, + ], "inferenceGenerationConfig": { # 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. Configuration options for inference generation and outputs. If not set, default generation parameters are used. "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. "candidateCount": 42, # Optional. The number of candidate responses to generate. A higher `candidate_count` can provide more options to choose from, but it also consumes more resources. This can be useful for generating a variety of responses and selecting the best one. @@ -443,7 +452,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -585,7 +594,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -714,7 +723,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -817,6 +826,18 @@

Method Details

"rubricGroupKey": "A String", # Use a pre-defined group of rubrics associated with the input. Refers to a key in the rubric_groups map of EvaluationInstance. "systemInstruction": "A String", # Optional. System instructions for the judge model. }, + "metadata": { # Metadata about the metric, used for visualization and organization. # Optional. Metadata about the metric, used for visualization and organization. + "otherMetadata": { # Optional. Flexible metadata for user-defined attributes. + "a_key": "", # Properties of the object. + }, + "scoreRange": { # The range of possible scores for this metric, used for plotting. # Optional. The range of possible scores for this metric, used for plotting. + "description": "A String", # Optional. The description of the score explaining the directionality etc. + "max": 3.14, # Required. The maximum value of the score range (inclusive). + "min": 3.14, # Required. The minimum value of the score range (inclusive). + "step": 3.14, # Optional. The distance between discrete steps in the range. If unset, the range is assumed to be continuous. + }, + "title": "A String", # Optional. The user-friendly name for the metric. If not set for a registered metric, it will default to the metric's display name. + }, "pairwiseMetricSpec": { # Spec for pairwise metric. # Spec for pairwise metric. "baselineResponseFieldName": "A String", # Optional. The field name of the baseline response. "candidateResponseFieldName": "A String", # Optional. The field name of the candidate response. @@ -1440,13 +1461,16 @@

Method Details

"baseTeacherModel": "A String", # The base teacher model that is being distilled. See [Supported models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/tuning#supported_models). "hyperParameters": { # Hyperparameters for Distillation. # Optional. Hyperparameters for Distillation. "adapterSize": "A String", # Optional. Adapter size for distillation. + "batchSize": "A String", # Optional. Batch size for tuning. This feature is only available for open source models. "epochCount": "A String", # Optional. Number of complete passes the model makes over the entire training dataset during training. + "learningRate": 3.14, # Optional. Specifies the learning rate for tuning. Mutually exclusive with `learning_rate_multiplier`. This feature is only available for open source models. "learningRateMultiplier": 3.14, # Optional. Multiplier for adjusting the default learning rate. }, "pipelineRootDirectory": "A String", # Deprecated. A path in a Cloud Storage bucket, which will be treated as the root output directory of the distillation pipeline. It is used by the system to generate the paths of output artifacts. "studentModel": "A String", # The student model that is being tuned, e.g., "google/gemma-2b-1.1-it". Deprecated. Use base_model instead. "trainingDatasetUri": "A String", # Deprecated. Cloud Storage path to file containing training dataset for tuning. The dataset must be formatted as a JSONL file. "tunedTeacherModelSource": "A String", # The resource name of the Tuned teacher model. Format: `projects/{project}/locations/{location}/models/{model}`. + "tuningMode": "A String", # Optional. Specifies the tuning mode for distillation (sft part). This feature is only available for open source models. "validationDatasetUri": "A String", # Optional. Cloud Storage path to file containing validation dataset for tuning. The dataset must be formatted as a JSONL file. }, "encryptionSpec": { # Represents a customer-managed encryption key specification that can be applied to a Vertex AI resource. # Customer-managed encryption key options for a TuningJob. If this is set, then all resources created by the TuningJob will be encrypted with the provided encryption key. @@ -1609,7 +1633,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -1703,6 +1727,12 @@

Method Details

}, "samplingCount": 42, # Optional. Number of samples for each instance in the dataset. If not specified, the default is 4. Minimum value is 1, maximum value is 32. }, + "datasetCustomMetrics": [ # Optional. Specifications for custom dataset-level aggregations. + { # Defines a custom dataset-level aggregation. + "aggregationFunction": "A String", # Required. The Python code string containing the aggregation function. Expected function signature: `def aggregate(instances: list[dict[str, Any]]) -> dict[str, float]:` The `instances` argument is a list of dictionaries, where each dictionary represents a single evaluation result item. The structure of each dictionary corresponds to the fields in the `EvaluationResult` message. This includes: - `"request"`: Contains the original input data and model inputs (from `EvaluationResult.EvaluationRequest`). - `"candidate_results"`: Contains the results of any instance-level metrics (from `EvaluationResult.CandidateResults`). Example of a single item in the `instances` list: { "request": { "prompt": {"text": "What is the capital of France?"}, "golden_response": {"text": "Paris"}, "candidate_responses": [{"candidate": "model-v1", "text": "Paris"}] }, "candidate_results": [ {"metric": "exact_match", "score": 1.0}, {"metric": "bleu", "score": 0.9} ] } + "displayName": "A String", # Optional. A display name for this custom summary metric. Used to prefix keys in the output summaryMetrics map. If not provided, a default name like "dataset_custom_metric_1", "dataset_custom_metric_2", etc., will be generated based on the order in the repeated field. + }, + ], "inferenceGenerationConfig": { # 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. Configuration options for inference generation and outputs. If not set, default generation parameters are used. "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. "candidateCount": 42, # Optional. The number of candidate responses to generate. A higher `candidate_count` can provide more options to choose from, but it also consumes more resources. This can be useful for generating a variety of responses and selecting the best one. @@ -1727,7 +1757,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -1869,7 +1899,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -1998,7 +2028,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -2101,6 +2131,18 @@

Method Details

"rubricGroupKey": "A String", # Use a pre-defined group of rubrics associated with the input. Refers to a key in the rubric_groups map of EvaluationInstance. "systemInstruction": "A String", # Optional. System instructions for the judge model. }, + "metadata": { # Metadata about the metric, used for visualization and organization. # Optional. Metadata about the metric, used for visualization and organization. + "otherMetadata": { # Optional. Flexible metadata for user-defined attributes. + "a_key": "", # Properties of the object. + }, + "scoreRange": { # The range of possible scores for this metric, used for plotting. # Optional. The range of possible scores for this metric, used for plotting. + "description": "A String", # Optional. The description of the score explaining the directionality etc. + "max": 3.14, # Required. The maximum value of the score range (inclusive). + "min": 3.14, # Required. The minimum value of the score range (inclusive). + "step": 3.14, # Optional. The distance between discrete steps in the range. If unset, the range is assumed to be continuous. + }, + "title": "A String", # Optional. The user-friendly name for the metric. If not set for a registered metric, it will default to the metric's display name. + }, "pairwiseMetricSpec": { # Spec for pairwise metric. # Spec for pairwise metric. "baselineResponseFieldName": "A String", # Optional. The field name of the baseline response. "candidateResponseFieldName": "A String", # Optional. The field name of the candidate response. @@ -2731,13 +2773,16 @@

Method Details

"baseTeacherModel": "A String", # The base teacher model that is being distilled. See [Supported models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/tuning#supported_models). "hyperParameters": { # Hyperparameters for Distillation. # Optional. Hyperparameters for Distillation. "adapterSize": "A String", # Optional. Adapter size for distillation. + "batchSize": "A String", # Optional. Batch size for tuning. This feature is only available for open source models. "epochCount": "A String", # Optional. Number of complete passes the model makes over the entire training dataset during training. + "learningRate": 3.14, # Optional. Specifies the learning rate for tuning. Mutually exclusive with `learning_rate_multiplier`. This feature is only available for open source models. "learningRateMultiplier": 3.14, # Optional. Multiplier for adjusting the default learning rate. }, "pipelineRootDirectory": "A String", # Deprecated. A path in a Cloud Storage bucket, which will be treated as the root output directory of the distillation pipeline. It is used by the system to generate the paths of output artifacts. "studentModel": "A String", # The student model that is being tuned, e.g., "google/gemma-2b-1.1-it". Deprecated. Use base_model instead. "trainingDatasetUri": "A String", # Deprecated. Cloud Storage path to file containing training dataset for tuning. The dataset must be formatted as a JSONL file. "tunedTeacherModelSource": "A String", # The resource name of the Tuned teacher model. Format: `projects/{project}/locations/{location}/models/{model}`. + "tuningMode": "A String", # Optional. Specifies the tuning mode for distillation (sft part). This feature is only available for open source models. "validationDatasetUri": "A String", # Optional. Cloud Storage path to file containing validation dataset for tuning. The dataset must be formatted as a JSONL file. }, "encryptionSpec": { # Represents a customer-managed encryption key specification that can be applied to a Vertex AI resource. # Customer-managed encryption key options for a TuningJob. If this is set, then all resources created by the TuningJob will be encrypted with the provided encryption key. @@ -2900,7 +2945,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -2994,6 +3039,12 @@

Method Details

}, "samplingCount": 42, # Optional. Number of samples for each instance in the dataset. If not specified, the default is 4. Minimum value is 1, maximum value is 32. }, + "datasetCustomMetrics": [ # Optional. Specifications for custom dataset-level aggregations. + { # Defines a custom dataset-level aggregation. + "aggregationFunction": "A String", # Required. The Python code string containing the aggregation function. Expected function signature: `def aggregate(instances: list[dict[str, Any]]) -> dict[str, float]:` The `instances` argument is a list of dictionaries, where each dictionary represents a single evaluation result item. The structure of each dictionary corresponds to the fields in the `EvaluationResult` message. This includes: - `"request"`: Contains the original input data and model inputs (from `EvaluationResult.EvaluationRequest`). - `"candidate_results"`: Contains the results of any instance-level metrics (from `EvaluationResult.CandidateResults`). Example of a single item in the `instances` list: { "request": { "prompt": {"text": "What is the capital of France?"}, "golden_response": {"text": "Paris"}, "candidate_responses": [{"candidate": "model-v1", "text": "Paris"}] }, "candidate_results": [ {"metric": "exact_match", "score": 1.0}, {"metric": "bleu", "score": 0.9} ] } + "displayName": "A String", # Optional. A display name for this custom summary metric. Used to prefix keys in the output summaryMetrics map. If not provided, a default name like "dataset_custom_metric_1", "dataset_custom_metric_2", etc., will be generated based on the order in the repeated field. + }, + ], "inferenceGenerationConfig": { # 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. Configuration options for inference generation and outputs. If not set, default generation parameters are used. "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. "candidateCount": 42, # Optional. The number of candidate responses to generate. A higher `candidate_count` can provide more options to choose from, but it also consumes more resources. This can be useful for generating a variety of responses and selecting the best one. @@ -3018,7 +3069,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -3160,7 +3211,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -3289,7 +3340,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -3392,6 +3443,18 @@

Method Details

"rubricGroupKey": "A String", # Use a pre-defined group of rubrics associated with the input. Refers to a key in the rubric_groups map of EvaluationInstance. "systemInstruction": "A String", # Optional. System instructions for the judge model. }, + "metadata": { # Metadata about the metric, used for visualization and organization. # Optional. Metadata about the metric, used for visualization and organization. + "otherMetadata": { # Optional. Flexible metadata for user-defined attributes. + "a_key": "", # Properties of the object. + }, + "scoreRange": { # The range of possible scores for this metric, used for plotting. # Optional. The range of possible scores for this metric, used for plotting. + "description": "A String", # Optional. The description of the score explaining the directionality etc. + "max": 3.14, # Required. The maximum value of the score range (inclusive). + "min": 3.14, # Required. The minimum value of the score range (inclusive). + "step": 3.14, # Optional. The distance between discrete steps in the range. If unset, the range is assumed to be continuous. + }, + "title": "A String", # Optional. The user-friendly name for the metric. If not set for a registered metric, it will default to the metric's display name. + }, "pairwiseMetricSpec": { # Spec for pairwise metric. # Spec for pairwise metric. "baselineResponseFieldName": "A String", # Optional. The field name of the baseline response. "candidateResponseFieldName": "A String", # Optional. The field name of the candidate response. @@ -4028,13 +4091,16 @@

Method Details

"baseTeacherModel": "A String", # The base teacher model that is being distilled. See [Supported models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/tuning#supported_models). "hyperParameters": { # Hyperparameters for Distillation. # Optional. Hyperparameters for Distillation. "adapterSize": "A String", # Optional. Adapter size for distillation. + "batchSize": "A String", # Optional. Batch size for tuning. This feature is only available for open source models. "epochCount": "A String", # Optional. Number of complete passes the model makes over the entire training dataset during training. + "learningRate": 3.14, # Optional. Specifies the learning rate for tuning. Mutually exclusive with `learning_rate_multiplier`. This feature is only available for open source models. "learningRateMultiplier": 3.14, # Optional. Multiplier for adjusting the default learning rate. }, "pipelineRootDirectory": "A String", # Deprecated. A path in a Cloud Storage bucket, which will be treated as the root output directory of the distillation pipeline. It is used by the system to generate the paths of output artifacts. "studentModel": "A String", # The student model that is being tuned, e.g., "google/gemma-2b-1.1-it". Deprecated. Use base_model instead. "trainingDatasetUri": "A String", # Deprecated. Cloud Storage path to file containing training dataset for tuning. The dataset must be formatted as a JSONL file. "tunedTeacherModelSource": "A String", # The resource name of the Tuned teacher model. Format: `projects/{project}/locations/{location}/models/{model}`. + "tuningMode": "A String", # Optional. Specifies the tuning mode for distillation (sft part). This feature is only available for open source models. "validationDatasetUri": "A String", # Optional. Cloud Storage path to file containing validation dataset for tuning. The dataset must be formatted as a JSONL file. }, "encryptionSpec": { # Represents a customer-managed encryption key specification that can be applied to a Vertex AI resource. # Customer-managed encryption key options for a TuningJob. If this is set, then all resources created by the TuningJob will be encrypted with the provided encryption key. @@ -4197,7 +4263,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -4291,6 +4357,12 @@

Method Details

}, "samplingCount": 42, # Optional. Number of samples for each instance in the dataset. If not specified, the default is 4. Minimum value is 1, maximum value is 32. }, + "datasetCustomMetrics": [ # Optional. Specifications for custom dataset-level aggregations. + { # Defines a custom dataset-level aggregation. + "aggregationFunction": "A String", # Required. The Python code string containing the aggregation function. Expected function signature: `def aggregate(instances: list[dict[str, Any]]) -> dict[str, float]:` The `instances` argument is a list of dictionaries, where each dictionary represents a single evaluation result item. The structure of each dictionary corresponds to the fields in the `EvaluationResult` message. This includes: - `"request"`: Contains the original input data and model inputs (from `EvaluationResult.EvaluationRequest`). - `"candidate_results"`: Contains the results of any instance-level metrics (from `EvaluationResult.CandidateResults`). Example of a single item in the `instances` list: { "request": { "prompt": {"text": "What is the capital of France?"}, "golden_response": {"text": "Paris"}, "candidate_responses": [{"candidate": "model-v1", "text": "Paris"}] }, "candidate_results": [ {"metric": "exact_match", "score": 1.0}, {"metric": "bleu", "score": 0.9} ] } + "displayName": "A String", # Optional. A display name for this custom summary metric. Used to prefix keys in the output summaryMetrics map. If not provided, a default name like "dataset_custom_metric_1", "dataset_custom_metric_2", etc., will be generated based on the order in the repeated field. + }, + ], "inferenceGenerationConfig": { # 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. Configuration options for inference generation and outputs. If not set, default generation parameters are used. "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. "candidateCount": 42, # Optional. The number of candidate responses to generate. A higher `candidate_count` can provide more options to choose from, but it also consumes more resources. This can be useful for generating a variety of responses and selecting the best one. @@ -4315,7 +4387,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -4457,7 +4529,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -4586,7 +4658,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -4689,6 +4761,18 @@

Method Details

"rubricGroupKey": "A String", # Use a pre-defined group of rubrics associated with the input. Refers to a key in the rubric_groups map of EvaluationInstance. "systemInstruction": "A String", # Optional. System instructions for the judge model. }, + "metadata": { # Metadata about the metric, used for visualization and organization. # Optional. Metadata about the metric, used for visualization and organization. + "otherMetadata": { # Optional. Flexible metadata for user-defined attributes. + "a_key": "", # Properties of the object. + }, + "scoreRange": { # The range of possible scores for this metric, used for plotting. # Optional. The range of possible scores for this metric, used for plotting. + "description": "A String", # Optional. The description of the score explaining the directionality etc. + "max": 3.14, # Required. The maximum value of the score range (inclusive). + "min": 3.14, # Required. The minimum value of the score range (inclusive). + "step": 3.14, # Optional. The distance between discrete steps in the range. If unset, the range is assumed to be continuous. + }, + "title": "A String", # Optional. The user-friendly name for the metric. If not set for a registered metric, it will default to the metric's display name. + }, "pairwiseMetricSpec": { # Spec for pairwise metric. # Spec for pairwise metric. "baselineResponseFieldName": "A String", # Optional. The field name of the baseline response. "candidateResponseFieldName": "A String", # Optional. The field name of the candidate response. @@ -5517,13 +5601,16 @@

Method Details

"baseTeacherModel": "A String", # The base teacher model that is being distilled. See [Supported models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/tuning#supported_models). "hyperParameters": { # Hyperparameters for Distillation. # Optional. Hyperparameters for Distillation. "adapterSize": "A String", # Optional. Adapter size for distillation. + "batchSize": "A String", # Optional. Batch size for tuning. This feature is only available for open source models. "epochCount": "A String", # Optional. Number of complete passes the model makes over the entire training dataset during training. + "learningRate": 3.14, # Optional. Specifies the learning rate for tuning. Mutually exclusive with `learning_rate_multiplier`. This feature is only available for open source models. "learningRateMultiplier": 3.14, # Optional. Multiplier for adjusting the default learning rate. }, "pipelineRootDirectory": "A String", # Deprecated. A path in a Cloud Storage bucket, which will be treated as the root output directory of the distillation pipeline. It is used by the system to generate the paths of output artifacts. "studentModel": "A String", # The student model that is being tuned, e.g., "google/gemma-2b-1.1-it". Deprecated. Use base_model instead. "trainingDatasetUri": "A String", # Deprecated. Cloud Storage path to file containing training dataset for tuning. The dataset must be formatted as a JSONL file. "tunedTeacherModelSource": "A String", # The resource name of the Tuned teacher model. Format: `projects/{project}/locations/{location}/models/{model}`. + "tuningMode": "A String", # Optional. Specifies the tuning mode for distillation (sft part). This feature is only available for open source models. "validationDatasetUri": "A String", # Optional. Cloud Storage path to file containing validation dataset for tuning. The dataset must be formatted as a JSONL file. }, "encryptionSpec": { # Represents a customer-managed encryption key specification that can be applied to a Vertex AI resource. # Customer-managed encryption key options for a TuningJob. If this is set, then all resources created by the TuningJob will be encrypted with the provided encryption key. @@ -5686,7 +5773,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -5780,6 +5867,12 @@

Method Details

}, "samplingCount": 42, # Optional. Number of samples for each instance in the dataset. If not specified, the default is 4. Minimum value is 1, maximum value is 32. }, + "datasetCustomMetrics": [ # Optional. Specifications for custom dataset-level aggregations. + { # Defines a custom dataset-level aggregation. + "aggregationFunction": "A String", # Required. The Python code string containing the aggregation function. Expected function signature: `def aggregate(instances: list[dict[str, Any]]) -> dict[str, float]:` The `instances` argument is a list of dictionaries, where each dictionary represents a single evaluation result item. The structure of each dictionary corresponds to the fields in the `EvaluationResult` message. This includes: - `"request"`: Contains the original input data and model inputs (from `EvaluationResult.EvaluationRequest`). - `"candidate_results"`: Contains the results of any instance-level metrics (from `EvaluationResult.CandidateResults`). Example of a single item in the `instances` list: { "request": { "prompt": {"text": "What is the capital of France?"}, "golden_response": {"text": "Paris"}, "candidate_responses": [{"candidate": "model-v1", "text": "Paris"}] }, "candidate_results": [ {"metric": "exact_match", "score": 1.0}, {"metric": "bleu", "score": 0.9} ] } + "displayName": "A String", # Optional. A display name for this custom summary metric. Used to prefix keys in the output summaryMetrics map. If not provided, a default name like "dataset_custom_metric_1", "dataset_custom_metric_2", etc., will be generated based on the order in the repeated field. + }, + ], "inferenceGenerationConfig": { # 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. Configuration options for inference generation and outputs. If not set, default generation parameters are used. "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. "candidateCount": 42, # Optional. The number of candidate responses to generate. A higher `candidate_count` can provide more options to choose from, but it also consumes more resources. This can be useful for generating a variety of responses and selecting the best one. @@ -5804,7 +5897,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -5946,7 +6039,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -6075,7 +6168,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -6178,6 +6271,18 @@

Method Details

"rubricGroupKey": "A String", # Use a pre-defined group of rubrics associated with the input. Refers to a key in the rubric_groups map of EvaluationInstance. "systemInstruction": "A String", # Optional. System instructions for the judge model. }, + "metadata": { # Metadata about the metric, used for visualization and organization. # Optional. Metadata about the metric, used for visualization and organization. + "otherMetadata": { # Optional. Flexible metadata for user-defined attributes. + "a_key": "", # Properties of the object. + }, + "scoreRange": { # The range of possible scores for this metric, used for plotting. # Optional. The range of possible scores for this metric, used for plotting. + "description": "A String", # Optional. The description of the score explaining the directionality etc. + "max": 3.14, # Required. The maximum value of the score range (inclusive). + "min": 3.14, # Required. The minimum value of the score range (inclusive). + "step": 3.14, # Optional. The distance between discrete steps in the range. If unset, the range is assumed to be continuous. + }, + "title": "A String", # Optional. The user-friendly name for the metric. If not set for a registered metric, it will default to the metric's display name. + }, "pairwiseMetricSpec": { # Spec for pairwise metric. # Spec for pairwise metric. "baselineResponseFieldName": "A String", # Optional. The field name of the baseline response. "candidateResponseFieldName": "A String", # Optional. The field name of the candidate response. diff --git a/docs/dyn/aiplatform_v1beta1.publishers.models.html b/docs/dyn/aiplatform_v1beta1.publishers.models.html index 70c794b27e..a6208e7ee7 100644 --- a/docs/dyn/aiplatform_v1beta1.publishers.models.html +++ b/docs/dyn/aiplatform_v1beta1.publishers.models.html @@ -342,7 +342,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -914,7 +914,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -2926,6 +2926,9 @@

Method Details

"instances": [ # Required. The instances that are the input to the prediction call. A DeployedModel may have an upper limit on the number of instances it supports per request, and when it is exceeded the prediction call errors in case of AutoML Models, or, in case of customer created Models, the behaviour is as documented by that Model. The schema of any single instance may be specified via Endpoint's DeployedModels' Model's PredictSchemata's instance_schema_uri. "", ], + "labels": { # Optional. The labels with user-defined metadata for the request. It is used for billing and reporting only. Label keys and values can be no longer than 63 characters (Unicode codepoints) and can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter. + "a_key": "A String", + }, "parameters": "", # Optional. The parameters that govern the prediction. The schema of the parameters may be specified via Endpoint's DeployedModels' Model's PredictSchemata's parameters_schema_uri. } @@ -3071,7 +3074,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], diff --git a/docs/dyn/aiplatform_v1beta1.reasoningEngines.a2a.html b/docs/dyn/aiplatform_v1beta1.reasoningEngines.a2a.html index c2bef3c4ad..536a4b00f8 100644 --- a/docs/dyn/aiplatform_v1beta1.reasoningEngines.a2a.html +++ b/docs/dyn/aiplatform_v1beta1.reasoningEngines.a2a.html @@ -74,18 +74,76 @@

Vertex AI API . reasoningEngines . a2a

Instance Methods

+

+ message() +

+

Returns the message Resource.

+ +

+ tasks() +

+

Returns the tasks Resource.

+

v1()

Returns the v1 Resource.

+

+ card(name, a2aEndpoint, historyLength=None, x__xgafv=None)

+

Get request for reasoning engine instance via the A2A get protocol apis.

close()

Close httplib2 connections.

+

+ extendedAgentCard(name, a2aEndpoint, historyLength=None, x__xgafv=None)

+

Get request for reasoning engine instance via the A2A get protocol apis.

Method Details

+
+ card(name, a2aEndpoint, historyLength=None, x__xgafv=None) +
Get request for reasoning engine instance via the A2A get protocol apis.
+
+Args:
+  name: string, Required. The full resource path of the reasoning engine, captured from the URL. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` (required)
+  a2aEndpoint: string, Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123` (required)
+  historyLength: string, Optional. The optional query parameter for the getTask endpoint. Mapped from "?history_length=". This indicates how many turns of history to return. If not set, the default value is 0, which means all the history will be returned.
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    {
+  "a_key": "", # Properties of the object.
+}
+
+
close()
Close httplib2 connections.
+
+ extendedAgentCard(name, a2aEndpoint, historyLength=None, x__xgafv=None) +
Get request for reasoning engine instance via the A2A get protocol apis.
+
+Args:
+  name: string, Required. The full resource path of the reasoning engine, captured from the URL. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` (required)
+  a2aEndpoint: string, Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123` (required)
+  historyLength: string, Optional. The optional query parameter for the getTask endpoint. Mapped from "?history_length=". This indicates how many turns of history to return. If not set, the default value is 0, which means all the history will be returned.
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    {
+  "a_key": "", # Properties of the object.
+}
+
+ \ No newline at end of file diff --git a/docs/dyn/aiplatform_v1beta1.reasoningEngines.a2a.message.html b/docs/dyn/aiplatform_v1beta1.reasoningEngines.a2a.message.html new file mode 100644 index 0000000000..6d3bb2e0da --- /dev/null +++ b/docs/dyn/aiplatform_v1beta1.reasoningEngines.a2a.message.html @@ -0,0 +1,140 @@ + + + +

Vertex AI API . reasoningEngines . a2a . message

+

Instance Methods

+

+ close()

+

Close httplib2 connections.

+

+ send(name, a2aEndpoint, body=None, x__xgafv=None)

+

Send post request for reasoning engine instance via the A2A post protocol apis.

+

+ stream(name, a2aEndpoint, body=None, x__xgafv=None)

+

Streams queries using a reasoning engine instance via the A2A streaming protocol apis.

+

Method Details

+
+ close() +
Close httplib2 connections.
+
+ +
+ send(name, a2aEndpoint, body=None, x__xgafv=None) +
Send post request for reasoning engine instance via the A2A post protocol apis.
+
+Args:
+  name: string, Required. The full resource path of the reasoning engine, captured from the URL. (required)
+  a2aEndpoint: string, Required. The a2a endpoint path, captured from the URL. e.g., v1/message:send (required)
+  body: object, The request body.
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    {
+  "a_key": "", # Properties of the object.
+}
+
+ +
+ stream(name, a2aEndpoint, body=None, x__xgafv=None) +
Streams queries using a reasoning engine instance via the A2A streaming protocol apis.
+
+Args:
+  name: string, Required. The full resource path of the reasoning engine, captured from the URL. (required)
+  a2aEndpoint: string, Required. The http endpoint extracted from the URL path. e.g., v1/message:stream. (required)
+  body: object, The request body.
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Message that represents an arbitrary HTTP body. It should only be used for payload formats that can't be represented as JSON, such as raw binary or an HTML page. This message can be used both in streaming and non-streaming API methods in the request as well as the response. It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body. Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged.
+  "contentType": "A String", # The HTTP Content-Type header value specifying the content type of the body.
+  "data": "A String", # The HTTP request/response body as raw binary.
+  "extensions": [ # Application specific response metadata. Must be set in the first response for streaming APIs.
+    {
+      "a_key": "", # Properties of the object. Contains field @type with type URL.
+    },
+  ],
+}
+
+ + \ No newline at end of file diff --git a/docs/dyn/aiplatform_v1beta1.reasoningEngines.a2a.tasks.html b/docs/dyn/aiplatform_v1beta1.reasoningEngines.a2a.tasks.html new file mode 100644 index 0000000000..2daeef6664 --- /dev/null +++ b/docs/dyn/aiplatform_v1beta1.reasoningEngines.a2a.tasks.html @@ -0,0 +1,168 @@ + + + +

Vertex AI API . reasoningEngines . a2a . tasks

+

Instance Methods

+

+ pushNotificationConfigs() +

+

Returns the pushNotificationConfigs Resource.

+ +

+ a2aGetReasoningEngine(name, a2aEndpoint, historyLength=None, x__xgafv=None)

+

Get request for reasoning engine instance via the A2A get protocol apis.

+

+ cancel(name, a2aEndpoint, body=None, x__xgafv=None)

+

Send post request for reasoning engine instance via the A2A post protocol apis.

+

+ close()

+

Close httplib2 connections.

+

+ subscribe(name, a2aEndpoint, x__xgafv=None)

+

Stream get request for reasoning engine instance via the A2A stream get protocol apis.

+

Method Details

+
+ a2aGetReasoningEngine(name, a2aEndpoint, historyLength=None, x__xgafv=None) +
Get request for reasoning engine instance via the A2A get protocol apis.
+
+Args:
+  name: string, Required. The full resource path of the reasoning engine, captured from the URL. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` (required)
+  a2aEndpoint: string, Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123` (required)
+  historyLength: string, Optional. The optional query parameter for the getTask endpoint. Mapped from "?history_length=". This indicates how many turns of history to return. If not set, the default value is 0, which means all the history will be returned.
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    {
+  "a_key": "", # Properties of the object.
+}
+
+ +
+ cancel(name, a2aEndpoint, body=None, x__xgafv=None) +
Send post request for reasoning engine instance via the A2A post protocol apis.
+
+Args:
+  name: string, Required. The full resource path of the reasoning engine, captured from the URL. (required)
+  a2aEndpoint: string, Required. The a2a endpoint path, captured from the URL. e.g., v1/message:send (required)
+  body: object, The request body.
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    {
+  "a_key": "", # Properties of the object.
+}
+
+ +
+ close() +
Close httplib2 connections.
+
+ +
+ subscribe(name, a2aEndpoint, x__xgafv=None) +
Stream get request for reasoning engine instance via the A2A stream get protocol apis.
+
+Args:
+  name: string, Required. The full resource path of the reasoning engine, captured from the URL. (required)
+  a2aEndpoint: string, Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123:subscribe`. (required)
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Message that represents an arbitrary HTTP body. It should only be used for payload formats that can't be represented as JSON, such as raw binary or an HTML page. This message can be used both in streaming and non-streaming API methods in the request as well as the response. It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body. Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged.
+  "contentType": "A String", # The HTTP Content-Type header value specifying the content type of the body.
+  "data": "A String", # The HTTP request/response body as raw binary.
+  "extensions": [ # Application specific response metadata. Must be set in the first response for streaming APIs.
+    {
+      "a_key": "", # Properties of the object. Contains field @type with type URL.
+    },
+  ],
+}
+
+ + \ No newline at end of file diff --git a/docs/dyn/aiplatform_v1beta1.reasoningEngines.a2a.tasks.pushNotificationConfigs.html b/docs/dyn/aiplatform_v1beta1.reasoningEngines.a2a.tasks.pushNotificationConfigs.html new file mode 100644 index 0000000000..4883f12ff0 --- /dev/null +++ b/docs/dyn/aiplatform_v1beta1.reasoningEngines.a2a.tasks.pushNotificationConfigs.html @@ -0,0 +1,110 @@ + + + +

Vertex AI API . reasoningEngines . a2a . tasks . pushNotificationConfigs

+

Instance Methods

+

+ a2aGetReasoningEngine(name, a2aEndpoint, historyLength=None, x__xgafv=None)

+

Get request for reasoning engine instance via the A2A get protocol apis.

+

+ close()

+

Close httplib2 connections.

+

Method Details

+
+ a2aGetReasoningEngine(name, a2aEndpoint, historyLength=None, x__xgafv=None) +
Get request for reasoning engine instance via the A2A get protocol apis.
+
+Args:
+  name: string, Required. The full resource path of the reasoning engine, captured from the URL. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` (required)
+  a2aEndpoint: string, Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123` (required)
+  historyLength: string, Optional. The optional query parameter for the getTask endpoint. Mapped from "?history_length=". This indicates how many turns of history to return. If not set, the default value is 0, which means all the history will be returned.
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    {
+  "a_key": "", # Properties of the object.
+}
+
+ +
+ close() +
Close httplib2 connections.
+
+ + \ No newline at end of file diff --git a/docs/dyn/aiplatform_v1beta1.reasoningEngines.a2a.v1.html b/docs/dyn/aiplatform_v1beta1.reasoningEngines.a2a.v1.html index 466f3b3a7f..efb4d06102 100644 --- a/docs/dyn/aiplatform_v1beta1.reasoningEngines.a2a.v1.html +++ b/docs/dyn/aiplatform_v1beta1.reasoningEngines.a2a.v1.html @@ -90,6 +90,9 @@

Instance Methods

close()

Close httplib2 connections.

+

+ extendedAgentCard(name, a2aEndpoint, historyLength=None, x__xgafv=None)

+

Get request for reasoning engine instance via the A2A get protocol apis.

Method Details

card(name, a2aEndpoint, historyLength=None, x__xgafv=None) @@ -117,4 +120,25 @@

Method Details

Close httplib2 connections.
+
+ extendedAgentCard(name, a2aEndpoint, historyLength=None, x__xgafv=None) +
Get request for reasoning engine instance via the A2A get protocol apis.
+
+Args:
+  name: string, Required. The full resource path of the reasoning engine, captured from the URL. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` (required)
+  a2aEndpoint: string, Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123` (required)
+  historyLength: string, Optional. The optional query parameter for the getTask endpoint. Mapped from "?history_length=". This indicates how many turns of history to return. If not set, the default value is 0, which means all the history will be returned.
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    {
+  "a_key": "", # Properties of the object.
+}
+
+ \ No newline at end of file diff --git a/docs/dyn/aiplatform_v1beta1.reasoningEngines.html b/docs/dyn/aiplatform_v1beta1.reasoningEngines.html index ed616ef3e4..9db23c9b3a 100644 --- a/docs/dyn/aiplatform_v1beta1.reasoningEngines.html +++ b/docs/dyn/aiplatform_v1beta1.reasoningEngines.html @@ -319,6 +319,9 @@

Method Details

"a_key": "", # Properties of the object. }, ], + "containerSpec": { # Specification for deploying from a container image. # Deploy from a container image with a defined entrypoint and commands. + "imageUri": "A String", # Required. The Artifact Registry Docker image URI (e.g., us-central1-docker.pkg.dev/my-project/my-repo/my-image:tag) of the container image that is to be run on each worker replica. + }, "deploymentSpec": { # The specification of a Reasoning Engine deployment. # Optional. The specification of a Reasoning Engine deployment. "agentServerMode": "A String", # The agent server mode. "containerConcurrency": 42, # Optional. Concurrency for each container and agent server. Recommended value: 2 * cpu + 1. Defaults to 9. @@ -676,6 +679,9 @@

Method Details

"a_key": "", # Properties of the object. }, ], + "containerSpec": { # Specification for deploying from a container image. # Deploy from a container image with a defined entrypoint and commands. + "imageUri": "A String", # Required. The Artifact Registry Docker image URI (e.g., us-central1-docker.pkg.dev/my-project/my-repo/my-image:tag) of the container image that is to be run on each worker replica. + }, "deploymentSpec": { # The specification of a Reasoning Engine deployment. # Optional. The specification of a Reasoning Engine deployment. "agentServerMode": "A String", # The agent server mode. "containerConcurrency": 42, # Optional. Concurrency for each container and agent server. Recommended value: 2 * cpu + 1. Defaults to 9. @@ -928,6 +934,9 @@

Method Details

"a_key": "", # Properties of the object. }, ], + "containerSpec": { # Specification for deploying from a container image. # Deploy from a container image with a defined entrypoint and commands. + "imageUri": "A String", # Required. The Artifact Registry Docker image URI (e.g., us-central1-docker.pkg.dev/my-project/my-repo/my-image:tag) of the container image that is to be run on each worker replica. + }, "deploymentSpec": { # The specification of a Reasoning Engine deployment. # Optional. The specification of a Reasoning Engine deployment. "agentServerMode": "A String", # The agent server mode. "containerConcurrency": 42, # Optional. Concurrency for each container and agent server. Recommended value: 2 * cpu + 1. Defaults to 9. @@ -1185,6 +1194,9 @@

Method Details

"a_key": "", # Properties of the object. }, ], + "containerSpec": { # Specification for deploying from a container image. # Deploy from a container image with a defined entrypoint and commands. + "imageUri": "A String", # Required. The Artifact Registry Docker image URI (e.g., us-central1-docker.pkg.dev/my-project/my-repo/my-image:tag) of the container image that is to be run on each worker replica. + }, "deploymentSpec": { # The specification of a Reasoning Engine deployment. # Optional. The specification of a Reasoning Engine deployment. "agentServerMode": "A String", # The agent server mode. "containerConcurrency": 42, # Optional. Concurrency for each container and agent server. Recommended value: 2 * cpu + 1. Defaults to 9. diff --git a/docs/dyn/aiplatform_v1beta1.reasoningEngines.sessions.html b/docs/dyn/aiplatform_v1beta1.reasoningEngines.sessions.html index e19afaf08a..4b665b9265 100644 --- a/docs/dyn/aiplatform_v1beta1.reasoningEngines.sessions.html +++ b/docs/dyn/aiplatform_v1beta1.reasoningEngines.sessions.html @@ -374,7 +374,7 @@

Method Details

"userId": "A String", # Required. Immutable. String id provided by the user } - sessionId: string, Optional. The user defined ID to use for session, which will become the final component of the session resource name. If not provided, Vertex AI will generate a value for this ID. This value may be up to 63 characters, and valid characters are `[a-z0-9-]`. The first character must be a letter, and the last character must be a letter or number. + sessionId: string, Optional. The user defined ID to use for session, which will become the final component of the session resource name. If not provided, Vertex AI will generate a value for this ID. This value may be up to 63 characters, and valid characters are `[a-z0-9-]`. The first and last characters must be a letter or number. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format diff --git a/docs/dyn/aiplatform_v1beta1.v1beta1.html b/docs/dyn/aiplatform_v1beta1.v1beta1.html index 65a9795d39..d121616f15 100644 --- a/docs/dyn/aiplatform_v1beta1.v1beta1.html +++ b/docs/dyn/aiplatform_v1beta1.v1beta1.html @@ -128,7 +128,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -283,7 +283,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -412,7 +412,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -515,6 +515,18 @@

Method Details

"rubricGroupKey": "A String", # Use a pre-defined group of rubrics associated with the input. Refers to a key in the rubric_groups map of EvaluationInstance. "systemInstruction": "A String", # Optional. System instructions for the judge model. }, + "metadata": { # Metadata about the metric, used for visualization and organization. # Optional. Metadata about the metric, used for visualization and organization. + "otherMetadata": { # Optional. Flexible metadata for user-defined attributes. + "a_key": "", # Properties of the object. + }, + "scoreRange": { # The range of possible scores for this metric, used for plotting. # Optional. The range of possible scores for this metric, used for plotting. + "description": "A String", # Optional. The description of the score explaining the directionality etc. + "max": 3.14, # Required. The maximum value of the score range (inclusive). + "min": 3.14, # Required. The minimum value of the score range (inclusive). + "step": 3.14, # Optional. The distance between discrete steps in the range. If unset, the range is assumed to be continuous. + }, + "title": "A String", # Optional. The user-friendly name for the metric. If not set for a registered metric, it will default to the metric's display name. + }, "pairwiseMetricSpec": { # Spec for pairwise metric. # Spec for pairwise metric. "baselineResponseFieldName": "A String", # Optional. The field name of the baseline response. "candidateResponseFieldName": "A String", # Optional. The field name of the candidate response. @@ -616,7 +628,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -3025,6 +3037,332 @@

Method Details

}, }, "location": "A String", # Required. The resource name of the Location to evaluate the instances. Format: `projects/{project}/locations/{location}` + "metricSources": [ # Optional. The metrics (either inline or registered) used for evaluation. Currently, we only support evaluating a single metric. If multiple metrics are provided, only the first one will be evaluated. + { # The metric source used for evaluation. + "metric": { # The metric used for running evaluations. # Inline metric config. + "aggregationMetrics": [ # Optional. The aggregation metrics to use. + "A String", + ], + "bleuSpec": { # Spec for bleu score metric - calculates the precision of n-grams in the prediction as compared to reference - returns a score ranging between 0 to 1. # Spec for bleu metric. + "useEffectiveOrder": True or False, # Optional. Whether to use_effective_order to compute bleu score. + }, + "computationBasedMetricSpec": { # Specification for a computation based metric. # Spec for a computation based metric. + "parameters": { # Optional. A map of parameters for the metric, e.g. {"rouge_type": "rougeL"}. + "a_key": "", # Properties of the object. + }, + "type": "A String", # Required. The type of the computation based metric. + }, + "customCodeExecutionSpec": { # Specificies a metric that is populated by evaluating user-defined Python code. # Spec for Custom Code Execution metric. + "evaluationFunction": "A String", # Required. Python function. Expected user to define the following function, e.g.: def evaluate(instance: dict[str, Any]) -> float: Please include this function signature in the code snippet. Instance is the evaluation instance, any fields populated in the instance are available to the function as instance[field_name]. Example: Example input: ``` instance= EvaluationInstance( response=EvaluationInstance.InstanceData(text="The answer is 4."), reference=EvaluationInstance.InstanceData(text="4") ) ``` Example converted input: ``` { 'response': {'text': 'The answer is 4.'}, 'reference': {'text': '4'} } ``` Example python function: ``` def evaluate(instance: dict[str, Any]) -> float: if instance'response' == instance'reference': return 1.0 return 0.0 ``` CustomCodeExecutionSpec is also supported in Batch Evaluation (EvalDataset RPC) and Tuning Evaluation. Each line in the input jsonl file will be converted to dict[str, Any] and passed to the evaluation function. + }, + "exactMatchSpec": { # Spec for exact match metric - returns 1 if prediction and reference exactly matches, otherwise 0. # Spec for exact match metric. + }, + "llmBasedMetricSpec": { # Specification for an LLM based metric. # Spec for an LLM based metric. + "additionalConfig": { # Optional. Optional additional configuration for the metric. + "a_key": "", # Properties of the object. + }, + "judgeAutoraterConfig": { # The configs for autorater. This is applicable to both EvaluateInstances and EvaluateDataset. # Optional. Optional configuration for the judge LLM (Autorater). + "autoraterModel": "A String", # Optional. The fully qualified name of the publisher model or tuned autorater endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` + "flipEnabled": True or False, # Optional. Default is true. Whether to flip the candidate and baseline responses. This is only applicable to the pairwise metric. If enabled, also provide PairwiseMetricSpec.candidate_response_field_name and PairwiseMetricSpec.baseline_response_field_name. When rendering PairwiseMetricSpec.metric_prompt_template, the candidate and baseline fields will be flipped for half of the samples to reduce bias. + "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. Configuration options for model generation and outputs. + "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. + "candidateCount": 42, # Optional. The number of candidate responses to generate. A higher `candidate_count` can provide more options to choose from, but it also consumes more resources. This can be useful for generating a variety of responses and selecting the best one. + "enableAffectiveDialog": True or False, # Optional. If enabled, the model will detect emotions and adapt its responses accordingly. For example, if the model detects that the user is frustrated, it may provide a more empathetic response. + "frequencyPenalty": 3.14, # Optional. Penalizes tokens based on their frequency in the generated text. A positive value helps to reduce the repetition of words and phrases. Valid values can range from [-2.0, 2.0]. + "imageConfig": { # Configuration for image generation. This message allows you to control various aspects of image generation, such as the output format, aspect ratio, and whether the model can generate images of people. # Optional. Config for image generation features. + "aspectRatio": "A String", # Optional. The desired aspect ratio for the generated images. The following aspect ratios are supported: "1:1" "2:3", "3:2" "3:4", "4:3" "4:5", "5:4" "9:16", "16:9" "21:9" + "imageOutputOptions": { # The image output format for generated images. # Optional. The image output format for generated images. + "compressionQuality": 42, # Optional. The compression quality of the output image. + "mimeType": "A String", # Optional. The image format that the output should be saved as. + }, + "imageSize": "A String", # Optional. Specifies the size of generated images. Supported values are `1K`, `2K`, `4K`. If not specified, the model will use default value `1K`. + "personGeneration": "A String", # Optional. Controls whether the model can generate people. + "prominentPeople": "A String", # Optional. Controls whether prominent people (celebrities) generation is allowed. If used with personGeneration, personGeneration enum would take precedence. For instance, if ALLOW_NONE is set, all person generation would be blocked. If this field is unspecified, the default behavior is to allow prominent people. + }, + "logprobs": 42, # Optional. The number of top log probabilities to return for each token. This can be used to see which other tokens were considered likely candidates for a given position. A higher value will return more options, but it will also increase the size of the response. + "maxOutputTokens": 42, # Optional. The maximum number of tokens to generate in the response. A token is approximately four characters. The default value varies by model. This parameter can be used to control the length of the generated text and prevent overly long responses. + "mediaResolution": "A String", # Optional. The token resolution at which input media content is sampled. This is used to control the trade-off between the quality of the response and the number of tokens used to represent the media. A higher resolution allows the model to perceive more detail, which can lead to a more nuanced response, but it will also use more tokens. This does not affect the image dimensions sent to the model. + "modelConfig": { # Config for model selection. # Optional. Config for model selection. + "featureSelectionPreference": "A String", # Required. Feature selection preference. + }, + "presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. + "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. + "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. + "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. + "A String", + ], + "responseSchema": { # Defines the schema of input and output data. This is a subset of the [OpenAPI 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object). # Optional. Lets you to specify a schema for the model's response, ensuring that the output conforms to a particular structure. This is useful for generating structured data such as JSON. The schema is a subset of the [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema) object. When this field is set, you must also set the `response_mime_type` to `application/json`. + "additionalProperties": "", # Optional. If `type` is `OBJECT`, specifies how to handle properties not defined in `properties`. If it is a boolean `false`, no additional properties are allowed. If it is a schema, additional properties are allowed if they conform to the schema. + "anyOf": [ # Optional. The instance must be valid against any (one or more) of the subschemas listed in `any_of`. + # Object with schema name: GoogleCloudAiplatformV1beta1Schema + ], + "default": "", # Optional. Default value to use if the field is not specified. + "defs": { # Optional. `defs` provides a map of schema definitions that can be reused by `ref` elsewhere in the schema. Only allowed at root level of the schema. + "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema + }, + "description": "A String", # Optional. Describes the data. The model uses this field to understand the purpose of the schema and how to use it. It is a best practice to provide a clear and descriptive explanation for the schema and its properties here, rather than in the prompt. + "enum": [ # Optional. Possible values of the field. This field can be used to restrict a value to a fixed set of values. To mark a field as an enum, set `format` to `enum` and provide the list of possible values in `enum`. For example: 1. To define directions: `{type:STRING, format:enum, enum:["EAST", "NORTH", "SOUTH", "WEST"]}` 2. To define apartment numbers: `{type:INTEGER, format:enum, enum:["101", "201", "301"]}` + "A String", + ], + "example": "", # Optional. Example of an instance of this schema. + "format": "A String", # Optional. The format of the data. For `NUMBER` type, format can be `float` or `double`. For `INTEGER` type, format can be `int32` or `int64`. For `STRING` type, format can be `email`, `byte`, `date`, `date-time`, `password`, and other formats to further refine the data type. + "items": # Object with schema name: GoogleCloudAiplatformV1beta1Schema # Optional. If type is `ARRAY`, `items` specifies the schema of elements in the array. + "maxItems": "A String", # Optional. If type is `ARRAY`, `max_items` specifies the maximum number of items in an array. + "maxLength": "A String", # Optional. If type is `STRING`, `max_length` specifies the maximum length of the string. + "maxProperties": "A String", # Optional. If type is `OBJECT`, `max_properties` specifies the maximum number of properties that can be provided. + "maximum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `maximum` specifies the maximum allowed value. + "minItems": "A String", # Optional. If type is `ARRAY`, `min_items` specifies the minimum number of items in an array. + "minLength": "A String", # Optional. If type is `STRING`, `min_length` specifies the minimum length of the string. + "minProperties": "A String", # Optional. If type is `OBJECT`, `min_properties` specifies the minimum number of properties that can be provided. + "minimum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `minimum` specifies the minimum allowed value. + "nullable": True or False, # Optional. Indicates if the value of this field can be null. + "pattern": "A String", # Optional. If type is `STRING`, `pattern` specifies a regular expression that the string must match. + "properties": { # Optional. If type is `OBJECT`, `properties` is a map of property names to schema definitions for each property of the object. + "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema + }, + "propertyOrdering": [ # Optional. Order of properties displayed or used where order matters. This is not a standard field in OpenAPI specification, but can be used to control the order of properties. + "A String", + ], + "ref": "A String", # Optional. Allows referencing another schema definition to use in place of this schema. The value must be a valid reference to a schema in `defs`. For example, the following schema defines a reference to a schema node named "Pet": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the "pet" property is a reference to the schema node named "Pet". See details in https://json-schema.org/understanding-json-schema/structuring + "required": [ # Optional. If type is `OBJECT`, `required` lists the names of properties that must be present. + "A String", + ], + "title": "A String", # Optional. Title for the schema. + "type": "A String", # Optional. Data type of the schema field. + }, + "routingConfig": { # The configuration for routing the request to a specific model. This can be used to control which model is used for the generation, either automatically or by specifying a model name. # Optional. Routing configuration. + "autoMode": { # The configuration for automated routing. When automated routing is specified, the routing will be determined by the pretrained routing model and customer provided model routing preference. # In this mode, the model is selected automatically based on the content of the request. + "modelRoutingPreference": "A String", # The model routing preference. + }, + "manualMode": { # The configuration for manual routing. When manual routing is specified, the model will be selected based on the model name provided. # In this mode, the model is specified manually. + "modelName": "A String", # The name of the model to use. Only public LLM models are accepted. + }, + }, + "seed": 42, # Optional. A seed for the random number generator. By setting a seed, you can make the model's output mostly deterministic. For a given prompt and parameters (like temperature, top_p, etc.), the model will produce the same response every time. However, it's not a guaranteed absolute deterministic behavior. This is different from parameters like `temperature`, which control the *level* of randomness. `seed` ensures that the "random" choices the model makes are the same on every run, making it essential for testing and ensuring reproducible results. + "speechConfig": { # Configuration for speech generation. # Optional. The speech generation config. + "languageCode": "A String", # Optional. The language code (ISO 639-1) for the speech synthesis. + "multiSpeakerVoiceConfig": { # Configuration for a multi-speaker text-to-speech request. # The configuration for a multi-speaker text-to-speech request. This field is mutually exclusive with `voice_config`. + "speakerVoiceConfigs": [ # Required. A list of configurations for the voices of the speakers. Exactly two speaker voice configurations must be provided. + { # Configuration for a single speaker in a multi-speaker setup. + "speaker": "A String", # Required. The name of the speaker. This should be the same as the speaker name used in the prompt. + "voiceConfig": { # Configuration for a voice. # Required. The configuration for the voice of this speaker. + "prebuiltVoiceConfig": { # Configuration for a prebuilt voice. # The configuration for a prebuilt voice. + "voiceName": "A String", # The name of the prebuilt voice to use. + }, + "replicatedVoiceConfig": { # The configuration for the replicated voice to use. # Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample. + "mimeType": "A String", # Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set. + "voiceSampleAudio": "A String", # Optional. The sample of the custom voice. + }, + }, + }, + ], + }, + "voiceConfig": { # Configuration for a voice. # The configuration for the voice to use. + "prebuiltVoiceConfig": { # Configuration for a prebuilt voice. # The configuration for a prebuilt voice. + "voiceName": "A String", # The name of the prebuilt voice to use. + }, + "replicatedVoiceConfig": { # The configuration for the replicated voice to use. # Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample. + "mimeType": "A String", # Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set. + "voiceSampleAudio": "A String", # Optional. The sample of the custom voice. + }, + }, + }, + "stopSequences": [ # Optional. A list of character sequences that will stop the model from generating further tokens. If a stop sequence is generated, the output will end at that point. This is useful for controlling the length and structure of the output. For example, you can use ["\n", "###"] to stop generation at a new line or a specific marker. + "A String", + ], + "temperature": 3.14, # Optional. Controls the randomness of the output. A higher temperature results in more creative and diverse responses, while a lower temperature makes the output more predictable and focused. The valid range is (0.0, 2.0]. + "thinkingConfig": { # Configuration for the model's thinking features. "Thinking" is a process where the model breaks down a complex task into smaller, manageable steps. This allows the model to reason about the task, plan its approach, and execute the plan to generate a high-quality response. # Optional. Configuration for thinking features. An error will be returned if this field is set for models that don't support thinking. + "includeThoughts": True or False, # Optional. If true, the model will include its thoughts in the response. "Thoughts" are the intermediate steps the model takes to arrive at the final response. They can provide insights into the model's reasoning process and help with debugging. If this is true, thoughts are returned only when available. + "thinkingBudget": 42, # Optional. The token budget for the model's thinking process. The model will make a best effort to stay within this budget. This can be used to control the trade-off between response quality and latency. + "thinkingLevel": "A String", # Optional. The number of thoughts tokens that the model should generate. + }, + "topK": 3.14, # Optional. Specifies the top-k sampling threshold. The model considers only the top k most probable tokens for the next token. This can be useful for generating more coherent and less random text. For example, a `top_k` of 40 means the model will choose the next word from the 40 most likely words. + "topP": 3.14, # Optional. Specifies the nucleus sampling threshold. The model considers only the smallest set of tokens whose cumulative probability is at least `top_p`. This helps generate more diverse and less repetitive responses. For example, a `top_p` of 0.9 means the model considers tokens until the cumulative probability of the tokens to select from reaches 0.9. It's recommended to adjust either temperature or `top_p`, but not both. + }, + "samplingCount": 42, # Optional. Number of samples for each instance in the dataset. If not specified, the default is 4. Minimum value is 1, maximum value is 32. + }, + "metricPromptTemplate": "A String", # Required. Template for the prompt sent to the judge model. + "predefinedRubricGenerationSpec": { # The spec for a pre-defined metric. # Dynamically generate rubrics using a predefined spec. + "metricSpecName": "A String", # Required. The name of a pre-defined metric, such as "instruction_following_v1" or "text_quality_v1". + "metricSpecParameters": { # Optional. The parameters needed to run the pre-defined metric. + "a_key": "", # Properties of the object. + }, + }, + "rubricGenerationSpec": { # Specification for how rubrics should be generated. # Dynamically generate rubrics using this specification. + "modelConfig": { # The configs for autorater. This is applicable to both EvaluateInstances and EvaluateDataset. # Configuration for the model used in rubric generation. Configs including sampling count and base model can be specified here. Flipping is not supported for rubric generation. + "autoraterModel": "A String", # Optional. The fully qualified name of the publisher model or tuned autorater endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` + "flipEnabled": True or False, # Optional. Default is true. Whether to flip the candidate and baseline responses. This is only applicable to the pairwise metric. If enabled, also provide PairwiseMetricSpec.candidate_response_field_name and PairwiseMetricSpec.baseline_response_field_name. When rendering PairwiseMetricSpec.metric_prompt_template, the candidate and baseline fields will be flipped for half of the samples to reduce bias. + "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. Configuration options for model generation and outputs. + "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. + "candidateCount": 42, # Optional. The number of candidate responses to generate. A higher `candidate_count` can provide more options to choose from, but it also consumes more resources. This can be useful for generating a variety of responses and selecting the best one. + "enableAffectiveDialog": True or False, # Optional. If enabled, the model will detect emotions and adapt its responses accordingly. For example, if the model detects that the user is frustrated, it may provide a more empathetic response. + "frequencyPenalty": 3.14, # Optional. Penalizes tokens based on their frequency in the generated text. A positive value helps to reduce the repetition of words and phrases. Valid values can range from [-2.0, 2.0]. + "imageConfig": { # Configuration for image generation. This message allows you to control various aspects of image generation, such as the output format, aspect ratio, and whether the model can generate images of people. # Optional. Config for image generation features. + "aspectRatio": "A String", # Optional. The desired aspect ratio for the generated images. The following aspect ratios are supported: "1:1" "2:3", "3:2" "3:4", "4:3" "4:5", "5:4" "9:16", "16:9" "21:9" + "imageOutputOptions": { # The image output format for generated images. # Optional. The image output format for generated images. + "compressionQuality": 42, # Optional. The compression quality of the output image. + "mimeType": "A String", # Optional. The image format that the output should be saved as. + }, + "imageSize": "A String", # Optional. Specifies the size of generated images. Supported values are `1K`, `2K`, `4K`. If not specified, the model will use default value `1K`. + "personGeneration": "A String", # Optional. Controls whether the model can generate people. + "prominentPeople": "A String", # Optional. Controls whether prominent people (celebrities) generation is allowed. If used with personGeneration, personGeneration enum would take precedence. For instance, if ALLOW_NONE is set, all person generation would be blocked. If this field is unspecified, the default behavior is to allow prominent people. + }, + "logprobs": 42, # Optional. The number of top log probabilities to return for each token. This can be used to see which other tokens were considered likely candidates for a given position. A higher value will return more options, but it will also increase the size of the response. + "maxOutputTokens": 42, # Optional. The maximum number of tokens to generate in the response. A token is approximately four characters. The default value varies by model. This parameter can be used to control the length of the generated text and prevent overly long responses. + "mediaResolution": "A String", # Optional. The token resolution at which input media content is sampled. This is used to control the trade-off between the quality of the response and the number of tokens used to represent the media. A higher resolution allows the model to perceive more detail, which can lead to a more nuanced response, but it will also use more tokens. This does not affect the image dimensions sent to the model. + "modelConfig": { # Config for model selection. # Optional. Config for model selection. + "featureSelectionPreference": "A String", # Required. Feature selection preference. + }, + "presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. + "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. + "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. + "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. + "A String", + ], + "responseSchema": { # Defines the schema of input and output data. This is a subset of the [OpenAPI 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object). # Optional. Lets you to specify a schema for the model's response, ensuring that the output conforms to a particular structure. This is useful for generating structured data such as JSON. The schema is a subset of the [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema) object. When this field is set, you must also set the `response_mime_type` to `application/json`. + "additionalProperties": "", # Optional. If `type` is `OBJECT`, specifies how to handle properties not defined in `properties`. If it is a boolean `false`, no additional properties are allowed. If it is a schema, additional properties are allowed if they conform to the schema. + "anyOf": [ # Optional. The instance must be valid against any (one or more) of the subschemas listed in `any_of`. + # Object with schema name: GoogleCloudAiplatformV1beta1Schema + ], + "default": "", # Optional. Default value to use if the field is not specified. + "defs": { # Optional. `defs` provides a map of schema definitions that can be reused by `ref` elsewhere in the schema. Only allowed at root level of the schema. + "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema + }, + "description": "A String", # Optional. Describes the data. The model uses this field to understand the purpose of the schema and how to use it. It is a best practice to provide a clear and descriptive explanation for the schema and its properties here, rather than in the prompt. + "enum": [ # Optional. Possible values of the field. This field can be used to restrict a value to a fixed set of values. To mark a field as an enum, set `format` to `enum` and provide the list of possible values in `enum`. For example: 1. To define directions: `{type:STRING, format:enum, enum:["EAST", "NORTH", "SOUTH", "WEST"]}` 2. To define apartment numbers: `{type:INTEGER, format:enum, enum:["101", "201", "301"]}` + "A String", + ], + "example": "", # Optional. Example of an instance of this schema. + "format": "A String", # Optional. The format of the data. For `NUMBER` type, format can be `float` or `double`. For `INTEGER` type, format can be `int32` or `int64`. For `STRING` type, format can be `email`, `byte`, `date`, `date-time`, `password`, and other formats to further refine the data type. + "items": # Object with schema name: GoogleCloudAiplatformV1beta1Schema # Optional. If type is `ARRAY`, `items` specifies the schema of elements in the array. + "maxItems": "A String", # Optional. If type is `ARRAY`, `max_items` specifies the maximum number of items in an array. + "maxLength": "A String", # Optional. If type is `STRING`, `max_length` specifies the maximum length of the string. + "maxProperties": "A String", # Optional. If type is `OBJECT`, `max_properties` specifies the maximum number of properties that can be provided. + "maximum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `maximum` specifies the maximum allowed value. + "minItems": "A String", # Optional. If type is `ARRAY`, `min_items` specifies the minimum number of items in an array. + "minLength": "A String", # Optional. If type is `STRING`, `min_length` specifies the minimum length of the string. + "minProperties": "A String", # Optional. If type is `OBJECT`, `min_properties` specifies the minimum number of properties that can be provided. + "minimum": 3.14, # Optional. If type is `INTEGER` or `NUMBER`, `minimum` specifies the minimum allowed value. + "nullable": True or False, # Optional. Indicates if the value of this field can be null. + "pattern": "A String", # Optional. If type is `STRING`, `pattern` specifies a regular expression that the string must match. + "properties": { # Optional. If type is `OBJECT`, `properties` is a map of property names to schema definitions for each property of the object. + "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema + }, + "propertyOrdering": [ # Optional. Order of properties displayed or used where order matters. This is not a standard field in OpenAPI specification, but can be used to control the order of properties. + "A String", + ], + "ref": "A String", # Optional. Allows referencing another schema definition to use in place of this schema. The value must be a valid reference to a schema in `defs`. For example, the following schema defines a reference to a schema node named "Pet": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the "pet" property is a reference to the schema node named "Pet". See details in https://json-schema.org/understanding-json-schema/structuring + "required": [ # Optional. If type is `OBJECT`, `required` lists the names of properties that must be present. + "A String", + ], + "title": "A String", # Optional. Title for the schema. + "type": "A String", # Optional. Data type of the schema field. + }, + "routingConfig": { # The configuration for routing the request to a specific model. This can be used to control which model is used for the generation, either automatically or by specifying a model name. # Optional. Routing configuration. + "autoMode": { # The configuration for automated routing. When automated routing is specified, the routing will be determined by the pretrained routing model and customer provided model routing preference. # In this mode, the model is selected automatically based on the content of the request. + "modelRoutingPreference": "A String", # The model routing preference. + }, + "manualMode": { # The configuration for manual routing. When manual routing is specified, the model will be selected based on the model name provided. # In this mode, the model is specified manually. + "modelName": "A String", # The name of the model to use. Only public LLM models are accepted. + }, + }, + "seed": 42, # Optional. A seed for the random number generator. By setting a seed, you can make the model's output mostly deterministic. For a given prompt and parameters (like temperature, top_p, etc.), the model will produce the same response every time. However, it's not a guaranteed absolute deterministic behavior. This is different from parameters like `temperature`, which control the *level* of randomness. `seed` ensures that the "random" choices the model makes are the same on every run, making it essential for testing and ensuring reproducible results. + "speechConfig": { # Configuration for speech generation. # Optional. The speech generation config. + "languageCode": "A String", # Optional. The language code (ISO 639-1) for the speech synthesis. + "multiSpeakerVoiceConfig": { # Configuration for a multi-speaker text-to-speech request. # The configuration for a multi-speaker text-to-speech request. This field is mutually exclusive with `voice_config`. + "speakerVoiceConfigs": [ # Required. A list of configurations for the voices of the speakers. Exactly two speaker voice configurations must be provided. + { # Configuration for a single speaker in a multi-speaker setup. + "speaker": "A String", # Required. The name of the speaker. This should be the same as the speaker name used in the prompt. + "voiceConfig": { # Configuration for a voice. # Required. The configuration for the voice of this speaker. + "prebuiltVoiceConfig": { # Configuration for a prebuilt voice. # The configuration for a prebuilt voice. + "voiceName": "A String", # The name of the prebuilt voice to use. + }, + "replicatedVoiceConfig": { # The configuration for the replicated voice to use. # Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample. + "mimeType": "A String", # Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set. + "voiceSampleAudio": "A String", # Optional. The sample of the custom voice. + }, + }, + }, + ], + }, + "voiceConfig": { # Configuration for a voice. # The configuration for the voice to use. + "prebuiltVoiceConfig": { # Configuration for a prebuilt voice. # The configuration for a prebuilt voice. + "voiceName": "A String", # The name of the prebuilt voice to use. + }, + "replicatedVoiceConfig": { # The configuration for the replicated voice to use. # Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample. + "mimeType": "A String", # Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set. + "voiceSampleAudio": "A String", # Optional. The sample of the custom voice. + }, + }, + }, + "stopSequences": [ # Optional. A list of character sequences that will stop the model from generating further tokens. If a stop sequence is generated, the output will end at that point. This is useful for controlling the length and structure of the output. For example, you can use ["\n", "###"] to stop generation at a new line or a specific marker. + "A String", + ], + "temperature": 3.14, # Optional. Controls the randomness of the output. A higher temperature results in more creative and diverse responses, while a lower temperature makes the output more predictable and focused. The valid range is (0.0, 2.0]. + "thinkingConfig": { # Configuration for the model's thinking features. "Thinking" is a process where the model breaks down a complex task into smaller, manageable steps. This allows the model to reason about the task, plan its approach, and execute the plan to generate a high-quality response. # Optional. Configuration for thinking features. An error will be returned if this field is set for models that don't support thinking. + "includeThoughts": True or False, # Optional. If true, the model will include its thoughts in the response. "Thoughts" are the intermediate steps the model takes to arrive at the final response. They can provide insights into the model's reasoning process and help with debugging. If this is true, thoughts are returned only when available. + "thinkingBudget": 42, # Optional. The token budget for the model's thinking process. The model will make a best effort to stay within this budget. This can be used to control the trade-off between response quality and latency. + "thinkingLevel": "A String", # Optional. The number of thoughts tokens that the model should generate. + }, + "topK": 3.14, # Optional. Specifies the top-k sampling threshold. The model considers only the top k most probable tokens for the next token. This can be useful for generating more coherent and less random text. For example, a `top_k` of 40 means the model will choose the next word from the 40 most likely words. + "topP": 3.14, # Optional. Specifies the nucleus sampling threshold. The model considers only the smallest set of tokens whose cumulative probability is at least `top_p`. This helps generate more diverse and less repetitive responses. For example, a `top_p` of 0.9 means the model considers tokens until the cumulative probability of the tokens to select from reaches 0.9. It's recommended to adjust either temperature or `top_p`, but not both. + }, + "samplingCount": 42, # Optional. Number of samples for each instance in the dataset. If not specified, the default is 4. Minimum value is 1, maximum value is 32. + }, + "promptTemplate": "A String", # Template for the prompt used to generate rubrics. The details should be updated based on the most-recent recipe requirements. + "rubricContentType": "A String", # The type of rubric content to be generated. + "rubricTypeOntology": [ # Optional. An optional, pre-defined list of allowed types for generated rubrics. If this field is provided, it implies `include_rubric_type` should be true, and the generated rubric types should be chosen from this ontology. + "A String", + ], + }, + "rubricGroupKey": "A String", # Use a pre-defined group of rubrics associated with the input. Refers to a key in the rubric_groups map of EvaluationInstance. + "systemInstruction": "A String", # Optional. System instructions for the judge model. + }, + "metadata": { # Metadata about the metric, used for visualization and organization. # Optional. Metadata about the metric, used for visualization and organization. + "otherMetadata": { # Optional. Flexible metadata for user-defined attributes. + "a_key": "", # Properties of the object. + }, + "scoreRange": { # The range of possible scores for this metric, used for plotting. # Optional. The range of possible scores for this metric, used for plotting. + "description": "A String", # Optional. The description of the score explaining the directionality etc. + "max": 3.14, # Required. The maximum value of the score range (inclusive). + "min": 3.14, # Required. The minimum value of the score range (inclusive). + "step": 3.14, # Optional. The distance between discrete steps in the range. If unset, the range is assumed to be continuous. + }, + "title": "A String", # Optional. The user-friendly name for the metric. If not set for a registered metric, it will default to the metric's display name. + }, + "pairwiseMetricSpec": { # Spec for pairwise metric. # Spec for pairwise metric. + "baselineResponseFieldName": "A String", # Optional. The field name of the baseline response. + "candidateResponseFieldName": "A String", # Optional. The field name of the candidate response. + "customOutputFormatConfig": { # Spec for custom output format configuration. # Optional. CustomOutputFormatConfig allows customization of metric output. When this config is set, the default output is replaced with the raw output string. If a custom format is chosen, the `pairwise_choice` and `explanation` fields in the corresponding metric result will be empty. + "returnRawOutput": True or False, # Optional. Whether to return raw output. + }, + "metricPromptTemplate": "A String", # Required. Metric prompt template for pairwise metric. + "systemInstruction": "A String", # Optional. System instructions for pairwise metric. + }, + "pointwiseMetricSpec": { # Spec for pointwise metric. # Spec for pointwise metric. + "customOutputFormatConfig": { # Spec for custom output format configuration. # Optional. CustomOutputFormatConfig allows customization of metric output. By default, metrics return a score and explanation. When this config is set, the default output is replaced with either: - The raw output string. - A parsed output based on a user-defined schema. If a custom format is chosen, the `score` and `explanation` fields in the corresponding metric result will be empty. + "returnRawOutput": True or False, # Optional. Whether to return raw output. + }, + "metricPromptTemplate": "A String", # Required. Metric prompt template for pointwise metric. + "systemInstruction": "A String", # Optional. System instructions for pointwise metric. + }, + "predefinedMetricSpec": { # The spec for a pre-defined metric. # The spec for a pre-defined metric. + "metricSpecName": "A String", # Required. The name of a pre-defined metric, such as "instruction_following_v1" or "text_quality_v1". + "metricSpecParameters": { # Optional. The parameters needed to run the pre-defined metric. + "a_key": "", # Properties of the object. + }, + }, + "rougeSpec": { # Spec for rouge score metric - calculates the recall of n-grams in prediction as compared to reference - returns a score ranging between 0 and 1. # Spec for rouge metric. + "rougeType": "A String", # Optional. Supported rouge types are rougen[1-9], rougeL, and rougeLsum. + "splitSummaries": True or False, # Optional. Whether to split summaries while using rougeLsum. + "useStemmer": True or False, # Optional. Whether to use stemmer to compute rouge score. + }, + }, + "metricResourceName": "A String", # Resource name for registered metric. + }, + ], "metrics": [ # The metrics used for evaluation. Currently, we only support evaluating a single metric. If multiple metrics are provided, only the first one will be evaluated. { # The metric used for running evaluations. "aggregationMetrics": [ # Optional. The aggregation metrics to use. @@ -3075,7 +3413,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -3204,7 +3542,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -3307,6 +3645,18 @@

Method Details

"rubricGroupKey": "A String", # Use a pre-defined group of rubrics associated with the input. Refers to a key in the rubric_groups map of EvaluationInstance. "systemInstruction": "A String", # Optional. System instructions for the judge model. }, + "metadata": { # Metadata about the metric, used for visualization and organization. # Optional. Metadata about the metric, used for visualization and organization. + "otherMetadata": { # Optional. Flexible metadata for user-defined attributes. + "a_key": "", # Properties of the object. + }, + "scoreRange": { # The range of possible scores for this metric, used for plotting. # Optional. The range of possible scores for this metric, used for plotting. + "description": "A String", # Optional. The description of the score explaining the directionality etc. + "max": 3.14, # Required. The maximum value of the score range (inclusive). + "min": 3.14, # Required. The minimum value of the score range (inclusive). + "step": 3.14, # Optional. The distance between discrete steps in the range. If unset, the range is assumed to be continuous. + }, + "title": "A String", # Optional. The user-friendly name for the metric. If not set for a registered metric, it will default to the metric's display name. + }, "pairwiseMetricSpec": { # Spec for pairwise metric. # Spec for pairwise metric. "baselineResponseFieldName": "A String", # Optional. The field name of the baseline response. "candidateResponseFieldName": "A String", # Optional. The field name of the candidate response. @@ -4506,6 +4856,7 @@

Method Details

}, ], "location": "A String", # Required. The resource name of the Location to generate rubrics from. Format: `projects/{project}/locations/{location}` + "metricResourceName": "A String", # Optional. The resource name of a registered metric. Rubric generation using predefined metric spec or LLMBasedMetricSpec is supported. If this field is set, the configuration provided in this field is used for rubric generation. The `predefined_rubric_generation_spec` and `rubric_generation_spec` fields will be ignored. "predefinedRubricGenerationSpec": { # The spec for a pre-defined metric. # Optional. Specification for using the rubric generation configs of a pre-defined metric, e.g. "generic_quality_v1" and "instruction_following_v1". Some of the configs may be only used in rubric generation and not supporting evaluation, e.g. "fully_customized_generic_quality_v1". If this field is set, the `rubric_generation_spec` field will be ignored. "metricSpecName": "A String", # Required. The name of a pre-defined metric, such as "instruction_following_v1" or "text_quality_v1". "metricSpecParameters": { # Optional. The parameters needed to run the pre-defined metric. @@ -4540,7 +4891,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], diff --git a/docs/dyn/androidmanagement_v1.enterprises.policies.html b/docs/dyn/androidmanagement_v1.enterprises.policies.html index 9f7460aed3..176e03b8b4 100644 --- a/docs/dyn/androidmanagement_v1.enterprises.policies.html +++ b/docs/dyn/androidmanagement_v1.enterprises.policies.html @@ -518,7 +518,7 @@

Method Details

], "personalPlayStoreMode": "A String", # Used together with personalApplications to control how apps in the personal profile are allowed or blocked. "privateSpacePolicy": "A String", # Optional. Controls whether a private space is allowed on the device. - "screenCaptureDisabled": True or False, # If true, screen capture is disabled for all users. + "screenCaptureDisabled": True or False, # If true, screen capture is disabled for all users. This also blocks Circle to Search (https://support.google.com/android/answer/14508957). }, "playStoreMode": "A String", # This mode controls which apps are available to the user in the Play Store and the behavior on the device when apps are removed from the policy. "policyEnforcementRules": [ # Rules that define the behavior when a particular policy can not be applied on device @@ -547,7 +547,7 @@

Method Details

}, "removeUserDisabled": True or False, # Whether removing other users is disabled. "safeBootDisabled": True or False, # Whether rebooting the device into safe boot is disabled. - "screenCaptureDisabled": True or False, # Whether screen capture is disabled. + "screenCaptureDisabled": True or False, # Whether screen capture is disabled. This also blocks Circle to Search (https://support.google.com/android/answer/14508957). "setUserIconDisabled": True or False, # Whether changing the user icon is disabled. This applies only on devices running Android 7 and above. "setWallpaperDisabled": True or False, # Whether changing the wallpaper is disabled. "setupActions": [ # Action to take during the setup process. At most one action may be specified. @@ -1045,7 +1045,7 @@

Method Details

], "personalPlayStoreMode": "A String", # Used together with personalApplications to control how apps in the personal profile are allowed or blocked. "privateSpacePolicy": "A String", # Optional. Controls whether a private space is allowed on the device. - "screenCaptureDisabled": True or False, # If true, screen capture is disabled for all users. + "screenCaptureDisabled": True or False, # If true, screen capture is disabled for all users. This also blocks Circle to Search (https://support.google.com/android/answer/14508957). }, "playStoreMode": "A String", # This mode controls which apps are available to the user in the Play Store and the behavior on the device when apps are removed from the policy. "policyEnforcementRules": [ # Rules that define the behavior when a particular policy can not be applied on device @@ -1074,7 +1074,7 @@

Method Details

}, "removeUserDisabled": True or False, # Whether removing other users is disabled. "safeBootDisabled": True or False, # Whether rebooting the device into safe boot is disabled. - "screenCaptureDisabled": True or False, # Whether screen capture is disabled. + "screenCaptureDisabled": True or False, # Whether screen capture is disabled. This also blocks Circle to Search (https://support.google.com/android/answer/14508957). "setUserIconDisabled": True or False, # Whether changing the user icon is disabled. This applies only on devices running Android 7 and above. "setWallpaperDisabled": True or False, # Whether changing the wallpaper is disabled. "setupActions": [ # Action to take during the setup process. At most one action may be specified. @@ -1658,7 +1658,7 @@

Method Details

], "personalPlayStoreMode": "A String", # Used together with personalApplications to control how apps in the personal profile are allowed or blocked. "privateSpacePolicy": "A String", # Optional. Controls whether a private space is allowed on the device. - "screenCaptureDisabled": True or False, # If true, screen capture is disabled for all users. + "screenCaptureDisabled": True or False, # If true, screen capture is disabled for all users. This also blocks Circle to Search (https://support.google.com/android/answer/14508957). }, "playStoreMode": "A String", # This mode controls which apps are available to the user in the Play Store and the behavior on the device when apps are removed from the policy. "policyEnforcementRules": [ # Rules that define the behavior when a particular policy can not be applied on device @@ -1687,7 +1687,7 @@

Method Details

}, "removeUserDisabled": True or False, # Whether removing other users is disabled. "safeBootDisabled": True or False, # Whether rebooting the device into safe boot is disabled. - "screenCaptureDisabled": True or False, # Whether screen capture is disabled. + "screenCaptureDisabled": True or False, # Whether screen capture is disabled. This also blocks Circle to Search (https://support.google.com/android/answer/14508957). "setUserIconDisabled": True or False, # Whether changing the user icon is disabled. This applies only on devices running Android 7 and above. "setWallpaperDisabled": True or False, # Whether changing the wallpaper is disabled. "setupActions": [ # Action to take during the setup process. At most one action may be specified. @@ -2176,7 +2176,7 @@

Method Details

], "personalPlayStoreMode": "A String", # Used together with personalApplications to control how apps in the personal profile are allowed or blocked. "privateSpacePolicy": "A String", # Optional. Controls whether a private space is allowed on the device. - "screenCaptureDisabled": True or False, # If true, screen capture is disabled for all users. + "screenCaptureDisabled": True or False, # If true, screen capture is disabled for all users. This also blocks Circle to Search (https://support.google.com/android/answer/14508957). }, "playStoreMode": "A String", # This mode controls which apps are available to the user in the Play Store and the behavior on the device when apps are removed from the policy. "policyEnforcementRules": [ # Rules that define the behavior when a particular policy can not be applied on device @@ -2205,7 +2205,7 @@

Method Details

}, "removeUserDisabled": True or False, # Whether removing other users is disabled. "safeBootDisabled": True or False, # Whether rebooting the device into safe boot is disabled. - "screenCaptureDisabled": True or False, # Whether screen capture is disabled. + "screenCaptureDisabled": True or False, # Whether screen capture is disabled. This also blocks Circle to Search (https://support.google.com/android/answer/14508957). "setUserIconDisabled": True or False, # Whether changing the user icon is disabled. This applies only on devices running Android 7 and above. "setWallpaperDisabled": True or False, # Whether changing the wallpaper is disabled. "setupActions": [ # Action to take during the setup process. At most one action may be specified. @@ -2692,7 +2692,7 @@

Method Details

], "personalPlayStoreMode": "A String", # Used together with personalApplications to control how apps in the personal profile are allowed or blocked. "privateSpacePolicy": "A String", # Optional. Controls whether a private space is allowed on the device. - "screenCaptureDisabled": True or False, # If true, screen capture is disabled for all users. + "screenCaptureDisabled": True or False, # If true, screen capture is disabled for all users. This also blocks Circle to Search (https://support.google.com/android/answer/14508957). }, "playStoreMode": "A String", # This mode controls which apps are available to the user in the Play Store and the behavior on the device when apps are removed from the policy. "policyEnforcementRules": [ # Rules that define the behavior when a particular policy can not be applied on device @@ -2721,7 +2721,7 @@

Method Details

}, "removeUserDisabled": True or False, # Whether removing other users is disabled. "safeBootDisabled": True or False, # Whether rebooting the device into safe boot is disabled. - "screenCaptureDisabled": True or False, # Whether screen capture is disabled. + "screenCaptureDisabled": True or False, # Whether screen capture is disabled. This also blocks Circle to Search (https://support.google.com/android/answer/14508957). "setUserIconDisabled": True or False, # Whether changing the user icon is disabled. This applies only on devices running Android 7 and above. "setWallpaperDisabled": True or False, # Whether changing the wallpaper is disabled. "setupActions": [ # Action to take during the setup process. At most one action may be specified. @@ -3224,7 +3224,7 @@

Method Details

], "personalPlayStoreMode": "A String", # Used together with personalApplications to control how apps in the personal profile are allowed or blocked. "privateSpacePolicy": "A String", # Optional. Controls whether a private space is allowed on the device. - "screenCaptureDisabled": True or False, # If true, screen capture is disabled for all users. + "screenCaptureDisabled": True or False, # If true, screen capture is disabled for all users. This also blocks Circle to Search (https://support.google.com/android/answer/14508957). }, "playStoreMode": "A String", # This mode controls which apps are available to the user in the Play Store and the behavior on the device when apps are removed from the policy. "policyEnforcementRules": [ # Rules that define the behavior when a particular policy can not be applied on device @@ -3253,7 +3253,7 @@

Method Details

}, "removeUserDisabled": True or False, # Whether removing other users is disabled. "safeBootDisabled": True or False, # Whether rebooting the device into safe boot is disabled. - "screenCaptureDisabled": True or False, # Whether screen capture is disabled. + "screenCaptureDisabled": True or False, # Whether screen capture is disabled. This also blocks Circle to Search (https://support.google.com/android/answer/14508957). "setUserIconDisabled": True or False, # Whether changing the user icon is disabled. This applies only on devices running Android 7 and above. "setWallpaperDisabled": True or False, # Whether changing the wallpaper is disabled. "setupActions": [ # Action to take during the setup process. At most one action may be specified. diff --git a/docs/dyn/androidpublisher_v3.applications.tracks.releases.html b/docs/dyn/androidpublisher_v3.applications.tracks.releases.html index 28f1f01cd0..d6811d4224 100644 --- a/docs/dyn/androidpublisher_v3.applications.tracks.releases.html +++ b/docs/dyn/androidpublisher_v3.applications.tracks.releases.html @@ -101,16 +101,16 @@

Method Details

An object of the form: { # Response listing all releases for a given track that are either ready to be sent for review, in review, approved, not approved or available. - "releases": [ # List of releases for this track. There will be a maximum of 20 releases returned. + "releases": [ # List of releases for this track. A maximum of 20 releases can be returned. { # Summary of a release. - "activeArtifacts": [ # List of active artifacts on this release. + "activeArtifacts": [ # List of active artifacts on this release { # Summary of an artifact. - "versionCode": 42, # The version code of the artifact. + "versionCode": 42, # Artifact's version code }, ], "releaseLifecycleState": "A String", # The lifecycle state of a release. "releaseName": "A String", # Name of the release. - "track": "A String", # Identifier of the track. More on [track name](https://developers.google.com/android-publisher/tracks). + "track": "A String", # Identifier for the track. [Learn more about track names.](https://developers.google.com/android-publisher/tracks). }, ], }
diff --git a/docs/dyn/apikeys_v2.projects.locations.keys.html b/docs/dyn/apikeys_v2.projects.locations.keys.html index 71be1a606d..225dc302d7 100644 --- a/docs/dyn/apikeys_v2.projects.locations.keys.html +++ b/docs/dyn/apikeys_v2.projects.locations.keys.html @@ -112,7 +112,7 @@

Method Details

Creates a new API key. NOTE: Key is a global resource; hence the only supported value for location is `global`.
 
 Args:
-  parent: string, Required. The project in which the API key is created. (required)
+  parent: string, Required. The project in which the API key is created. The parent field must be in format of "projects//locations/global". (required)
   body: object, The request body.
     The object takes the form of:
 
@@ -125,7 +125,7 @@ 

Method Details

"displayName": "A String", # Human-readable display name of this key that you can modify. The maximum length is 63 characters. "etag": "A String", # A checksum computed by the server based on the current value of the Key resource. This may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. See https://google.aip.dev/154. "keyString": "A String", # Output only. An encrypted and signed value held by this key. This field can be accessed only through the `GetKeyString` method. - "name": "A String", # Output only. The resource name of the key. The `name` has the form: `projects//locations/global/keys/`. For example: `projects/123456867718/locations/global/keys/b7ff1f9f-8275-410a-94dd-3855ee9b5dd2` NOTE: Key is a global resource; hence the only supported value for location is `global`. + "name": "A String", # Identifier. The resource name of the key. The `name` has the form: `projects//locations/global/keys/`. For example: `projects/123456867718/locations/global/keys/b7ff1f9f-8275-410a-94dd-3855ee9b5dd2` NOTE: Key is a global resource; hence the only supported value for location is `global`. "restrictions": { # Describes the restrictions on the key. # Key restrictions. "androidKeyRestrictions": { # The Android apps that are allowed to use the key. # The Android apps that are allowed to use the key. "allowedApplications": [ # A list of Android applications that are allowed to make API calls with this key. @@ -253,7 +253,7 @@

Method Details

"displayName": "A String", # Human-readable display name of this key that you can modify. The maximum length is 63 characters. "etag": "A String", # A checksum computed by the server based on the current value of the Key resource. This may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. See https://google.aip.dev/154. "keyString": "A String", # Output only. An encrypted and signed value held by this key. This field can be accessed only through the `GetKeyString` method. - "name": "A String", # Output only. The resource name of the key. The `name` has the form: `projects//locations/global/keys/`. For example: `projects/123456867718/locations/global/keys/b7ff1f9f-8275-410a-94dd-3855ee9b5dd2` NOTE: Key is a global resource; hence the only supported value for location is `global`. + "name": "A String", # Identifier. The resource name of the key. The `name` has the form: `projects//locations/global/keys/`. For example: `projects/123456867718/locations/global/keys/b7ff1f9f-8275-410a-94dd-3855ee9b5dd2` NOTE: Key is a global resource; hence the only supported value for location is `global`. "restrictions": { # Describes the restrictions on the key. # Key restrictions. "androidKeyRestrictions": { # The Android apps that are allowed to use the key. # The Android apps that are allowed to use the key. "allowedApplications": [ # A list of Android applications that are allowed to make API calls with this key. @@ -317,7 +317,7 @@

Method Details

Lists the API keys owned by a project. The key string of the API key isn't included in the response. NOTE: Key is a global resource; hence the only supported value for location is `global`.
 
 Args:
-  parent: string, Required. Lists all API keys associated with this project. (required)
+  parent: string, Required. Lists all API keys associated with this project. The parent field must be in format of "projects//locations/global". (required)
   pageSize: integer, Optional. Specifies the maximum number of results to be returned at a time.
   pageToken: string, Optional. Requests a specific page of results.
   showDeleted: boolean, Optional. Indicate that keys deleted in the past 30 days should also be returned.
@@ -340,7 +340,7 @@ 

Method Details

"displayName": "A String", # Human-readable display name of this key that you can modify. The maximum length is 63 characters. "etag": "A String", # A checksum computed by the server based on the current value of the Key resource. This may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. See https://google.aip.dev/154. "keyString": "A String", # Output only. An encrypted and signed value held by this key. This field can be accessed only through the `GetKeyString` method. - "name": "A String", # Output only. The resource name of the key. The `name` has the form: `projects//locations/global/keys/`. For example: `projects/123456867718/locations/global/keys/b7ff1f9f-8275-410a-94dd-3855ee9b5dd2` NOTE: Key is a global resource; hence the only supported value for location is `global`. + "name": "A String", # Identifier. The resource name of the key. The `name` has the form: `projects//locations/global/keys/`. For example: `projects/123456867718/locations/global/keys/b7ff1f9f-8275-410a-94dd-3855ee9b5dd2` NOTE: Key is a global resource; hence the only supported value for location is `global`. "restrictions": { # Describes the restrictions on the key. # Key restrictions. "androidKeyRestrictions": { # The Android apps that are allowed to use the key. # The Android apps that are allowed to use the key. "allowedApplications": [ # A list of Android applications that are allowed to make API calls with this key. @@ -402,7 +402,7 @@

Method Details

Patches the modifiable fields of an API key. The key string of the API key isn't included in the response. NOTE: Key is a global resource; hence the only supported value for location is `global`.
 
 Args:
-  name: string, Output only. The resource name of the key. The `name` has the form: `projects//locations/global/keys/`. For example: `projects/123456867718/locations/global/keys/b7ff1f9f-8275-410a-94dd-3855ee9b5dd2` NOTE: Key is a global resource; hence the only supported value for location is `global`. (required)
+  name: string, Identifier. The resource name of the key. The `name` has the form: `projects//locations/global/keys/`. For example: `projects/123456867718/locations/global/keys/b7ff1f9f-8275-410a-94dd-3855ee9b5dd2` NOTE: Key is a global resource; hence the only supported value for location is `global`. (required)
   body: object, The request body.
     The object takes the form of:
 
@@ -415,7 +415,7 @@ 

Method Details

"displayName": "A String", # Human-readable display name of this key that you can modify. The maximum length is 63 characters. "etag": "A String", # A checksum computed by the server based on the current value of the Key resource. This may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. See https://google.aip.dev/154. "keyString": "A String", # Output only. An encrypted and signed value held by this key. This field can be accessed only through the `GetKeyString` method. - "name": "A String", # Output only. The resource name of the key. The `name` has the form: `projects//locations/global/keys/`. For example: `projects/123456867718/locations/global/keys/b7ff1f9f-8275-410a-94dd-3855ee9b5dd2` NOTE: Key is a global resource; hence the only supported value for location is `global`. + "name": "A String", # Identifier. The resource name of the key. The `name` has the form: `projects//locations/global/keys/`. For example: `projects/123456867718/locations/global/keys/b7ff1f9f-8275-410a-94dd-3855ee9b5dd2` NOTE: Key is a global resource; hence the only supported value for location is `global`. "restrictions": { # Describes the restrictions on the key. # Key restrictions. "androidKeyRestrictions": { # The Android apps that are allowed to use the key. # The Android apps that are allowed to use the key. "allowedApplications": [ # A list of Android applications that are allowed to make API calls with this key. diff --git a/docs/dyn/appengine_v1.apps.services.versions.html b/docs/dyn/appengine_v1.apps.services.versions.html index 3f6752831b..f529c72ebc 100644 --- a/docs/dyn/appengine_v1.apps.services.versions.html +++ b/docs/dyn/appengine_v1.apps.services.versions.html @@ -88,6 +88,9 @@

Instance Methods

delete(appsId, servicesId, versionsId, x__xgafv=None)

Deletes an existing Version resource.

+

+ exportAppImage(appsId, servicesId, versionsId, body=None, x__xgafv=None)

+

Exports a user image to Artifact Registry.

get(appsId, servicesId, versionsId, view=None, x__xgafv=None)

Gets the specified Version resource. By default, only a BASIC_VIEW will be returned. Specify the FULL_VIEW parameter to get the full resource.

@@ -398,6 +401,50 @@

Method Details

}
+
+ exportAppImage(appsId, servicesId, versionsId, body=None, x__xgafv=None) +
Exports a user image to Artifact Registry.
+
+Args:
+  appsId: string, Part of `name`. Required. Name of the App Engine version resource. Format: apps/{app}/services/{service}/versions/{version} (required)
+  servicesId: string, Part of `name`. See documentation of `appsId`. (required)
+  versionsId: string, Part of `name`. See documentation of `appsId`. (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # Request message for Versions.ExportAppImage.
+  "destinationRepository": "A String", # Optional. The full resource name of the AR repository to export to. Format: projects/{project}/locations/{location}/repositories/{repository} If not specified, defaults to projects/{project}/locations/{location}/repositories/gae-standard in the same region as the app. The default repository will be created if it does not exist.
+}
+
+  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.
+  },
+}
+
+
get(appsId, servicesId, versionsId, view=None, x__xgafv=None)
Gets the specified Version resource. By default, only a BASIC_VIEW will be returned. Specify the FULL_VIEW parameter to get the full resource.
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 c3bb5f7fbf..fb1a9924a7 100644
--- a/docs/dyn/appengine_v1.projects.locations.applications.services.versions.html
+++ b/docs/dyn/appengine_v1.projects.locations.applications.services.versions.html
@@ -85,6 +85,9 @@ 

Instance Methods

delete(projectsId, locationsId, applicationsId, servicesId, versionsId, x__xgafv=None)

Deletes an existing Version resource.

+

+ exportAppImage(projectsId, locationsId, applicationsId, servicesId, versionsId, body=None, x__xgafv=None)

+

Exports a user image to Artifact Registry.

patch(projectsId, locationsId, applicationsId, servicesId, versionsId, body=None, updateMask=None, x__xgafv=None)

Updates the specified Version resource. You can specify the following fields depending on the App Engine environment and type of scaling that the version resource uses:Standard environment instance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class)automatic scaling in the standard environment: automatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automaticScaling.standard_scheduler_settings.max_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.min_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.target_cpu_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.target_throughput_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)basic scaling or manual scaling in the standard environment: serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status) manual_scaling.instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling)Flexible environment serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status)automatic scaling in the flexible environment: automatic_scaling.min_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.max_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.cool_down_period_sec (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.cpu_utilization.target_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)manual scaling in the flexible environment: manual_scaling.instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling)

@@ -133,6 +136,52 @@

Method Details

}
+
+ exportAppImage(projectsId, locationsId, applicationsId, servicesId, versionsId, body=None, x__xgafv=None) +
Exports a user image to Artifact Registry.
+
+Args:
+  projectsId: string, Part of `name`. Required. Name of the App Engine version resource. Format: apps/{app}/services/{service}/versions/{version} (required)
+  locationsId: string, Part of `name`. See documentation of `projectsId`. (required)
+  applicationsId: string, Part of `name`. See documentation of `projectsId`. (required)
+  servicesId: string, Part of `name`. See documentation of `projectsId`. (required)
+  versionsId: string, Part of `name`. See documentation of `projectsId`. (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # Request message for Versions.ExportAppImage.
+  "destinationRepository": "A String", # Optional. The full resource name of the AR repository to export to. Format: projects/{project}/locations/{location}/repositories/{repository} If not specified, defaults to projects/{project}/locations/{location}/repositories/gae-standard in the same region as the app. The default repository will be created if it does not exist.
+}
+
+  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.
+  },
+}
+
+
patch(projectsId, locationsId, applicationsId, servicesId, versionsId, body=None, updateMask=None, x__xgafv=None)
Updates the specified Version resource. You can specify the following fields depending on the App Engine environment and type of scaling that the version resource uses:Standard environment instance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class)automatic scaling in the standard environment: automatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automaticScaling.standard_scheduler_settings.max_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.min_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.target_cpu_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.target_throughput_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)basic scaling or manual scaling in the standard environment: serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status) manual_scaling.instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling)Flexible environment serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status)automatic scaling in the flexible environment: automatic_scaling.min_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.max_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.cool_down_period_sec (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.cpu_utilization.target_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)manual scaling in the flexible environment: manual_scaling.instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling)
diff --git a/docs/dyn/appengine_v1beta.apps.services.versions.html b/docs/dyn/appengine_v1beta.apps.services.versions.html
index 79036421cf..65a401519d 100644
--- a/docs/dyn/appengine_v1beta.apps.services.versions.html
+++ b/docs/dyn/appengine_v1beta.apps.services.versions.html
@@ -88,6 +88,9 @@ 

Instance Methods

delete(appsId, servicesId, versionsId, x__xgafv=None)

Deletes an existing Version resource.

+

+ exportAppImage(appsId, servicesId, versionsId, body=None, x__xgafv=None)

+

Exports a user image to Artifact Registry.

get(appsId, servicesId, versionsId, includeExtraData=None, view=None, x__xgafv=None)

Gets the specified Version resource. By default, only a BASIC_VIEW will be returned. Specify the FULL_VIEW parameter to get the full resource.

@@ -425,6 +428,50 @@

Method Details

}
+
+ exportAppImage(appsId, servicesId, versionsId, body=None, x__xgafv=None) +
Exports a user image to Artifact Registry.
+
+Args:
+  appsId: string, Part of `name`. Required. Name of the App Engine version resource. Format: apps/{app}/services/{service}/versions/{version} (required)
+  servicesId: string, Part of `name`. See documentation of `appsId`. (required)
+  versionsId: string, Part of `name`. See documentation of `appsId`. (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # Request message for Versions.ExportAppImage.
+  "destinationRepository": "A String", # Optional. The full resource name of the AR repository to export to. Format: projects/{project}/locations/{location}/repositories/{repository} If not specified, defaults to projects/{project}/locations/{location}/repositories/gae-standard in the same region as the app. The default repository will be created if it does not exist.
+}
+
+  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.
+  },
+}
+
+
get(appsId, servicesId, versionsId, includeExtraData=None, view=None, x__xgafv=None)
Gets the specified Version resource. By default, only a BASIC_VIEW will be returned. Specify the FULL_VIEW parameter to get the full resource.
diff --git a/docs/dyn/appengine_v1beta.projects.locations.applications.services.versions.html b/docs/dyn/appengine_v1beta.projects.locations.applications.services.versions.html
index 7b9f692fe1..5af6c4c103 100644
--- a/docs/dyn/appengine_v1beta.projects.locations.applications.services.versions.html
+++ b/docs/dyn/appengine_v1beta.projects.locations.applications.services.versions.html
@@ -85,6 +85,9 @@ 

Instance Methods

delete(projectsId, locationsId, applicationsId, servicesId, versionsId, x__xgafv=None)

Deletes an existing Version resource.

+

+ exportAppImage(projectsId, locationsId, applicationsId, servicesId, versionsId, body=None, x__xgafv=None)

+

Exports a user image to Artifact Registry.

patch(projectsId, locationsId, applicationsId, servicesId, versionsId, body=None, updateMask=None, x__xgafv=None)

Updates the specified Version resource. You can specify the following fields depending on the App Engine environment and type of scaling that the version resource uses:Standard environment instance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.instance_class)automatic scaling in the standard environment: automatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling) automaticScaling.standard_scheduler_settings.max_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.min_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.target_cpu_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.target_throughput_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#StandardSchedulerSettings)basic scaling or manual scaling in the standard environment: serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.serving_status) manual_scaling.instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#manualscaling)Flexible environment serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.serving_status)automatic scaling in the flexible environment: automatic_scaling.min_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.max_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.cool_down_period_sec (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.cpu_utilization.target_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling)manual scaling in the flexible environment: manual_scaling.instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#manualscaling)

@@ -133,6 +136,52 @@

Method Details

}
+
+ exportAppImage(projectsId, locationsId, applicationsId, servicesId, versionsId, body=None, x__xgafv=None) +
Exports a user image to Artifact Registry.
+
+Args:
+  projectsId: string, Part of `name`. Required. Name of the App Engine version resource. Format: apps/{app}/services/{service}/versions/{version} (required)
+  locationsId: string, Part of `name`. See documentation of `projectsId`. (required)
+  applicationsId: string, Part of `name`. See documentation of `projectsId`. (required)
+  servicesId: string, Part of `name`. See documentation of `projectsId`. (required)
+  versionsId: string, Part of `name`. See documentation of `projectsId`. (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # Request message for Versions.ExportAppImage.
+  "destinationRepository": "A String", # Optional. The full resource name of the AR repository to export to. Format: projects/{project}/locations/{location}/repositories/{repository} If not specified, defaults to projects/{project}/locations/{location}/repositories/gae-standard in the same region as the app. The default repository will be created if it does not exist.
+}
+
+  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.
+  },
+}
+
+
patch(projectsId, locationsId, applicationsId, servicesId, versionsId, body=None, updateMask=None, x__xgafv=None)
Updates the specified Version resource. You can specify the following fields depending on the App Engine environment and type of scaling that the version resource uses:Standard environment instance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.instance_class)automatic scaling in the standard environment: automatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling) automaticScaling.standard_scheduler_settings.max_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.min_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.target_cpu_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.target_throughput_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#StandardSchedulerSettings)basic scaling or manual scaling in the standard environment: serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.serving_status) manual_scaling.instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#manualscaling)Flexible environment serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.serving_status)automatic scaling in the flexible environment: automatic_scaling.min_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.max_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.cool_down_period_sec (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.cpu_utilization.target_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling)manual scaling in the flexible environment: manual_scaling.instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#manualscaling)
diff --git a/docs/dyn/bigquerydatatransfer_v1.projects.locations.transferConfigs.html b/docs/dyn/bigquerydatatransfer_v1.projects.locations.transferConfigs.html
index cac4e709c9..de1e406bbb 100644
--- a/docs/dyn/bigquerydatatransfer_v1.projects.locations.transferConfigs.html
+++ b/docs/dyn/bigquerydatatransfer_v1.projects.locations.transferConfigs.html
@@ -79,6 +79,11 @@ 

Instance Methods

Returns the runs Resource.

+

+ transferResources() +

+

Returns the transferResources Resource.

+

close()

Close httplib2 connections.

diff --git a/docs/dyn/bigquerydatatransfer_v1.projects.locations.transferConfigs.transferResources.html b/docs/dyn/bigquerydatatransfer_v1.projects.locations.transferConfigs.transferResources.html new file mode 100644 index 0000000000..cad3588c6c --- /dev/null +++ b/docs/dyn/bigquerydatatransfer_v1.projects.locations.transferConfigs.transferResources.html @@ -0,0 +1,243 @@ + + + +

BigQuery Data Transfer API . projects . locations . transferConfigs . transferResources

+

Instance Methods

+

+ close()

+

Close httplib2 connections.

+

+ get(name, x__xgafv=None)

+

Returns a transfer resource.

+

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

+

Returns information about transfer resources.

+

+ list_next()

+

Retrieves the next page of results.

+

Method Details

+
+ close() +
Close httplib2 connections.
+
+ +
+ get(name, x__xgafv=None) +
Returns a transfer resource.
+
+Args:
+  name: string, Required. The name of the transfer resource in the form of: * `projects/{project}/transferConfigs/{transfer_config}/transferResources/{transfer_resource}` * `projects/{project}/locations/{location}/transferConfigs/{transfer_config}/transferResources/{transfer_resource}` (required)
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Resource(table/partition) that is being transferred.
+  "destination": "A String", # Optional. Resource destination.
+  "hierarchyDetail": { # Details about the hierarchy. # Optional. Details about the hierarchy.
+    "partitionDetail": { # Partition details related to hierarchy. # Optional. Partition details related to hierarchy.
+      "table": "A String", # Optional. Name of the table which has the partitions.
+    },
+    "tableDetail": { # Table details related to hierarchy. # Optional. Table details related to hierarchy.
+      "partitionCount": "A String", # Optional. Total number of partitions being tracked within the table.
+    },
+  },
+  "lastSuccessfulRun": { # Basic information about a transfer run. # Output only. Run details for the last successful run.
+    "run": "A String", # Optional. Run URI. Format projects/{project}/locations/{location}/transferConfigs/{config}/run/{run}
+    "startTime": "A String", # Optional. Start time of the transfer run.
+  },
+  "latestRun": { # Basic information about a transfer run. # Optional. Run details for the latest run.
+    "run": "A String", # Optional. Run URI. Format projects/{project}/locations/{location}/transferConfigs/{config}/run/{run}
+    "startTime": "A String", # Optional. Start time of the transfer run.
+  },
+  "latestStatusDetail": { # Status details of the resource being transferred. # Optional. Status details for the latest run.
+    "completedPercentage": 3.14, # Output only. Percentage of the transfer completed. Valid values: 0-100.
+    "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). # Optional. Transfer error details for the resource.
+      "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", # Optional. Transfer state of the resource.
+    "summary": { # Status summary of the resource being transferred. # Optional. Transfer status summary of the resource.
+      "metrics": [ # Optional. List of transfer status metrics.
+        { # Metrics for tracking the transfer status.
+          "completed": "A String", # Optional. Number of units transferred successfully.
+          "failed": "A String", # Optional. Number of units that failed to transfer.
+          "pending": "A String", # Optional. Number of units pending transfer.
+          "total": "A String", # Optional. Total number of units for the transfer.
+          "unit": "A String", # Optional. Unit for measuring progress (e.g., BYTES).
+        },
+      ],
+      "progressUnit": "A String", # Input only. Unit based on which transfer status progress should be calculated.
+    },
+  },
+  "name": "A String", # Identifier. Resource name.
+  "type": "A String", # Optional. Resource type.
+  "updateTime": "A String", # Output only. Time when the resource was last updated.
+}
+
+ +
+ list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None) +
Returns information about transfer resources.
+
+Args:
+  parent: string, Required. Name of transfer configuration for which transfer resources should be retrieved. The name should be in one of the following form: * `projects/{project_id}/transferConfigs/{config_id}` * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}` (required)
+  filter: string, Optional. Filter for the transfer resources. Currently supported filters include: * Resource name: `name` - Wildcard supported * Resource type: `type` * Resource destination: `destination` * Latest resource state: `latest_status_detail.state` * Last update time: `update_time` - RFC-3339 format * Parent table name: `hierarchy_detail.partition_detail.table` Multiple filters can be applied using the `AND/OR` operator. Examples: * `name="*123" AND (type="TABLE" OR latest_status_detail.state="SUCCEEDED")` * `update_time >= "2012-04-21T11:30:00-04:00` * `hierarchy_detail.partition_detail.table = "table1"`
+  pageSize: integer, Optional. The maximum number of transfer resources to return. The maximum value is 1000; values above 1000 will be coerced to 1000. The default page size is the maximum value of 1000 results.
+  pageToken: string, Optional. A page token, received from a previous `ListTransferResources` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListTransferResources` 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 for the ListTransferResources RPC.
+  "nextPageToken": "A String", # Output only. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
+  "transferResources": [ # Output only. The transfer resources.
+    { # Resource(table/partition) that is being transferred.
+      "destination": "A String", # Optional. Resource destination.
+      "hierarchyDetail": { # Details about the hierarchy. # Optional. Details about the hierarchy.
+        "partitionDetail": { # Partition details related to hierarchy. # Optional. Partition details related to hierarchy.
+          "table": "A String", # Optional. Name of the table which has the partitions.
+        },
+        "tableDetail": { # Table details related to hierarchy. # Optional. Table details related to hierarchy.
+          "partitionCount": "A String", # Optional. Total number of partitions being tracked within the table.
+        },
+      },
+      "lastSuccessfulRun": { # Basic information about a transfer run. # Output only. Run details for the last successful run.
+        "run": "A String", # Optional. Run URI. Format projects/{project}/locations/{location}/transferConfigs/{config}/run/{run}
+        "startTime": "A String", # Optional. Start time of the transfer run.
+      },
+      "latestRun": { # Basic information about a transfer run. # Optional. Run details for the latest run.
+        "run": "A String", # Optional. Run URI. Format projects/{project}/locations/{location}/transferConfigs/{config}/run/{run}
+        "startTime": "A String", # Optional. Start time of the transfer run.
+      },
+      "latestStatusDetail": { # Status details of the resource being transferred. # Optional. Status details for the latest run.
+        "completedPercentage": 3.14, # Output only. Percentage of the transfer completed. Valid values: 0-100.
+        "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). # Optional. Transfer error details for the resource.
+          "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", # Optional. Transfer state of the resource.
+        "summary": { # Status summary of the resource being transferred. # Optional. Transfer status summary of the resource.
+          "metrics": [ # Optional. List of transfer status metrics.
+            { # Metrics for tracking the transfer status.
+              "completed": "A String", # Optional. Number of units transferred successfully.
+              "failed": "A String", # Optional. Number of units that failed to transfer.
+              "pending": "A String", # Optional. Number of units pending transfer.
+              "total": "A String", # Optional. Total number of units for the transfer.
+              "unit": "A String", # Optional. Unit for measuring progress (e.g., BYTES).
+            },
+          ],
+          "progressUnit": "A String", # Input only. Unit based on which transfer status progress should be calculated.
+        },
+      },
+      "name": "A String", # Identifier. Resource name.
+      "type": "A String", # Optional. Resource type.
+      "updateTime": "A String", # Output only. Time when the resource was last updated.
+    },
+  ],
+}
+
+ +
+ list_next() +
Retrieves the next page of results.
+
+        Args:
+          previous_request: The request for the previous page. (required)
+          previous_response: The response from the request for the previous page. (required)
+
+        Returns:
+          A request object that you can call 'execute()' on to request the next
+          page. Returns None if there are no more items in the collection.
+        
+
+ + \ No newline at end of file diff --git a/docs/dyn/bigquerydatatransfer_v1.projects.transferConfigs.html b/docs/dyn/bigquerydatatransfer_v1.projects.transferConfigs.html index e70c99cd90..ba6d36e144 100644 --- a/docs/dyn/bigquerydatatransfer_v1.projects.transferConfigs.html +++ b/docs/dyn/bigquerydatatransfer_v1.projects.transferConfigs.html @@ -79,6 +79,11 @@

Instance Methods

Returns the runs Resource.

+

+ transferResources() +

+

Returns the transferResources Resource.

+

close()

Close httplib2 connections.

diff --git a/docs/dyn/bigquerydatatransfer_v1.projects.transferConfigs.transferResources.html b/docs/dyn/bigquerydatatransfer_v1.projects.transferConfigs.transferResources.html new file mode 100644 index 0000000000..8a4f108040 --- /dev/null +++ b/docs/dyn/bigquerydatatransfer_v1.projects.transferConfigs.transferResources.html @@ -0,0 +1,243 @@ + + + +

BigQuery Data Transfer API . projects . transferConfigs . transferResources

+

Instance Methods

+

+ close()

+

Close httplib2 connections.

+

+ get(name, x__xgafv=None)

+

Returns a transfer resource.

+

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

+

Returns information about transfer resources.

+

+ list_next()

+

Retrieves the next page of results.

+

Method Details

+
+ close() +
Close httplib2 connections.
+
+ +
+ get(name, x__xgafv=None) +
Returns a transfer resource.
+
+Args:
+  name: string, Required. The name of the transfer resource in the form of: * `projects/{project}/transferConfigs/{transfer_config}/transferResources/{transfer_resource}` * `projects/{project}/locations/{location}/transferConfigs/{transfer_config}/transferResources/{transfer_resource}` (required)
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Resource(table/partition) that is being transferred.
+  "destination": "A String", # Optional. Resource destination.
+  "hierarchyDetail": { # Details about the hierarchy. # Optional. Details about the hierarchy.
+    "partitionDetail": { # Partition details related to hierarchy. # Optional. Partition details related to hierarchy.
+      "table": "A String", # Optional. Name of the table which has the partitions.
+    },
+    "tableDetail": { # Table details related to hierarchy. # Optional. Table details related to hierarchy.
+      "partitionCount": "A String", # Optional. Total number of partitions being tracked within the table.
+    },
+  },
+  "lastSuccessfulRun": { # Basic information about a transfer run. # Output only. Run details for the last successful run.
+    "run": "A String", # Optional. Run URI. Format projects/{project}/locations/{location}/transferConfigs/{config}/run/{run}
+    "startTime": "A String", # Optional. Start time of the transfer run.
+  },
+  "latestRun": { # Basic information about a transfer run. # Optional. Run details for the latest run.
+    "run": "A String", # Optional. Run URI. Format projects/{project}/locations/{location}/transferConfigs/{config}/run/{run}
+    "startTime": "A String", # Optional. Start time of the transfer run.
+  },
+  "latestStatusDetail": { # Status details of the resource being transferred. # Optional. Status details for the latest run.
+    "completedPercentage": 3.14, # Output only. Percentage of the transfer completed. Valid values: 0-100.
+    "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). # Optional. Transfer error details for the resource.
+      "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", # Optional. Transfer state of the resource.
+    "summary": { # Status summary of the resource being transferred. # Optional. Transfer status summary of the resource.
+      "metrics": [ # Optional. List of transfer status metrics.
+        { # Metrics for tracking the transfer status.
+          "completed": "A String", # Optional. Number of units transferred successfully.
+          "failed": "A String", # Optional. Number of units that failed to transfer.
+          "pending": "A String", # Optional. Number of units pending transfer.
+          "total": "A String", # Optional. Total number of units for the transfer.
+          "unit": "A String", # Optional. Unit for measuring progress (e.g., BYTES).
+        },
+      ],
+      "progressUnit": "A String", # Input only. Unit based on which transfer status progress should be calculated.
+    },
+  },
+  "name": "A String", # Identifier. Resource name.
+  "type": "A String", # Optional. Resource type.
+  "updateTime": "A String", # Output only. Time when the resource was last updated.
+}
+
+ +
+ list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None) +
Returns information about transfer resources.
+
+Args:
+  parent: string, Required. Name of transfer configuration for which transfer resources should be retrieved. The name should be in one of the following form: * `projects/{project_id}/transferConfigs/{config_id}` * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}` (required)
+  filter: string, Optional. Filter for the transfer resources. Currently supported filters include: * Resource name: `name` - Wildcard supported * Resource type: `type` * Resource destination: `destination` * Latest resource state: `latest_status_detail.state` * Last update time: `update_time` - RFC-3339 format * Parent table name: `hierarchy_detail.partition_detail.table` Multiple filters can be applied using the `AND/OR` operator. Examples: * `name="*123" AND (type="TABLE" OR latest_status_detail.state="SUCCEEDED")` * `update_time >= "2012-04-21T11:30:00-04:00` * `hierarchy_detail.partition_detail.table = "table1"`
+  pageSize: integer, Optional. The maximum number of transfer resources to return. The maximum value is 1000; values above 1000 will be coerced to 1000. The default page size is the maximum value of 1000 results.
+  pageToken: string, Optional. A page token, received from a previous `ListTransferResources` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListTransferResources` 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 for the ListTransferResources RPC.
+  "nextPageToken": "A String", # Output only. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
+  "transferResources": [ # Output only. The transfer resources.
+    { # Resource(table/partition) that is being transferred.
+      "destination": "A String", # Optional. Resource destination.
+      "hierarchyDetail": { # Details about the hierarchy. # Optional. Details about the hierarchy.
+        "partitionDetail": { # Partition details related to hierarchy. # Optional. Partition details related to hierarchy.
+          "table": "A String", # Optional. Name of the table which has the partitions.
+        },
+        "tableDetail": { # Table details related to hierarchy. # Optional. Table details related to hierarchy.
+          "partitionCount": "A String", # Optional. Total number of partitions being tracked within the table.
+        },
+      },
+      "lastSuccessfulRun": { # Basic information about a transfer run. # Output only. Run details for the last successful run.
+        "run": "A String", # Optional. Run URI. Format projects/{project}/locations/{location}/transferConfigs/{config}/run/{run}
+        "startTime": "A String", # Optional. Start time of the transfer run.
+      },
+      "latestRun": { # Basic information about a transfer run. # Optional. Run details for the latest run.
+        "run": "A String", # Optional. Run URI. Format projects/{project}/locations/{location}/transferConfigs/{config}/run/{run}
+        "startTime": "A String", # Optional. Start time of the transfer run.
+      },
+      "latestStatusDetail": { # Status details of the resource being transferred. # Optional. Status details for the latest run.
+        "completedPercentage": 3.14, # Output only. Percentage of the transfer completed. Valid values: 0-100.
+        "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). # Optional. Transfer error details for the resource.
+          "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", # Optional. Transfer state of the resource.
+        "summary": { # Status summary of the resource being transferred. # Optional. Transfer status summary of the resource.
+          "metrics": [ # Optional. List of transfer status metrics.
+            { # Metrics for tracking the transfer status.
+              "completed": "A String", # Optional. Number of units transferred successfully.
+              "failed": "A String", # Optional. Number of units that failed to transfer.
+              "pending": "A String", # Optional. Number of units pending transfer.
+              "total": "A String", # Optional. Total number of units for the transfer.
+              "unit": "A String", # Optional. Unit for measuring progress (e.g., BYTES).
+            },
+          ],
+          "progressUnit": "A String", # Input only. Unit based on which transfer status progress should be calculated.
+        },
+      },
+      "name": "A String", # Identifier. Resource name.
+      "type": "A String", # Optional. Resource type.
+      "updateTime": "A String", # Output only. Time when the resource was last updated.
+    },
+  ],
+}
+
+ +
+ list_next() +
Retrieves the next page of results.
+
+        Args:
+          previous_request: The request for the previous page. (required)
+          previous_response: The response from the request for the previous page. (required)
+
+        Returns:
+          A request object that you can call 'execute()' on to request the next
+          page. Returns None if there are no more items in the collection.
+        
+
+ + \ No newline at end of file diff --git a/docs/dyn/chat_v1.spaces.messages.html b/docs/dyn/chat_v1.spaces.messages.html index ba1a8bc433..d399de58bd 100644 --- a/docs/dyn/chat_v1.spaces.messages.html +++ b/docs/dyn/chat_v1.spaces.messages.html @@ -2944,7 +2944,7 @@

Method Details

"fallbackText": "A String", # Optional. A plain-text description of the message's cards, used when the actual cards can't be displayed—for example, mobile notifications. "formattedText": "A String", # Output only. Contains the message `text` with markups added to communicate formatting. This field might not capture all formatting visible in the UI, but includes the following: * [Markup syntax](https://developers.google.com/workspace/chat/format-messages) for bold, italic, strikethrough, monospace, monospace block, and bulleted list. * [User mentions](https://developers.google.com/workspace/chat/format-messages#messages-@mention) using the format ``. * Custom hyperlinks using the format `<{url}|{rendered_text}>` where the first string is the URL and the second is the rendered text—for example, ``. * Custom emoji using the format `:{emoji_name}:`—for example, `:smile:`. This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning face emoji. * Bullet list items using asterisks (`*`)—for example, `* item`. For more information, see [View text formatting sent in a message](https://developers.google.com/workspace/chat/format-messages#view_text_formatting_sent_in_a_message) "lastUpdateTime": "A String", # Output only. The time at which the message was last edited by a user. If the message has never been edited, this field is empty. - "matchedUrl": { # A matched URL in a Chat message. Chat apps can preview matched URLs. For more information, see [Preview links](https://developers.google.com/chat/how-tos/preview-links). # Output only. A URL in `spaces.messages.text` that matches a link preview pattern. For more information, see [Preview links](https://developers.google.com/workspace/chat/preview-links). + "matchedUrl": { # A matched URL in a Chat message. Chat apps can preview matched URLs. For more information, see [Preview links](https://developers.google.com/chat/how-tos/preview-links). # Output only. A URL in the Chat message `text` field that matches a link preview pattern. For more information, see [Preview links](https://developers.google.com/workspace/chat/preview-links). "url": "A String", # Output only. The URL that was matched. }, "name": "A String", # Identifier. Resource name of the message. Format: `spaces/{space}/messages/{message}` Where `{space}` is the ID of the space where the message is posted and `{message}` is a system-assigned ID for the message. For example, `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`. If you set a custom ID when you create a message, you can use this ID to specify the message in a request by replacing `{message}` with the value from the `clientAssignedMessageId` field. For example, `spaces/AAAAAAAAAAA/messages/client-custom-name`. For details, see [Name a message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message). @@ -5980,7 +5980,7 @@

Method Details

"fallbackText": "A String", # Optional. A plain-text description of the message's cards, used when the actual cards can't be displayed—for example, mobile notifications. "formattedText": "A String", # Output only. Contains the message `text` with markups added to communicate formatting. This field might not capture all formatting visible in the UI, but includes the following: * [Markup syntax](https://developers.google.com/workspace/chat/format-messages) for bold, italic, strikethrough, monospace, monospace block, and bulleted list. * [User mentions](https://developers.google.com/workspace/chat/format-messages#messages-@mention) using the format ``. * Custom hyperlinks using the format `<{url}|{rendered_text}>` where the first string is the URL and the second is the rendered text—for example, ``. * Custom emoji using the format `:{emoji_name}:`—for example, `:smile:`. This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning face emoji. * Bullet list items using asterisks (`*`)—for example, `* item`. For more information, see [View text formatting sent in a message](https://developers.google.com/workspace/chat/format-messages#view_text_formatting_sent_in_a_message) "lastUpdateTime": "A String", # Output only. The time at which the message was last edited by a user. If the message has never been edited, this field is empty. - "matchedUrl": { # A matched URL in a Chat message. Chat apps can preview matched URLs. For more information, see [Preview links](https://developers.google.com/chat/how-tos/preview-links). # Output only. A URL in `spaces.messages.text` that matches a link preview pattern. For more information, see [Preview links](https://developers.google.com/workspace/chat/preview-links). + "matchedUrl": { # A matched URL in a Chat message. Chat apps can preview matched URLs. For more information, see [Preview links](https://developers.google.com/chat/how-tos/preview-links). # Output only. A URL in the Chat message `text` field that matches a link preview pattern. For more information, see [Preview links](https://developers.google.com/workspace/chat/preview-links). "url": "A String", # Output only. The URL that was matched. }, "name": "A String", # Identifier. Resource name of the message. Format: `spaces/{space}/messages/{message}` Where `{space}` is the ID of the space where the message is posted and `{message}` is a system-assigned ID for the message. For example, `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`. If you set a custom ID when you create a message, you can use this ID to specify the message in a request by replacing `{message}` with the value from the `clientAssignedMessageId` field. For example, `spaces/AAAAAAAAAAA/messages/client-custom-name`. For details, see [Name a message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message). @@ -9034,7 +9034,7 @@

Method Details

"fallbackText": "A String", # Optional. A plain-text description of the message's cards, used when the actual cards can't be displayed—for example, mobile notifications. "formattedText": "A String", # Output only. Contains the message `text` with markups added to communicate formatting. This field might not capture all formatting visible in the UI, but includes the following: * [Markup syntax](https://developers.google.com/workspace/chat/format-messages) for bold, italic, strikethrough, monospace, monospace block, and bulleted list. * [User mentions](https://developers.google.com/workspace/chat/format-messages#messages-@mention) using the format ``. * Custom hyperlinks using the format `<{url}|{rendered_text}>` where the first string is the URL and the second is the rendered text—for example, ``. * Custom emoji using the format `:{emoji_name}:`—for example, `:smile:`. This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning face emoji. * Bullet list items using asterisks (`*`)—for example, `* item`. For more information, see [View text formatting sent in a message](https://developers.google.com/workspace/chat/format-messages#view_text_formatting_sent_in_a_message) "lastUpdateTime": "A String", # Output only. The time at which the message was last edited by a user. If the message has never been edited, this field is empty. - "matchedUrl": { # A matched URL in a Chat message. Chat apps can preview matched URLs. For more information, see [Preview links](https://developers.google.com/chat/how-tos/preview-links). # Output only. A URL in `spaces.messages.text` that matches a link preview pattern. For more information, see [Preview links](https://developers.google.com/workspace/chat/preview-links). + "matchedUrl": { # A matched URL in a Chat message. Chat apps can preview matched URLs. For more information, see [Preview links](https://developers.google.com/chat/how-tos/preview-links). # Output only. A URL in the Chat message `text` field that matches a link preview pattern. For more information, see [Preview links](https://developers.google.com/workspace/chat/preview-links). "url": "A String", # Output only. The URL that was matched. }, "name": "A String", # Identifier. Resource name of the message. Format: `spaces/{space}/messages/{message}` Where `{space}` is the ID of the space where the message is posted and `{message}` is a system-assigned ID for the message. For example, `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`. If you set a custom ID when you create a message, you can use this ID to specify the message in a request by replacing `{message}` with the value from the `clientAssignedMessageId` field. For example, `spaces/AAAAAAAAAAA/messages/client-custom-name`. For details, see [Name a message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message). @@ -12076,7 +12076,7 @@

Method Details

"fallbackText": "A String", # Optional. A plain-text description of the message's cards, used when the actual cards can't be displayed—for example, mobile notifications. "formattedText": "A String", # Output only. Contains the message `text` with markups added to communicate formatting. This field might not capture all formatting visible in the UI, but includes the following: * [Markup syntax](https://developers.google.com/workspace/chat/format-messages) for bold, italic, strikethrough, monospace, monospace block, and bulleted list. * [User mentions](https://developers.google.com/workspace/chat/format-messages#messages-@mention) using the format ``. * Custom hyperlinks using the format `<{url}|{rendered_text}>` where the first string is the URL and the second is the rendered text—for example, ``. * Custom emoji using the format `:{emoji_name}:`—for example, `:smile:`. This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning face emoji. * Bullet list items using asterisks (`*`)—for example, `* item`. For more information, see [View text formatting sent in a message](https://developers.google.com/workspace/chat/format-messages#view_text_formatting_sent_in_a_message) "lastUpdateTime": "A String", # Output only. The time at which the message was last edited by a user. If the message has never been edited, this field is empty. - "matchedUrl": { # A matched URL in a Chat message. Chat apps can preview matched URLs. For more information, see [Preview links](https://developers.google.com/chat/how-tos/preview-links). # Output only. A URL in `spaces.messages.text` that matches a link preview pattern. For more information, see [Preview links](https://developers.google.com/workspace/chat/preview-links). + "matchedUrl": { # A matched URL in a Chat message. Chat apps can preview matched URLs. For more information, see [Preview links](https://developers.google.com/chat/how-tos/preview-links). # Output only. A URL in the Chat message `text` field that matches a link preview pattern. For more information, see [Preview links](https://developers.google.com/workspace/chat/preview-links). "url": "A String", # Output only. The URL that was matched. }, "name": "A String", # Identifier. Resource name of the message. Format: `spaces/{space}/messages/{message}` Where `{space}` is the ID of the space where the message is posted and `{message}` is a system-assigned ID for the message. For example, `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`. If you set a custom ID when you create a message, you can use this ID to specify the message in a request by replacing `{message}` with the value from the `clientAssignedMessageId` field. For example, `spaces/AAAAAAAAAAA/messages/client-custom-name`. For details, see [Name a message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message). @@ -15123,7 +15123,7 @@

Method Details

"fallbackText": "A String", # Optional. A plain-text description of the message's cards, used when the actual cards can't be displayed—for example, mobile notifications. "formattedText": "A String", # Output only. Contains the message `text` with markups added to communicate formatting. This field might not capture all formatting visible in the UI, but includes the following: * [Markup syntax](https://developers.google.com/workspace/chat/format-messages) for bold, italic, strikethrough, monospace, monospace block, and bulleted list. * [User mentions](https://developers.google.com/workspace/chat/format-messages#messages-@mention) using the format ``. * Custom hyperlinks using the format `<{url}|{rendered_text}>` where the first string is the URL and the second is the rendered text—for example, ``. * Custom emoji using the format `:{emoji_name}:`—for example, `:smile:`. This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning face emoji. * Bullet list items using asterisks (`*`)—for example, `* item`. For more information, see [View text formatting sent in a message](https://developers.google.com/workspace/chat/format-messages#view_text_formatting_sent_in_a_message) "lastUpdateTime": "A String", # Output only. The time at which the message was last edited by a user. If the message has never been edited, this field is empty. - "matchedUrl": { # A matched URL in a Chat message. Chat apps can preview matched URLs. For more information, see [Preview links](https://developers.google.com/chat/how-tos/preview-links). # Output only. A URL in `spaces.messages.text` that matches a link preview pattern. For more information, see [Preview links](https://developers.google.com/workspace/chat/preview-links). + "matchedUrl": { # A matched URL in a Chat message. Chat apps can preview matched URLs. For more information, see [Preview links](https://developers.google.com/chat/how-tos/preview-links). # Output only. A URL in the Chat message `text` field that matches a link preview pattern. For more information, see [Preview links](https://developers.google.com/workspace/chat/preview-links). "url": "A String", # Output only. The URL that was matched. }, "name": "A String", # Identifier. Resource name of the message. Format: `spaces/{space}/messages/{message}` Where `{space}` is the ID of the space where the message is posted and `{message}` is a system-assigned ID for the message. For example, `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`. If you set a custom ID when you create a message, you can use this ID to specify the message in a request by replacing `{message}` with the value from the `clientAssignedMessageId` field. For example, `spaces/AAAAAAAAAAA/messages/client-custom-name`. For details, see [Name a message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message). @@ -18153,7 +18153,7 @@

Method Details

"fallbackText": "A String", # Optional. A plain-text description of the message's cards, used when the actual cards can't be displayed—for example, mobile notifications. "formattedText": "A String", # Output only. Contains the message `text` with markups added to communicate formatting. This field might not capture all formatting visible in the UI, but includes the following: * [Markup syntax](https://developers.google.com/workspace/chat/format-messages) for bold, italic, strikethrough, monospace, monospace block, and bulleted list. * [User mentions](https://developers.google.com/workspace/chat/format-messages#messages-@mention) using the format ``. * Custom hyperlinks using the format `<{url}|{rendered_text}>` where the first string is the URL and the second is the rendered text—for example, ``. * Custom emoji using the format `:{emoji_name}:`—for example, `:smile:`. This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning face emoji. * Bullet list items using asterisks (`*`)—for example, `* item`. For more information, see [View text formatting sent in a message](https://developers.google.com/workspace/chat/format-messages#view_text_formatting_sent_in_a_message) "lastUpdateTime": "A String", # Output only. The time at which the message was last edited by a user. If the message has never been edited, this field is empty. - "matchedUrl": { # A matched URL in a Chat message. Chat apps can preview matched URLs. For more information, see [Preview links](https://developers.google.com/chat/how-tos/preview-links). # Output only. A URL in `spaces.messages.text` that matches a link preview pattern. For more information, see [Preview links](https://developers.google.com/workspace/chat/preview-links). + "matchedUrl": { # A matched URL in a Chat message. Chat apps can preview matched URLs. For more information, see [Preview links](https://developers.google.com/chat/how-tos/preview-links). # Output only. A URL in the Chat message `text` field that matches a link preview pattern. For more information, see [Preview links](https://developers.google.com/workspace/chat/preview-links). "url": "A String", # Output only. The URL that was matched. }, "name": "A String", # Identifier. Resource name of the message. Format: `spaces/{space}/messages/{message}` Where `{space}` is the ID of the space where the message is posted and `{message}` is a system-assigned ID for the message. For example, `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`. If you set a custom ID when you create a message, you can use this ID to specify the message in a request by replacing `{message}` with the value from the `clientAssignedMessageId` field. For example, `spaces/AAAAAAAAAAA/messages/client-custom-name`. For details, see [Name a message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message). @@ -21183,7 +21183,7 @@

Method Details

"fallbackText": "A String", # Optional. A plain-text description of the message's cards, used when the actual cards can't be displayed—for example, mobile notifications. "formattedText": "A String", # Output only. Contains the message `text` with markups added to communicate formatting. This field might not capture all formatting visible in the UI, but includes the following: * [Markup syntax](https://developers.google.com/workspace/chat/format-messages) for bold, italic, strikethrough, monospace, monospace block, and bulleted list. * [User mentions](https://developers.google.com/workspace/chat/format-messages#messages-@mention) using the format ``. * Custom hyperlinks using the format `<{url}|{rendered_text}>` where the first string is the URL and the second is the rendered text—for example, ``. * Custom emoji using the format `:{emoji_name}:`—for example, `:smile:`. This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning face emoji. * Bullet list items using asterisks (`*`)—for example, `* item`. For more information, see [View text formatting sent in a message](https://developers.google.com/workspace/chat/format-messages#view_text_formatting_sent_in_a_message) "lastUpdateTime": "A String", # Output only. The time at which the message was last edited by a user. If the message has never been edited, this field is empty. - "matchedUrl": { # A matched URL in a Chat message. Chat apps can preview matched URLs. For more information, see [Preview links](https://developers.google.com/chat/how-tos/preview-links). # Output only. A URL in `spaces.messages.text` that matches a link preview pattern. For more information, see [Preview links](https://developers.google.com/workspace/chat/preview-links). + "matchedUrl": { # A matched URL in a Chat message. Chat apps can preview matched URLs. For more information, see [Preview links](https://developers.google.com/chat/how-tos/preview-links). # Output only. A URL in the Chat message `text` field that matches a link preview pattern. For more information, see [Preview links](https://developers.google.com/workspace/chat/preview-links). "url": "A String", # Output only. The URL that was matched. }, "name": "A String", # Identifier. Resource name of the message. Format: `spaces/{space}/messages/{message}` Where `{space}` is the ID of the space where the message is posted and `{message}` is a system-assigned ID for the message. For example, `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`. If you set a custom ID when you create a message, you can use this ID to specify the message in a request by replacing `{message}` with the value from the `clientAssignedMessageId` field. For example, `spaces/AAAAAAAAAAA/messages/client-custom-name`. For details, see [Name a message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message). @@ -24213,7 +24213,7 @@

Method Details

"fallbackText": "A String", # Optional. A plain-text description of the message's cards, used when the actual cards can't be displayed—for example, mobile notifications. "formattedText": "A String", # Output only. Contains the message `text` with markups added to communicate formatting. This field might not capture all formatting visible in the UI, but includes the following: * [Markup syntax](https://developers.google.com/workspace/chat/format-messages) for bold, italic, strikethrough, monospace, monospace block, and bulleted list. * [User mentions](https://developers.google.com/workspace/chat/format-messages#messages-@mention) using the format ``. * Custom hyperlinks using the format `<{url}|{rendered_text}>` where the first string is the URL and the second is the rendered text—for example, ``. * Custom emoji using the format `:{emoji_name}:`—for example, `:smile:`. This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning face emoji. * Bullet list items using asterisks (`*`)—for example, `* item`. For more information, see [View text formatting sent in a message](https://developers.google.com/workspace/chat/format-messages#view_text_formatting_sent_in_a_message) "lastUpdateTime": "A String", # Output only. The time at which the message was last edited by a user. If the message has never been edited, this field is empty. - "matchedUrl": { # A matched URL in a Chat message. Chat apps can preview matched URLs. For more information, see [Preview links](https://developers.google.com/chat/how-tos/preview-links). # Output only. A URL in `spaces.messages.text` that matches a link preview pattern. For more information, see [Preview links](https://developers.google.com/workspace/chat/preview-links). + "matchedUrl": { # A matched URL in a Chat message. Chat apps can preview matched URLs. For more information, see [Preview links](https://developers.google.com/chat/how-tos/preview-links). # Output only. A URL in the Chat message `text` field that matches a link preview pattern. For more information, see [Preview links](https://developers.google.com/workspace/chat/preview-links). "url": "A String", # Output only. The URL that was matched. }, "name": "A String", # Identifier. Resource name of the message. Format: `spaces/{space}/messages/{message}` Where `{space}` is the ID of the space where the message is posted and `{message}` is a system-assigned ID for the message. For example, `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`. If you set a custom ID when you create a message, you can use this ID to specify the message in a request by replacing `{message}` with the value from the `clientAssignedMessageId` field. For example, `spaces/AAAAAAAAAAA/messages/client-custom-name`. For details, see [Name a message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message). diff --git a/docs/dyn/chat_v1.spaces.spaceEvents.html b/docs/dyn/chat_v1.spaces.spaceEvents.html index cf1cdc4c43..1d07eaf02c 100644 --- a/docs/dyn/chat_v1.spaces.spaceEvents.html +++ b/docs/dyn/chat_v1.spaces.spaceEvents.html @@ -3059,7 +3059,7 @@

Method Details

"fallbackText": "A String", # Optional. A plain-text description of the message's cards, used when the actual cards can't be displayed—for example, mobile notifications. "formattedText": "A String", # Output only. Contains the message `text` with markups added to communicate formatting. This field might not capture all formatting visible in the UI, but includes the following: * [Markup syntax](https://developers.google.com/workspace/chat/format-messages) for bold, italic, strikethrough, monospace, monospace block, and bulleted list. * [User mentions](https://developers.google.com/workspace/chat/format-messages#messages-@mention) using the format ``. * Custom hyperlinks using the format `<{url}|{rendered_text}>` where the first string is the URL and the second is the rendered text—for example, ``. * Custom emoji using the format `:{emoji_name}:`—for example, `:smile:`. This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning face emoji. * Bullet list items using asterisks (`*`)—for example, `* item`. For more information, see [View text formatting sent in a message](https://developers.google.com/workspace/chat/format-messages#view_text_formatting_sent_in_a_message) "lastUpdateTime": "A String", # Output only. The time at which the message was last edited by a user. If the message has never been edited, this field is empty. - "matchedUrl": { # A matched URL in a Chat message. Chat apps can preview matched URLs. For more information, see [Preview links](https://developers.google.com/chat/how-tos/preview-links). # Output only. A URL in `spaces.messages.text` that matches a link preview pattern. For more information, see [Preview links](https://developers.google.com/workspace/chat/preview-links). + "matchedUrl": { # A matched URL in a Chat message. Chat apps can preview matched URLs. For more information, see [Preview links](https://developers.google.com/chat/how-tos/preview-links). # Output only. A URL in the Chat message `text` field that matches a link preview pattern. For more information, see [Preview links](https://developers.google.com/workspace/chat/preview-links). "url": "A String", # Output only. The URL that was matched. }, "name": "A String", # Identifier. Resource name of the message. Format: `spaces/{space}/messages/{message}` Where `{space}` is the ID of the space where the message is posted and `{message}` is a system-assigned ID for the message. For example, `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`. If you set a custom ID when you create a message, you can use this ID to specify the message in a request by replacing `{message}` with the value from the `clientAssignedMessageId` field. For example, `spaces/AAAAAAAAAAA/messages/client-custom-name`. For details, see [Name a message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message). @@ -6084,7 +6084,7 @@

Method Details

"fallbackText": "A String", # Optional. A plain-text description of the message's cards, used when the actual cards can't be displayed—for example, mobile notifications. "formattedText": "A String", # Output only. Contains the message `text` with markups added to communicate formatting. This field might not capture all formatting visible in the UI, but includes the following: * [Markup syntax](https://developers.google.com/workspace/chat/format-messages) for bold, italic, strikethrough, monospace, monospace block, and bulleted list. * [User mentions](https://developers.google.com/workspace/chat/format-messages#messages-@mention) using the format ``. * Custom hyperlinks using the format `<{url}|{rendered_text}>` where the first string is the URL and the second is the rendered text—for example, ``. * Custom emoji using the format `:{emoji_name}:`—for example, `:smile:`. This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning face emoji. * Bullet list items using asterisks (`*`)—for example, `* item`. For more information, see [View text formatting sent in a message](https://developers.google.com/workspace/chat/format-messages#view_text_formatting_sent_in_a_message) "lastUpdateTime": "A String", # Output only. The time at which the message was last edited by a user. If the message has never been edited, this field is empty. - "matchedUrl": { # A matched URL in a Chat message. Chat apps can preview matched URLs. For more information, see [Preview links](https://developers.google.com/chat/how-tos/preview-links). # Output only. A URL in `spaces.messages.text` that matches a link preview pattern. For more information, see [Preview links](https://developers.google.com/workspace/chat/preview-links). + "matchedUrl": { # A matched URL in a Chat message. Chat apps can preview matched URLs. For more information, see [Preview links](https://developers.google.com/chat/how-tos/preview-links). # Output only. A URL in the Chat message `text` field that matches a link preview pattern. For more information, see [Preview links](https://developers.google.com/workspace/chat/preview-links). "url": "A String", # Output only. The URL that was matched. }, "name": "A String", # Identifier. Resource name of the message. Format: `spaces/{space}/messages/{message}` Where `{space}` is the ID of the space where the message is posted and `{message}` is a system-assigned ID for the message. For example, `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`. If you set a custom ID when you create a message, you can use this ID to specify the message in a request by replacing `{message}` with the value from the `clientAssignedMessageId` field. For example, `spaces/AAAAAAAAAAA/messages/client-custom-name`. For details, see [Name a message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message). @@ -9109,7 +9109,7 @@

Method Details

"fallbackText": "A String", # Optional. A plain-text description of the message's cards, used when the actual cards can't be displayed—for example, mobile notifications. "formattedText": "A String", # Output only. Contains the message `text` with markups added to communicate formatting. This field might not capture all formatting visible in the UI, but includes the following: * [Markup syntax](https://developers.google.com/workspace/chat/format-messages) for bold, italic, strikethrough, monospace, monospace block, and bulleted list. * [User mentions](https://developers.google.com/workspace/chat/format-messages#messages-@mention) using the format ``. * Custom hyperlinks using the format `<{url}|{rendered_text}>` where the first string is the URL and the second is the rendered text—for example, ``. * Custom emoji using the format `:{emoji_name}:`—for example, `:smile:`. This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning face emoji. * Bullet list items using asterisks (`*`)—for example, `* item`. For more information, see [View text formatting sent in a message](https://developers.google.com/workspace/chat/format-messages#view_text_formatting_sent_in_a_message) "lastUpdateTime": "A String", # Output only. The time at which the message was last edited by a user. If the message has never been edited, this field is empty. - "matchedUrl": { # A matched URL in a Chat message. Chat apps can preview matched URLs. For more information, see [Preview links](https://developers.google.com/chat/how-tos/preview-links). # Output only. A URL in `spaces.messages.text` that matches a link preview pattern. For more information, see [Preview links](https://developers.google.com/workspace/chat/preview-links). + "matchedUrl": { # A matched URL in a Chat message. Chat apps can preview matched URLs. For more information, see [Preview links](https://developers.google.com/chat/how-tos/preview-links). # Output only. A URL in the Chat message `text` field that matches a link preview pattern. For more information, see [Preview links](https://developers.google.com/workspace/chat/preview-links). "url": "A String", # Output only. The URL that was matched. }, "name": "A String", # Identifier. Resource name of the message. Format: `spaces/{space}/messages/{message}` Where `{space}` is the ID of the space where the message is posted and `{message}` is a system-assigned ID for the message. For example, `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`. If you set a custom ID when you create a message, you can use this ID to specify the message in a request by replacing `{message}` with the value from the `clientAssignedMessageId` field. For example, `spaces/AAAAAAAAAAA/messages/client-custom-name`. For details, see [Name a message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message). @@ -12132,7 +12132,7 @@

Method Details

"fallbackText": "A String", # Optional. A plain-text description of the message's cards, used when the actual cards can't be displayed—for example, mobile notifications. "formattedText": "A String", # Output only. Contains the message `text` with markups added to communicate formatting. This field might not capture all formatting visible in the UI, but includes the following: * [Markup syntax](https://developers.google.com/workspace/chat/format-messages) for bold, italic, strikethrough, monospace, monospace block, and bulleted list. * [User mentions](https://developers.google.com/workspace/chat/format-messages#messages-@mention) using the format ``. * Custom hyperlinks using the format `<{url}|{rendered_text}>` where the first string is the URL and the second is the rendered text—for example, ``. * Custom emoji using the format `:{emoji_name}:`—for example, `:smile:`. This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning face emoji. * Bullet list items using asterisks (`*`)—for example, `* item`. For more information, see [View text formatting sent in a message](https://developers.google.com/workspace/chat/format-messages#view_text_formatting_sent_in_a_message) "lastUpdateTime": "A String", # Output only. The time at which the message was last edited by a user. If the message has never been edited, this field is empty. - "matchedUrl": { # A matched URL in a Chat message. Chat apps can preview matched URLs. For more information, see [Preview links](https://developers.google.com/chat/how-tos/preview-links). # Output only. A URL in `spaces.messages.text` that matches a link preview pattern. For more information, see [Preview links](https://developers.google.com/workspace/chat/preview-links). + "matchedUrl": { # A matched URL in a Chat message. Chat apps can preview matched URLs. For more information, see [Preview links](https://developers.google.com/chat/how-tos/preview-links). # Output only. A URL in the Chat message `text` field that matches a link preview pattern. For more information, see [Preview links](https://developers.google.com/workspace/chat/preview-links). "url": "A String", # Output only. The URL that was matched. }, "name": "A String", # Identifier. Resource name of the message. Format: `spaces/{space}/messages/{message}` Where `{space}` is the ID of the space where the message is posted and `{message}` is a system-assigned ID for the message. For example, `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`. If you set a custom ID when you create a message, you can use this ID to specify the message in a request by replacing `{message}` with the value from the `clientAssignedMessageId` field. For example, `spaces/AAAAAAAAAAA/messages/client-custom-name`. For details, see [Name a message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message). @@ -15153,7 +15153,7 @@

Method Details

"fallbackText": "A String", # Optional. A plain-text description of the message's cards, used when the actual cards can't be displayed—for example, mobile notifications. "formattedText": "A String", # Output only. Contains the message `text` with markups added to communicate formatting. This field might not capture all formatting visible in the UI, but includes the following: * [Markup syntax](https://developers.google.com/workspace/chat/format-messages) for bold, italic, strikethrough, monospace, monospace block, and bulleted list. * [User mentions](https://developers.google.com/workspace/chat/format-messages#messages-@mention) using the format ``. * Custom hyperlinks using the format `<{url}|{rendered_text}>` where the first string is the URL and the second is the rendered text—for example, ``. * Custom emoji using the format `:{emoji_name}:`—for example, `:smile:`. This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning face emoji. * Bullet list items using asterisks (`*`)—for example, `* item`. For more information, see [View text formatting sent in a message](https://developers.google.com/workspace/chat/format-messages#view_text_formatting_sent_in_a_message) "lastUpdateTime": "A String", # Output only. The time at which the message was last edited by a user. If the message has never been edited, this field is empty. - "matchedUrl": { # A matched URL in a Chat message. Chat apps can preview matched URLs. For more information, see [Preview links](https://developers.google.com/chat/how-tos/preview-links). # Output only. A URL in `spaces.messages.text` that matches a link preview pattern. For more information, see [Preview links](https://developers.google.com/workspace/chat/preview-links). + "matchedUrl": { # A matched URL in a Chat message. Chat apps can preview matched URLs. For more information, see [Preview links](https://developers.google.com/chat/how-tos/preview-links). # Output only. A URL in the Chat message `text` field that matches a link preview pattern. For more information, see [Preview links](https://developers.google.com/workspace/chat/preview-links). "url": "A String", # Output only. The URL that was matched. }, "name": "A String", # Identifier. Resource name of the message. Format: `spaces/{space}/messages/{message}` Where `{space}` is the ID of the space where the message is posted and `{message}` is a system-assigned ID for the message. For example, `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`. If you set a custom ID when you create a message, you can use this ID to specify the message in a request by replacing `{message}` with the value from the `clientAssignedMessageId` field. For example, `spaces/AAAAAAAAAAA/messages/client-custom-name`. For details, see [Name a message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message). @@ -18174,7 +18174,7 @@

Method Details

"fallbackText": "A String", # Optional. A plain-text description of the message's cards, used when the actual cards can't be displayed—for example, mobile notifications. "formattedText": "A String", # Output only. Contains the message `text` with markups added to communicate formatting. This field might not capture all formatting visible in the UI, but includes the following: * [Markup syntax](https://developers.google.com/workspace/chat/format-messages) for bold, italic, strikethrough, monospace, monospace block, and bulleted list. * [User mentions](https://developers.google.com/workspace/chat/format-messages#messages-@mention) using the format ``. * Custom hyperlinks using the format `<{url}|{rendered_text}>` where the first string is the URL and the second is the rendered text—for example, ``. * Custom emoji using the format `:{emoji_name}:`—for example, `:smile:`. This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning face emoji. * Bullet list items using asterisks (`*`)—for example, `* item`. For more information, see [View text formatting sent in a message](https://developers.google.com/workspace/chat/format-messages#view_text_formatting_sent_in_a_message) "lastUpdateTime": "A String", # Output only. The time at which the message was last edited by a user. If the message has never been edited, this field is empty. - "matchedUrl": { # A matched URL in a Chat message. Chat apps can preview matched URLs. For more information, see [Preview links](https://developers.google.com/chat/how-tos/preview-links). # Output only. A URL in `spaces.messages.text` that matches a link preview pattern. For more information, see [Preview links](https://developers.google.com/workspace/chat/preview-links). + "matchedUrl": { # A matched URL in a Chat message. Chat apps can preview matched URLs. For more information, see [Preview links](https://developers.google.com/chat/how-tos/preview-links). # Output only. A URL in the Chat message `text` field that matches a link preview pattern. For more information, see [Preview links](https://developers.google.com/workspace/chat/preview-links). "url": "A String", # Output only. The URL that was matched. }, "name": "A String", # Identifier. Resource name of the message. Format: `spaces/{space}/messages/{message}` Where `{space}` is the ID of the space where the message is posted and `{message}` is a system-assigned ID for the message. For example, `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`. If you set a custom ID when you create a message, you can use this ID to specify the message in a request by replacing `{message}` with the value from the `clientAssignedMessageId` field. For example, `spaces/AAAAAAAAAAA/messages/client-custom-name`. For details, see [Name a message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message). @@ -21612,7 +21612,7 @@

Method Details

"fallbackText": "A String", # Optional. A plain-text description of the message's cards, used when the actual cards can't be displayed—for example, mobile notifications. "formattedText": "A String", # Output only. Contains the message `text` with markups added to communicate formatting. This field might not capture all formatting visible in the UI, but includes the following: * [Markup syntax](https://developers.google.com/workspace/chat/format-messages) for bold, italic, strikethrough, monospace, monospace block, and bulleted list. * [User mentions](https://developers.google.com/workspace/chat/format-messages#messages-@mention) using the format ``. * Custom hyperlinks using the format `<{url}|{rendered_text}>` where the first string is the URL and the second is the rendered text—for example, ``. * Custom emoji using the format `:{emoji_name}:`—for example, `:smile:`. This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning face emoji. * Bullet list items using asterisks (`*`)—for example, `* item`. For more information, see [View text formatting sent in a message](https://developers.google.com/workspace/chat/format-messages#view_text_formatting_sent_in_a_message) "lastUpdateTime": "A String", # Output only. The time at which the message was last edited by a user. If the message has never been edited, this field is empty. - "matchedUrl": { # A matched URL in a Chat message. Chat apps can preview matched URLs. For more information, see [Preview links](https://developers.google.com/chat/how-tos/preview-links). # Output only. A URL in `spaces.messages.text` that matches a link preview pattern. For more information, see [Preview links](https://developers.google.com/workspace/chat/preview-links). + "matchedUrl": { # A matched URL in a Chat message. Chat apps can preview matched URLs. For more information, see [Preview links](https://developers.google.com/chat/how-tos/preview-links). # Output only. A URL in the Chat message `text` field that matches a link preview pattern. For more information, see [Preview links](https://developers.google.com/workspace/chat/preview-links). "url": "A String", # Output only. The URL that was matched. }, "name": "A String", # Identifier. Resource name of the message. Format: `spaces/{space}/messages/{message}` Where `{space}` is the ID of the space where the message is posted and `{message}` is a system-assigned ID for the message. For example, `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`. If you set a custom ID when you create a message, you can use this ID to specify the message in a request by replacing `{message}` with the value from the `clientAssignedMessageId` field. For example, `spaces/AAAAAAAAAAA/messages/client-custom-name`. For details, see [Name a message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message). @@ -24637,7 +24637,7 @@

Method Details

"fallbackText": "A String", # Optional. A plain-text description of the message's cards, used when the actual cards can't be displayed—for example, mobile notifications. "formattedText": "A String", # Output only. Contains the message `text` with markups added to communicate formatting. This field might not capture all formatting visible in the UI, but includes the following: * [Markup syntax](https://developers.google.com/workspace/chat/format-messages) for bold, italic, strikethrough, monospace, monospace block, and bulleted list. * [User mentions](https://developers.google.com/workspace/chat/format-messages#messages-@mention) using the format ``. * Custom hyperlinks using the format `<{url}|{rendered_text}>` where the first string is the URL and the second is the rendered text—for example, ``. * Custom emoji using the format `:{emoji_name}:`—for example, `:smile:`. This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning face emoji. * Bullet list items using asterisks (`*`)—for example, `* item`. For more information, see [View text formatting sent in a message](https://developers.google.com/workspace/chat/format-messages#view_text_formatting_sent_in_a_message) "lastUpdateTime": "A String", # Output only. The time at which the message was last edited by a user. If the message has never been edited, this field is empty. - "matchedUrl": { # A matched URL in a Chat message. Chat apps can preview matched URLs. For more information, see [Preview links](https://developers.google.com/chat/how-tos/preview-links). # Output only. A URL in `spaces.messages.text` that matches a link preview pattern. For more information, see [Preview links](https://developers.google.com/workspace/chat/preview-links). + "matchedUrl": { # A matched URL in a Chat message. Chat apps can preview matched URLs. For more information, see [Preview links](https://developers.google.com/chat/how-tos/preview-links). # Output only. A URL in the Chat message `text` field that matches a link preview pattern. For more information, see [Preview links](https://developers.google.com/workspace/chat/preview-links). "url": "A String", # Output only. The URL that was matched. }, "name": "A String", # Identifier. Resource name of the message. Format: `spaces/{space}/messages/{message}` Where `{space}` is the ID of the space where the message is posted and `{message}` is a system-assigned ID for the message. For example, `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`. If you set a custom ID when you create a message, you can use this ID to specify the message in a request by replacing `{message}` with the value from the `clientAssignedMessageId` field. For example, `spaces/AAAAAAAAAAA/messages/client-custom-name`. For details, see [Name a message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message). @@ -27662,7 +27662,7 @@

Method Details

"fallbackText": "A String", # Optional. A plain-text description of the message's cards, used when the actual cards can't be displayed—for example, mobile notifications. "formattedText": "A String", # Output only. Contains the message `text` with markups added to communicate formatting. This field might not capture all formatting visible in the UI, but includes the following: * [Markup syntax](https://developers.google.com/workspace/chat/format-messages) for bold, italic, strikethrough, monospace, monospace block, and bulleted list. * [User mentions](https://developers.google.com/workspace/chat/format-messages#messages-@mention) using the format ``. * Custom hyperlinks using the format `<{url}|{rendered_text}>` where the first string is the URL and the second is the rendered text—for example, ``. * Custom emoji using the format `:{emoji_name}:`—for example, `:smile:`. This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning face emoji. * Bullet list items using asterisks (`*`)—for example, `* item`. For more information, see [View text formatting sent in a message](https://developers.google.com/workspace/chat/format-messages#view_text_formatting_sent_in_a_message) "lastUpdateTime": "A String", # Output only. The time at which the message was last edited by a user. If the message has never been edited, this field is empty. - "matchedUrl": { # A matched URL in a Chat message. Chat apps can preview matched URLs. For more information, see [Preview links](https://developers.google.com/chat/how-tos/preview-links). # Output only. A URL in `spaces.messages.text` that matches a link preview pattern. For more information, see [Preview links](https://developers.google.com/workspace/chat/preview-links). + "matchedUrl": { # A matched URL in a Chat message. Chat apps can preview matched URLs. For more information, see [Preview links](https://developers.google.com/chat/how-tos/preview-links). # Output only. A URL in the Chat message `text` field that matches a link preview pattern. For more information, see [Preview links](https://developers.google.com/workspace/chat/preview-links). "url": "A String", # Output only. The URL that was matched. }, "name": "A String", # Identifier. Resource name of the message. Format: `spaces/{space}/messages/{message}` Where `{space}` is the ID of the space where the message is posted and `{message}` is a system-assigned ID for the message. For example, `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`. If you set a custom ID when you create a message, you can use this ID to specify the message in a request by replacing `{message}` with the value from the `clientAssignedMessageId` field. For example, `spaces/AAAAAAAAAAA/messages/client-custom-name`. For details, see [Name a message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message). @@ -30685,7 +30685,7 @@

Method Details

"fallbackText": "A String", # Optional. A plain-text description of the message's cards, used when the actual cards can't be displayed—for example, mobile notifications. "formattedText": "A String", # Output only. Contains the message `text` with markups added to communicate formatting. This field might not capture all formatting visible in the UI, but includes the following: * [Markup syntax](https://developers.google.com/workspace/chat/format-messages) for bold, italic, strikethrough, monospace, monospace block, and bulleted list. * [User mentions](https://developers.google.com/workspace/chat/format-messages#messages-@mention) using the format ``. * Custom hyperlinks using the format `<{url}|{rendered_text}>` where the first string is the URL and the second is the rendered text—for example, ``. * Custom emoji using the format `:{emoji_name}:`—for example, `:smile:`. This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning face emoji. * Bullet list items using asterisks (`*`)—for example, `* item`. For more information, see [View text formatting sent in a message](https://developers.google.com/workspace/chat/format-messages#view_text_formatting_sent_in_a_message) "lastUpdateTime": "A String", # Output only. The time at which the message was last edited by a user. If the message has never been edited, this field is empty. - "matchedUrl": { # A matched URL in a Chat message. Chat apps can preview matched URLs. For more information, see [Preview links](https://developers.google.com/chat/how-tos/preview-links). # Output only. A URL in `spaces.messages.text` that matches a link preview pattern. For more information, see [Preview links](https://developers.google.com/workspace/chat/preview-links). + "matchedUrl": { # A matched URL in a Chat message. Chat apps can preview matched URLs. For more information, see [Preview links](https://developers.google.com/chat/how-tos/preview-links). # Output only. A URL in the Chat message `text` field that matches a link preview pattern. For more information, see [Preview links](https://developers.google.com/workspace/chat/preview-links). "url": "A String", # Output only. The URL that was matched. }, "name": "A String", # Identifier. Resource name of the message. Format: `spaces/{space}/messages/{message}` Where `{space}` is the ID of the space where the message is posted and `{message}` is a system-assigned ID for the message. For example, `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`. If you set a custom ID when you create a message, you can use this ID to specify the message in a request by replacing `{message}` with the value from the `clientAssignedMessageId` field. For example, `spaces/AAAAAAAAAAA/messages/client-custom-name`. For details, see [Name a message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message). @@ -33706,7 +33706,7 @@

Method Details

"fallbackText": "A String", # Optional. A plain-text description of the message's cards, used when the actual cards can't be displayed—for example, mobile notifications. "formattedText": "A String", # Output only. Contains the message `text` with markups added to communicate formatting. This field might not capture all formatting visible in the UI, but includes the following: * [Markup syntax](https://developers.google.com/workspace/chat/format-messages) for bold, italic, strikethrough, monospace, monospace block, and bulleted list. * [User mentions](https://developers.google.com/workspace/chat/format-messages#messages-@mention) using the format ``. * Custom hyperlinks using the format `<{url}|{rendered_text}>` where the first string is the URL and the second is the rendered text—for example, ``. * Custom emoji using the format `:{emoji_name}:`—for example, `:smile:`. This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning face emoji. * Bullet list items using asterisks (`*`)—for example, `* item`. For more information, see [View text formatting sent in a message](https://developers.google.com/workspace/chat/format-messages#view_text_formatting_sent_in_a_message) "lastUpdateTime": "A String", # Output only. The time at which the message was last edited by a user. If the message has never been edited, this field is empty. - "matchedUrl": { # A matched URL in a Chat message. Chat apps can preview matched URLs. For more information, see [Preview links](https://developers.google.com/chat/how-tos/preview-links). # Output only. A URL in `spaces.messages.text` that matches a link preview pattern. For more information, see [Preview links](https://developers.google.com/workspace/chat/preview-links). + "matchedUrl": { # A matched URL in a Chat message. Chat apps can preview matched URLs. For more information, see [Preview links](https://developers.google.com/chat/how-tos/preview-links). # Output only. A URL in the Chat message `text` field that matches a link preview pattern. For more information, see [Preview links](https://developers.google.com/workspace/chat/preview-links). "url": "A String", # Output only. The URL that was matched. }, "name": "A String", # Identifier. Resource name of the message. Format: `spaces/{space}/messages/{message}` Where `{space}` is the ID of the space where the message is posted and `{message}` is a system-assigned ID for the message. For example, `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`. If you set a custom ID when you create a message, you can use this ID to specify the message in a request by replacing `{message}` with the value from the `clientAssignedMessageId` field. For example, `spaces/AAAAAAAAAAA/messages/client-custom-name`. For details, see [Name a message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message). @@ -36727,7 +36727,7 @@

Method Details

"fallbackText": "A String", # Optional. A plain-text description of the message's cards, used when the actual cards can't be displayed—for example, mobile notifications. "formattedText": "A String", # Output only. Contains the message `text` with markups added to communicate formatting. This field might not capture all formatting visible in the UI, but includes the following: * [Markup syntax](https://developers.google.com/workspace/chat/format-messages) for bold, italic, strikethrough, monospace, monospace block, and bulleted list. * [User mentions](https://developers.google.com/workspace/chat/format-messages#messages-@mention) using the format ``. * Custom hyperlinks using the format `<{url}|{rendered_text}>` where the first string is the URL and the second is the rendered text—for example, ``. * Custom emoji using the format `:{emoji_name}:`—for example, `:smile:`. This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning face emoji. * Bullet list items using asterisks (`*`)—for example, `* item`. For more information, see [View text formatting sent in a message](https://developers.google.com/workspace/chat/format-messages#view_text_formatting_sent_in_a_message) "lastUpdateTime": "A String", # Output only. The time at which the message was last edited by a user. If the message has never been edited, this field is empty. - "matchedUrl": { # A matched URL in a Chat message. Chat apps can preview matched URLs. For more information, see [Preview links](https://developers.google.com/chat/how-tos/preview-links). # Output only. A URL in `spaces.messages.text` that matches a link preview pattern. For more information, see [Preview links](https://developers.google.com/workspace/chat/preview-links). + "matchedUrl": { # A matched URL in a Chat message. Chat apps can preview matched URLs. For more information, see [Preview links](https://developers.google.com/chat/how-tos/preview-links). # Output only. A URL in the Chat message `text` field that matches a link preview pattern. For more information, see [Preview links](https://developers.google.com/workspace/chat/preview-links). "url": "A String", # Output only. The URL that was matched. }, "name": "A String", # Identifier. Resource name of the message. Format: `spaces/{space}/messages/{message}` Where `{space}` is the ID of the space where the message is posted and `{message}` is a system-assigned ID for the message. For example, `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`. If you set a custom ID when you create a message, you can use this ID to specify the message in a request by replacing `{message}` with the value from the `clientAssignedMessageId` field. For example, `spaces/AAAAAAAAAAA/messages/client-custom-name`. For details, see [Name a message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message). diff --git a/docs/dyn/cloudasset_v1.assets.html b/docs/dyn/cloudasset_v1.assets.html index 0286e8b3d2..e8fe13c42d 100644 --- a/docs/dyn/cloudasset_v1.assets.html +++ b/docs/dyn/cloudasset_v1.assets.html @@ -468,7 +468,7 @@

Method Details

"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. - "identities": [ # A list of identities that are allowed access through [EgressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For third-party identity, only single identities are supported and other identity types are not supported. The `v1` identities that have the prefix `user`, `group`, `serviceAccount`, and `principal` in https://cloud.google.com/iam/docs/principal-identifiers#v1 are supported. + "identities": [ # A list of identities that are allowed access through [EgressPolicy]. Identities can be an individual user, service account, Google group, or third-party 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. @@ -508,7 +508,7 @@

Method Details

"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. { # Policy for ingress into ServicePerimeter. IngressPolicies match requests based on `ingress_from` and `ingress_to` stanzas. For an ingress policy to match, both the `ingress_from` and `ingress_to` stanzas must be matched. If an IngressPolicy matches a request, the request is allowed through the perimeter boundary from outside the perimeter. For example, access from the internet can be allowed either based on an AccessLevel or, for traffic hosted on Google Cloud, the project of the source network. For access from private networks, using the project of the hosting network is required. Individual ingress policies can be limited by restricting which services and/or actions they match using the `ingress_to` field. "ingressFrom": { # Defines the conditions under which an IngressPolicy matches a request. Conditions are based on information about the source of the request. The request must satisfy what is defined in `sources` AND identity related fields in order to match. # Defines the conditions on the source of a request causing this IngressPolicy to apply. - "identities": [ # A list of identities that are allowed access through [IngressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For third-party identity, only single identities are supported and other identity types are not supported. The `v1` identities that have the prefix `user`, `group`, `serviceAccount`, and `principal` in https://cloud.google.com/iam/docs/principal-identifiers#v1 are supported. + "identities": [ # A list of identities that are allowed access through [IngressPolicy]. Identities can be an individual user, service account, Google group, or third-party 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 from outside the perimeter. If left unspecified, then members of `identities` field will be allowed access. @@ -561,7 +561,7 @@

Method Details

"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. - "identities": [ # A list of identities that are allowed access through [EgressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For third-party identity, only single identities are supported and other identity types are not supported. The `v1` identities that have the prefix `user`, `group`, `serviceAccount`, and `principal` in https://cloud.google.com/iam/docs/principal-identifiers#v1 are supported. + "identities": [ # A list of identities that are allowed access through [EgressPolicy]. Identities can be an individual user, service account, Google group, or third-party 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. @@ -601,7 +601,7 @@

Method Details

"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. { # Policy for ingress into ServicePerimeter. IngressPolicies match requests based on `ingress_from` and `ingress_to` stanzas. For an ingress policy to match, both the `ingress_from` and `ingress_to` stanzas must be matched. If an IngressPolicy matches a request, the request is allowed through the perimeter boundary from outside the perimeter. For example, access from the internet can be allowed either based on an AccessLevel or, for traffic hosted on Google Cloud, the project of the source network. For access from private networks, using the project of the hosting network is required. Individual ingress policies can be limited by restricting which services and/or actions they match using the `ingress_to` field. "ingressFrom": { # Defines the conditions under which an IngressPolicy matches a request. Conditions are based on information about the source of the request. The request must satisfy what is defined in `sources` AND identity related fields in order to match. # Defines the conditions on the source of a request causing this IngressPolicy to apply. - "identities": [ # A list of identities that are allowed access through [IngressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For third-party identity, only single identities are supported and other identity types are not supported. The `v1` identities that have the prefix `user`, `group`, `serviceAccount`, and `principal` in https://cloud.google.com/iam/docs/principal-identifiers#v1 are supported. + "identities": [ # A list of identities that are allowed access through [IngressPolicy]. Identities can be an individual user, service account, Google group, or third-party 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 from outside the perimeter. If left unspecified, then members of `identities` field will be allowed access. diff --git a/docs/dyn/cloudasset_v1.v1.html b/docs/dyn/cloudasset_v1.v1.html index 58cd38ee5a..64b8545813 100644 --- a/docs/dyn/cloudasset_v1.v1.html +++ b/docs/dyn/cloudasset_v1.v1.html @@ -1356,7 +1356,7 @@

Method Details

"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. - "identities": [ # A list of identities that are allowed access through [EgressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For third-party identity, only single identities are supported and other identity types are not supported. The `v1` identities that have the prefix `user`, `group`, `serviceAccount`, and `principal` in https://cloud.google.com/iam/docs/principal-identifiers#v1 are supported. + "identities": [ # A list of identities that are allowed access through [EgressPolicy]. Identities can be an individual user, service account, Google group, or third-party 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. @@ -1396,7 +1396,7 @@

Method Details

"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. { # Policy for ingress into ServicePerimeter. IngressPolicies match requests based on `ingress_from` and `ingress_to` stanzas. For an ingress policy to match, both the `ingress_from` and `ingress_to` stanzas must be matched. If an IngressPolicy matches a request, the request is allowed through the perimeter boundary from outside the perimeter. For example, access from the internet can be allowed either based on an AccessLevel or, for traffic hosted on Google Cloud, the project of the source network. For access from private networks, using the project of the hosting network is required. Individual ingress policies can be limited by restricting which services and/or actions they match using the `ingress_to` field. "ingressFrom": { # Defines the conditions under which an IngressPolicy matches a request. Conditions are based on information about the source of the request. The request must satisfy what is defined in `sources` AND identity related fields in order to match. # Defines the conditions on the source of a request causing this IngressPolicy to apply. - "identities": [ # A list of identities that are allowed access through [IngressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For third-party identity, only single identities are supported and other identity types are not supported. The `v1` identities that have the prefix `user`, `group`, `serviceAccount`, and `principal` in https://cloud.google.com/iam/docs/principal-identifiers#v1 are supported. + "identities": [ # A list of identities that are allowed access through [IngressPolicy]. Identities can be an individual user, service account, Google group, or third-party 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 from outside the perimeter. If left unspecified, then members of `identities` field will be allowed access. @@ -1449,7 +1449,7 @@

Method Details

"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. - "identities": [ # A list of identities that are allowed access through [EgressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For third-party identity, only single identities are supported and other identity types are not supported. The `v1` identities that have the prefix `user`, `group`, `serviceAccount`, and `principal` in https://cloud.google.com/iam/docs/principal-identifiers#v1 are supported. + "identities": [ # A list of identities that are allowed access through [EgressPolicy]. Identities can be an individual user, service account, Google group, or third-party 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. @@ -1489,7 +1489,7 @@

Method Details

"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. { # Policy for ingress into ServicePerimeter. IngressPolicies match requests based on `ingress_from` and `ingress_to` stanzas. For an ingress policy to match, both the `ingress_from` and `ingress_to` stanzas must be matched. If an IngressPolicy matches a request, the request is allowed through the perimeter boundary from outside the perimeter. For example, access from the internet can be allowed either based on an AccessLevel or, for traffic hosted on Google Cloud, the project of the source network. For access from private networks, using the project of the hosting network is required. Individual ingress policies can be limited by restricting which services and/or actions they match using the `ingress_to` field. "ingressFrom": { # Defines the conditions under which an IngressPolicy matches a request. Conditions are based on information about the source of the request. The request must satisfy what is defined in `sources` AND identity related fields in order to match. # Defines the conditions on the source of a request causing this IngressPolicy to apply. - "identities": [ # A list of identities that are allowed access through [IngressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For third-party identity, only single identities are supported and other identity types are not supported. The `v1` identities that have the prefix `user`, `group`, `serviceAccount`, and `principal` in https://cloud.google.com/iam/docs/principal-identifiers#v1 are supported. + "identities": [ # A list of identities that are allowed access through [IngressPolicy]. Identities can be an individual user, service account, Google group, or third-party 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 from outside the perimeter. If left unspecified, then members of `identities` field will be allowed access. @@ -1890,7 +1890,7 @@

Method Details

"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. - "identities": [ # A list of identities that are allowed access through [EgressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For third-party identity, only single identities are supported and other identity types are not supported. The `v1` identities that have the prefix `user`, `group`, `serviceAccount`, and `principal` in https://cloud.google.com/iam/docs/principal-identifiers#v1 are supported. + "identities": [ # A list of identities that are allowed access through [EgressPolicy]. Identities can be an individual user, service account, Google group, or third-party 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. @@ -1930,7 +1930,7 @@

Method Details

"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. { # Policy for ingress into ServicePerimeter. IngressPolicies match requests based on `ingress_from` and `ingress_to` stanzas. For an ingress policy to match, both the `ingress_from` and `ingress_to` stanzas must be matched. If an IngressPolicy matches a request, the request is allowed through the perimeter boundary from outside the perimeter. For example, access from the internet can be allowed either based on an AccessLevel or, for traffic hosted on Google Cloud, the project of the source network. For access from private networks, using the project of the hosting network is required. Individual ingress policies can be limited by restricting which services and/or actions they match using the `ingress_to` field. "ingressFrom": { # Defines the conditions under which an IngressPolicy matches a request. Conditions are based on information about the source of the request. The request must satisfy what is defined in `sources` AND identity related fields in order to match. # Defines the conditions on the source of a request causing this IngressPolicy to apply. - "identities": [ # A list of identities that are allowed access through [IngressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For third-party identity, only single identities are supported and other identity types are not supported. The `v1` identities that have the prefix `user`, `group`, `serviceAccount`, and `principal` in https://cloud.google.com/iam/docs/principal-identifiers#v1 are supported. + "identities": [ # A list of identities that are allowed access through [IngressPolicy]. Identities can be an individual user, service account, Google group, or third-party 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 from outside the perimeter. If left unspecified, then members of `identities` field will be allowed access. @@ -1983,7 +1983,7 @@

Method Details

"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. - "identities": [ # A list of identities that are allowed access through [EgressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For third-party identity, only single identities are supported and other identity types are not supported. The `v1` identities that have the prefix `user`, `group`, `serviceAccount`, and `principal` in https://cloud.google.com/iam/docs/principal-identifiers#v1 are supported. + "identities": [ # A list of identities that are allowed access through [EgressPolicy]. Identities can be an individual user, service account, Google group, or third-party 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. @@ -2023,7 +2023,7 @@

Method Details

"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. { # Policy for ingress into ServicePerimeter. IngressPolicies match requests based on `ingress_from` and `ingress_to` stanzas. For an ingress policy to match, both the `ingress_from` and `ingress_to` stanzas must be matched. If an IngressPolicy matches a request, the request is allowed through the perimeter boundary from outside the perimeter. For example, access from the internet can be allowed either based on an AccessLevel or, for traffic hosted on Google Cloud, the project of the source network. For access from private networks, using the project of the hosting network is required. Individual ingress policies can be limited by restricting which services and/or actions they match using the `ingress_to` field. "ingressFrom": { # Defines the conditions under which an IngressPolicy matches a request. Conditions are based on information about the source of the request. The request must satisfy what is defined in `sources` AND identity related fields in order to match. # Defines the conditions on the source of a request causing this IngressPolicy to apply. - "identities": [ # A list of identities that are allowed access through [IngressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For third-party identity, only single identities are supported and other identity types are not supported. The `v1` identities that have the prefix `user`, `group`, `serviceAccount`, and `principal` in https://cloud.google.com/iam/docs/principal-identifiers#v1 are supported. + "identities": [ # A list of identities that are allowed access through [IngressPolicy]. Identities can be an individual user, service account, Google group, or third-party 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 from outside the perimeter. If left unspecified, then members of `identities` field will be allowed access. diff --git a/docs/dyn/cloudasset_v1beta1.organizations.html b/docs/dyn/cloudasset_v1beta1.organizations.html index e85cac0b6b..10910d9d04 100644 --- a/docs/dyn/cloudasset_v1beta1.organizations.html +++ b/docs/dyn/cloudasset_v1beta1.organizations.html @@ -264,7 +264,7 @@

Method Details

"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. - "identities": [ # A list of identities that are allowed access through [EgressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For third-party identity, only single identities are supported and other identity types are not supported. The `v1` identities that have the prefix `user`, `group`, `serviceAccount`, and `principal` in https://cloud.google.com/iam/docs/principal-identifiers#v1 are supported. + "identities": [ # A list of identities that are allowed access through [EgressPolicy]. Identities can be an individual user, service account, Google group, or third-party 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. @@ -304,7 +304,7 @@

Method Details

"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. { # Policy for ingress into ServicePerimeter. IngressPolicies match requests based on `ingress_from` and `ingress_to` stanzas. For an ingress policy to match, both the `ingress_from` and `ingress_to` stanzas must be matched. If an IngressPolicy matches a request, the request is allowed through the perimeter boundary from outside the perimeter. For example, access from the internet can be allowed either based on an AccessLevel or, for traffic hosted on Google Cloud, the project of the source network. For access from private networks, using the project of the hosting network is required. Individual ingress policies can be limited by restricting which services and/or actions they match using the `ingress_to` field. "ingressFrom": { # Defines the conditions under which an IngressPolicy matches a request. Conditions are based on information about the source of the request. The request must satisfy what is defined in `sources` AND identity related fields in order to match. # Defines the conditions on the source of a request causing this IngressPolicy to apply. - "identities": [ # A list of identities that are allowed access through [IngressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For third-party identity, only single identities are supported and other identity types are not supported. The `v1` identities that have the prefix `user`, `group`, `serviceAccount`, and `principal` in https://cloud.google.com/iam/docs/principal-identifiers#v1 are supported. + "identities": [ # A list of identities that are allowed access through [IngressPolicy]. Identities can be an individual user, service account, Google group, or third-party 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 from outside the perimeter. If left unspecified, then members of `identities` field will be allowed access. @@ -357,7 +357,7 @@

Method Details

"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. - "identities": [ # A list of identities that are allowed access through [EgressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For third-party identity, only single identities are supported and other identity types are not supported. The `v1` identities that have the prefix `user`, `group`, `serviceAccount`, and `principal` in https://cloud.google.com/iam/docs/principal-identifiers#v1 are supported. + "identities": [ # A list of identities that are allowed access through [EgressPolicy]. Identities can be an individual user, service account, Google group, or third-party 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. @@ -397,7 +397,7 @@

Method Details

"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. { # Policy for ingress into ServicePerimeter. IngressPolicies match requests based on `ingress_from` and `ingress_to` stanzas. For an ingress policy to match, both the `ingress_from` and `ingress_to` stanzas must be matched. If an IngressPolicy matches a request, the request is allowed through the perimeter boundary from outside the perimeter. For example, access from the internet can be allowed either based on an AccessLevel or, for traffic hosted on Google Cloud, the project of the source network. For access from private networks, using the project of the hosting network is required. Individual ingress policies can be limited by restricting which services and/or actions they match using the `ingress_to` field. "ingressFrom": { # Defines the conditions under which an IngressPolicy matches a request. Conditions are based on information about the source of the request. The request must satisfy what is defined in `sources` AND identity related fields in order to match. # Defines the conditions on the source of a request causing this IngressPolicy to apply. - "identities": [ # A list of identities that are allowed access through [IngressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For third-party identity, only single identities are supported and other identity types are not supported. The `v1` identities that have the prefix `user`, `group`, `serviceAccount`, and `principal` in https://cloud.google.com/iam/docs/principal-identifiers#v1 are supported. + "identities": [ # A list of identities that are allowed access through [IngressPolicy]. Identities can be an individual user, service account, Google group, or third-party 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 from outside the perimeter. If left unspecified, then members of `identities` field will be allowed access. diff --git a/docs/dyn/cloudasset_v1beta1.projects.html b/docs/dyn/cloudasset_v1beta1.projects.html index 3016d77ae4..1ebef9f0e7 100644 --- a/docs/dyn/cloudasset_v1beta1.projects.html +++ b/docs/dyn/cloudasset_v1beta1.projects.html @@ -264,7 +264,7 @@

Method Details

"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. - "identities": [ # A list of identities that are allowed access through [EgressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For third-party identity, only single identities are supported and other identity types are not supported. The `v1` identities that have the prefix `user`, `group`, `serviceAccount`, and `principal` in https://cloud.google.com/iam/docs/principal-identifiers#v1 are supported. + "identities": [ # A list of identities that are allowed access through [EgressPolicy]. Identities can be an individual user, service account, Google group, or third-party 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. @@ -304,7 +304,7 @@

Method Details

"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. { # Policy for ingress into ServicePerimeter. IngressPolicies match requests based on `ingress_from` and `ingress_to` stanzas. For an ingress policy to match, both the `ingress_from` and `ingress_to` stanzas must be matched. If an IngressPolicy matches a request, the request is allowed through the perimeter boundary from outside the perimeter. For example, access from the internet can be allowed either based on an AccessLevel or, for traffic hosted on Google Cloud, the project of the source network. For access from private networks, using the project of the hosting network is required. Individual ingress policies can be limited by restricting which services and/or actions they match using the `ingress_to` field. "ingressFrom": { # Defines the conditions under which an IngressPolicy matches a request. Conditions are based on information about the source of the request. The request must satisfy what is defined in `sources` AND identity related fields in order to match. # Defines the conditions on the source of a request causing this IngressPolicy to apply. - "identities": [ # A list of identities that are allowed access through [IngressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For third-party identity, only single identities are supported and other identity types are not supported. The `v1` identities that have the prefix `user`, `group`, `serviceAccount`, and `principal` in https://cloud.google.com/iam/docs/principal-identifiers#v1 are supported. + "identities": [ # A list of identities that are allowed access through [IngressPolicy]. Identities can be an individual user, service account, Google group, or third-party 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 from outside the perimeter. If left unspecified, then members of `identities` field will be allowed access. @@ -357,7 +357,7 @@

Method Details

"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. - "identities": [ # A list of identities that are allowed access through [EgressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For third-party identity, only single identities are supported and other identity types are not supported. The `v1` identities that have the prefix `user`, `group`, `serviceAccount`, and `principal` in https://cloud.google.com/iam/docs/principal-identifiers#v1 are supported. + "identities": [ # A list of identities that are allowed access through [EgressPolicy]. Identities can be an individual user, service account, Google group, or third-party 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. @@ -397,7 +397,7 @@

Method Details

"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. { # Policy for ingress into ServicePerimeter. IngressPolicies match requests based on `ingress_from` and `ingress_to` stanzas. For an ingress policy to match, both the `ingress_from` and `ingress_to` stanzas must be matched. If an IngressPolicy matches a request, the request is allowed through the perimeter boundary from outside the perimeter. For example, access from the internet can be allowed either based on an AccessLevel or, for traffic hosted on Google Cloud, the project of the source network. For access from private networks, using the project of the hosting network is required. Individual ingress policies can be limited by restricting which services and/or actions they match using the `ingress_to` field. "ingressFrom": { # Defines the conditions under which an IngressPolicy matches a request. Conditions are based on information about the source of the request. The request must satisfy what is defined in `sources` AND identity related fields in order to match. # Defines the conditions on the source of a request causing this IngressPolicy to apply. - "identities": [ # A list of identities that are allowed access through [IngressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For third-party identity, only single identities are supported and other identity types are not supported. The `v1` identities that have the prefix `user`, `group`, `serviceAccount`, and `principal` in https://cloud.google.com/iam/docs/principal-identifiers#v1 are supported. + "identities": [ # A list of identities that are allowed access through [IngressPolicy]. Identities can be an individual user, service account, Google group, or third-party 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 from outside the perimeter. If left unspecified, then members of `identities` field will be allowed access. diff --git a/docs/dyn/cloudasset_v1p5beta1.assets.html b/docs/dyn/cloudasset_v1p5beta1.assets.html index f541d0d6d7..7fb87522e5 100644 --- a/docs/dyn/cloudasset_v1p5beta1.assets.html +++ b/docs/dyn/cloudasset_v1p5beta1.assets.html @@ -269,7 +269,7 @@

Method Details

"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. - "identities": [ # A list of identities that are allowed access through [EgressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For third-party identity, only single identities are supported and other identity types are not supported. The `v1` identities that have the prefix `user`, `group`, `serviceAccount`, and `principal` in https://cloud.google.com/iam/docs/principal-identifiers#v1 are supported. + "identities": [ # A list of identities that are allowed access through [EgressPolicy]. Identities can be an individual user, service account, Google group, or third-party 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. @@ -309,7 +309,7 @@

Method Details

"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. { # Policy for ingress into ServicePerimeter. IngressPolicies match requests based on `ingress_from` and `ingress_to` stanzas. For an ingress policy to match, both the `ingress_from` and `ingress_to` stanzas must be matched. If an IngressPolicy matches a request, the request is allowed through the perimeter boundary from outside the perimeter. For example, access from the internet can be allowed either based on an AccessLevel or, for traffic hosted on Google Cloud, the project of the source network. For access from private networks, using the project of the hosting network is required. Individual ingress policies can be limited by restricting which services and/or actions they match using the `ingress_to` field. "ingressFrom": { # Defines the conditions under which an IngressPolicy matches a request. Conditions are based on information about the source of the request. The request must satisfy what is defined in `sources` AND identity related fields in order to match. # Defines the conditions on the source of a request causing this IngressPolicy to apply. - "identities": [ # A list of identities that are allowed access through [IngressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For third-party identity, only single identities are supported and other identity types are not supported. The `v1` identities that have the prefix `user`, `group`, `serviceAccount`, and `principal` in https://cloud.google.com/iam/docs/principal-identifiers#v1 are supported. + "identities": [ # A list of identities that are allowed access through [IngressPolicy]. Identities can be an individual user, service account, Google group, or third-party 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 from outside the perimeter. If left unspecified, then members of `identities` field will be allowed access. @@ -362,7 +362,7 @@

Method Details

"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. - "identities": [ # A list of identities that are allowed access through [EgressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For third-party identity, only single identities are supported and other identity types are not supported. The `v1` identities that have the prefix `user`, `group`, `serviceAccount`, and `principal` in https://cloud.google.com/iam/docs/principal-identifiers#v1 are supported. + "identities": [ # A list of identities that are allowed access through [EgressPolicy]. Identities can be an individual user, service account, Google group, or third-party 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. @@ -402,7 +402,7 @@

Method Details

"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. { # Policy for ingress into ServicePerimeter. IngressPolicies match requests based on `ingress_from` and `ingress_to` stanzas. For an ingress policy to match, both the `ingress_from` and `ingress_to` stanzas must be matched. If an IngressPolicy matches a request, the request is allowed through the perimeter boundary from outside the perimeter. For example, access from the internet can be allowed either based on an AccessLevel or, for traffic hosted on Google Cloud, the project of the source network. For access from private networks, using the project of the hosting network is required. Individual ingress policies can be limited by restricting which services and/or actions they match using the `ingress_to` field. "ingressFrom": { # Defines the conditions under which an IngressPolicy matches a request. Conditions are based on information about the source of the request. The request must satisfy what is defined in `sources` AND identity related fields in order to match. # Defines the conditions on the source of a request causing this IngressPolicy to apply. - "identities": [ # A list of identities that are allowed access through [IngressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For third-party identity, only single identities are supported and other identity types are not supported. The `v1` identities that have the prefix `user`, `group`, `serviceAccount`, and `principal` in https://cloud.google.com/iam/docs/principal-identifiers#v1 are supported. + "identities": [ # A list of identities that are allowed access through [IngressPolicy]. Identities can be an individual user, service account, Google group, or third-party 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 from outside the perimeter. If left unspecified, then members of `identities` field will be allowed access. diff --git a/docs/dyn/clouddeploy_v1.projects.locations.customTargetTypes.html b/docs/dyn/clouddeploy_v1.projects.locations.customTargetTypes.html index 81b4f9b4ff..463fc7c17d 100644 --- a/docs/dyn/clouddeploy_v1.projects.locations.customTargetTypes.html +++ b/docs/dyn/clouddeploy_v1.projects.locations.customTargetTypes.html @@ -153,6 +153,36 @@

Method Details

"a_key": "A String", }, "name": "A String", # Identifier. Name of the `CustomTargetType`. Format is `projects/{project}/locations/{location}/customTargetTypes/{customTargetType}`. The `customTargetType` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?` + "tasks": { # CustomTargetTasks represents the `CustomTargetType` configuration using tasks. # Optional. Configures render and deploy for the `CustomTargetType` using tasks. + "deploy": { # A Task represents a unit of work that is executed as part of a Job. # Required. The task responsible for deploy operations. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + "render": { # A Task represents a unit of work that is executed as part of a Job. # Optional. The task responsible for render operations. If not provided then Cloud Deploy will perform its default rendering operation. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, "uid": "A String", # Output only. Unique identifier of the `CustomTargetType`. "updateTime": "A String", # Output only. Most recent time at which the `CustomTargetType` was updated. } @@ -279,6 +309,36 @@

Method Details

"a_key": "A String", }, "name": "A String", # Identifier. Name of the `CustomTargetType`. Format is `projects/{project}/locations/{location}/customTargetTypes/{customTargetType}`. The `customTargetType` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?` + "tasks": { # CustomTargetTasks represents the `CustomTargetType` configuration using tasks. # Optional. Configures render and deploy for the `CustomTargetType` using tasks. + "deploy": { # A Task represents a unit of work that is executed as part of a Job. # Required. The task responsible for deploy operations. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + "render": { # A Task represents a unit of work that is executed as part of a Job. # Optional. The task responsible for render operations. If not provided then Cloud Deploy will perform its default rendering operation. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, "uid": "A String", # Output only. Unique identifier of the `CustomTargetType`. "updateTime": "A String", # Output only. Most recent time at which the `CustomTargetType` was updated. }
@@ -389,6 +449,36 @@

Method Details

"a_key": "A String", }, "name": "A String", # Identifier. Name of the `CustomTargetType`. Format is `projects/{project}/locations/{location}/customTargetTypes/{customTargetType}`. The `customTargetType` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?` + "tasks": { # CustomTargetTasks represents the `CustomTargetType` configuration using tasks. # Optional. Configures render and deploy for the `CustomTargetType` using tasks. + "deploy": { # A Task represents a unit of work that is executed as part of a Job. # Required. The task responsible for deploy operations. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + "render": { # A Task represents a unit of work that is executed as part of a Job. # Optional. The task responsible for render operations. If not provided then Cloud Deploy will perform its default rendering operation. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, "uid": "A String", # Output only. Unique identifier of the `CustomTargetType`. "updateTime": "A String", # Output only. Most recent time at which the `CustomTargetType` was updated. }, @@ -460,6 +550,36 @@

Method Details

"a_key": "A String", }, "name": "A String", # Identifier. Name of the `CustomTargetType`. Format is `projects/{project}/locations/{location}/customTargetTypes/{customTargetType}`. The `customTargetType` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?` + "tasks": { # CustomTargetTasks represents the `CustomTargetType` configuration using tasks. # Optional. Configures render and deploy for the `CustomTargetType` using tasks. + "deploy": { # A Task represents a unit of work that is executed as part of a Job. # Required. The task responsible for deploy operations. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + "render": { # A Task represents a unit of work that is executed as part of a Job. # Optional. The task responsible for render operations. If not provided then Cloud Deploy will perform its default rendering operation. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, "uid": "A String", # Output only. Unique identifier of the `CustomTargetType`. "updateTime": "A String", # Output only. Most recent time at which the `CustomTargetType` was updated. } diff --git a/docs/dyn/clouddeploy_v1.projects.locations.deliveryPipelines.html b/docs/dyn/clouddeploy_v1.projects.locations.deliveryPipelines.html index 434d3c5535..8667732ea0 100644 --- a/docs/dyn/clouddeploy_v1.projects.locations.deliveryPipelines.html +++ b/docs/dyn/clouddeploy_v1.projects.locations.deliveryPipelines.html @@ -184,6 +184,42 @@

Method Details

"strategy": { # Strategy contains deployment strategy information. # Optional. The strategy to use for a `Rollout` to this stage. "canary": { # Canary represents the canary deployment strategy. # Optional. Canary deployment strategy provides progressive percentage based deployments to a Target. "canaryDeployment": { # CanaryDeployment represents the canary deployment configuration # Optional. Configures the progressive based deployment for a Target. + "analysis": { # Analysis contains the configuration for the set of analyses to be performed on the target. # Optional. Configuration for the analysis job. If configured, the analysis will run after each percentage deployment. + "customChecks": [ # Optional. Custom analysis checks from 3P metric providers. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Required. The amount of time in minutes the analysis on the target will last. If all analysis checks have successfully completed before the specified duration, the analysis is successful. If a check is still running while the specified duration passes, it will wait for that check to complete to determine if the analysis is successful. The maximum duration is 48 hours. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Optional. Google Cloud - based analysis checks. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, "percentages": [ # Required. The percentage based deployments that will occur as a part of a `Rollout`. List is expected in ascending order and each integer n is 0 <= n < 100. If the GatewayServiceMesh is configured for Kubernetes, then the range for n is 0 <= n <= 100. 42, ], @@ -191,33 +227,169 @@

Method Details

"actions": [ # Optional. A sequence of Skaffold custom actions to invoke during execution of the postdeploy job. "A String", ], + "tasks": [ # Optional. The tasks that will run as a part of the postdeploy job. The tasks are executed sequentially in the order specified. Only one of `actions` or `tasks` can be specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "predeploy": { # Predeploy contains the predeploy job configuration information. # Optional. Configuration for the predeploy job of the first phase. If this is not configured, there will be no predeploy job for this phase. "actions": [ # Optional. A sequence of Skaffold custom actions to invoke during execution of the predeploy job. "A String", ], + "tasks": [ # Optional. The tasks that will run as a part of the predeploy job. The tasks are executed sequentially in the order specified. Only one of `actions` or `tasks` can be specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "verify": True or False, # Optional. Whether to run verify tests after each percentage deployment via `skaffold verify`. + "verifyConfig": { # Verify contains the verify job configuration information. # Optional. Configuration for the verify job. Cannot be set if `verify` is set to true. + "tasks": [ # Optional. The tasks that will run as a part of the verify job. The tasks are executed sequentially in the order specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], + }, }, "customCanaryDeployment": { # CustomCanaryDeployment represents the custom canary deployment configuration. # Optional. Configures the progressive based deployment for a Target, but allows customizing at the phase level where a phase represents each of the percentage deployments. "phaseConfigs": [ # Required. Configuration for each phase in the canary deployment in the order executed. { # PhaseConfig represents the configuration for a phase in the custom canary deployment. + "analysis": { # Analysis contains the configuration for the set of analyses to be performed on the target. # Optional. Configuration for the analysis job of this phase. If this is not configured, there will be no analysis job for this phase. + "customChecks": [ # Optional. Custom analysis checks from 3P metric providers. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Required. The amount of time in minutes the analysis on the target will last. If all analysis checks have successfully completed before the specified duration, the analysis is successful. If a check is still running while the specified duration passes, it will wait for that check to complete to determine if the analysis is successful. The maximum duration is 48 hours. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Optional. Google Cloud - based analysis checks. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, "percentage": 42, # Required. Percentage deployment for the phase. "phaseId": "A String", # Required. The ID to assign to the `Rollout` phase. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. "postdeploy": { # Postdeploy contains the postdeploy job configuration information. # Optional. Configuration for the postdeploy job of this phase. If this is not configured, there will be no postdeploy job for this phase. "actions": [ # Optional. A sequence of Skaffold custom actions to invoke during execution of the postdeploy job. "A String", ], + "tasks": [ # Optional. The tasks that will run as a part of the postdeploy job. The tasks are executed sequentially in the order specified. Only one of `actions` or `tasks` can be specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "predeploy": { # Predeploy contains the predeploy job configuration information. # Optional. Configuration for the predeploy job of this phase. If this is not configured, there will be no predeploy job for this phase. "actions": [ # Optional. A sequence of Skaffold custom actions to invoke during execution of the predeploy job. "A String", ], + "tasks": [ # Optional. The tasks that will run as a part of the predeploy job. The tasks are executed sequentially in the order specified. Only one of `actions` or `tasks` can be specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "profiles": [ # Optional. Skaffold profiles to use when rendering the manifest for this phase. These are in addition to the profiles list specified in the `DeliveryPipeline` stage. "A String", ], "verify": True or False, # Optional. Whether to run verify tests after the deployment via `skaffold verify`. + "verifyConfig": { # Verify contains the verify job configuration information. # Optional. Configuration for the verify job. Cannot be set if `verify` is set to true. + "tasks": [ # Optional. The tasks that will run as a part of the verify job. The tasks are executed sequentially in the order specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], + }, }, ], }, @@ -259,17 +431,103 @@

Method Details

}, }, "standard": { # Standard represents the standard deployment strategy. # Optional. Standard deployment strategy executes a single deploy and allows verifying the deployment. + "analysis": { # Analysis contains the configuration for the set of analyses to be performed on the target. # Optional. Configuration for the analysis job. If this is not configured, the analysis job will not be present. + "customChecks": [ # Optional. Custom analysis checks from 3P metric providers. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Required. The amount of time in minutes the analysis on the target will last. If all analysis checks have successfully completed before the specified duration, the analysis is successful. If a check is still running while the specified duration passes, it will wait for that check to complete to determine if the analysis is successful. The maximum duration is 48 hours. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Optional. Google Cloud - based analysis checks. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, "postdeploy": { # Postdeploy contains the postdeploy job configuration information. # Optional. Configuration for the postdeploy job. If this is not configured, the postdeploy job will not be present. "actions": [ # Optional. A sequence of Skaffold custom actions to invoke during execution of the postdeploy job. "A String", ], + "tasks": [ # Optional. The tasks that will run as a part of the postdeploy job. The tasks are executed sequentially in the order specified. Only one of `actions` or `tasks` can be specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "predeploy": { # Predeploy contains the predeploy job configuration information. # Optional. Configuration for the predeploy job. If this is not configured, the predeploy job will not be present. "actions": [ # Optional. A sequence of Skaffold custom actions to invoke during execution of the predeploy job. "A String", ], + "tasks": [ # Optional. The tasks that will run as a part of the predeploy job. The tasks are executed sequentially in the order specified. Only one of `actions` or `tasks` can be specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "verify": True or False, # Optional. Whether to verify a deployment via `skaffold verify`. + "verifyConfig": { # Verify contains the verify job configuration information. # Optional. Configuration for the verify job. Cannot be set if `verify` is set to true. + "tasks": [ # Optional. The tasks that will run as a part of the verify job. The tasks are executed sequentially in the order specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], + }, }, }, "targetId": "A String", # Optional. The target_id to which this stage points. This field refers exclusively to the last segment of a target name. For example, this field would just be `my-target` (rather than `projects/project/locations/location/targets/my-target`). The location of the `Target` is inferred to be the same as the location of the `DeliveryPipeline` that contains this `Stage`. @@ -414,6 +672,42 @@

Method Details

"strategy": { # Strategy contains deployment strategy information. # Optional. The strategy to use for a `Rollout` to this stage. "canary": { # Canary represents the canary deployment strategy. # Optional. Canary deployment strategy provides progressive percentage based deployments to a Target. "canaryDeployment": { # CanaryDeployment represents the canary deployment configuration # Optional. Configures the progressive based deployment for a Target. + "analysis": { # Analysis contains the configuration for the set of analyses to be performed on the target. # Optional. Configuration for the analysis job. If configured, the analysis will run after each percentage deployment. + "customChecks": [ # Optional. Custom analysis checks from 3P metric providers. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Required. The amount of time in minutes the analysis on the target will last. If all analysis checks have successfully completed before the specified duration, the analysis is successful. If a check is still running while the specified duration passes, it will wait for that check to complete to determine if the analysis is successful. The maximum duration is 48 hours. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Optional. Google Cloud - based analysis checks. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, "percentages": [ # Required. The percentage based deployments that will occur as a part of a `Rollout`. List is expected in ascending order and each integer n is 0 <= n < 100. If the GatewayServiceMesh is configured for Kubernetes, then the range for n is 0 <= n <= 100. 42, ], @@ -421,33 +715,169 @@

Method Details

"actions": [ # Optional. A sequence of Skaffold custom actions to invoke during execution of the postdeploy job. "A String", ], + "tasks": [ # Optional. The tasks that will run as a part of the postdeploy job. The tasks are executed sequentially in the order specified. Only one of `actions` or `tasks` can be specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "predeploy": { # Predeploy contains the predeploy job configuration information. # Optional. Configuration for the predeploy job of the first phase. If this is not configured, there will be no predeploy job for this phase. "actions": [ # Optional. A sequence of Skaffold custom actions to invoke during execution of the predeploy job. "A String", ], + "tasks": [ # Optional. The tasks that will run as a part of the predeploy job. The tasks are executed sequentially in the order specified. Only one of `actions` or `tasks` can be specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "verify": True or False, # Optional. Whether to run verify tests after each percentage deployment via `skaffold verify`. + "verifyConfig": { # Verify contains the verify job configuration information. # Optional. Configuration for the verify job. Cannot be set if `verify` is set to true. + "tasks": [ # Optional. The tasks that will run as a part of the verify job. The tasks are executed sequentially in the order specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], + }, }, "customCanaryDeployment": { # CustomCanaryDeployment represents the custom canary deployment configuration. # Optional. Configures the progressive based deployment for a Target, but allows customizing at the phase level where a phase represents each of the percentage deployments. "phaseConfigs": [ # Required. Configuration for each phase in the canary deployment in the order executed. { # PhaseConfig represents the configuration for a phase in the custom canary deployment. + "analysis": { # Analysis contains the configuration for the set of analyses to be performed on the target. # Optional. Configuration for the analysis job of this phase. If this is not configured, there will be no analysis job for this phase. + "customChecks": [ # Optional. Custom analysis checks from 3P metric providers. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Required. The amount of time in minutes the analysis on the target will last. If all analysis checks have successfully completed before the specified duration, the analysis is successful. If a check is still running while the specified duration passes, it will wait for that check to complete to determine if the analysis is successful. The maximum duration is 48 hours. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Optional. Google Cloud - based analysis checks. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, "percentage": 42, # Required. Percentage deployment for the phase. "phaseId": "A String", # Required. The ID to assign to the `Rollout` phase. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. "postdeploy": { # Postdeploy contains the postdeploy job configuration information. # Optional. Configuration for the postdeploy job of this phase. If this is not configured, there will be no postdeploy job for this phase. "actions": [ # Optional. A sequence of Skaffold custom actions to invoke during execution of the postdeploy job. "A String", ], + "tasks": [ # Optional. The tasks that will run as a part of the postdeploy job. The tasks are executed sequentially in the order specified. Only one of `actions` or `tasks` can be specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "predeploy": { # Predeploy contains the predeploy job configuration information. # Optional. Configuration for the predeploy job of this phase. If this is not configured, there will be no predeploy job for this phase. "actions": [ # Optional. A sequence of Skaffold custom actions to invoke during execution of the predeploy job. "A String", ], + "tasks": [ # Optional. The tasks that will run as a part of the predeploy job. The tasks are executed sequentially in the order specified. Only one of `actions` or `tasks` can be specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "profiles": [ # Optional. Skaffold profiles to use when rendering the manifest for this phase. These are in addition to the profiles list specified in the `DeliveryPipeline` stage. "A String", ], "verify": True or False, # Optional. Whether to run verify tests after the deployment via `skaffold verify`. + "verifyConfig": { # Verify contains the verify job configuration information. # Optional. Configuration for the verify job. Cannot be set if `verify` is set to true. + "tasks": [ # Optional. The tasks that will run as a part of the verify job. The tasks are executed sequentially in the order specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], + }, }, ], }, @@ -489,17 +919,103 @@

Method Details

}, }, "standard": { # Standard represents the standard deployment strategy. # Optional. Standard deployment strategy executes a single deploy and allows verifying the deployment. + "analysis": { # Analysis contains the configuration for the set of analyses to be performed on the target. # Optional. Configuration for the analysis job. If this is not configured, the analysis job will not be present. + "customChecks": [ # Optional. Custom analysis checks from 3P metric providers. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Required. The amount of time in minutes the analysis on the target will last. If all analysis checks have successfully completed before the specified duration, the analysis is successful. If a check is still running while the specified duration passes, it will wait for that check to complete to determine if the analysis is successful. The maximum duration is 48 hours. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Optional. Google Cloud - based analysis checks. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, "postdeploy": { # Postdeploy contains the postdeploy job configuration information. # Optional. Configuration for the postdeploy job. If this is not configured, the postdeploy job will not be present. "actions": [ # Optional. A sequence of Skaffold custom actions to invoke during execution of the postdeploy job. "A String", ], + "tasks": [ # Optional. The tasks that will run as a part of the postdeploy job. The tasks are executed sequentially in the order specified. Only one of `actions` or `tasks` can be specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "predeploy": { # Predeploy contains the predeploy job configuration information. # Optional. Configuration for the predeploy job. If this is not configured, the predeploy job will not be present. "actions": [ # Optional. A sequence of Skaffold custom actions to invoke during execution of the predeploy job. "A String", ], + "tasks": [ # Optional. The tasks that will run as a part of the predeploy job. The tasks are executed sequentially in the order specified. Only one of `actions` or `tasks` can be specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "verify": True or False, # Optional. Whether to verify a deployment via `skaffold verify`. + "verifyConfig": { # Verify contains the verify job configuration information. # Optional. Configuration for the verify job. Cannot be set if `verify` is set to true. + "tasks": [ # Optional. The tasks that will run as a part of the verify job. The tasks are executed sequentially in the order specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], + }, }, }, "targetId": "A String", # Optional. The target_id to which this stage points. This field refers exclusively to the last segment of a target name. For example, this field would just be `my-target` (rather than `projects/project/locations/location/targets/my-target`). The location of the `Target` is inferred to be the same as the location of the `DeliveryPipeline` that contains this `Stage`. @@ -627,6 +1143,42 @@

Method Details

"strategy": { # Strategy contains deployment strategy information. # Optional. The strategy to use for a `Rollout` to this stage. "canary": { # Canary represents the canary deployment strategy. # Optional. Canary deployment strategy provides progressive percentage based deployments to a Target. "canaryDeployment": { # CanaryDeployment represents the canary deployment configuration # Optional. Configures the progressive based deployment for a Target. + "analysis": { # Analysis contains the configuration for the set of analyses to be performed on the target. # Optional. Configuration for the analysis job. If configured, the analysis will run after each percentage deployment. + "customChecks": [ # Optional. Custom analysis checks from 3P metric providers. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Required. The amount of time in minutes the analysis on the target will last. If all analysis checks have successfully completed before the specified duration, the analysis is successful. If a check is still running while the specified duration passes, it will wait for that check to complete to determine if the analysis is successful. The maximum duration is 48 hours. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Optional. Google Cloud - based analysis checks. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, "percentages": [ # Required. The percentage based deployments that will occur as a part of a `Rollout`. List is expected in ascending order and each integer n is 0 <= n < 100. If the GatewayServiceMesh is configured for Kubernetes, then the range for n is 0 <= n <= 100. 42, ], @@ -634,33 +1186,169 @@

Method Details

"actions": [ # Optional. A sequence of Skaffold custom actions to invoke during execution of the postdeploy job. "A String", ], + "tasks": [ # Optional. The tasks that will run as a part of the postdeploy job. The tasks are executed sequentially in the order specified. Only one of `actions` or `tasks` can be specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "predeploy": { # Predeploy contains the predeploy job configuration information. # Optional. Configuration for the predeploy job of the first phase. If this is not configured, there will be no predeploy job for this phase. "actions": [ # Optional. A sequence of Skaffold custom actions to invoke during execution of the predeploy job. "A String", ], + "tasks": [ # Optional. The tasks that will run as a part of the predeploy job. The tasks are executed sequentially in the order specified. Only one of `actions` or `tasks` can be specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "verify": True or False, # Optional. Whether to run verify tests after each percentage deployment via `skaffold verify`. + "verifyConfig": { # Verify contains the verify job configuration information. # Optional. Configuration for the verify job. Cannot be set if `verify` is set to true. + "tasks": [ # Optional. The tasks that will run as a part of the verify job. The tasks are executed sequentially in the order specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], + }, }, "customCanaryDeployment": { # CustomCanaryDeployment represents the custom canary deployment configuration. # Optional. Configures the progressive based deployment for a Target, but allows customizing at the phase level where a phase represents each of the percentage deployments. "phaseConfigs": [ # Required. Configuration for each phase in the canary deployment in the order executed. { # PhaseConfig represents the configuration for a phase in the custom canary deployment. + "analysis": { # Analysis contains the configuration for the set of analyses to be performed on the target. # Optional. Configuration for the analysis job of this phase. If this is not configured, there will be no analysis job for this phase. + "customChecks": [ # Optional. Custom analysis checks from 3P metric providers. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Required. The amount of time in minutes the analysis on the target will last. If all analysis checks have successfully completed before the specified duration, the analysis is successful. If a check is still running while the specified duration passes, it will wait for that check to complete to determine if the analysis is successful. The maximum duration is 48 hours. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Optional. Google Cloud - based analysis checks. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, "percentage": 42, # Required. Percentage deployment for the phase. "phaseId": "A String", # Required. The ID to assign to the `Rollout` phase. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. "postdeploy": { # Postdeploy contains the postdeploy job configuration information. # Optional. Configuration for the postdeploy job of this phase. If this is not configured, there will be no postdeploy job for this phase. "actions": [ # Optional. A sequence of Skaffold custom actions to invoke during execution of the postdeploy job. "A String", ], + "tasks": [ # Optional. The tasks that will run as a part of the postdeploy job. The tasks are executed sequentially in the order specified. Only one of `actions` or `tasks` can be specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "predeploy": { # Predeploy contains the predeploy job configuration information. # Optional. Configuration for the predeploy job of this phase. If this is not configured, there will be no predeploy job for this phase. "actions": [ # Optional. A sequence of Skaffold custom actions to invoke during execution of the predeploy job. "A String", ], + "tasks": [ # Optional. The tasks that will run as a part of the predeploy job. The tasks are executed sequentially in the order specified. Only one of `actions` or `tasks` can be specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "profiles": [ # Optional. Skaffold profiles to use when rendering the manifest for this phase. These are in addition to the profiles list specified in the `DeliveryPipeline` stage. "A String", ], "verify": True or False, # Optional. Whether to run verify tests after the deployment via `skaffold verify`. + "verifyConfig": { # Verify contains the verify job configuration information. # Optional. Configuration for the verify job. Cannot be set if `verify` is set to true. + "tasks": [ # Optional. The tasks that will run as a part of the verify job. The tasks are executed sequentially in the order specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], + }, }, ], }, @@ -702,17 +1390,103 @@

Method Details

}, }, "standard": { # Standard represents the standard deployment strategy. # Optional. Standard deployment strategy executes a single deploy and allows verifying the deployment. + "analysis": { # Analysis contains the configuration for the set of analyses to be performed on the target. # Optional. Configuration for the analysis job. If this is not configured, the analysis job will not be present. + "customChecks": [ # Optional. Custom analysis checks from 3P metric providers. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Required. The amount of time in minutes the analysis on the target will last. If all analysis checks have successfully completed before the specified duration, the analysis is successful. If a check is still running while the specified duration passes, it will wait for that check to complete to determine if the analysis is successful. The maximum duration is 48 hours. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Optional. Google Cloud - based analysis checks. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, "postdeploy": { # Postdeploy contains the postdeploy job configuration information. # Optional. Configuration for the postdeploy job. If this is not configured, the postdeploy job will not be present. "actions": [ # Optional. A sequence of Skaffold custom actions to invoke during execution of the postdeploy job. "A String", ], + "tasks": [ # Optional. The tasks that will run as a part of the postdeploy job. The tasks are executed sequentially in the order specified. Only one of `actions` or `tasks` can be specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "predeploy": { # Predeploy contains the predeploy job configuration information. # Optional. Configuration for the predeploy job. If this is not configured, the predeploy job will not be present. "actions": [ # Optional. A sequence of Skaffold custom actions to invoke during execution of the predeploy job. "A String", ], + "tasks": [ # Optional. The tasks that will run as a part of the predeploy job. The tasks are executed sequentially in the order specified. Only one of `actions` or `tasks` can be specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "verify": True or False, # Optional. Whether to verify a deployment via `skaffold verify`. + "verifyConfig": { # Verify contains the verify job configuration information. # Optional. Configuration for the verify job. Cannot be set if `verify` is set to true. + "tasks": [ # Optional. The tasks that will run as a part of the verify job. The tasks are executed sequentially in the order specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], + }, }, }, "targetId": "A String", # Optional. The target_id to which this stage points. This field refers exclusively to the last segment of a target name. For example, this field would just be `my-target` (rather than `projects/project/locations/location/targets/my-target`). The location of the `Target` is inferred to be the same as the location of the `DeliveryPipeline` that contains this `Stage`. @@ -801,6 +1575,42 @@

Method Details

"strategy": { # Strategy contains deployment strategy information. # Optional. The strategy to use for a `Rollout` to this stage. "canary": { # Canary represents the canary deployment strategy. # Optional. Canary deployment strategy provides progressive percentage based deployments to a Target. "canaryDeployment": { # CanaryDeployment represents the canary deployment configuration # Optional. Configures the progressive based deployment for a Target. + "analysis": { # Analysis contains the configuration for the set of analyses to be performed on the target. # Optional. Configuration for the analysis job. If configured, the analysis will run after each percentage deployment. + "customChecks": [ # Optional. Custom analysis checks from 3P metric providers. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Required. The amount of time in minutes the analysis on the target will last. If all analysis checks have successfully completed before the specified duration, the analysis is successful. If a check is still running while the specified duration passes, it will wait for that check to complete to determine if the analysis is successful. The maximum duration is 48 hours. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Optional. Google Cloud - based analysis checks. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, "percentages": [ # Required. The percentage based deployments that will occur as a part of a `Rollout`. List is expected in ascending order and each integer n is 0 <= n < 100. If the GatewayServiceMesh is configured for Kubernetes, then the range for n is 0 <= n <= 100. 42, ], @@ -808,33 +1618,169 @@

Method Details

"actions": [ # Optional. A sequence of Skaffold custom actions to invoke during execution of the postdeploy job. "A String", ], - }, - "predeploy": { # Predeploy contains the predeploy job configuration information. # Optional. Configuration for the predeploy job of the first phase. If this is not configured, there will be no predeploy job for this phase. - "actions": [ # Optional. A sequence of Skaffold custom actions to invoke during execution of the predeploy job. - "A String", - ], - }, + "tasks": [ # Optional. The tasks that will run as a part of the postdeploy job. The tasks are executed sequentially in the order specified. Only one of `actions` or `tasks` can be specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], + }, + "predeploy": { # Predeploy contains the predeploy job configuration information. # Optional. Configuration for the predeploy job of the first phase. If this is not configured, there will be no predeploy job for this phase. + "actions": [ # Optional. A sequence of Skaffold custom actions to invoke during execution of the predeploy job. + "A String", + ], + "tasks": [ # Optional. The tasks that will run as a part of the predeploy job. The tasks are executed sequentially in the order specified. Only one of `actions` or `tasks` can be specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], + }, "verify": True or False, # Optional. Whether to run verify tests after each percentage deployment via `skaffold verify`. + "verifyConfig": { # Verify contains the verify job configuration information. # Optional. Configuration for the verify job. Cannot be set if `verify` is set to true. + "tasks": [ # Optional. The tasks that will run as a part of the verify job. The tasks are executed sequentially in the order specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], + }, }, "customCanaryDeployment": { # CustomCanaryDeployment represents the custom canary deployment configuration. # Optional. Configures the progressive based deployment for a Target, but allows customizing at the phase level where a phase represents each of the percentage deployments. "phaseConfigs": [ # Required. Configuration for each phase in the canary deployment in the order executed. { # PhaseConfig represents the configuration for a phase in the custom canary deployment. + "analysis": { # Analysis contains the configuration for the set of analyses to be performed on the target. # Optional. Configuration for the analysis job of this phase. If this is not configured, there will be no analysis job for this phase. + "customChecks": [ # Optional. Custom analysis checks from 3P metric providers. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Required. The amount of time in minutes the analysis on the target will last. If all analysis checks have successfully completed before the specified duration, the analysis is successful. If a check is still running while the specified duration passes, it will wait for that check to complete to determine if the analysis is successful. The maximum duration is 48 hours. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Optional. Google Cloud - based analysis checks. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, "percentage": 42, # Required. Percentage deployment for the phase. "phaseId": "A String", # Required. The ID to assign to the `Rollout` phase. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. "postdeploy": { # Postdeploy contains the postdeploy job configuration information. # Optional. Configuration for the postdeploy job of this phase. If this is not configured, there will be no postdeploy job for this phase. "actions": [ # Optional. A sequence of Skaffold custom actions to invoke during execution of the postdeploy job. "A String", ], + "tasks": [ # Optional. The tasks that will run as a part of the postdeploy job. The tasks are executed sequentially in the order specified. Only one of `actions` or `tasks` can be specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "predeploy": { # Predeploy contains the predeploy job configuration information. # Optional. Configuration for the predeploy job of this phase. If this is not configured, there will be no predeploy job for this phase. "actions": [ # Optional. A sequence of Skaffold custom actions to invoke during execution of the predeploy job. "A String", ], + "tasks": [ # Optional. The tasks that will run as a part of the predeploy job. The tasks are executed sequentially in the order specified. Only one of `actions` or `tasks` can be specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "profiles": [ # Optional. Skaffold profiles to use when rendering the manifest for this phase. These are in addition to the profiles list specified in the `DeliveryPipeline` stage. "A String", ], "verify": True or False, # Optional. Whether to run verify tests after the deployment via `skaffold verify`. + "verifyConfig": { # Verify contains the verify job configuration information. # Optional. Configuration for the verify job. Cannot be set if `verify` is set to true. + "tasks": [ # Optional. The tasks that will run as a part of the verify job. The tasks are executed sequentially in the order specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], + }, }, ], }, @@ -876,17 +1822,103 @@

Method Details

}, }, "standard": { # Standard represents the standard deployment strategy. # Optional. Standard deployment strategy executes a single deploy and allows verifying the deployment. + "analysis": { # Analysis contains the configuration for the set of analyses to be performed on the target. # Optional. Configuration for the analysis job. If this is not configured, the analysis job will not be present. + "customChecks": [ # Optional. Custom analysis checks from 3P metric providers. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Required. The amount of time in minutes the analysis on the target will last. If all analysis checks have successfully completed before the specified duration, the analysis is successful. If a check is still running while the specified duration passes, it will wait for that check to complete to determine if the analysis is successful. The maximum duration is 48 hours. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Optional. Google Cloud - based analysis checks. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, "postdeploy": { # Postdeploy contains the postdeploy job configuration information. # Optional. Configuration for the postdeploy job. If this is not configured, the postdeploy job will not be present. "actions": [ # Optional. A sequence of Skaffold custom actions to invoke during execution of the postdeploy job. "A String", ], + "tasks": [ # Optional. The tasks that will run as a part of the postdeploy job. The tasks are executed sequentially in the order specified. Only one of `actions` or `tasks` can be specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "predeploy": { # Predeploy contains the predeploy job configuration information. # Optional. Configuration for the predeploy job. If this is not configured, the predeploy job will not be present. "actions": [ # Optional. A sequence of Skaffold custom actions to invoke during execution of the predeploy job. "A String", ], + "tasks": [ # Optional. The tasks that will run as a part of the predeploy job. The tasks are executed sequentially in the order specified. Only one of `actions` or `tasks` can be specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "verify": True or False, # Optional. Whether to verify a deployment via `skaffold verify`. + "verifyConfig": { # Verify contains the verify job configuration information. # Optional. Configuration for the verify job. Cannot be set if `verify` is set to true. + "tasks": [ # Optional. The tasks that will run as a part of the verify job. The tasks are executed sequentially in the order specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], + }, }, }, "targetId": "A String", # Optional. The target_id to which this stage points. This field refers exclusively to the last segment of a target name. For example, this field would just be `my-target` (rather than `projects/project/locations/location/targets/my-target`). The location of the `Target` is inferred to be the same as the location of the `DeliveryPipeline` that contains this `Stage`. @@ -978,6 +2010,7 @@

Method Details

}, "cloudRun": { # CloudRunMetadata contains information from a Cloud Run deployment. # Output only. The name of the Cloud Run Service that is associated with a `Rollout`. "job": "A String", # Output only. The name of the Cloud Run job that is associated with a `Rollout`. Format is `projects/{project}/locations/{location}/jobs/{job_name}`. + "previousRevision": "A String", # Output only. The previous Cloud Run Revision name associated with a `Rollout`. Only set when a canary deployment strategy is configured. Format for service is projects/{project}/locations/{location}/services/{service}/revisions/{revision}. Format for worker pool is projects/{project}/locations/{location}/workerPools/{workerpool}/revisions/{revision}. "revision": "A String", # Output only. The Cloud Run Revision id associated with a `Rollout`. "service": "A String", # Output only. The name of the Cloud Run Service that is associated with a `Rollout`. Format is `projects/{project}/locations/{location}/services/{service}`. "serviceUrls": [ # Output only. The Cloud Run Service urls that are associated with a `Rollout`. @@ -999,6 +2032,42 @@

Method Details

{ # Job represents an operation for a `Rollout`. "advanceChildRolloutJob": { # An advanceChildRollout Job. # Output only. An advanceChildRollout Job. }, + "analysisJob": { # An analysis Job. # Output only. An analysis Job. + "customChecks": [ # Output only. Custom analysis checks from 3P metric providers that are run as part of the analysis Job. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Output only. The amount of time in minutes the analysis Job will run, up to a maximum of 48 hours. If any check in this Job is still running when the duration ends, the Job keeps running until that check completes. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Output only. Google Cloud - based analysis checks that are run as part of the analysis Job. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, "createChildRolloutJob": { # A createChildRollout Job. # Output only. A createChildRollout Job. }, "deployJob": { # A deploy Job. # Output only. A deploy Job. @@ -1009,15 +2078,63 @@

Method Details

"actions": [ # Output only. The custom actions that the postdeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the postdeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "predeployJob": { # A predeploy Job. # Output only. A predeploy Job. "actions": [ # Output only. The custom actions that the predeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the predeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "skipMessage": "A String", # Output only. Additional information on why the Job was skipped, if available. "state": "A String", # Output only. The current state of the Job. "verifyJob": { # A verify Job. # Output only. A verify Job. + "tasks": [ # Output only. The tasks that are executed as part of the verify Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, }, ], @@ -1025,6 +2142,42 @@

Method Details

{ # Job represents an operation for a `Rollout`. "advanceChildRolloutJob": { # An advanceChildRollout Job. # Output only. An advanceChildRollout Job. }, + "analysisJob": { # An analysis Job. # Output only. An analysis Job. + "customChecks": [ # Output only. Custom analysis checks from 3P metric providers that are run as part of the analysis Job. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Output only. The amount of time in minutes the analysis Job will run, up to a maximum of 48 hours. If any check in this Job is still running when the duration ends, the Job keeps running until that check completes. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Output only. Google Cloud - based analysis checks that are run as part of the analysis Job. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, "createChildRolloutJob": { # A createChildRollout Job. # Output only. A createChildRollout Job. }, "deployJob": { # A deploy Job. # Output only. A deploy Job. @@ -1035,23 +2188,107 @@

Method Details

"actions": [ # Output only. The custom actions that the postdeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the postdeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "predeployJob": { # A predeploy Job. # Output only. A predeploy Job. "actions": [ # Output only. The custom actions that the predeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the predeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "skipMessage": "A String", # Output only. Additional information on why the Job was skipped, if available. "state": "A String", # Output only. The current state of the Job. "verifyJob": { # A verify Job. # Output only. A verify Job. + "tasks": [ # Output only. The tasks that are executed as part of the verify Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, }, ], }, "deploymentJobs": { # Deployment job composition. # Output only. Deployment job composition. - "deployJob": { # Job represents an operation for a `Rollout`. # Output only. The deploy Job. This is the deploy job in the phase. + "analysisJob": { # Job represents an operation for a `Rollout`. # Output only. The analysis Job. Runs after a verify if there is a verify job and the verify job succeeds. "advanceChildRolloutJob": { # An advanceChildRollout Job. # Output only. An advanceChildRollout Job. }, + "analysisJob": { # An analysis Job. # Output only. An analysis Job. + "customChecks": [ # Output only. Custom analysis checks from 3P metric providers that are run as part of the analysis Job. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Output only. The amount of time in minutes the analysis Job will run, up to a maximum of 48 hours. If any check in this Job is still running when the duration ends, the Job keeps running until that check completes. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Output only. Google Cloud - based analysis checks that are run as part of the analysis Job. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, "createChildRolloutJob": { # A createChildRollout Job. # Output only. A createChildRollout Job. }, "deployJob": { # A deploy Job. # Output only. A deploy Job. @@ -1062,20 +2299,104 @@

Method Details

"actions": [ # Output only. The custom actions that the postdeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the postdeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "predeployJob": { # A predeploy Job. # Output only. A predeploy Job. "actions": [ # Output only. The custom actions that the predeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the predeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "skipMessage": "A String", # Output only. Additional information on why the Job was skipped, if available. "state": "A String", # Output only. The current state of the Job. "verifyJob": { # A verify Job. # Output only. A verify Job. + "tasks": [ # Output only. The tasks that are executed as part of the verify Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, }, - "postdeployJob": { # Job represents an operation for a `Rollout`. # Output only. The postdeploy Job, which is the last job on the phase. + "deployJob": { # Job represents an operation for a `Rollout`. # Output only. The deploy Job. This is the deploy job in the phase. "advanceChildRolloutJob": { # An advanceChildRollout Job. # Output only. An advanceChildRollout Job. }, + "analysisJob": { # An analysis Job. # Output only. An analysis Job. + "customChecks": [ # Output only. Custom analysis checks from 3P metric providers that are run as part of the analysis Job. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Output only. The amount of time in minutes the analysis Job will run, up to a maximum of 48 hours. If any check in this Job is still running when the duration ends, the Job keeps running until that check completes. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Output only. Google Cloud - based analysis checks that are run as part of the analysis Job. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, "createChildRolloutJob": { # A createChildRollout Job. # Output only. A createChildRollout Job. }, "deployJob": { # A deploy Job. # Output only. A deploy Job. @@ -1086,20 +2407,104 @@

Method Details

"actions": [ # Output only. The custom actions that the postdeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the postdeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "predeployJob": { # A predeploy Job. # Output only. A predeploy Job. "actions": [ # Output only. The custom actions that the predeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the predeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "skipMessage": "A String", # Output only. Additional information on why the Job was skipped, if available. "state": "A String", # Output only. The current state of the Job. "verifyJob": { # A verify Job. # Output only. A verify Job. + "tasks": [ # Output only. The tasks that are executed as part of the verify Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, }, - "predeployJob": { # Job represents an operation for a `Rollout`. # Output only. The predeploy Job, which is the first job on the phase. + "postdeployJob": { # Job represents an operation for a `Rollout`. # Output only. The postdeploy Job, which is the last job on the phase. "advanceChildRolloutJob": { # An advanceChildRollout Job. # Output only. An advanceChildRollout Job. }, + "analysisJob": { # An analysis Job. # Output only. An analysis Job. + "customChecks": [ # Output only. Custom analysis checks from 3P metric providers that are run as part of the analysis Job. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Output only. The amount of time in minutes the analysis Job will run, up to a maximum of 48 hours. If any check in this Job is still running when the duration ends, the Job keeps running until that check completes. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Output only. Google Cloud - based analysis checks that are run as part of the analysis Job. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, "createChildRolloutJob": { # A createChildRollout Job. # Output only. A createChildRollout Job. }, "deployJob": { # A deploy Job. # Output only. A deploy Job. @@ -1110,20 +2515,212 @@

Method Details

"actions": [ # Output only. The custom actions that the postdeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the postdeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "predeployJob": { # A predeploy Job. # Output only. A predeploy Job. "actions": [ # Output only. The custom actions that the predeploy Job executes. "A String", ], - }, - "skipMessage": "A String", # Output only. Additional information on why the Job was skipped, if available. - "state": "A String", # Output only. The current state of the Job. - "verifyJob": { # A verify Job. # Output only. A verify Job. - }, - }, + "tasks": [ # Output only. The tasks that are executed as part of the predeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], + }, + "skipMessage": "A String", # Output only. Additional information on why the Job was skipped, if available. + "state": "A String", # Output only. The current state of the Job. + "verifyJob": { # A verify Job. # Output only. A verify Job. + "tasks": [ # Output only. The tasks that are executed as part of the verify Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], + }, + }, + "predeployJob": { # Job represents an operation for a `Rollout`. # Output only. The predeploy Job, which is the first job on the phase. + "advanceChildRolloutJob": { # An advanceChildRollout Job. # Output only. An advanceChildRollout Job. + }, + "analysisJob": { # An analysis Job. # Output only. An analysis Job. + "customChecks": [ # Output only. Custom analysis checks from 3P metric providers that are run as part of the analysis Job. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Output only. The amount of time in minutes the analysis Job will run, up to a maximum of 48 hours. If any check in this Job is still running when the duration ends, the Job keeps running until that check completes. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Output only. Google Cloud - based analysis checks that are run as part of the analysis Job. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, + "createChildRolloutJob": { # A createChildRollout Job. # Output only. A createChildRollout Job. + }, + "deployJob": { # A deploy Job. # Output only. A deploy Job. + }, + "id": "A String", # Output only. The ID of the Job. + "jobRun": "A String", # Output only. The name of the `JobRun` responsible for the most recent invocation of this Job. + "postdeployJob": { # A postdeploy Job. # Output only. A postdeploy Job. + "actions": [ # Output only. The custom actions that the postdeploy Job executes. + "A String", + ], + "tasks": [ # Output only. The tasks that are executed as part of the postdeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], + }, + "predeployJob": { # A predeploy Job. # Output only. A predeploy Job. + "actions": [ # Output only. The custom actions that the predeploy Job executes. + "A String", + ], + "tasks": [ # Output only. The tasks that are executed as part of the predeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], + }, + "skipMessage": "A String", # Output only. Additional information on why the Job was skipped, if available. + "state": "A String", # Output only. The current state of the Job. + "verifyJob": { # A verify Job. # Output only. A verify Job. + "tasks": [ # Output only. The tasks that are executed as part of the verify Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], + }, + }, "verifyJob": { # Job represents an operation for a `Rollout`. # Output only. The verify Job. Runs after a deploy if the deploy succeeds. "advanceChildRolloutJob": { # An advanceChildRollout Job. # Output only. An advanceChildRollout Job. }, + "analysisJob": { # An analysis Job. # Output only. An analysis Job. + "customChecks": [ # Output only. Custom analysis checks from 3P metric providers that are run as part of the analysis Job. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Output only. The amount of time in minutes the analysis Job will run, up to a maximum of 48 hours. If any check in this Job is still running when the duration ends, the Job keeps running until that check completes. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Output only. Google Cloud - based analysis checks that are run as part of the analysis Job. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, "createChildRolloutJob": { # A createChildRollout Job. # Output only. A createChildRollout Job. }, "deployJob": { # A deploy Job. # Output only. A deploy Job. @@ -1134,15 +2731,63 @@

Method Details

"actions": [ # Output only. The custom actions that the postdeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the postdeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "predeployJob": { # A predeploy Job. # Output only. A predeploy Job. "actions": [ # Output only. The custom actions that the predeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the predeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "skipMessage": "A String", # Output only. Additional information on why the Job was skipped, if available. "state": "A String", # Output only. The current state of the Job. "verifyJob": { # A verify Job. # Output only. A verify Job. + "tasks": [ # Output only. The tasks that are executed as part of the verify Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, }, }, @@ -1209,6 +2854,7 @@

Method Details

}, "cloudRun": { # CloudRunMetadata contains information from a Cloud Run deployment. # Output only. The name of the Cloud Run Service that is associated with a `Rollout`. "job": "A String", # Output only. The name of the Cloud Run job that is associated with a `Rollout`. Format is `projects/{project}/locations/{location}/jobs/{job_name}`. + "previousRevision": "A String", # Output only. The previous Cloud Run Revision name associated with a `Rollout`. Only set when a canary deployment strategy is configured. Format for service is projects/{project}/locations/{location}/services/{service}/revisions/{revision}. Format for worker pool is projects/{project}/locations/{location}/workerPools/{workerpool}/revisions/{revision}. "revision": "A String", # Output only. The Cloud Run Revision id associated with a `Rollout`. "service": "A String", # Output only. The name of the Cloud Run Service that is associated with a `Rollout`. Format is `projects/{project}/locations/{location}/services/{service}`. "serviceUrls": [ # Output only. The Cloud Run Service urls that are associated with a `Rollout`. @@ -1230,6 +2876,42 @@

Method Details

{ # Job represents an operation for a `Rollout`. "advanceChildRolloutJob": { # An advanceChildRollout Job. # Output only. An advanceChildRollout Job. }, + "analysisJob": { # An analysis Job. # Output only. An analysis Job. + "customChecks": [ # Output only. Custom analysis checks from 3P metric providers that are run as part of the analysis Job. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Output only. The amount of time in minutes the analysis Job will run, up to a maximum of 48 hours. If any check in this Job is still running when the duration ends, the Job keeps running until that check completes. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Output only. Google Cloud - based analysis checks that are run as part of the analysis Job. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, "createChildRolloutJob": { # A createChildRollout Job. # Output only. A createChildRollout Job. }, "deployJob": { # A deploy Job. # Output only. A deploy Job. @@ -1240,15 +2922,63 @@

Method Details

"actions": [ # Output only. The custom actions that the postdeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the postdeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "predeployJob": { # A predeploy Job. # Output only. A predeploy Job. "actions": [ # Output only. The custom actions that the predeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the predeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "skipMessage": "A String", # Output only. Additional information on why the Job was skipped, if available. "state": "A String", # Output only. The current state of the Job. "verifyJob": { # A verify Job. # Output only. A verify Job. + "tasks": [ # Output only. The tasks that are executed as part of the verify Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, }, ], @@ -1256,6 +2986,42 @@

Method Details

{ # Job represents an operation for a `Rollout`. "advanceChildRolloutJob": { # An advanceChildRollout Job. # Output only. An advanceChildRollout Job. }, + "analysisJob": { # An analysis Job. # Output only. An analysis Job. + "customChecks": [ # Output only. Custom analysis checks from 3P metric providers that are run as part of the analysis Job. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Output only. The amount of time in minutes the analysis Job will run, up to a maximum of 48 hours. If any check in this Job is still running when the duration ends, the Job keeps running until that check completes. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Output only. Google Cloud - based analysis checks that are run as part of the analysis Job. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, "createChildRolloutJob": { # A createChildRollout Job. # Output only. A createChildRollout Job. }, "deployJob": { # A deploy Job. # Output only. A deploy Job. @@ -1266,23 +3032,215 @@

Method Details

"actions": [ # Output only. The custom actions that the postdeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the postdeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "predeployJob": { # A predeploy Job. # Output only. A predeploy Job. "actions": [ # Output only. The custom actions that the predeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the predeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "skipMessage": "A String", # Output only. Additional information on why the Job was skipped, if available. "state": "A String", # Output only. The current state of the Job. "verifyJob": { # A verify Job. # Output only. A verify Job. + "tasks": [ # Output only. The tasks that are executed as part of the verify Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, }, ], }, "deploymentJobs": { # Deployment job composition. # Output only. Deployment job composition. + "analysisJob": { # Job represents an operation for a `Rollout`. # Output only. The analysis Job. Runs after a verify if there is a verify job and the verify job succeeds. + "advanceChildRolloutJob": { # An advanceChildRollout Job. # Output only. An advanceChildRollout Job. + }, + "analysisJob": { # An analysis Job. # Output only. An analysis Job. + "customChecks": [ # Output only. Custom analysis checks from 3P metric providers that are run as part of the analysis Job. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Output only. The amount of time in minutes the analysis Job will run, up to a maximum of 48 hours. If any check in this Job is still running when the duration ends, the Job keeps running until that check completes. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Output only. Google Cloud - based analysis checks that are run as part of the analysis Job. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, + "createChildRolloutJob": { # A createChildRollout Job. # Output only. A createChildRollout Job. + }, + "deployJob": { # A deploy Job. # Output only. A deploy Job. + }, + "id": "A String", # Output only. The ID of the Job. + "jobRun": "A String", # Output only. The name of the `JobRun` responsible for the most recent invocation of this Job. + "postdeployJob": { # A postdeploy Job. # Output only. A postdeploy Job. + "actions": [ # Output only. The custom actions that the postdeploy Job executes. + "A String", + ], + "tasks": [ # Output only. The tasks that are executed as part of the postdeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], + }, + "predeployJob": { # A predeploy Job. # Output only. A predeploy Job. + "actions": [ # Output only. The custom actions that the predeploy Job executes. + "A String", + ], + "tasks": [ # Output only. The tasks that are executed as part of the predeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], + }, + "skipMessage": "A String", # Output only. Additional information on why the Job was skipped, if available. + "state": "A String", # Output only. The current state of the Job. + "verifyJob": { # A verify Job. # Output only. A verify Job. + "tasks": [ # Output only. The tasks that are executed as part of the verify Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], + }, + }, "deployJob": { # Job represents an operation for a `Rollout`. # Output only. The deploy Job. This is the deploy job in the phase. "advanceChildRolloutJob": { # An advanceChildRollout Job. # Output only. An advanceChildRollout Job. }, + "analysisJob": { # An analysis Job. # Output only. An analysis Job. + "customChecks": [ # Output only. Custom analysis checks from 3P metric providers that are run as part of the analysis Job. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Output only. The amount of time in minutes the analysis Job will run, up to a maximum of 48 hours. If any check in this Job is still running when the duration ends, the Job keeps running until that check completes. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Output only. Google Cloud - based analysis checks that are run as part of the analysis Job. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, "createChildRolloutJob": { # A createChildRollout Job. # Output only. A createChildRollout Job. }, "deployJob": { # A deploy Job. # Output only. A deploy Job. @@ -1293,20 +3251,104 @@

Method Details

"actions": [ # Output only. The custom actions that the postdeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the postdeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "predeployJob": { # A predeploy Job. # Output only. A predeploy Job. "actions": [ # Output only. The custom actions that the predeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the predeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "skipMessage": "A String", # Output only. Additional information on why the Job was skipped, if available. "state": "A String", # Output only. The current state of the Job. "verifyJob": { # A verify Job. # Output only. A verify Job. + "tasks": [ # Output only. The tasks that are executed as part of the verify Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, }, "postdeployJob": { # Job represents an operation for a `Rollout`. # Output only. The postdeploy Job, which is the last job on the phase. "advanceChildRolloutJob": { # An advanceChildRollout Job. # Output only. An advanceChildRollout Job. }, + "analysisJob": { # An analysis Job. # Output only. An analysis Job. + "customChecks": [ # Output only. Custom analysis checks from 3P metric providers that are run as part of the analysis Job. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Output only. The amount of time in minutes the analysis Job will run, up to a maximum of 48 hours. If any check in this Job is still running when the duration ends, the Job keeps running until that check completes. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Output only. Google Cloud - based analysis checks that are run as part of the analysis Job. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, "createChildRolloutJob": { # A createChildRollout Job. # Output only. A createChildRollout Job. }, "deployJob": { # A deploy Job. # Output only. A deploy Job. @@ -1317,20 +3359,104 @@

Method Details

"actions": [ # Output only. The custom actions that the postdeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the postdeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "predeployJob": { # A predeploy Job. # Output only. A predeploy Job. "actions": [ # Output only. The custom actions that the predeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the predeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "skipMessage": "A String", # Output only. Additional information on why the Job was skipped, if available. "state": "A String", # Output only. The current state of the Job. "verifyJob": { # A verify Job. # Output only. A verify Job. + "tasks": [ # Output only. The tasks that are executed as part of the verify Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, }, "predeployJob": { # Job represents an operation for a `Rollout`. # Output only. The predeploy Job, which is the first job on the phase. "advanceChildRolloutJob": { # An advanceChildRollout Job. # Output only. An advanceChildRollout Job. }, + "analysisJob": { # An analysis Job. # Output only. An analysis Job. + "customChecks": [ # Output only. Custom analysis checks from 3P metric providers that are run as part of the analysis Job. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Output only. The amount of time in minutes the analysis Job will run, up to a maximum of 48 hours. If any check in this Job is still running when the duration ends, the Job keeps running until that check completes. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Output only. Google Cloud - based analysis checks that are run as part of the analysis Job. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, "createChildRolloutJob": { # A createChildRollout Job. # Output only. A createChildRollout Job. }, "deployJob": { # A deploy Job. # Output only. A deploy Job. @@ -1341,20 +3467,104 @@

Method Details

"actions": [ # Output only. The custom actions that the postdeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the postdeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "predeployJob": { # A predeploy Job. # Output only. A predeploy Job. "actions": [ # Output only. The custom actions that the predeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the predeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "skipMessage": "A String", # Output only. Additional information on why the Job was skipped, if available. "state": "A String", # Output only. The current state of the Job. "verifyJob": { # A verify Job. # Output only. A verify Job. + "tasks": [ # Output only. The tasks that are executed as part of the verify Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, }, "verifyJob": { # Job represents an operation for a `Rollout`. # Output only. The verify Job. Runs after a deploy if the deploy succeeds. "advanceChildRolloutJob": { # An advanceChildRollout Job. # Output only. An advanceChildRollout Job. }, + "analysisJob": { # An analysis Job. # Output only. An analysis Job. + "customChecks": [ # Output only. Custom analysis checks from 3P metric providers that are run as part of the analysis Job. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Output only. The amount of time in minutes the analysis Job will run, up to a maximum of 48 hours. If any check in this Job is still running when the duration ends, the Job keeps running until that check completes. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Output only. Google Cloud - based analysis checks that are run as part of the analysis Job. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, "createChildRolloutJob": { # A createChildRollout Job. # Output only. A createChildRollout Job. }, "deployJob": { # A deploy Job. # Output only. A deploy Job. @@ -1365,15 +3575,63 @@

Method Details

"actions": [ # Output only. The custom actions that the postdeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the postdeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "predeployJob": { # A predeploy Job. # Output only. A predeploy Job. "actions": [ # Output only. The custom actions that the predeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the predeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "skipMessage": "A String", # Output only. Additional information on why the Job was skipped, if available. "state": "A String", # Output only. The current state of the Job. "verifyJob": { # A verify Job. # Output only. A verify Job. + "tasks": [ # Output only. The tasks that are executed as part of the verify Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, }, }, diff --git a/docs/dyn/clouddeploy_v1.projects.locations.deliveryPipelines.releases.html b/docs/dyn/clouddeploy_v1.projects.locations.deliveryPipelines.releases.html index a3348172d2..8712df6567 100644 --- a/docs/dyn/clouddeploy_v1.projects.locations.deliveryPipelines.releases.html +++ b/docs/dyn/clouddeploy_v1.projects.locations.deliveryPipelines.releases.html @@ -233,6 +233,36 @@

Method Details

"a_key": "A String", }, "name": "A String", # Identifier. Name of the `CustomTargetType`. Format is `projects/{project}/locations/{location}/customTargetTypes/{customTargetType}`. The `customTargetType` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?` + "tasks": { # CustomTargetTasks represents the `CustomTargetType` configuration using tasks. # Optional. Configures render and deploy for the `CustomTargetType` using tasks. + "deploy": { # A Task represents a unit of work that is executed as part of a Job. # Required. The task responsible for deploy operations. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + "render": { # A Task represents a unit of work that is executed as part of a Job. # Optional. The task responsible for render operations. If not provided then Cloud Deploy will perform its default rendering operation. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, "uid": "A String", # Output only. Unique identifier of the `CustomTargetType`. "updateTime": "A String", # Output only. Most recent time at which the `CustomTargetType` was updated. }, @@ -284,6 +314,42 @@

Method Details

"strategy": { # Strategy contains deployment strategy information. # Optional. The strategy to use for a `Rollout` to this stage. "canary": { # Canary represents the canary deployment strategy. # Optional. Canary deployment strategy provides progressive percentage based deployments to a Target. "canaryDeployment": { # CanaryDeployment represents the canary deployment configuration # Optional. Configures the progressive based deployment for a Target. + "analysis": { # Analysis contains the configuration for the set of analyses to be performed on the target. # Optional. Configuration for the analysis job. If configured, the analysis will run after each percentage deployment. + "customChecks": [ # Optional. Custom analysis checks from 3P metric providers. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Required. The amount of time in minutes the analysis on the target will last. If all analysis checks have successfully completed before the specified duration, the analysis is successful. If a check is still running while the specified duration passes, it will wait for that check to complete to determine if the analysis is successful. The maximum duration is 48 hours. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Optional. Google Cloud - based analysis checks. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, "percentages": [ # Required. The percentage based deployments that will occur as a part of a `Rollout`. List is expected in ascending order and each integer n is 0 <= n < 100. If the GatewayServiceMesh is configured for Kubernetes, then the range for n is 0 <= n <= 100. 42, ], @@ -291,33 +357,169 @@

Method Details

"actions": [ # Optional. A sequence of Skaffold custom actions to invoke during execution of the postdeploy job. "A String", ], + "tasks": [ # Optional. The tasks that will run as a part of the postdeploy job. The tasks are executed sequentially in the order specified. Only one of `actions` or `tasks` can be specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "predeploy": { # Predeploy contains the predeploy job configuration information. # Optional. Configuration for the predeploy job of the first phase. If this is not configured, there will be no predeploy job for this phase. "actions": [ # Optional. A sequence of Skaffold custom actions to invoke during execution of the predeploy job. "A String", ], + "tasks": [ # Optional. The tasks that will run as a part of the predeploy job. The tasks are executed sequentially in the order specified. Only one of `actions` or `tasks` can be specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "verify": True or False, # Optional. Whether to run verify tests after each percentage deployment via `skaffold verify`. + "verifyConfig": { # Verify contains the verify job configuration information. # Optional. Configuration for the verify job. Cannot be set if `verify` is set to true. + "tasks": [ # Optional. The tasks that will run as a part of the verify job. The tasks are executed sequentially in the order specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], + }, }, "customCanaryDeployment": { # CustomCanaryDeployment represents the custom canary deployment configuration. # Optional. Configures the progressive based deployment for a Target, but allows customizing at the phase level where a phase represents each of the percentage deployments. "phaseConfigs": [ # Required. Configuration for each phase in the canary deployment in the order executed. { # PhaseConfig represents the configuration for a phase in the custom canary deployment. + "analysis": { # Analysis contains the configuration for the set of analyses to be performed on the target. # Optional. Configuration for the analysis job of this phase. If this is not configured, there will be no analysis job for this phase. + "customChecks": [ # Optional. Custom analysis checks from 3P metric providers. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Required. The amount of time in minutes the analysis on the target will last. If all analysis checks have successfully completed before the specified duration, the analysis is successful. If a check is still running while the specified duration passes, it will wait for that check to complete to determine if the analysis is successful. The maximum duration is 48 hours. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Optional. Google Cloud - based analysis checks. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, "percentage": 42, # Required. Percentage deployment for the phase. "phaseId": "A String", # Required. The ID to assign to the `Rollout` phase. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. "postdeploy": { # Postdeploy contains the postdeploy job configuration information. # Optional. Configuration for the postdeploy job of this phase. If this is not configured, there will be no postdeploy job for this phase. "actions": [ # Optional. A sequence of Skaffold custom actions to invoke during execution of the postdeploy job. "A String", ], + "tasks": [ # Optional. The tasks that will run as a part of the postdeploy job. The tasks are executed sequentially in the order specified. Only one of `actions` or `tasks` can be specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "predeploy": { # Predeploy contains the predeploy job configuration information. # Optional. Configuration for the predeploy job of this phase. If this is not configured, there will be no predeploy job for this phase. "actions": [ # Optional. A sequence of Skaffold custom actions to invoke during execution of the predeploy job. "A String", ], + "tasks": [ # Optional. The tasks that will run as a part of the predeploy job. The tasks are executed sequentially in the order specified. Only one of `actions` or `tasks` can be specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "profiles": [ # Optional. Skaffold profiles to use when rendering the manifest for this phase. These are in addition to the profiles list specified in the `DeliveryPipeline` stage. "A String", ], "verify": True or False, # Optional. Whether to run verify tests after the deployment via `skaffold verify`. + "verifyConfig": { # Verify contains the verify job configuration information. # Optional. Configuration for the verify job. Cannot be set if `verify` is set to true. + "tasks": [ # Optional. The tasks that will run as a part of the verify job. The tasks are executed sequentially in the order specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], + }, }, ], }, @@ -359,17 +561,103 @@

Method Details

}, }, "standard": { # Standard represents the standard deployment strategy. # Optional. Standard deployment strategy executes a single deploy and allows verifying the deployment. + "analysis": { # Analysis contains the configuration for the set of analyses to be performed on the target. # Optional. Configuration for the analysis job. If this is not configured, the analysis job will not be present. + "customChecks": [ # Optional. Custom analysis checks from 3P metric providers. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Required. The amount of time in minutes the analysis on the target will last. If all analysis checks have successfully completed before the specified duration, the analysis is successful. If a check is still running while the specified duration passes, it will wait for that check to complete to determine if the analysis is successful. The maximum duration is 48 hours. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Optional. Google Cloud - based analysis checks. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, "postdeploy": { # Postdeploy contains the postdeploy job configuration information. # Optional. Configuration for the postdeploy job. If this is not configured, the postdeploy job will not be present. "actions": [ # Optional. A sequence of Skaffold custom actions to invoke during execution of the postdeploy job. "A String", ], + "tasks": [ # Optional. The tasks that will run as a part of the postdeploy job. The tasks are executed sequentially in the order specified. Only one of `actions` or `tasks` can be specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "predeploy": { # Predeploy contains the predeploy job configuration information. # Optional. Configuration for the predeploy job. If this is not configured, the predeploy job will not be present. "actions": [ # Optional. A sequence of Skaffold custom actions to invoke during execution of the predeploy job. "A String", ], + "tasks": [ # Optional. The tasks that will run as a part of the predeploy job. The tasks are executed sequentially in the order specified. Only one of `actions` or `tasks` can be specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "verify": True or False, # Optional. Whether to verify a deployment via `skaffold verify`. + "verifyConfig": { # Verify contains the verify job configuration information. # Optional. Configuration for the verify job. Cannot be set if `verify` is set to true. + "tasks": [ # Optional. The tasks that will run as a part of the verify job. The tasks are executed sequentially in the order specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], + }, }, }, "targetId": "A String", # Optional. The target_id to which this stage points. This field refers exclusively to the last segment of a target name. For example, this field would just be `my-target` (rather than `projects/project/locations/location/targets/my-target`). The location of the `Target` is inferred to be the same as the location of the `DeliveryPipeline` that contains this `Stage`. @@ -415,6 +703,8 @@

Method Details

"failureMessage": "A String", # Output only. Additional information about the render failure, if available. "metadata": { # RenderMetadata includes information associated with a `Release` render. # Output only. Metadata related to the `Release` render for this Target. "cloudRun": { # CloudRunRenderMetadata contains Cloud Run information associated with a `Release` render. # Output only. Metadata associated with rendering for Cloud Run. + "job": "A String", # Output only. The name of the Cloud Run Job in the rendered manifest. Format is `projects/{project}/locations/{location}/jobs/{job}`. + "revision": "A String", # Output only. The name of the Cloud Run Revision in the rendered manifest. Format is `projects/{project}/locations/{location}/services/{service}/revisions/{revision}`. "service": "A String", # Output only. The name of the Cloud Run Service in the rendered manifest. Format is `projects/{project}/locations/{location}/services/{service}`. "workerPool": "A String", # Output only. The name of the Cloud Run Worker Pool in the rendered manifest. Format is `projects/{project}/locations/{location}/workerPools/{worker_pool}`. }, @@ -423,6 +713,11 @@

Method Details

"a_key": "A String", }, }, + "kubernetes": { # KubernetesRenderMetadata contains Kubernetes information associated with a `Release` render. # Output only. Metadata associated with rendering for a Kubernetes cluster (GKE or GKE Enterprise target). + "canaryDeployment": "A String", # Output only. Name of the canary version of the Kubernetes Deployment that will be applied to the GKE cluster. Only set if a canary deployment strategy was configured. + "deployment": "A String", # Output only. Name of the Kubernetes Deployment that will be applied to the GKE cluster. Only set if a single Deployment was provided in the rendered manifest. + "kubernetesNamespace": "A String", # Output only. Namespace the Kubernetes resources will be applied to in the GKE cluster. Only set if applying resources to a single namespace. + }, }, "renderingBuild": "A String", # Output only. The resource name of the Cloud Build `Build` object that is used to render the manifest for this target. Format is `projects/{project}/locations/{location}/builds/{build}`. "renderingState": "A String", # Output only. Current state of the render operation for this Target. @@ -662,6 +957,36 @@

Method Details

"a_key": "A String", }, "name": "A String", # Identifier. Name of the `CustomTargetType`. Format is `projects/{project}/locations/{location}/customTargetTypes/{customTargetType}`. The `customTargetType` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?` + "tasks": { # CustomTargetTasks represents the `CustomTargetType` configuration using tasks. # Optional. Configures render and deploy for the `CustomTargetType` using tasks. + "deploy": { # A Task represents a unit of work that is executed as part of a Job. # Required. The task responsible for deploy operations. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + "render": { # A Task represents a unit of work that is executed as part of a Job. # Optional. The task responsible for render operations. If not provided then Cloud Deploy will perform its default rendering operation. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, "uid": "A String", # Output only. Unique identifier of the `CustomTargetType`. "updateTime": "A String", # Output only. Most recent time at which the `CustomTargetType` was updated. }, @@ -713,6 +1038,42 @@

Method Details

"strategy": { # Strategy contains deployment strategy information. # Optional. The strategy to use for a `Rollout` to this stage. "canary": { # Canary represents the canary deployment strategy. # Optional. Canary deployment strategy provides progressive percentage based deployments to a Target. "canaryDeployment": { # CanaryDeployment represents the canary deployment configuration # Optional. Configures the progressive based deployment for a Target. + "analysis": { # Analysis contains the configuration for the set of analyses to be performed on the target. # Optional. Configuration for the analysis job. If configured, the analysis will run after each percentage deployment. + "customChecks": [ # Optional. Custom analysis checks from 3P metric providers. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Required. The amount of time in minutes the analysis on the target will last. If all analysis checks have successfully completed before the specified duration, the analysis is successful. If a check is still running while the specified duration passes, it will wait for that check to complete to determine if the analysis is successful. The maximum duration is 48 hours. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Optional. Google Cloud - based analysis checks. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, "percentages": [ # Required. The percentage based deployments that will occur as a part of a `Rollout`. List is expected in ascending order and each integer n is 0 <= n < 100. If the GatewayServiceMesh is configured for Kubernetes, then the range for n is 0 <= n <= 100. 42, ], @@ -720,33 +1081,169 @@

Method Details

"actions": [ # Optional. A sequence of Skaffold custom actions to invoke during execution of the postdeploy job. "A String", ], + "tasks": [ # Optional. The tasks that will run as a part of the postdeploy job. The tasks are executed sequentially in the order specified. Only one of `actions` or `tasks` can be specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "predeploy": { # Predeploy contains the predeploy job configuration information. # Optional. Configuration for the predeploy job of the first phase. If this is not configured, there will be no predeploy job for this phase. "actions": [ # Optional. A sequence of Skaffold custom actions to invoke during execution of the predeploy job. "A String", ], + "tasks": [ # Optional. The tasks that will run as a part of the predeploy job. The tasks are executed sequentially in the order specified. Only one of `actions` or `tasks` can be specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "verify": True or False, # Optional. Whether to run verify tests after each percentage deployment via `skaffold verify`. + "verifyConfig": { # Verify contains the verify job configuration information. # Optional. Configuration for the verify job. Cannot be set if `verify` is set to true. + "tasks": [ # Optional. The tasks that will run as a part of the verify job. The tasks are executed sequentially in the order specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], + }, }, "customCanaryDeployment": { # CustomCanaryDeployment represents the custom canary deployment configuration. # Optional. Configures the progressive based deployment for a Target, but allows customizing at the phase level where a phase represents each of the percentage deployments. "phaseConfigs": [ # Required. Configuration for each phase in the canary deployment in the order executed. { # PhaseConfig represents the configuration for a phase in the custom canary deployment. + "analysis": { # Analysis contains the configuration for the set of analyses to be performed on the target. # Optional. Configuration for the analysis job of this phase. If this is not configured, there will be no analysis job for this phase. + "customChecks": [ # Optional. Custom analysis checks from 3P metric providers. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Required. The amount of time in minutes the analysis on the target will last. If all analysis checks have successfully completed before the specified duration, the analysis is successful. If a check is still running while the specified duration passes, it will wait for that check to complete to determine if the analysis is successful. The maximum duration is 48 hours. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Optional. Google Cloud - based analysis checks. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, "percentage": 42, # Required. Percentage deployment for the phase. "phaseId": "A String", # Required. The ID to assign to the `Rollout` phase. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. "postdeploy": { # Postdeploy contains the postdeploy job configuration information. # Optional. Configuration for the postdeploy job of this phase. If this is not configured, there will be no postdeploy job for this phase. "actions": [ # Optional. A sequence of Skaffold custom actions to invoke during execution of the postdeploy job. "A String", ], + "tasks": [ # Optional. The tasks that will run as a part of the postdeploy job. The tasks are executed sequentially in the order specified. Only one of `actions` or `tasks` can be specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "predeploy": { # Predeploy contains the predeploy job configuration information. # Optional. Configuration for the predeploy job of this phase. If this is not configured, there will be no predeploy job for this phase. "actions": [ # Optional. A sequence of Skaffold custom actions to invoke during execution of the predeploy job. "A String", ], + "tasks": [ # Optional. The tasks that will run as a part of the predeploy job. The tasks are executed sequentially in the order specified. Only one of `actions` or `tasks` can be specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "profiles": [ # Optional. Skaffold profiles to use when rendering the manifest for this phase. These are in addition to the profiles list specified in the `DeliveryPipeline` stage. "A String", ], "verify": True or False, # Optional. Whether to run verify tests after the deployment via `skaffold verify`. + "verifyConfig": { # Verify contains the verify job configuration information. # Optional. Configuration for the verify job. Cannot be set if `verify` is set to true. + "tasks": [ # Optional. The tasks that will run as a part of the verify job. The tasks are executed sequentially in the order specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], + }, }, ], }, @@ -788,17 +1285,103 @@

Method Details

}, }, "standard": { # Standard represents the standard deployment strategy. # Optional. Standard deployment strategy executes a single deploy and allows verifying the deployment. + "analysis": { # Analysis contains the configuration for the set of analyses to be performed on the target. # Optional. Configuration for the analysis job. If this is not configured, the analysis job will not be present. + "customChecks": [ # Optional. Custom analysis checks from 3P metric providers. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Required. The amount of time in minutes the analysis on the target will last. If all analysis checks have successfully completed before the specified duration, the analysis is successful. If a check is still running while the specified duration passes, it will wait for that check to complete to determine if the analysis is successful. The maximum duration is 48 hours. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Optional. Google Cloud - based analysis checks. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, "postdeploy": { # Postdeploy contains the postdeploy job configuration information. # Optional. Configuration for the postdeploy job. If this is not configured, the postdeploy job will not be present. "actions": [ # Optional. A sequence of Skaffold custom actions to invoke during execution of the postdeploy job. "A String", ], + "tasks": [ # Optional. The tasks that will run as a part of the postdeploy job. The tasks are executed sequentially in the order specified. Only one of `actions` or `tasks` can be specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "predeploy": { # Predeploy contains the predeploy job configuration information. # Optional. Configuration for the predeploy job. If this is not configured, the predeploy job will not be present. "actions": [ # Optional. A sequence of Skaffold custom actions to invoke during execution of the predeploy job. "A String", ], + "tasks": [ # Optional. The tasks that will run as a part of the predeploy job. The tasks are executed sequentially in the order specified. Only one of `actions` or `tasks` can be specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "verify": True or False, # Optional. Whether to verify a deployment via `skaffold verify`. + "verifyConfig": { # Verify contains the verify job configuration information. # Optional. Configuration for the verify job. Cannot be set if `verify` is set to true. + "tasks": [ # Optional. The tasks that will run as a part of the verify job. The tasks are executed sequentially in the order specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], + }, }, }, "targetId": "A String", # Optional. The target_id to which this stage points. This field refers exclusively to the last segment of a target name. For example, this field would just be `my-target` (rather than `projects/project/locations/location/targets/my-target`). The location of the `Target` is inferred to be the same as the location of the `DeliveryPipeline` that contains this `Stage`. @@ -844,6 +1427,8 @@

Method Details

"failureMessage": "A String", # Output only. Additional information about the render failure, if available. "metadata": { # RenderMetadata includes information associated with a `Release` render. # Output only. Metadata related to the `Release` render for this Target. "cloudRun": { # CloudRunRenderMetadata contains Cloud Run information associated with a `Release` render. # Output only. Metadata associated with rendering for Cloud Run. + "job": "A String", # Output only. The name of the Cloud Run Job in the rendered manifest. Format is `projects/{project}/locations/{location}/jobs/{job}`. + "revision": "A String", # Output only. The name of the Cloud Run Revision in the rendered manifest. Format is `projects/{project}/locations/{location}/services/{service}/revisions/{revision}`. "service": "A String", # Output only. The name of the Cloud Run Service in the rendered manifest. Format is `projects/{project}/locations/{location}/services/{service}`. "workerPool": "A String", # Output only. The name of the Cloud Run Worker Pool in the rendered manifest. Format is `projects/{project}/locations/{location}/workerPools/{worker_pool}`. }, @@ -852,6 +1437,11 @@

Method Details

"a_key": "A String", }, }, + "kubernetes": { # KubernetesRenderMetadata contains Kubernetes information associated with a `Release` render. # Output only. Metadata associated with rendering for a Kubernetes cluster (GKE or GKE Enterprise target). + "canaryDeployment": "A String", # Output only. Name of the canary version of the Kubernetes Deployment that will be applied to the GKE cluster. Only set if a canary deployment strategy was configured. + "deployment": "A String", # Output only. Name of the Kubernetes Deployment that will be applied to the GKE cluster. Only set if a single Deployment was provided in the rendered manifest. + "kubernetesNamespace": "A String", # Output only. Namespace the Kubernetes resources will be applied to in the GKE cluster. Only set if applying resources to a single namespace. + }, }, "renderingBuild": "A String", # Output only. The resource name of the Cloud Build `Build` object that is used to render the manifest for this target. Format is `projects/{project}/locations/{location}/builds/{build}`. "renderingState": "A String", # Output only. Current state of the render operation for this Target. @@ -1066,6 +1656,36 @@

Method Details

"a_key": "A String", }, "name": "A String", # Identifier. Name of the `CustomTargetType`. Format is `projects/{project}/locations/{location}/customTargetTypes/{customTargetType}`. The `customTargetType` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?` + "tasks": { # CustomTargetTasks represents the `CustomTargetType` configuration using tasks. # Optional. Configures render and deploy for the `CustomTargetType` using tasks. + "deploy": { # A Task represents a unit of work that is executed as part of a Job. # Required. The task responsible for deploy operations. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + "render": { # A Task represents a unit of work that is executed as part of a Job. # Optional. The task responsible for render operations. If not provided then Cloud Deploy will perform its default rendering operation. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, "uid": "A String", # Output only. Unique identifier of the `CustomTargetType`. "updateTime": "A String", # Output only. Most recent time at which the `CustomTargetType` was updated. }, @@ -1117,6 +1737,42 @@

Method Details

"strategy": { # Strategy contains deployment strategy information. # Optional. The strategy to use for a `Rollout` to this stage. "canary": { # Canary represents the canary deployment strategy. # Optional. Canary deployment strategy provides progressive percentage based deployments to a Target. "canaryDeployment": { # CanaryDeployment represents the canary deployment configuration # Optional. Configures the progressive based deployment for a Target. + "analysis": { # Analysis contains the configuration for the set of analyses to be performed on the target. # Optional. Configuration for the analysis job. If configured, the analysis will run after each percentage deployment. + "customChecks": [ # Optional. Custom analysis checks from 3P metric providers. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Required. The amount of time in minutes the analysis on the target will last. If all analysis checks have successfully completed before the specified duration, the analysis is successful. If a check is still running while the specified duration passes, it will wait for that check to complete to determine if the analysis is successful. The maximum duration is 48 hours. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Optional. Google Cloud - based analysis checks. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, "percentages": [ # Required. The percentage based deployments that will occur as a part of a `Rollout`. List is expected in ascending order and each integer n is 0 <= n < 100. If the GatewayServiceMesh is configured for Kubernetes, then the range for n is 0 <= n <= 100. 42, ], @@ -1124,33 +1780,169 @@

Method Details

"actions": [ # Optional. A sequence of Skaffold custom actions to invoke during execution of the postdeploy job. "A String", ], + "tasks": [ # Optional. The tasks that will run as a part of the postdeploy job. The tasks are executed sequentially in the order specified. Only one of `actions` or `tasks` can be specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "predeploy": { # Predeploy contains the predeploy job configuration information. # Optional. Configuration for the predeploy job of the first phase. If this is not configured, there will be no predeploy job for this phase. "actions": [ # Optional. A sequence of Skaffold custom actions to invoke during execution of the predeploy job. "A String", ], + "tasks": [ # Optional. The tasks that will run as a part of the predeploy job. The tasks are executed sequentially in the order specified. Only one of `actions` or `tasks` can be specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "verify": True or False, # Optional. Whether to run verify tests after each percentage deployment via `skaffold verify`. + "verifyConfig": { # Verify contains the verify job configuration information. # Optional. Configuration for the verify job. Cannot be set if `verify` is set to true. + "tasks": [ # Optional. The tasks that will run as a part of the verify job. The tasks are executed sequentially in the order specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], + }, }, "customCanaryDeployment": { # CustomCanaryDeployment represents the custom canary deployment configuration. # Optional. Configures the progressive based deployment for a Target, but allows customizing at the phase level where a phase represents each of the percentage deployments. "phaseConfigs": [ # Required. Configuration for each phase in the canary deployment in the order executed. { # PhaseConfig represents the configuration for a phase in the custom canary deployment. + "analysis": { # Analysis contains the configuration for the set of analyses to be performed on the target. # Optional. Configuration for the analysis job of this phase. If this is not configured, there will be no analysis job for this phase. + "customChecks": [ # Optional. Custom analysis checks from 3P metric providers. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Required. The amount of time in minutes the analysis on the target will last. If all analysis checks have successfully completed before the specified duration, the analysis is successful. If a check is still running while the specified duration passes, it will wait for that check to complete to determine if the analysis is successful. The maximum duration is 48 hours. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Optional. Google Cloud - based analysis checks. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, "percentage": 42, # Required. Percentage deployment for the phase. "phaseId": "A String", # Required. The ID to assign to the `Rollout` phase. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. "postdeploy": { # Postdeploy contains the postdeploy job configuration information. # Optional. Configuration for the postdeploy job of this phase. If this is not configured, there will be no postdeploy job for this phase. "actions": [ # Optional. A sequence of Skaffold custom actions to invoke during execution of the postdeploy job. "A String", ], + "tasks": [ # Optional. The tasks that will run as a part of the postdeploy job. The tasks are executed sequentially in the order specified. Only one of `actions` or `tasks` can be specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "predeploy": { # Predeploy contains the predeploy job configuration information. # Optional. Configuration for the predeploy job of this phase. If this is not configured, there will be no predeploy job for this phase. "actions": [ # Optional. A sequence of Skaffold custom actions to invoke during execution of the predeploy job. "A String", ], + "tasks": [ # Optional. The tasks that will run as a part of the predeploy job. The tasks are executed sequentially in the order specified. Only one of `actions` or `tasks` can be specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "profiles": [ # Optional. Skaffold profiles to use when rendering the manifest for this phase. These are in addition to the profiles list specified in the `DeliveryPipeline` stage. "A String", ], "verify": True or False, # Optional. Whether to run verify tests after the deployment via `skaffold verify`. + "verifyConfig": { # Verify contains the verify job configuration information. # Optional. Configuration for the verify job. Cannot be set if `verify` is set to true. + "tasks": [ # Optional. The tasks that will run as a part of the verify job. The tasks are executed sequentially in the order specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], + }, }, ], }, @@ -1192,17 +1984,103 @@

Method Details

}, }, "standard": { # Standard represents the standard deployment strategy. # Optional. Standard deployment strategy executes a single deploy and allows verifying the deployment. + "analysis": { # Analysis contains the configuration for the set of analyses to be performed on the target. # Optional. Configuration for the analysis job. If this is not configured, the analysis job will not be present. + "customChecks": [ # Optional. Custom analysis checks from 3P metric providers. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Required. The amount of time in minutes the analysis on the target will last. If all analysis checks have successfully completed before the specified duration, the analysis is successful. If a check is still running while the specified duration passes, it will wait for that check to complete to determine if the analysis is successful. The maximum duration is 48 hours. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Optional. Google Cloud - based analysis checks. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, "postdeploy": { # Postdeploy contains the postdeploy job configuration information. # Optional. Configuration for the postdeploy job. If this is not configured, the postdeploy job will not be present. "actions": [ # Optional. A sequence of Skaffold custom actions to invoke during execution of the postdeploy job. "A String", ], + "tasks": [ # Optional. The tasks that will run as a part of the postdeploy job. The tasks are executed sequentially in the order specified. Only one of `actions` or `tasks` can be specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "predeploy": { # Predeploy contains the predeploy job configuration information. # Optional. Configuration for the predeploy job. If this is not configured, the predeploy job will not be present. "actions": [ # Optional. A sequence of Skaffold custom actions to invoke during execution of the predeploy job. "A String", ], + "tasks": [ # Optional. The tasks that will run as a part of the predeploy job. The tasks are executed sequentially in the order specified. Only one of `actions` or `tasks` can be specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "verify": True or False, # Optional. Whether to verify a deployment via `skaffold verify`. + "verifyConfig": { # Verify contains the verify job configuration information. # Optional. Configuration for the verify job. Cannot be set if `verify` is set to true. + "tasks": [ # Optional. The tasks that will run as a part of the verify job. The tasks are executed sequentially in the order specified. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], + }, }, }, "targetId": "A String", # Optional. The target_id to which this stage points. This field refers exclusively to the last segment of a target name. For example, this field would just be `my-target` (rather than `projects/project/locations/location/targets/my-target`). The location of the `Target` is inferred to be the same as the location of the `DeliveryPipeline` that contains this `Stage`. @@ -1248,6 +2126,8 @@

Method Details

"failureMessage": "A String", # Output only. Additional information about the render failure, if available. "metadata": { # RenderMetadata includes information associated with a `Release` render. # Output only. Metadata related to the `Release` render for this Target. "cloudRun": { # CloudRunRenderMetadata contains Cloud Run information associated with a `Release` render. # Output only. Metadata associated with rendering for Cloud Run. + "job": "A String", # Output only. The name of the Cloud Run Job in the rendered manifest. Format is `projects/{project}/locations/{location}/jobs/{job}`. + "revision": "A String", # Output only. The name of the Cloud Run Revision in the rendered manifest. Format is `projects/{project}/locations/{location}/services/{service}/revisions/{revision}`. "service": "A String", # Output only. The name of the Cloud Run Service in the rendered manifest. Format is `projects/{project}/locations/{location}/services/{service}`. "workerPool": "A String", # Output only. The name of the Cloud Run Worker Pool in the rendered manifest. Format is `projects/{project}/locations/{location}/workerPools/{worker_pool}`. }, @@ -1256,6 +2136,11 @@

Method Details

"a_key": "A String", }, }, + "kubernetes": { # KubernetesRenderMetadata contains Kubernetes information associated with a `Release` render. # Output only. Metadata associated with rendering for a Kubernetes cluster (GKE or GKE Enterprise target). + "canaryDeployment": "A String", # Output only. Name of the canary version of the Kubernetes Deployment that will be applied to the GKE cluster. Only set if a canary deployment strategy was configured. + "deployment": "A String", # Output only. Name of the Kubernetes Deployment that will be applied to the GKE cluster. Only set if a single Deployment was provided in the rendered manifest. + "kubernetesNamespace": "A String", # Output only. Namespace the Kubernetes resources will be applied to in the GKE cluster. Only set if applying resources to a single namespace. + }, }, "renderingBuild": "A String", # Output only. The resource name of the Cloud Build `Build` object that is used to render the manifest for this target. Format is `projects/{project}/locations/{location}/builds/{build}`. "renderingState": "A String", # Output only. Current state of the render operation for this Target. diff --git a/docs/dyn/clouddeploy_v1.projects.locations.deliveryPipelines.releases.rollouts.html b/docs/dyn/clouddeploy_v1.projects.locations.deliveryPipelines.releases.rollouts.html index 8dd49ce5ca..7bd2324c7d 100644 --- a/docs/dyn/clouddeploy_v1.projects.locations.deliveryPipelines.releases.rollouts.html +++ b/docs/dyn/clouddeploy_v1.projects.locations.deliveryPipelines.releases.rollouts.html @@ -239,6 +239,7 @@

Method Details

}, "cloudRun": { # CloudRunMetadata contains information from a Cloud Run deployment. # Output only. The name of the Cloud Run Service that is associated with a `Rollout`. "job": "A String", # Output only. The name of the Cloud Run job that is associated with a `Rollout`. Format is `projects/{project}/locations/{location}/jobs/{job_name}`. + "previousRevision": "A String", # Output only. The previous Cloud Run Revision name associated with a `Rollout`. Only set when a canary deployment strategy is configured. Format for service is projects/{project}/locations/{location}/services/{service}/revisions/{revision}. Format for worker pool is projects/{project}/locations/{location}/workerPools/{workerpool}/revisions/{revision}. "revision": "A String", # Output only. The Cloud Run Revision id associated with a `Rollout`. "service": "A String", # Output only. The name of the Cloud Run Service that is associated with a `Rollout`. Format is `projects/{project}/locations/{location}/services/{service}`. "serviceUrls": [ # Output only. The Cloud Run Service urls that are associated with a `Rollout`. @@ -260,6 +261,42 @@

Method Details

{ # Job represents an operation for a `Rollout`. "advanceChildRolloutJob": { # An advanceChildRollout Job. # Output only. An advanceChildRollout Job. }, + "analysisJob": { # An analysis Job. # Output only. An analysis Job. + "customChecks": [ # Output only. Custom analysis checks from 3P metric providers that are run as part of the analysis Job. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Output only. The amount of time in minutes the analysis Job will run, up to a maximum of 48 hours. If any check in this Job is still running when the duration ends, the Job keeps running until that check completes. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Output only. Google Cloud - based analysis checks that are run as part of the analysis Job. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, "createChildRolloutJob": { # A createChildRollout Job. # Output only. A createChildRollout Job. }, "deployJob": { # A deploy Job. # Output only. A deploy Job. @@ -270,15 +307,63 @@

Method Details

"actions": [ # Output only. The custom actions that the postdeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the postdeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "predeployJob": { # A predeploy Job. # Output only. A predeploy Job. "actions": [ # Output only. The custom actions that the predeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the predeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "skipMessage": "A String", # Output only. Additional information on why the Job was skipped, if available. "state": "A String", # Output only. The current state of the Job. "verifyJob": { # A verify Job. # Output only. A verify Job. + "tasks": [ # Output only. The tasks that are executed as part of the verify Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, }, ], @@ -286,6 +371,42 @@

Method Details

{ # Job represents an operation for a `Rollout`. "advanceChildRolloutJob": { # An advanceChildRollout Job. # Output only. An advanceChildRollout Job. }, + "analysisJob": { # An analysis Job. # Output only. An analysis Job. + "customChecks": [ # Output only. Custom analysis checks from 3P metric providers that are run as part of the analysis Job. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Output only. The amount of time in minutes the analysis Job will run, up to a maximum of 48 hours. If any check in this Job is still running when the duration ends, the Job keeps running until that check completes. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Output only. Google Cloud - based analysis checks that are run as part of the analysis Job. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, "createChildRolloutJob": { # A createChildRollout Job. # Output only. A createChildRollout Job. }, "deployJob": { # A deploy Job. # Output only. A deploy Job. @@ -296,23 +417,215 @@

Method Details

"actions": [ # Output only. The custom actions that the postdeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the postdeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "predeployJob": { # A predeploy Job. # Output only. A predeploy Job. "actions": [ # Output only. The custom actions that the predeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the predeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "skipMessage": "A String", # Output only. Additional information on why the Job was skipped, if available. "state": "A String", # Output only. The current state of the Job. "verifyJob": { # A verify Job. # Output only. A verify Job. + "tasks": [ # Output only. The tasks that are executed as part of the verify Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, }, ], }, "deploymentJobs": { # Deployment job composition. # Output only. Deployment job composition. + "analysisJob": { # Job represents an operation for a `Rollout`. # Output only. The analysis Job. Runs after a verify if there is a verify job and the verify job succeeds. + "advanceChildRolloutJob": { # An advanceChildRollout Job. # Output only. An advanceChildRollout Job. + }, + "analysisJob": { # An analysis Job. # Output only. An analysis Job. + "customChecks": [ # Output only. Custom analysis checks from 3P metric providers that are run as part of the analysis Job. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Output only. The amount of time in minutes the analysis Job will run, up to a maximum of 48 hours. If any check in this Job is still running when the duration ends, the Job keeps running until that check completes. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Output only. Google Cloud - based analysis checks that are run as part of the analysis Job. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, + "createChildRolloutJob": { # A createChildRollout Job. # Output only. A createChildRollout Job. + }, + "deployJob": { # A deploy Job. # Output only. A deploy Job. + }, + "id": "A String", # Output only. The ID of the Job. + "jobRun": "A String", # Output only. The name of the `JobRun` responsible for the most recent invocation of this Job. + "postdeployJob": { # A postdeploy Job. # Output only. A postdeploy Job. + "actions": [ # Output only. The custom actions that the postdeploy Job executes. + "A String", + ], + "tasks": [ # Output only. The tasks that are executed as part of the postdeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], + }, + "predeployJob": { # A predeploy Job. # Output only. A predeploy Job. + "actions": [ # Output only. The custom actions that the predeploy Job executes. + "A String", + ], + "tasks": [ # Output only. The tasks that are executed as part of the predeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], + }, + "skipMessage": "A String", # Output only. Additional information on why the Job was skipped, if available. + "state": "A String", # Output only. The current state of the Job. + "verifyJob": { # A verify Job. # Output only. A verify Job. + "tasks": [ # Output only. The tasks that are executed as part of the verify Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], + }, + }, "deployJob": { # Job represents an operation for a `Rollout`. # Output only. The deploy Job. This is the deploy job in the phase. "advanceChildRolloutJob": { # An advanceChildRollout Job. # Output only. An advanceChildRollout Job. }, + "analysisJob": { # An analysis Job. # Output only. An analysis Job. + "customChecks": [ # Output only. Custom analysis checks from 3P metric providers that are run as part of the analysis Job. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Output only. The amount of time in minutes the analysis Job will run, up to a maximum of 48 hours. If any check in this Job is still running when the duration ends, the Job keeps running until that check completes. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Output only. Google Cloud - based analysis checks that are run as part of the analysis Job. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, "createChildRolloutJob": { # A createChildRollout Job. # Output only. A createChildRollout Job. }, "deployJob": { # A deploy Job. # Output only. A deploy Job. @@ -323,20 +636,104 @@

Method Details

"actions": [ # Output only. The custom actions that the postdeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the postdeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "predeployJob": { # A predeploy Job. # Output only. A predeploy Job. "actions": [ # Output only. The custom actions that the predeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the predeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "skipMessage": "A String", # Output only. Additional information on why the Job was skipped, if available. "state": "A String", # Output only. The current state of the Job. "verifyJob": { # A verify Job. # Output only. A verify Job. + "tasks": [ # Output only. The tasks that are executed as part of the verify Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, }, "postdeployJob": { # Job represents an operation for a `Rollout`. # Output only. The postdeploy Job, which is the last job on the phase. "advanceChildRolloutJob": { # An advanceChildRollout Job. # Output only. An advanceChildRollout Job. }, + "analysisJob": { # An analysis Job. # Output only. An analysis Job. + "customChecks": [ # Output only. Custom analysis checks from 3P metric providers that are run as part of the analysis Job. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Output only. The amount of time in minutes the analysis Job will run, up to a maximum of 48 hours. If any check in this Job is still running when the duration ends, the Job keeps running until that check completes. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Output only. Google Cloud - based analysis checks that are run as part of the analysis Job. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, "createChildRolloutJob": { # A createChildRollout Job. # Output only. A createChildRollout Job. }, "deployJob": { # A deploy Job. # Output only. A deploy Job. @@ -347,20 +744,104 @@

Method Details

"actions": [ # Output only. The custom actions that the postdeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the postdeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "predeployJob": { # A predeploy Job. # Output only. A predeploy Job. "actions": [ # Output only. The custom actions that the predeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the predeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "skipMessage": "A String", # Output only. Additional information on why the Job was skipped, if available. "state": "A String", # Output only. The current state of the Job. "verifyJob": { # A verify Job. # Output only. A verify Job. + "tasks": [ # Output only. The tasks that are executed as part of the verify Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, }, "predeployJob": { # Job represents an operation for a `Rollout`. # Output only. The predeploy Job, which is the first job on the phase. "advanceChildRolloutJob": { # An advanceChildRollout Job. # Output only. An advanceChildRollout Job. }, + "analysisJob": { # An analysis Job. # Output only. An analysis Job. + "customChecks": [ # Output only. Custom analysis checks from 3P metric providers that are run as part of the analysis Job. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Output only. The amount of time in minutes the analysis Job will run, up to a maximum of 48 hours. If any check in this Job is still running when the duration ends, the Job keeps running until that check completes. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Output only. Google Cloud - based analysis checks that are run as part of the analysis Job. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, "createChildRolloutJob": { # A createChildRollout Job. # Output only. A createChildRollout Job. }, "deployJob": { # A deploy Job. # Output only. A deploy Job. @@ -371,20 +852,104 @@

Method Details

"actions": [ # Output only. The custom actions that the postdeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the postdeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "predeployJob": { # A predeploy Job. # Output only. A predeploy Job. "actions": [ # Output only. The custom actions that the predeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the predeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "skipMessage": "A String", # Output only. Additional information on why the Job was skipped, if available. "state": "A String", # Output only. The current state of the Job. "verifyJob": { # A verify Job. # Output only. A verify Job. + "tasks": [ # Output only. The tasks that are executed as part of the verify Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, }, "verifyJob": { # Job represents an operation for a `Rollout`. # Output only. The verify Job. Runs after a deploy if the deploy succeeds. "advanceChildRolloutJob": { # An advanceChildRollout Job. # Output only. An advanceChildRollout Job. }, + "analysisJob": { # An analysis Job. # Output only. An analysis Job. + "customChecks": [ # Output only. Custom analysis checks from 3P metric providers that are run as part of the analysis Job. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Output only. The amount of time in minutes the analysis Job will run, up to a maximum of 48 hours. If any check in this Job is still running when the duration ends, the Job keeps running until that check completes. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Output only. Google Cloud - based analysis checks that are run as part of the analysis Job. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, "createChildRolloutJob": { # A createChildRollout Job. # Output only. A createChildRollout Job. }, "deployJob": { # A deploy Job. # Output only. A deploy Job. @@ -395,15 +960,63 @@

Method Details

"actions": [ # Output only. The custom actions that the postdeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the postdeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "predeployJob": { # A predeploy Job. # Output only. A predeploy Job. "actions": [ # Output only. The custom actions that the predeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the predeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "skipMessage": "A String", # Output only. Additional information on why the Job was skipped, if available. "state": "A String", # Output only. The current state of the Job. "verifyJob": { # A verify Job. # Output only. A verify Job. + "tasks": [ # Output only. The tasks that are executed as part of the verify Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, }, }, @@ -501,6 +1114,7 @@

Method Details

}, "cloudRun": { # CloudRunMetadata contains information from a Cloud Run deployment. # Output only. The name of the Cloud Run Service that is associated with a `Rollout`. "job": "A String", # Output only. The name of the Cloud Run job that is associated with a `Rollout`. Format is `projects/{project}/locations/{location}/jobs/{job_name}`. + "previousRevision": "A String", # Output only. The previous Cloud Run Revision name associated with a `Rollout`. Only set when a canary deployment strategy is configured. Format for service is projects/{project}/locations/{location}/services/{service}/revisions/{revision}. Format for worker pool is projects/{project}/locations/{location}/workerPools/{workerpool}/revisions/{revision}. "revision": "A String", # Output only. The Cloud Run Revision id associated with a `Rollout`. "service": "A String", # Output only. The name of the Cloud Run Service that is associated with a `Rollout`. Format is `projects/{project}/locations/{location}/services/{service}`. "serviceUrls": [ # Output only. The Cloud Run Service urls that are associated with a `Rollout`. @@ -522,6 +1136,42 @@

Method Details

{ # Job represents an operation for a `Rollout`. "advanceChildRolloutJob": { # An advanceChildRollout Job. # Output only. An advanceChildRollout Job. }, + "analysisJob": { # An analysis Job. # Output only. An analysis Job. + "customChecks": [ # Output only. Custom analysis checks from 3P metric providers that are run as part of the analysis Job. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Output only. The amount of time in minutes the analysis Job will run, up to a maximum of 48 hours. If any check in this Job is still running when the duration ends, the Job keeps running until that check completes. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Output only. Google Cloud - based analysis checks that are run as part of the analysis Job. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, "createChildRolloutJob": { # A createChildRollout Job. # Output only. A createChildRollout Job. }, "deployJob": { # A deploy Job. # Output only. A deploy Job. @@ -532,15 +1182,63 @@

Method Details

"actions": [ # Output only. The custom actions that the postdeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the postdeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "predeployJob": { # A predeploy Job. # Output only. A predeploy Job. "actions": [ # Output only. The custom actions that the predeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the predeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "skipMessage": "A String", # Output only. Additional information on why the Job was skipped, if available. "state": "A String", # Output only. The current state of the Job. "verifyJob": { # A verify Job. # Output only. A verify Job. + "tasks": [ # Output only. The tasks that are executed as part of the verify Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, }, ], @@ -548,6 +1246,42 @@

Method Details

{ # Job represents an operation for a `Rollout`. "advanceChildRolloutJob": { # An advanceChildRollout Job. # Output only. An advanceChildRollout Job. }, + "analysisJob": { # An analysis Job. # Output only. An analysis Job. + "customChecks": [ # Output only. Custom analysis checks from 3P metric providers that are run as part of the analysis Job. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Output only. The amount of time in minutes the analysis Job will run, up to a maximum of 48 hours. If any check in this Job is still running when the duration ends, the Job keeps running until that check completes. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Output only. Google Cloud - based analysis checks that are run as part of the analysis Job. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, "createChildRolloutJob": { # A createChildRollout Job. # Output only. A createChildRollout Job. }, "deployJob": { # A deploy Job. # Output only. A deploy Job. @@ -558,23 +1292,215 @@

Method Details

"actions": [ # Output only. The custom actions that the postdeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the postdeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "predeployJob": { # A predeploy Job. # Output only. A predeploy Job. "actions": [ # Output only. The custom actions that the predeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the predeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "skipMessage": "A String", # Output only. Additional information on why the Job was skipped, if available. "state": "A String", # Output only. The current state of the Job. "verifyJob": { # A verify Job. # Output only. A verify Job. + "tasks": [ # Output only. The tasks that are executed as part of the verify Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, }, ], }, "deploymentJobs": { # Deployment job composition. # Output only. Deployment job composition. + "analysisJob": { # Job represents an operation for a `Rollout`. # Output only. The analysis Job. Runs after a verify if there is a verify job and the verify job succeeds. + "advanceChildRolloutJob": { # An advanceChildRollout Job. # Output only. An advanceChildRollout Job. + }, + "analysisJob": { # An analysis Job. # Output only. An analysis Job. + "customChecks": [ # Output only. Custom analysis checks from 3P metric providers that are run as part of the analysis Job. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Output only. The amount of time in minutes the analysis Job will run, up to a maximum of 48 hours. If any check in this Job is still running when the duration ends, the Job keeps running until that check completes. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Output only. Google Cloud - based analysis checks that are run as part of the analysis Job. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, + "createChildRolloutJob": { # A createChildRollout Job. # Output only. A createChildRollout Job. + }, + "deployJob": { # A deploy Job. # Output only. A deploy Job. + }, + "id": "A String", # Output only. The ID of the Job. + "jobRun": "A String", # Output only. The name of the `JobRun` responsible for the most recent invocation of this Job. + "postdeployJob": { # A postdeploy Job. # Output only. A postdeploy Job. + "actions": [ # Output only. The custom actions that the postdeploy Job executes. + "A String", + ], + "tasks": [ # Output only. The tasks that are executed as part of the postdeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], + }, + "predeployJob": { # A predeploy Job. # Output only. A predeploy Job. + "actions": [ # Output only. The custom actions that the predeploy Job executes. + "A String", + ], + "tasks": [ # Output only. The tasks that are executed as part of the predeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], + }, + "skipMessage": "A String", # Output only. Additional information on why the Job was skipped, if available. + "state": "A String", # Output only. The current state of the Job. + "verifyJob": { # A verify Job. # Output only. A verify Job. + "tasks": [ # Output only. The tasks that are executed as part of the verify Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], + }, + }, "deployJob": { # Job represents an operation for a `Rollout`. # Output only. The deploy Job. This is the deploy job in the phase. "advanceChildRolloutJob": { # An advanceChildRollout Job. # Output only. An advanceChildRollout Job. }, + "analysisJob": { # An analysis Job. # Output only. An analysis Job. + "customChecks": [ # Output only. Custom analysis checks from 3P metric providers that are run as part of the analysis Job. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Output only. The amount of time in minutes the analysis Job will run, up to a maximum of 48 hours. If any check in this Job is still running when the duration ends, the Job keeps running until that check completes. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Output only. Google Cloud - based analysis checks that are run as part of the analysis Job. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, "createChildRolloutJob": { # A createChildRollout Job. # Output only. A createChildRollout Job. }, "deployJob": { # A deploy Job. # Output only. A deploy Job. @@ -585,20 +1511,104 @@

Method Details

"actions": [ # Output only. The custom actions that the postdeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the postdeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "predeployJob": { # A predeploy Job. # Output only. A predeploy Job. "actions": [ # Output only. The custom actions that the predeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the predeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "skipMessage": "A String", # Output only. Additional information on why the Job was skipped, if available. "state": "A String", # Output only. The current state of the Job. "verifyJob": { # A verify Job. # Output only. A verify Job. + "tasks": [ # Output only. The tasks that are executed as part of the verify Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, }, "postdeployJob": { # Job represents an operation for a `Rollout`. # Output only. The postdeploy Job, which is the last job on the phase. "advanceChildRolloutJob": { # An advanceChildRollout Job. # Output only. An advanceChildRollout Job. }, + "analysisJob": { # An analysis Job. # Output only. An analysis Job. + "customChecks": [ # Output only. Custom analysis checks from 3P metric providers that are run as part of the analysis Job. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Output only. The amount of time in minutes the analysis Job will run, up to a maximum of 48 hours. If any check in this Job is still running when the duration ends, the Job keeps running until that check completes. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Output only. Google Cloud - based analysis checks that are run as part of the analysis Job. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, "createChildRolloutJob": { # A createChildRollout Job. # Output only. A createChildRollout Job. }, "deployJob": { # A deploy Job. # Output only. A deploy Job. @@ -609,20 +1619,104 @@

Method Details

"actions": [ # Output only. The custom actions that the postdeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the postdeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "predeployJob": { # A predeploy Job. # Output only. A predeploy Job. "actions": [ # Output only. The custom actions that the predeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the predeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "skipMessage": "A String", # Output only. Additional information on why the Job was skipped, if available. "state": "A String", # Output only. The current state of the Job. "verifyJob": { # A verify Job. # Output only. A verify Job. + "tasks": [ # Output only. The tasks that are executed as part of the verify Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, }, "predeployJob": { # Job represents an operation for a `Rollout`. # Output only. The predeploy Job, which is the first job on the phase. "advanceChildRolloutJob": { # An advanceChildRollout Job. # Output only. An advanceChildRollout Job. }, + "analysisJob": { # An analysis Job. # Output only. An analysis Job. + "customChecks": [ # Output only. Custom analysis checks from 3P metric providers that are run as part of the analysis Job. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Output only. The amount of time in minutes the analysis Job will run, up to a maximum of 48 hours. If any check in this Job is still running when the duration ends, the Job keeps running until that check completes. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Output only. Google Cloud - based analysis checks that are run as part of the analysis Job. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, "createChildRolloutJob": { # A createChildRollout Job. # Output only. A createChildRollout Job. }, "deployJob": { # A deploy Job. # Output only. A deploy Job. @@ -633,20 +1727,104 @@

Method Details

"actions": [ # Output only. The custom actions that the postdeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the postdeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "predeployJob": { # A predeploy Job. # Output only. A predeploy Job. "actions": [ # Output only. The custom actions that the predeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the predeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "skipMessage": "A String", # Output only. Additional information on why the Job was skipped, if available. "state": "A String", # Output only. The current state of the Job. "verifyJob": { # A verify Job. # Output only. A verify Job. + "tasks": [ # Output only. The tasks that are executed as part of the verify Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, }, "verifyJob": { # Job represents an operation for a `Rollout`. # Output only. The verify Job. Runs after a deploy if the deploy succeeds. "advanceChildRolloutJob": { # An advanceChildRollout Job. # Output only. An advanceChildRollout Job. }, + "analysisJob": { # An analysis Job. # Output only. An analysis Job. + "customChecks": [ # Output only. Custom analysis checks from 3P metric providers that are run as part of the analysis Job. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Output only. The amount of time in minutes the analysis Job will run, up to a maximum of 48 hours. If any check in this Job is still running when the duration ends, the Job keeps running until that check completes. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Output only. Google Cloud - based analysis checks that are run as part of the analysis Job. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, "createChildRolloutJob": { # A createChildRollout Job. # Output only. A createChildRollout Job. }, "deployJob": { # A deploy Job. # Output only. A deploy Job. @@ -657,15 +1835,63 @@

Method Details

"actions": [ # Output only. The custom actions that the postdeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the postdeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "predeployJob": { # A predeploy Job. # Output only. A predeploy Job. "actions": [ # Output only. The custom actions that the predeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the predeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "skipMessage": "A String", # Output only. Additional information on why the Job was skipped, if available. "state": "A String", # Output only. The current state of the Job. "verifyJob": { # A verify Job. # Output only. A verify Job. + "tasks": [ # Output only. The tasks that are executed as part of the verify Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, }, }, @@ -766,6 +1992,7 @@

Method Details

}, "cloudRun": { # CloudRunMetadata contains information from a Cloud Run deployment. # Output only. The name of the Cloud Run Service that is associated with a `Rollout`. "job": "A String", # Output only. The name of the Cloud Run job that is associated with a `Rollout`. Format is `projects/{project}/locations/{location}/jobs/{job_name}`. + "previousRevision": "A String", # Output only. The previous Cloud Run Revision name associated with a `Rollout`. Only set when a canary deployment strategy is configured. Format for service is projects/{project}/locations/{location}/services/{service}/revisions/{revision}. Format for worker pool is projects/{project}/locations/{location}/workerPools/{workerpool}/revisions/{revision}. "revision": "A String", # Output only. The Cloud Run Revision id associated with a `Rollout`. "service": "A String", # Output only. The name of the Cloud Run Service that is associated with a `Rollout`. Format is `projects/{project}/locations/{location}/services/{service}`. "serviceUrls": [ # Output only. The Cloud Run Service urls that are associated with a `Rollout`. @@ -787,6 +2014,42 @@

Method Details

{ # Job represents an operation for a `Rollout`. "advanceChildRolloutJob": { # An advanceChildRollout Job. # Output only. An advanceChildRollout Job. }, + "analysisJob": { # An analysis Job. # Output only. An analysis Job. + "customChecks": [ # Output only. Custom analysis checks from 3P metric providers that are run as part of the analysis Job. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Output only. The amount of time in minutes the analysis Job will run, up to a maximum of 48 hours. If any check in this Job is still running when the duration ends, the Job keeps running until that check completes. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Output only. Google Cloud - based analysis checks that are run as part of the analysis Job. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, "createChildRolloutJob": { # A createChildRollout Job. # Output only. A createChildRollout Job. }, "deployJob": { # A deploy Job. # Output only. A deploy Job. @@ -797,15 +2060,63 @@

Method Details

"actions": [ # Output only. The custom actions that the postdeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the postdeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "predeployJob": { # A predeploy Job. # Output only. A predeploy Job. "actions": [ # Output only. The custom actions that the predeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the predeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "skipMessage": "A String", # Output only. Additional information on why the Job was skipped, if available. "state": "A String", # Output only. The current state of the Job. "verifyJob": { # A verify Job. # Output only. A verify Job. + "tasks": [ # Output only. The tasks that are executed as part of the verify Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, }, ], @@ -813,6 +2124,42 @@

Method Details

{ # Job represents an operation for a `Rollout`. "advanceChildRolloutJob": { # An advanceChildRollout Job. # Output only. An advanceChildRollout Job. }, + "analysisJob": { # An analysis Job. # Output only. An analysis Job. + "customChecks": [ # Output only. Custom analysis checks from 3P metric providers that are run as part of the analysis Job. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Output only. The amount of time in minutes the analysis Job will run, up to a maximum of 48 hours. If any check in this Job is still running when the duration ends, the Job keeps running until that check completes. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Output only. Google Cloud - based analysis checks that are run as part of the analysis Job. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, "createChildRolloutJob": { # A createChildRollout Job. # Output only. A createChildRollout Job. }, "deployJob": { # A deploy Job. # Output only. A deploy Job. @@ -823,23 +2170,215 @@

Method Details

"actions": [ # Output only. The custom actions that the postdeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the postdeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "predeployJob": { # A predeploy Job. # Output only. A predeploy Job. "actions": [ # Output only. The custom actions that the predeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the predeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "skipMessage": "A String", # Output only. Additional information on why the Job was skipped, if available. "state": "A String", # Output only. The current state of the Job. "verifyJob": { # A verify Job. # Output only. A verify Job. + "tasks": [ # Output only. The tasks that are executed as part of the verify Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, }, ], }, "deploymentJobs": { # Deployment job composition. # Output only. Deployment job composition. + "analysisJob": { # Job represents an operation for a `Rollout`. # Output only. The analysis Job. Runs after a verify if there is a verify job and the verify job succeeds. + "advanceChildRolloutJob": { # An advanceChildRollout Job. # Output only. An advanceChildRollout Job. + }, + "analysisJob": { # An analysis Job. # Output only. An analysis Job. + "customChecks": [ # Output only. Custom analysis checks from 3P metric providers that are run as part of the analysis Job. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Output only. The amount of time in minutes the analysis Job will run, up to a maximum of 48 hours. If any check in this Job is still running when the duration ends, the Job keeps running until that check completes. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Output only. Google Cloud - based analysis checks that are run as part of the analysis Job. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, + "createChildRolloutJob": { # A createChildRollout Job. # Output only. A createChildRollout Job. + }, + "deployJob": { # A deploy Job. # Output only. A deploy Job. + }, + "id": "A String", # Output only. The ID of the Job. + "jobRun": "A String", # Output only. The name of the `JobRun` responsible for the most recent invocation of this Job. + "postdeployJob": { # A postdeploy Job. # Output only. A postdeploy Job. + "actions": [ # Output only. The custom actions that the postdeploy Job executes. + "A String", + ], + "tasks": [ # Output only. The tasks that are executed as part of the postdeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], + }, + "predeployJob": { # A predeploy Job. # Output only. A predeploy Job. + "actions": [ # Output only. The custom actions that the predeploy Job executes. + "A String", + ], + "tasks": [ # Output only. The tasks that are executed as part of the predeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], + }, + "skipMessage": "A String", # Output only. Additional information on why the Job was skipped, if available. + "state": "A String", # Output only. The current state of the Job. + "verifyJob": { # A verify Job. # Output only. A verify Job. + "tasks": [ # Output only. The tasks that are executed as part of the verify Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], + }, + }, "deployJob": { # Job represents an operation for a `Rollout`. # Output only. The deploy Job. This is the deploy job in the phase. "advanceChildRolloutJob": { # An advanceChildRollout Job. # Output only. An advanceChildRollout Job. }, + "analysisJob": { # An analysis Job. # Output only. An analysis Job. + "customChecks": [ # Output only. Custom analysis checks from 3P metric providers that are run as part of the analysis Job. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Output only. The amount of time in minutes the analysis Job will run, up to a maximum of 48 hours. If any check in this Job is still running when the duration ends, the Job keeps running until that check completes. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Output only. Google Cloud - based analysis checks that are run as part of the analysis Job. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, "createChildRolloutJob": { # A createChildRollout Job. # Output only. A createChildRollout Job. }, "deployJob": { # A deploy Job. # Output only. A deploy Job. @@ -850,20 +2389,104 @@

Method Details

"actions": [ # Output only. The custom actions that the postdeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the postdeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "predeployJob": { # A predeploy Job. # Output only. A predeploy Job. "actions": [ # Output only. The custom actions that the predeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the predeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "skipMessage": "A String", # Output only. Additional information on why the Job was skipped, if available. "state": "A String", # Output only. The current state of the Job. "verifyJob": { # A verify Job. # Output only. A verify Job. + "tasks": [ # Output only. The tasks that are executed as part of the verify Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, }, "postdeployJob": { # Job represents an operation for a `Rollout`. # Output only. The postdeploy Job, which is the last job on the phase. "advanceChildRolloutJob": { # An advanceChildRollout Job. # Output only. An advanceChildRollout Job. }, + "analysisJob": { # An analysis Job. # Output only. An analysis Job. + "customChecks": [ # Output only. Custom analysis checks from 3P metric providers that are run as part of the analysis Job. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Output only. The amount of time in minutes the analysis Job will run, up to a maximum of 48 hours. If any check in this Job is still running when the duration ends, the Job keeps running until that check completes. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Output only. Google Cloud - based analysis checks that are run as part of the analysis Job. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, "createChildRolloutJob": { # A createChildRollout Job. # Output only. A createChildRollout Job. }, "deployJob": { # A deploy Job. # Output only. A deploy Job. @@ -874,20 +2497,104 @@

Method Details

"actions": [ # Output only. The custom actions that the postdeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the postdeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "predeployJob": { # A predeploy Job. # Output only. A predeploy Job. "actions": [ # Output only. The custom actions that the predeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the predeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "skipMessage": "A String", # Output only. Additional information on why the Job was skipped, if available. "state": "A String", # Output only. The current state of the Job. "verifyJob": { # A verify Job. # Output only. A verify Job. + "tasks": [ # Output only. The tasks that are executed as part of the verify Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, }, "predeployJob": { # Job represents an operation for a `Rollout`. # Output only. The predeploy Job, which is the first job on the phase. "advanceChildRolloutJob": { # An advanceChildRollout Job. # Output only. An advanceChildRollout Job. }, + "analysisJob": { # An analysis Job. # Output only. An analysis Job. + "customChecks": [ # Output only. Custom analysis checks from 3P metric providers that are run as part of the analysis Job. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Output only. The amount of time in minutes the analysis Job will run, up to a maximum of 48 hours. If any check in this Job is still running when the duration ends, the Job keeps running until that check completes. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Output only. Google Cloud - based analysis checks that are run as part of the analysis Job. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, "createChildRolloutJob": { # A createChildRollout Job. # Output only. A createChildRollout Job. }, "deployJob": { # A deploy Job. # Output only. A deploy Job. @@ -898,20 +2605,104 @@

Method Details

"actions": [ # Output only. The custom actions that the postdeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the postdeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "predeployJob": { # A predeploy Job. # Output only. A predeploy Job. "actions": [ # Output only. The custom actions that the predeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the predeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "skipMessage": "A String", # Output only. Additional information on why the Job was skipped, if available. "state": "A String", # Output only. The current state of the Job. "verifyJob": { # A verify Job. # Output only. A verify Job. + "tasks": [ # Output only. The tasks that are executed as part of the verify Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, }, "verifyJob": { # Job represents an operation for a `Rollout`. # Output only. The verify Job. Runs after a deploy if the deploy succeeds. "advanceChildRolloutJob": { # An advanceChildRollout Job. # Output only. An advanceChildRollout Job. }, + "analysisJob": { # An analysis Job. # Output only. An analysis Job. + "customChecks": [ # Output only. Custom analysis checks from 3P metric providers that are run as part of the analysis Job. + { # CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency. + "frequency": "A String", # Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. + "id": "A String", # Required. The ID of the custom Analysis check. + "task": { # A Task represents a unit of work that is executed as part of a Job. # Required. The Task to be run for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "duration": "A String", # Output only. The amount of time in minutes the analysis Job will run, up to a maximum of 48 hours. If any check in this Job is still running when the duration ends, the Job keeps running until that check completes. + "googleCloud": { # GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment. # Output only. Google Cloud - based analysis checks that are run as part of the analysis Job. + "alertPolicyChecks": [ # Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis. + { # AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail. + "alertPolicies": [ # Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`. + "A String", + ], + "id": "A String", # Required. The ID of the analysis check. + "labels": { # Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered. + "a_key": "A String", + }, + }, + ], + }, + }, "createChildRolloutJob": { # A createChildRollout Job. # Output only. A createChildRollout Job. }, "deployJob": { # A deploy Job. # Output only. A deploy Job. @@ -922,15 +2713,63 @@

Method Details

"actions": [ # Output only. The custom actions that the postdeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the postdeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "predeployJob": { # A predeploy Job. # Output only. A predeploy Job. "actions": [ # Output only. The custom actions that the predeploy Job executes. "A String", ], + "tasks": [ # Output only. The tasks that are executed as part of the predeploy Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, "skipMessage": "A String", # Output only. Additional information on why the Job was skipped, if available. "state": "A String", # Output only. The current state of the Job. "verifyJob": { # A verify Job. # Output only. A verify Job. + "tasks": [ # Output only. The tasks that are executed as part of the verify Job. + { # A Task represents a unit of work that is executed as part of a Job. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + ], }, }, }, diff --git a/docs/dyn/clouddeploy_v1.projects.locations.deliveryPipelines.releases.rollouts.jobRuns.html b/docs/dyn/clouddeploy_v1.projects.locations.deliveryPipelines.releases.rollouts.jobRuns.html index f11b383569..7cbec0284c 100644 --- a/docs/dyn/clouddeploy_v1.projects.locations.deliveryPipelines.releases.rollouts.jobRuns.html +++ b/docs/dyn/clouddeploy_v1.projects.locations.deliveryPipelines.releases.rollouts.jobRuns.html @@ -114,6 +114,57 @@

Method Details

"rollout": "A String", # Output only. Name of the `ChildRollout`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. "rolloutPhaseId": "A String", # Output only. the ID of the ChildRollout's Phase. }, + "analysisJobRun": { # AnalysisJobRun contains information specific to an analysis `JobRun`. # Output only. Information specific to an analysis `JobRun`. + "alertPolicyAnalyses": [ # Output only. The status of the running alert policy checks configured for this analysis. + { # AlertPolicyCheckStatus contains information specific to a single run of an alert policy check. + "alertPolicies": [ # Output only. The alert policies that this analysis monitors. Format is `projects/{project}/locations/{location}/alertPolicies/{alertPolicy}`. + "A String", + ], + "failedAlertPolicies": [ # Output only. The alert policies that were found to be firing during this check. This will be empty if no incidents were found. + { # FailedAlertPolicy contains information about an alert policy that was found to be firing during an alert policy check. + "alertPolicy": "A String", # Output only. The name of the alert policy that was found to be firing. Format is `projects/{project}/locations/{location}/alertPolicies/{alertPolicy}`. + "alerts": [ # Output only. Open alerts for the alerting policies that matched the alert policy check configuration. + "A String", + ], + }, + ], + "failureMessage": "A String", # Output only. Additional information about the alert policy check failure, if available. This will be empty if the alert policy check succeeded. + "id": "A String", # Output only. The ID of this analysis. + "labels": { # Output only. The resolved labels used to filter for specific incidents. + "a_key": "A String", + }, + }, + ], + "customCheckAnalyses": [ # Output only. The status of the running custom checks configured for this analysis. + { # CustomCheckStatus contains information specific to a single iteration of a custom analysis job. + "failureCause": "A String", # Output only. The reason the analysis failed. This will always be unspecified while the analysis is in progress or if it succeeded. + "failureMessage": "A String", # Output only. Additional information about the analysis failure, if available. + "frequency": "A String", # Output only. The frequency in minutes at which the custom check is run. + "id": "A String", # Output only. The ID of the custom check. + "latestBuild": "A String", # Output only. The resource name of the Cloud Build `Build` object that was used to execute the latest run of this custom action check. Format is `projects/{project}/locations/{location}/builds/{build}`. + "metadata": { # CustomMetadata contains information from a user-defined operation. # Output only. Custom metadata provided by the user-defined custom check operation. result. + "values": { # Output only. Key-value pairs provided by the user-defined operation. + "a_key": "A String", + }, + }, + "task": { # A Task represents a unit of work that is executed as part of a Job. # Output only. The task that ran for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "failedCheckId": "A String", # Output only. The ID of the configured check that failed. This will always be blank while the analysis is in progress or if it succeeded. + }, "createChildRolloutJobRun": { # CreateChildRolloutJobRun contains information specific to a createChildRollout `JobRun`. # Output only. Information specific to a createChildRollout `JobRun`. "rollout": "A String", # Output only. Name of the `ChildRollout`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. "rolloutPhaseId": "A String", # Output only. The ID of the childRollout Phase initiated by this JobRun. @@ -132,6 +183,7 @@

Method Details

"metadata": { # DeployJobRunMetadata surfaces information associated with a `DeployJobRun` to the user. # Output only. Metadata containing information about the deploy job run. "cloudRun": { # CloudRunMetadata contains information from a Cloud Run deployment. # Output only. The name of the Cloud Run Service that is associated with a `DeployJobRun`. "job": "A String", # Output only. The name of the Cloud Run job that is associated with a `Rollout`. Format is `projects/{project}/locations/{location}/jobs/{job_name}`. + "previousRevision": "A String", # Output only. The previous Cloud Run Revision name associated with a `Rollout`. Only set when a canary deployment strategy is configured. Format for service is projects/{project}/locations/{location}/services/{service}/revisions/{revision}. Format for worker pool is projects/{project}/locations/{location}/workerPools/{workerpool}/revisions/{revision}. "revision": "A String", # Output only. The Cloud Run Revision id associated with a `Rollout`. "service": "A String", # Output only. The name of the Cloud Run Service that is associated with a `Rollout`. Format is `projects/{project}/locations/{location}/services/{service}`. "serviceUrls": [ # Output only. The Cloud Run Service urls that are associated with a `Rollout`. @@ -158,11 +210,25 @@

Method Details

"build": "A String", # Output only. The resource name of the Cloud Build `Build` object that is used to execute the custom actions associated with the postdeploy Job. Format is `projects/{project}/locations/{location}/builds/{build}`. "failureCause": "A String", # Output only. The reason the postdeploy failed. This will always be unspecified while the postdeploy is in progress or if it succeeded. "failureMessage": "A String", # Output only. Additional information about the postdeploy failure, if available. + "metadata": { # PostdeployJobRunMetadata contains metadata about the postdeploy `JobRun`. # Output only. Metadata containing information about the postdeploy `JobRun`. + "custom": { # CustomMetadata contains information from a user-defined operation. # Output only. Custom metadata provided by user-defined postdeploy operation. + "values": { # Output only. Key-value pairs provided by the user-defined operation. + "a_key": "A String", + }, + }, + }, }, "predeployJobRun": { # PredeployJobRun contains information specific to a predeploy `JobRun`. # Output only. Information specific to a predeploy `JobRun`. "build": "A String", # Output only. The resource name of the Cloud Build `Build` object that is used to execute the custom actions associated with the predeploy Job. Format is `projects/{project}/locations/{location}/builds/{build}`. "failureCause": "A String", # Output only. The reason the predeploy failed. This will always be unspecified while the predeploy is in progress or if it succeeded. "failureMessage": "A String", # Output only. Additional information about the predeploy failure, if available. + "metadata": { # PredeployJobRunMetadata contains metadata about the predeploy `JobRun`. # Output only. Metadata containing information about the predeploy `JobRun`. + "custom": { # CustomMetadata contains information from a user-defined operation. # Output only. Custom metadata provided by user-defined predeploy operation. + "values": { # Output only. Key-value pairs provided by the user-defined operation. + "a_key": "A String", + }, + }, + }, }, "startTime": "A String", # Output only. Time at which the `JobRun` was started. "state": "A String", # Output only. The current state of the `JobRun`. @@ -173,6 +239,13 @@

Method Details

"eventLogPath": "A String", # Output only. File path of the Skaffold event log relative to the artifact URI. "failureCause": "A String", # Output only. The reason the verify failed. This will always be unspecified while the verify is in progress or if it succeeded. "failureMessage": "A String", # Output only. Additional information about the verify failure, if available. + "metadata": { # VerifyJobRunMetadata contains metadata about the verify `JobRun`. # Output only. Metadata containing information about the verify `JobRun`. + "custom": { # CustomMetadata contains information from a user-defined operation. # Output only. Custom metadata provided by user-defined verify operation. + "values": { # Output only. Key-value pairs provided by the user-defined operation. + "a_key": "A String", + }, + }, + }, }, }
@@ -202,6 +275,57 @@

Method Details

"rollout": "A String", # Output only. Name of the `ChildRollout`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. "rolloutPhaseId": "A String", # Output only. the ID of the ChildRollout's Phase. }, + "analysisJobRun": { # AnalysisJobRun contains information specific to an analysis `JobRun`. # Output only. Information specific to an analysis `JobRun`. + "alertPolicyAnalyses": [ # Output only. The status of the running alert policy checks configured for this analysis. + { # AlertPolicyCheckStatus contains information specific to a single run of an alert policy check. + "alertPolicies": [ # Output only. The alert policies that this analysis monitors. Format is `projects/{project}/locations/{location}/alertPolicies/{alertPolicy}`. + "A String", + ], + "failedAlertPolicies": [ # Output only. The alert policies that were found to be firing during this check. This will be empty if no incidents were found. + { # FailedAlertPolicy contains information about an alert policy that was found to be firing during an alert policy check. + "alertPolicy": "A String", # Output only. The name of the alert policy that was found to be firing. Format is `projects/{project}/locations/{location}/alertPolicies/{alertPolicy}`. + "alerts": [ # Output only. Open alerts for the alerting policies that matched the alert policy check configuration. + "A String", + ], + }, + ], + "failureMessage": "A String", # Output only. Additional information about the alert policy check failure, if available. This will be empty if the alert policy check succeeded. + "id": "A String", # Output only. The ID of this analysis. + "labels": { # Output only. The resolved labels used to filter for specific incidents. + "a_key": "A String", + }, + }, + ], + "customCheckAnalyses": [ # Output only. The status of the running custom checks configured for this analysis. + { # CustomCheckStatus contains information specific to a single iteration of a custom analysis job. + "failureCause": "A String", # Output only. The reason the analysis failed. This will always be unspecified while the analysis is in progress or if it succeeded. + "failureMessage": "A String", # Output only. Additional information about the analysis failure, if available. + "frequency": "A String", # Output only. The frequency in minutes at which the custom check is run. + "id": "A String", # Output only. The ID of the custom check. + "latestBuild": "A String", # Output only. The resource name of the Cloud Build `Build` object that was used to execute the latest run of this custom action check. Format is `projects/{project}/locations/{location}/builds/{build}`. + "metadata": { # CustomMetadata contains information from a user-defined operation. # Output only. Custom metadata provided by the user-defined custom check operation. result. + "values": { # Output only. Key-value pairs provided by the user-defined operation. + "a_key": "A String", + }, + }, + "task": { # A Task represents a unit of work that is executed as part of a Job. # Output only. The task that ran for this custom check. + "container": { # This task is represented by a container that is executed in the Cloud Build execution environment. # Optional. This task is represented by a container that is executed in the Cloud Build execution environment. + "args": [ # Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image. + "A String", + ], + "command": [ # Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image. + "A String", + ], + "env": { # Optional. Environment variables that are set in the container. + "a_key": "A String", + }, + "image": "A String", # Required. Image is the container image to use. + }, + }, + }, + ], + "failedCheckId": "A String", # Output only. The ID of the configured check that failed. This will always be blank while the analysis is in progress or if it succeeded. + }, "createChildRolloutJobRun": { # CreateChildRolloutJobRun contains information specific to a createChildRollout `JobRun`. # Output only. Information specific to a createChildRollout `JobRun`. "rollout": "A String", # Output only. Name of the `ChildRollout`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. "rolloutPhaseId": "A String", # Output only. The ID of the childRollout Phase initiated by this JobRun. @@ -220,6 +344,7 @@

Method Details

"metadata": { # DeployJobRunMetadata surfaces information associated with a `DeployJobRun` to the user. # Output only. Metadata containing information about the deploy job run. "cloudRun": { # CloudRunMetadata contains information from a Cloud Run deployment. # Output only. The name of the Cloud Run Service that is associated with a `DeployJobRun`. "job": "A String", # Output only. The name of the Cloud Run job that is associated with a `Rollout`. Format is `projects/{project}/locations/{location}/jobs/{job_name}`. + "previousRevision": "A String", # Output only. The previous Cloud Run Revision name associated with a `Rollout`. Only set when a canary deployment strategy is configured. Format for service is projects/{project}/locations/{location}/services/{service}/revisions/{revision}. Format for worker pool is projects/{project}/locations/{location}/workerPools/{workerpool}/revisions/{revision}. "revision": "A String", # Output only. The Cloud Run Revision id associated with a `Rollout`. "service": "A String", # Output only. The name of the Cloud Run Service that is associated with a `Rollout`. Format is `projects/{project}/locations/{location}/services/{service}`. "serviceUrls": [ # Output only. The Cloud Run Service urls that are associated with a `Rollout`. @@ -246,11 +371,25 @@

Method Details

"build": "A String", # Output only. The resource name of the Cloud Build `Build` object that is used to execute the custom actions associated with the postdeploy Job. Format is `projects/{project}/locations/{location}/builds/{build}`. "failureCause": "A String", # Output only. The reason the postdeploy failed. This will always be unspecified while the postdeploy is in progress or if it succeeded. "failureMessage": "A String", # Output only. Additional information about the postdeploy failure, if available. + "metadata": { # PostdeployJobRunMetadata contains metadata about the postdeploy `JobRun`. # Output only. Metadata containing information about the postdeploy `JobRun`. + "custom": { # CustomMetadata contains information from a user-defined operation. # Output only. Custom metadata provided by user-defined postdeploy operation. + "values": { # Output only. Key-value pairs provided by the user-defined operation. + "a_key": "A String", + }, + }, + }, }, "predeployJobRun": { # PredeployJobRun contains information specific to a predeploy `JobRun`. # Output only. Information specific to a predeploy `JobRun`. "build": "A String", # Output only. The resource name of the Cloud Build `Build` object that is used to execute the custom actions associated with the predeploy Job. Format is `projects/{project}/locations/{location}/builds/{build}`. "failureCause": "A String", # Output only. The reason the predeploy failed. This will always be unspecified while the predeploy is in progress or if it succeeded. "failureMessage": "A String", # Output only. Additional information about the predeploy failure, if available. + "metadata": { # PredeployJobRunMetadata contains metadata about the predeploy `JobRun`. # Output only. Metadata containing information about the predeploy `JobRun`. + "custom": { # CustomMetadata contains information from a user-defined operation. # Output only. Custom metadata provided by user-defined predeploy operation. + "values": { # Output only. Key-value pairs provided by the user-defined operation. + "a_key": "A String", + }, + }, + }, }, "startTime": "A String", # Output only. Time at which the `JobRun` was started. "state": "A String", # Output only. The current state of the `JobRun`. @@ -261,6 +400,13 @@

Method Details

"eventLogPath": "A String", # Output only. File path of the Skaffold event log relative to the artifact URI. "failureCause": "A String", # Output only. The reason the verify failed. This will always be unspecified while the verify is in progress or if it succeeded. "failureMessage": "A String", # Output only. Additional information about the verify failure, if available. + "metadata": { # VerifyJobRunMetadata contains metadata about the verify `JobRun`. # Output only. Metadata containing information about the verify `JobRun`. + "custom": { # CustomMetadata contains information from a user-defined operation. # Output only. Custom metadata provided by user-defined verify operation. + "values": { # Output only. Key-value pairs provided by the user-defined operation. + "a_key": "A String", + }, + }, + }, }, }, ], diff --git a/docs/dyn/cloudidentity_v1beta1.devices.html b/docs/dyn/cloudidentity_v1beta1.devices.html index f8d0feb44e..f92b44d33f 100644 --- a/docs/dyn/cloudidentity_v1beta1.devices.html +++ b/docs/dyn/cloudidentity_v1beta1.devices.html @@ -168,7 +168,7 @@

Method Details

"hasPotentiallyHarmfulApps": True or False, # Whether any potentially harmful apps were detected on the device. "ownerProfileAccount": True or False, # Whether this account is on an owner/primary profile. For phones, only true for owner profiles. Android 4+ devices can have secondary or restricted user profiles. "ownershipPrivilege": "A String", # Ownership privileges on device. - "supportsWorkProfile": True or False, # Whether device supports Android work profiles. If false, this service will not block access to corp data even if an administrator turns on the "Enforce Work Profile" policy. + "supportsWorkProfile": True or False, # Whether the device supports Android work profiles. If false, this service will not block access to corp data even if an administrator turns on the "Enforce Work Profile" policy. "verifiedBoot": True or False, # Whether Android verified boot status is GREEN. "verifyAppsEnabled": True or False, # Whether Google Play Protect Verify Apps is enabled. }, @@ -177,7 +177,7 @@

Method Details

"bootloaderVersion": "A String", # Output only. Device bootloader version. Example: 0.6.7. "brand": "A String", # Output only. Device brand. Example: Samsung. "browserProfiles": [ # Browser profiles on the device. This is a copy of the BrowserAttributes message defined in EndpointVerificationSpecificAttributes. We are replicating it here since EndpointVerification isn't the only client reporting browser profiles. - { # Contains information about browser profiles reported by the Clients on the device (e.g. [Endpoint Verification extension](https://chromewebstore.google.com/detail/endpoint-verification/callobklhcbilhphinckomhgkigmfocg?pli=1)). + { # Contains information about browser profiles reported by the clients on the device (e.g. [Endpoint Verification extension](https://chromewebstore.google.com/detail/endpoint-verification/callobklhcbilhphinckomhgkigmfocg?pli=1)). "chromeBrowserInfo": { # Browser-specific fields reported by clients on the device, such as [Endpoint Verification extension](https://chromewebstore.google.com/detail/endpoint-verification/callobklhcbilhphinckomhgkigmfocg?pli=1). # Represents the current state of the [Chrome browser attributes](https://cloud.google.com/access-context-manager/docs/browser-attributes) sent by the clients on the device, such as [Endpoint Verification extension](https://chromewebstore.google.com/detail/endpoint-verification/callobklhcbilhphinckomhgkigmfocg?pli=1). "browserManagementState": "A String", # Output only. Browser's management state. "browserVersion": "A String", # Version of the request initiating browser. E.g. `91.0.4442.4`. @@ -229,7 +229,7 @@

Method Details

"a_key": "", # Properties of the object. }, "browserAttributes": [ # Details of browser profiles reported by Endpoint Verification. - { # Contains information about browser profiles reported by the Clients on the device (e.g. [Endpoint Verification extension](https://chromewebstore.google.com/detail/endpoint-verification/callobklhcbilhphinckomhgkigmfocg?pli=1)). + { # Contains information about browser profiles reported by the clients on the device (e.g. [Endpoint Verification extension](https://chromewebstore.google.com/detail/endpoint-verification/callobklhcbilhphinckomhgkigmfocg?pli=1)). "chromeBrowserInfo": { # Browser-specific fields reported by clients on the device, such as [Endpoint Verification extension](https://chromewebstore.google.com/detail/endpoint-verification/callobklhcbilhphinckomhgkigmfocg?pli=1). # Represents the current state of the [Chrome browser attributes](https://cloud.google.com/access-context-manager/docs/browser-attributes) sent by the clients on the device, such as [Endpoint Verification extension](https://chromewebstore.google.com/detail/endpoint-verification/callobklhcbilhphinckomhgkigmfocg?pli=1). "browserManagementState": "A String", # Output only. Browser's management state. "browserVersion": "A String", # Version of the request initiating browser. E.g. `91.0.4442.4`. @@ -395,7 +395,7 @@

Method Details

"hasPotentiallyHarmfulApps": True or False, # Whether any potentially harmful apps were detected on the device. "ownerProfileAccount": True or False, # Whether this account is on an owner/primary profile. For phones, only true for owner profiles. Android 4+ devices can have secondary or restricted user profiles. "ownershipPrivilege": "A String", # Ownership privileges on device. - "supportsWorkProfile": True or False, # Whether device supports Android work profiles. If false, this service will not block access to corp data even if an administrator turns on the "Enforce Work Profile" policy. + "supportsWorkProfile": True or False, # Whether the device supports Android work profiles. If false, this service will not block access to corp data even if an administrator turns on the "Enforce Work Profile" policy. "verifiedBoot": True or False, # Whether Android verified boot status is GREEN. "verifyAppsEnabled": True or False, # Whether Google Play Protect Verify Apps is enabled. }, @@ -404,7 +404,7 @@

Method Details

"bootloaderVersion": "A String", # Output only. Device bootloader version. Example: 0.6.7. "brand": "A String", # Output only. Device brand. Example: Samsung. "browserProfiles": [ # Browser profiles on the device. This is a copy of the BrowserAttributes message defined in EndpointVerificationSpecificAttributes. We are replicating it here since EndpointVerification isn't the only client reporting browser profiles. - { # Contains information about browser profiles reported by the Clients on the device (e.g. [Endpoint Verification extension](https://chromewebstore.google.com/detail/endpoint-verification/callobklhcbilhphinckomhgkigmfocg?pli=1)). + { # Contains information about browser profiles reported by the clients on the device (e.g. [Endpoint Verification extension](https://chromewebstore.google.com/detail/endpoint-verification/callobklhcbilhphinckomhgkigmfocg?pli=1)). "chromeBrowserInfo": { # Browser-specific fields reported by clients on the device, such as [Endpoint Verification extension](https://chromewebstore.google.com/detail/endpoint-verification/callobklhcbilhphinckomhgkigmfocg?pli=1). # Represents the current state of the [Chrome browser attributes](https://cloud.google.com/access-context-manager/docs/browser-attributes) sent by the clients on the device, such as [Endpoint Verification extension](https://chromewebstore.google.com/detail/endpoint-verification/callobklhcbilhphinckomhgkigmfocg?pli=1). "browserManagementState": "A String", # Output only. Browser's management state. "browserVersion": "A String", # Version of the request initiating browser. E.g. `91.0.4442.4`. @@ -456,7 +456,7 @@

Method Details

"a_key": "", # Properties of the object. }, "browserAttributes": [ # Details of browser profiles reported by Endpoint Verification. - { # Contains information about browser profiles reported by the Clients on the device (e.g. [Endpoint Verification extension](https://chromewebstore.google.com/detail/endpoint-verification/callobklhcbilhphinckomhgkigmfocg?pli=1)). + { # Contains information about browser profiles reported by the clients on the device (e.g. [Endpoint Verification extension](https://chromewebstore.google.com/detail/endpoint-verification/callobklhcbilhphinckomhgkigmfocg?pli=1)). "chromeBrowserInfo": { # Browser-specific fields reported by clients on the device, such as [Endpoint Verification extension](https://chromewebstore.google.com/detail/endpoint-verification/callobklhcbilhphinckomhgkigmfocg?pli=1). # Represents the current state of the [Chrome browser attributes](https://cloud.google.com/access-context-manager/docs/browser-attributes) sent by the clients on the device, such as [Endpoint Verification extension](https://chromewebstore.google.com/detail/endpoint-verification/callobklhcbilhphinckomhgkigmfocg?pli=1). "browserManagementState": "A String", # Output only. Browser's management state. "browserVersion": "A String", # Version of the request initiating browser. E.g. `91.0.4442.4`. @@ -567,7 +567,7 @@

Method Details

"hasPotentiallyHarmfulApps": True or False, # Whether any potentially harmful apps were detected on the device. "ownerProfileAccount": True or False, # Whether this account is on an owner/primary profile. For phones, only true for owner profiles. Android 4+ devices can have secondary or restricted user profiles. "ownershipPrivilege": "A String", # Ownership privileges on device. - "supportsWorkProfile": True or False, # Whether device supports Android work profiles. If false, this service will not block access to corp data even if an administrator turns on the "Enforce Work Profile" policy. + "supportsWorkProfile": True or False, # Whether the device supports Android work profiles. If false, this service will not block access to corp data even if an administrator turns on the "Enforce Work Profile" policy. "verifiedBoot": True or False, # Whether Android verified boot status is GREEN. "verifyAppsEnabled": True or False, # Whether Google Play Protect Verify Apps is enabled. }, @@ -576,7 +576,7 @@

Method Details

"bootloaderVersion": "A String", # Output only. Device bootloader version. Example: 0.6.7. "brand": "A String", # Output only. Device brand. Example: Samsung. "browserProfiles": [ # Browser profiles on the device. This is a copy of the BrowserAttributes message defined in EndpointVerificationSpecificAttributes. We are replicating it here since EndpointVerification isn't the only client reporting browser profiles. - { # Contains information about browser profiles reported by the Clients on the device (e.g. [Endpoint Verification extension](https://chromewebstore.google.com/detail/endpoint-verification/callobklhcbilhphinckomhgkigmfocg?pli=1)). + { # Contains information about browser profiles reported by the clients on the device (e.g. [Endpoint Verification extension](https://chromewebstore.google.com/detail/endpoint-verification/callobklhcbilhphinckomhgkigmfocg?pli=1)). "chromeBrowserInfo": { # Browser-specific fields reported by clients on the device, such as [Endpoint Verification extension](https://chromewebstore.google.com/detail/endpoint-verification/callobklhcbilhphinckomhgkigmfocg?pli=1). # Represents the current state of the [Chrome browser attributes](https://cloud.google.com/access-context-manager/docs/browser-attributes) sent by the clients on the device, such as [Endpoint Verification extension](https://chromewebstore.google.com/detail/endpoint-verification/callobklhcbilhphinckomhgkigmfocg?pli=1). "browserManagementState": "A String", # Output only. Browser's management state. "browserVersion": "A String", # Version of the request initiating browser. E.g. `91.0.4442.4`. @@ -628,7 +628,7 @@

Method Details

"a_key": "", # Properties of the object. }, "browserAttributes": [ # Details of browser profiles reported by Endpoint Verification. - { # Contains information about browser profiles reported by the Clients on the device (e.g. [Endpoint Verification extension](https://chromewebstore.google.com/detail/endpoint-verification/callobklhcbilhphinckomhgkigmfocg?pli=1)). + { # Contains information about browser profiles reported by the clients on the device (e.g. [Endpoint Verification extension](https://chromewebstore.google.com/detail/endpoint-verification/callobklhcbilhphinckomhgkigmfocg?pli=1)). "chromeBrowserInfo": { # Browser-specific fields reported by clients on the device, such as [Endpoint Verification extension](https://chromewebstore.google.com/detail/endpoint-verification/callobklhcbilhphinckomhgkigmfocg?pli=1). # Represents the current state of the [Chrome browser attributes](https://cloud.google.com/access-context-manager/docs/browser-attributes) sent by the clients on the device, such as [Endpoint Verification extension](https://chromewebstore.google.com/detail/endpoint-verification/callobklhcbilhphinckomhgkigmfocg?pli=1). "browserManagementState": "A String", # Output only. Browser's management state. "browserVersion": "A String", # Version of the request initiating browser. E.g. `91.0.4442.4`. diff --git a/docs/dyn/cloudkms_v1.folders.html b/docs/dyn/cloudkms_v1.folders.html index 59f6efd592..2140ac324f 100644 --- a/docs/dyn/cloudkms_v1.folders.html +++ b/docs/dyn/cloudkms_v1.folders.html @@ -123,7 +123,7 @@

Method Details

Gets the KeyAccessJustificationsPolicyConfig for a given organization, folder, or project.
 
 Args:
-  name: string, Required. The name of the KeyAccessJustificationsPolicyConfig to get. (required)
+  name: string, Required. Specifies the name of the KeyAccessJustificationsPolicyConfig to get. (required)
   x__xgafv: string, V1 error format.
     Allowed values
       1 - v1 error format
@@ -132,13 +132,13 @@ 

Method Details

Returns: An object of the form: - { # A singleton configuration for Key Access Justifications policies. - "defaultKeyAccessJustificationPolicy": { # A KeyAccessJustificationsPolicy specifies zero or more allowed AccessReason values for encrypt, decrypt, and sign operations on a CryptoKey. # Optional. The default key access justification policy used when a CryptoKey is created in this folder. This is only used when a Key Access Justifications policy is not provided in the CreateCryptoKeyRequest. This overrides any default policies in its ancestry. - "allowedAccessReasons": [ # The list of allowed reasons for access to a CryptoKey. Zero allowed access reasons means all encrypt, decrypt, and sign operations for the CryptoKey associated with this policy will fail. + { # Represents a singleton configuration for Key Access Justifications policies. + "defaultKeyAccessJustificationPolicy": { # A KeyAccessJustificationsPolicy specifies zero or more allowed AccessReason values for encrypt, decrypt, and sign operations on a CryptoKey or KeyAccessJustificationsPolicyConfig (the default Key Access Justifications policy). # Optional. Specifies the default key access justifications (KAJ) policy used when a CryptoKey is created in this folder. This is only used when a Key Access Justifications policy is not provided in the CreateCryptoKeyRequest. This overrides any default policies in its ancestry. If this field is unset, or is set but contains an empty allowed_access_reasons list, no default Key Access Justifications (KAJ) policy configuration is active. In this scenario, all newly created keys will default to an "allow-all" policy. + "allowedAccessReasons": [ # The list of allowed reasons for access to a CryptoKey. Note that empty allowed_access_reasons has a different meaning depending on where this message appears. If this is under KeyAccessJustificationsPolicyConfig, it means allow-all. If this is under CryptoKey, it means deny-all. "A String", ], }, - "name": "A String", # Identifier. The resource name for this KeyAccessJustificationsPolicyConfig in the format of "{organizations|folders|projects}/*/kajPolicyConfig". + "name": "A String", # Identifier. Represents the resource name for this KeyAccessJustificationsPolicyConfig in the format of "{organizations|folders|projects}/*/kajPolicyConfig". }
@@ -182,20 +182,20 @@

Method Details

Updates the KeyAccessJustificationsPolicyConfig for a given organization, folder, or project.
 
 Args:
-  name: string, Identifier. The resource name for this KeyAccessJustificationsPolicyConfig in the format of "{organizations|folders|projects}/*/kajPolicyConfig". (required)
+  name: string, Identifier. Represents the resource name for this KeyAccessJustificationsPolicyConfig in the format of "{organizations|folders|projects}/*/kajPolicyConfig". (required)
   body: object, The request body.
     The object takes the form of:
 
-{ # A singleton configuration for Key Access Justifications policies.
-  "defaultKeyAccessJustificationPolicy": { # A KeyAccessJustificationsPolicy specifies zero or more allowed AccessReason values for encrypt, decrypt, and sign operations on a CryptoKey. # Optional. The default key access justification policy used when a CryptoKey is created in this folder. This is only used when a Key Access Justifications policy is not provided in the CreateCryptoKeyRequest. This overrides any default policies in its ancestry.
-    "allowedAccessReasons": [ # The list of allowed reasons for access to a CryptoKey. Zero allowed access reasons means all encrypt, decrypt, and sign operations for the CryptoKey associated with this policy will fail.
+{ # Represents a singleton configuration for Key Access Justifications policies.
+  "defaultKeyAccessJustificationPolicy": { # A KeyAccessJustificationsPolicy specifies zero or more allowed AccessReason values for encrypt, decrypt, and sign operations on a CryptoKey or KeyAccessJustificationsPolicyConfig (the default Key Access Justifications policy). # Optional. Specifies the default key access justifications (KAJ) policy used when a CryptoKey is created in this folder. This is only used when a Key Access Justifications policy is not provided in the CreateCryptoKeyRequest. This overrides any default policies in its ancestry. If this field is unset, or is set but contains an empty allowed_access_reasons list, no default Key Access Justifications (KAJ) policy configuration is active. In this scenario, all newly created keys will default to an "allow-all" policy.
+    "allowedAccessReasons": [ # The list of allowed reasons for access to a CryptoKey. Note that empty allowed_access_reasons has a different meaning depending on where this message appears. If this is under KeyAccessJustificationsPolicyConfig, it means allow-all. If this is under CryptoKey, it means deny-all.
       "A String",
     ],
   },
-  "name": "A String", # Identifier. The resource name for this KeyAccessJustificationsPolicyConfig in the format of "{organizations|folders|projects}/*/kajPolicyConfig".
+  "name": "A String", # Identifier. Represents the resource name for this KeyAccessJustificationsPolicyConfig in the format of "{organizations|folders|projects}/*/kajPolicyConfig".
 }
 
-  updateMask: string, Optional. The list of fields to update.
+  updateMask: string, Optional. Specifies the list of fields to update.
   x__xgafv: string, V1 error format.
     Allowed values
       1 - v1 error format
@@ -204,13 +204,13 @@ 

Method Details

Returns: An object of the form: - { # A singleton configuration for Key Access Justifications policies. - "defaultKeyAccessJustificationPolicy": { # A KeyAccessJustificationsPolicy specifies zero or more allowed AccessReason values for encrypt, decrypt, and sign operations on a CryptoKey. # Optional. The default key access justification policy used when a CryptoKey is created in this folder. This is only used when a Key Access Justifications policy is not provided in the CreateCryptoKeyRequest. This overrides any default policies in its ancestry. - "allowedAccessReasons": [ # The list of allowed reasons for access to a CryptoKey. Zero allowed access reasons means all encrypt, decrypt, and sign operations for the CryptoKey associated with this policy will fail. + { # Represents a singleton configuration for Key Access Justifications policies. + "defaultKeyAccessJustificationPolicy": { # A KeyAccessJustificationsPolicy specifies zero or more allowed AccessReason values for encrypt, decrypt, and sign operations on a CryptoKey or KeyAccessJustificationsPolicyConfig (the default Key Access Justifications policy). # Optional. Specifies the default key access justifications (KAJ) policy used when a CryptoKey is created in this folder. This is only used when a Key Access Justifications policy is not provided in the CreateCryptoKeyRequest. This overrides any default policies in its ancestry. If this field is unset, or is set but contains an empty allowed_access_reasons list, no default Key Access Justifications (KAJ) policy configuration is active. In this scenario, all newly created keys will default to an "allow-all" policy. + "allowedAccessReasons": [ # The list of allowed reasons for access to a CryptoKey. Note that empty allowed_access_reasons has a different meaning depending on where this message appears. If this is under KeyAccessJustificationsPolicyConfig, it means allow-all. If this is under CryptoKey, it means deny-all. "A String", ], }, - "name": "A String", # Identifier. The resource name for this KeyAccessJustificationsPolicyConfig in the format of "{organizations|folders|projects}/*/kajPolicyConfig". + "name": "A String", # Identifier. Represents the resource name for this KeyAccessJustificationsPolicyConfig in the format of "{organizations|folders|projects}/*/kajPolicyConfig". }
diff --git a/docs/dyn/cloudkms_v1.organizations.html b/docs/dyn/cloudkms_v1.organizations.html index ce54f87911..a448f610ef 100644 --- a/docs/dyn/cloudkms_v1.organizations.html +++ b/docs/dyn/cloudkms_v1.organizations.html @@ -94,7 +94,7 @@

Method Details

Gets the KeyAccessJustificationsPolicyConfig for a given organization, folder, or project.
 
 Args:
-  name: string, Required. The name of the KeyAccessJustificationsPolicyConfig to get. (required)
+  name: string, Required. Specifies the name of the KeyAccessJustificationsPolicyConfig to get. (required)
   x__xgafv: string, V1 error format.
     Allowed values
       1 - v1 error format
@@ -103,13 +103,13 @@ 

Method Details

Returns: An object of the form: - { # A singleton configuration for Key Access Justifications policies. - "defaultKeyAccessJustificationPolicy": { # A KeyAccessJustificationsPolicy specifies zero or more allowed AccessReason values for encrypt, decrypt, and sign operations on a CryptoKey. # Optional. The default key access justification policy used when a CryptoKey is created in this folder. This is only used when a Key Access Justifications policy is not provided in the CreateCryptoKeyRequest. This overrides any default policies in its ancestry. - "allowedAccessReasons": [ # The list of allowed reasons for access to a CryptoKey. Zero allowed access reasons means all encrypt, decrypt, and sign operations for the CryptoKey associated with this policy will fail. + { # Represents a singleton configuration for Key Access Justifications policies. + "defaultKeyAccessJustificationPolicy": { # A KeyAccessJustificationsPolicy specifies zero or more allowed AccessReason values for encrypt, decrypt, and sign operations on a CryptoKey or KeyAccessJustificationsPolicyConfig (the default Key Access Justifications policy). # Optional. Specifies the default key access justifications (KAJ) policy used when a CryptoKey is created in this folder. This is only used when a Key Access Justifications policy is not provided in the CreateCryptoKeyRequest. This overrides any default policies in its ancestry. If this field is unset, or is set but contains an empty allowed_access_reasons list, no default Key Access Justifications (KAJ) policy configuration is active. In this scenario, all newly created keys will default to an "allow-all" policy. + "allowedAccessReasons": [ # The list of allowed reasons for access to a CryptoKey. Note that empty allowed_access_reasons has a different meaning depending on where this message appears. If this is under KeyAccessJustificationsPolicyConfig, it means allow-all. If this is under CryptoKey, it means deny-all. "A String", ], }, - "name": "A String", # Identifier. The resource name for this KeyAccessJustificationsPolicyConfig in the format of "{organizations|folders|projects}/*/kajPolicyConfig". + "name": "A String", # Identifier. Represents the resource name for this KeyAccessJustificationsPolicyConfig in the format of "{organizations|folders|projects}/*/kajPolicyConfig". }
@@ -118,20 +118,20 @@

Method Details

Updates the KeyAccessJustificationsPolicyConfig for a given organization, folder, or project.
 
 Args:
-  name: string, Identifier. The resource name for this KeyAccessJustificationsPolicyConfig in the format of "{organizations|folders|projects}/*/kajPolicyConfig". (required)
+  name: string, Identifier. Represents the resource name for this KeyAccessJustificationsPolicyConfig in the format of "{organizations|folders|projects}/*/kajPolicyConfig". (required)
   body: object, The request body.
     The object takes the form of:
 
-{ # A singleton configuration for Key Access Justifications policies.
-  "defaultKeyAccessJustificationPolicy": { # A KeyAccessJustificationsPolicy specifies zero or more allowed AccessReason values for encrypt, decrypt, and sign operations on a CryptoKey. # Optional. The default key access justification policy used when a CryptoKey is created in this folder. This is only used when a Key Access Justifications policy is not provided in the CreateCryptoKeyRequest. This overrides any default policies in its ancestry.
-    "allowedAccessReasons": [ # The list of allowed reasons for access to a CryptoKey. Zero allowed access reasons means all encrypt, decrypt, and sign operations for the CryptoKey associated with this policy will fail.
+{ # Represents a singleton configuration for Key Access Justifications policies.
+  "defaultKeyAccessJustificationPolicy": { # A KeyAccessJustificationsPolicy specifies zero or more allowed AccessReason values for encrypt, decrypt, and sign operations on a CryptoKey or KeyAccessJustificationsPolicyConfig (the default Key Access Justifications policy). # Optional. Specifies the default key access justifications (KAJ) policy used when a CryptoKey is created in this folder. This is only used when a Key Access Justifications policy is not provided in the CreateCryptoKeyRequest. This overrides any default policies in its ancestry. If this field is unset, or is set but contains an empty allowed_access_reasons list, no default Key Access Justifications (KAJ) policy configuration is active. In this scenario, all newly created keys will default to an "allow-all" policy.
+    "allowedAccessReasons": [ # The list of allowed reasons for access to a CryptoKey. Note that empty allowed_access_reasons has a different meaning depending on where this message appears. If this is under KeyAccessJustificationsPolicyConfig, it means allow-all. If this is under CryptoKey, it means deny-all.
       "A String",
     ],
   },
-  "name": "A String", # Identifier. The resource name for this KeyAccessJustificationsPolicyConfig in the format of "{organizations|folders|projects}/*/kajPolicyConfig".
+  "name": "A String", # Identifier. Represents the resource name for this KeyAccessJustificationsPolicyConfig in the format of "{organizations|folders|projects}/*/kajPolicyConfig".
 }
 
-  updateMask: string, Optional. The list of fields to update.
+  updateMask: string, Optional. Specifies the list of fields to update.
   x__xgafv: string, V1 error format.
     Allowed values
       1 - v1 error format
@@ -140,13 +140,13 @@ 

Method Details

Returns: An object of the form: - { # A singleton configuration for Key Access Justifications policies. - "defaultKeyAccessJustificationPolicy": { # A KeyAccessJustificationsPolicy specifies zero or more allowed AccessReason values for encrypt, decrypt, and sign operations on a CryptoKey. # Optional. The default key access justification policy used when a CryptoKey is created in this folder. This is only used when a Key Access Justifications policy is not provided in the CreateCryptoKeyRequest. This overrides any default policies in its ancestry. - "allowedAccessReasons": [ # The list of allowed reasons for access to a CryptoKey. Zero allowed access reasons means all encrypt, decrypt, and sign operations for the CryptoKey associated with this policy will fail. + { # Represents a singleton configuration for Key Access Justifications policies. + "defaultKeyAccessJustificationPolicy": { # A KeyAccessJustificationsPolicy specifies zero or more allowed AccessReason values for encrypt, decrypt, and sign operations on a CryptoKey or KeyAccessJustificationsPolicyConfig (the default Key Access Justifications policy). # Optional. Specifies the default key access justifications (KAJ) policy used when a CryptoKey is created in this folder. This is only used when a Key Access Justifications policy is not provided in the CreateCryptoKeyRequest. This overrides any default policies in its ancestry. If this field is unset, or is set but contains an empty allowed_access_reasons list, no default Key Access Justifications (KAJ) policy configuration is active. In this scenario, all newly created keys will default to an "allow-all" policy. + "allowedAccessReasons": [ # The list of allowed reasons for access to a CryptoKey. Note that empty allowed_access_reasons has a different meaning depending on where this message appears. If this is under KeyAccessJustificationsPolicyConfig, it means allow-all. If this is under CryptoKey, it means deny-all. "A String", ], }, - "name": "A String", # Identifier. The resource name for this KeyAccessJustificationsPolicyConfig in the format of "{organizations|folders|projects}/*/kajPolicyConfig". + "name": "A String", # Identifier. Represents the resource name for this KeyAccessJustificationsPolicyConfig in the format of "{organizations|folders|projects}/*/kajPolicyConfig". }
diff --git a/docs/dyn/cloudkms_v1.projects.html b/docs/dyn/cloudkms_v1.projects.html index 1b177bfb2e..9a61fbf02c 100644 --- a/docs/dyn/cloudkms_v1.projects.html +++ b/docs/dyn/cloudkms_v1.projects.html @@ -137,7 +137,7 @@

Method Details

Gets the KeyAccessJustificationsPolicyConfig for a given organization, folder, or project.
 
 Args:
-  name: string, Required. The name of the KeyAccessJustificationsPolicyConfig to get. (required)
+  name: string, Required. Specifies the name of the KeyAccessJustificationsPolicyConfig to get. (required)
   x__xgafv: string, V1 error format.
     Allowed values
       1 - v1 error format
@@ -146,13 +146,13 @@ 

Method Details

Returns: An object of the form: - { # A singleton configuration for Key Access Justifications policies. - "defaultKeyAccessJustificationPolicy": { # A KeyAccessJustificationsPolicy specifies zero or more allowed AccessReason values for encrypt, decrypt, and sign operations on a CryptoKey. # Optional. The default key access justification policy used when a CryptoKey is created in this folder. This is only used when a Key Access Justifications policy is not provided in the CreateCryptoKeyRequest. This overrides any default policies in its ancestry. - "allowedAccessReasons": [ # The list of allowed reasons for access to a CryptoKey. Zero allowed access reasons means all encrypt, decrypt, and sign operations for the CryptoKey associated with this policy will fail. + { # Represents a singleton configuration for Key Access Justifications policies. + "defaultKeyAccessJustificationPolicy": { # A KeyAccessJustificationsPolicy specifies zero or more allowed AccessReason values for encrypt, decrypt, and sign operations on a CryptoKey or KeyAccessJustificationsPolicyConfig (the default Key Access Justifications policy). # Optional. Specifies the default key access justifications (KAJ) policy used when a CryptoKey is created in this folder. This is only used when a Key Access Justifications policy is not provided in the CreateCryptoKeyRequest. This overrides any default policies in its ancestry. If this field is unset, or is set but contains an empty allowed_access_reasons list, no default Key Access Justifications (KAJ) policy configuration is active. In this scenario, all newly created keys will default to an "allow-all" policy. + "allowedAccessReasons": [ # The list of allowed reasons for access to a CryptoKey. Note that empty allowed_access_reasons has a different meaning depending on where this message appears. If this is under KeyAccessJustificationsPolicyConfig, it means allow-all. If this is under CryptoKey, it means deny-all. "A String", ], }, - "name": "A String", # Identifier. The resource name for this KeyAccessJustificationsPolicyConfig in the format of "{organizations|folders|projects}/*/kajPolicyConfig". + "name": "A String", # Identifier. Represents the resource name for this KeyAccessJustificationsPolicyConfig in the format of "{organizations|folders|projects}/*/kajPolicyConfig". }
@@ -180,7 +180,7 @@

Method Details

Returns the KeyAccessJustificationsEnrollmentConfig of the resource closest to the given project in hierarchy.
 
 Args:
-  project: string, Required. The number or id of the project to get the effective KeyAccessJustificationsEnrollmentConfig for. (required)
+  project: string, Required. Specifies the number or id of the project to get the effective KeyAccessJustificationsEnrollmentConfig for. (required)
   x__xgafv: string, V1 error format.
     Allowed values
       1 - v1 error format
@@ -189,18 +189,18 @@ 

Method Details

Returns: An object of the form: - { # Response message for KeyAccessJustificationsConfig.ShowEffectiveKeyAccessJustificationsEnrollmentConfig - "externalConfig": { # The configuration of a protection level for a project's Key Access Justifications enrollment. # The effective KeyAccessJustificationsEnrollmentConfig for external keys. - "auditLogging": True or False, # Whether the project has KAJ logging enabled. - "policyEnforcement": True or False, # Whether the project is enrolled in KAJ policy enforcement. + { # Represents a response message for KeyAccessJustificationsConfig.ShowEffectiveKeyAccessJustificationsEnrollmentConfig + "externalConfig": { # Represents the configuration of a protection level for a project's Key Access Justifications enrollment. # Contains the effective KeyAccessJustificationsEnrollmentConfig for external keys. + "auditLogging": True or False, # Indicates whether the project has KAJ logging enabled. + "policyEnforcement": True or False, # Indicates whether the project is enrolled in KAJ policy enforcement. }, - "hardwareConfig": { # The configuration of a protection level for a project's Key Access Justifications enrollment. # The effective KeyAccessJustificationsEnrollmentConfig for hardware keys. - "auditLogging": True or False, # Whether the project has KAJ logging enabled. - "policyEnforcement": True or False, # Whether the project is enrolled in KAJ policy enforcement. + "hardwareConfig": { # Represents the configuration of a protection level for a project's Key Access Justifications enrollment. # Contains the effective KeyAccessJustificationsEnrollmentConfig for hardware keys. + "auditLogging": True or False, # Indicates whether the project has KAJ logging enabled. + "policyEnforcement": True or False, # Indicates whether the project is enrolled in KAJ policy enforcement. }, - "softwareConfig": { # The configuration of a protection level for a project's Key Access Justifications enrollment. # The effective KeyAccessJustificationsEnrollmentConfig for software keys. - "auditLogging": True or False, # Whether the project has KAJ logging enabled. - "policyEnforcement": True or False, # Whether the project is enrolled in KAJ policy enforcement. + "softwareConfig": { # Represents the configuration of a protection level for a project's Key Access Justifications enrollment. # Contains the effective KeyAccessJustificationsEnrollmentConfig for software keys. + "auditLogging": True or False, # Indicates whether the project has KAJ logging enabled. + "policyEnforcement": True or False, # Indicates whether the project is enrolled in KAJ policy enforcement. }, }
@@ -210,7 +210,7 @@

Method Details

Returns the KeyAccessJustificationsPolicyConfig of the resource closest to the given project in hierarchy.
 
 Args:
-  project: string, Required. The number or id of the project to get the effective KeyAccessJustificationsPolicyConfig. In the format of "projects/{|}" (required)
+  project: string, Required. Specifies the number or id of the project to get the effective KeyAccessJustificationsPolicyConfig. In the format of "projects/{|}" (required)
   x__xgafv: string, V1 error format.
     Allowed values
       1 - v1 error format
@@ -219,14 +219,14 @@ 

Method Details

Returns: An object of the form: - { # Response message for KeyAccessJustificationsConfig.ShowEffectiveKeyAccessJustificationsPolicyConfig. - "effectiveKajPolicy": { # A singleton configuration for Key Access Justifications policies. # The effective KeyAccessJustificationsPolicyConfig. - "defaultKeyAccessJustificationPolicy": { # A KeyAccessJustificationsPolicy specifies zero or more allowed AccessReason values for encrypt, decrypt, and sign operations on a CryptoKey. # Optional. The default key access justification policy used when a CryptoKey is created in this folder. This is only used when a Key Access Justifications policy is not provided in the CreateCryptoKeyRequest. This overrides any default policies in its ancestry. - "allowedAccessReasons": [ # The list of allowed reasons for access to a CryptoKey. Zero allowed access reasons means all encrypt, decrypt, and sign operations for the CryptoKey associated with this policy will fail. + { # Represents a response message for KeyAccessJustificationsConfig.ShowEffectiveKeyAccessJustificationsPolicyConfig. + "effectiveKajPolicy": { # Represents a singleton configuration for Key Access Justifications policies. # Contains the effective KeyAccessJustificationsPolicyConfig. + "defaultKeyAccessJustificationPolicy": { # A KeyAccessJustificationsPolicy specifies zero or more allowed AccessReason values for encrypt, decrypt, and sign operations on a CryptoKey or KeyAccessJustificationsPolicyConfig (the default Key Access Justifications policy). # Optional. Specifies the default key access justifications (KAJ) policy used when a CryptoKey is created in this folder. This is only used when a Key Access Justifications policy is not provided in the CreateCryptoKeyRequest. This overrides any default policies in its ancestry. If this field is unset, or is set but contains an empty allowed_access_reasons list, no default Key Access Justifications (KAJ) policy configuration is active. In this scenario, all newly created keys will default to an "allow-all" policy. + "allowedAccessReasons": [ # The list of allowed reasons for access to a CryptoKey. Note that empty allowed_access_reasons has a different meaning depending on where this message appears. If this is under KeyAccessJustificationsPolicyConfig, it means allow-all. If this is under CryptoKey, it means deny-all. "A String", ], }, - "name": "A String", # Identifier. The resource name for this KeyAccessJustificationsPolicyConfig in the format of "{organizations|folders|projects}/*/kajPolicyConfig". + "name": "A String", # Identifier. Represents the resource name for this KeyAccessJustificationsPolicyConfig in the format of "{organizations|folders|projects}/*/kajPolicyConfig". }, }
@@ -271,20 +271,20 @@

Method Details

Updates the KeyAccessJustificationsPolicyConfig for a given organization, folder, or project.
 
 Args:
-  name: string, Identifier. The resource name for this KeyAccessJustificationsPolicyConfig in the format of "{organizations|folders|projects}/*/kajPolicyConfig". (required)
+  name: string, Identifier. Represents the resource name for this KeyAccessJustificationsPolicyConfig in the format of "{organizations|folders|projects}/*/kajPolicyConfig". (required)
   body: object, The request body.
     The object takes the form of:
 
-{ # A singleton configuration for Key Access Justifications policies.
-  "defaultKeyAccessJustificationPolicy": { # A KeyAccessJustificationsPolicy specifies zero or more allowed AccessReason values for encrypt, decrypt, and sign operations on a CryptoKey. # Optional. The default key access justification policy used when a CryptoKey is created in this folder. This is only used when a Key Access Justifications policy is not provided in the CreateCryptoKeyRequest. This overrides any default policies in its ancestry.
-    "allowedAccessReasons": [ # The list of allowed reasons for access to a CryptoKey. Zero allowed access reasons means all encrypt, decrypt, and sign operations for the CryptoKey associated with this policy will fail.
+{ # Represents a singleton configuration for Key Access Justifications policies.
+  "defaultKeyAccessJustificationPolicy": { # A KeyAccessJustificationsPolicy specifies zero or more allowed AccessReason values for encrypt, decrypt, and sign operations on a CryptoKey or KeyAccessJustificationsPolicyConfig (the default Key Access Justifications policy). # Optional. Specifies the default key access justifications (KAJ) policy used when a CryptoKey is created in this folder. This is only used when a Key Access Justifications policy is not provided in the CreateCryptoKeyRequest. This overrides any default policies in its ancestry. If this field is unset, or is set but contains an empty allowed_access_reasons list, no default Key Access Justifications (KAJ) policy configuration is active. In this scenario, all newly created keys will default to an "allow-all" policy.
+    "allowedAccessReasons": [ # The list of allowed reasons for access to a CryptoKey. Note that empty allowed_access_reasons has a different meaning depending on where this message appears. If this is under KeyAccessJustificationsPolicyConfig, it means allow-all. If this is under CryptoKey, it means deny-all.
       "A String",
     ],
   },
-  "name": "A String", # Identifier. The resource name for this KeyAccessJustificationsPolicyConfig in the format of "{organizations|folders|projects}/*/kajPolicyConfig".
+  "name": "A String", # Identifier. Represents the resource name for this KeyAccessJustificationsPolicyConfig in the format of "{organizations|folders|projects}/*/kajPolicyConfig".
 }
 
-  updateMask: string, Optional. The list of fields to update.
+  updateMask: string, Optional. Specifies the list of fields to update.
   x__xgafv: string, V1 error format.
     Allowed values
       1 - v1 error format
@@ -293,13 +293,13 @@ 

Method Details

Returns: An object of the form: - { # A singleton configuration for Key Access Justifications policies. - "defaultKeyAccessJustificationPolicy": { # A KeyAccessJustificationsPolicy specifies zero or more allowed AccessReason values for encrypt, decrypt, and sign operations on a CryptoKey. # Optional. The default key access justification policy used when a CryptoKey is created in this folder. This is only used when a Key Access Justifications policy is not provided in the CreateCryptoKeyRequest. This overrides any default policies in its ancestry. - "allowedAccessReasons": [ # The list of allowed reasons for access to a CryptoKey. Zero allowed access reasons means all encrypt, decrypt, and sign operations for the CryptoKey associated with this policy will fail. + { # Represents a singleton configuration for Key Access Justifications policies. + "defaultKeyAccessJustificationPolicy": { # A KeyAccessJustificationsPolicy specifies zero or more allowed AccessReason values for encrypt, decrypt, and sign operations on a CryptoKey or KeyAccessJustificationsPolicyConfig (the default Key Access Justifications policy). # Optional. Specifies the default key access justifications (KAJ) policy used when a CryptoKey is created in this folder. This is only used when a Key Access Justifications policy is not provided in the CreateCryptoKeyRequest. This overrides any default policies in its ancestry. If this field is unset, or is set but contains an empty allowed_access_reasons list, no default Key Access Justifications (KAJ) policy configuration is active. In this scenario, all newly created keys will default to an "allow-all" policy. + "allowedAccessReasons": [ # The list of allowed reasons for access to a CryptoKey. Note that empty allowed_access_reasons has a different meaning depending on where this message appears. If this is under KeyAccessJustificationsPolicyConfig, it means allow-all. If this is under CryptoKey, it means deny-all. "A String", ], }, - "name": "A String", # Identifier. The resource name for this KeyAccessJustificationsPolicyConfig in the format of "{organizations|folders|projects}/*/kajPolicyConfig". + "name": "A String", # Identifier. Represents the resource name for this KeyAccessJustificationsPolicyConfig in the format of "{organizations|folders|projects}/*/kajPolicyConfig". }
diff --git a/docs/dyn/cloudkms_v1.projects.locations.keyRings.cryptoKeys.html b/docs/dyn/cloudkms_v1.projects.locations.keyRings.cryptoKeys.html index e4a7f95686..d6e18d970f 100644 --- a/docs/dyn/cloudkms_v1.projects.locations.keyRings.cryptoKeys.html +++ b/docs/dyn/cloudkms_v1.projects.locations.keyRings.cryptoKeys.html @@ -138,8 +138,8 @@

Method Details

"cryptoKeyBackend": "A String", # Immutable. The resource name of the backend environment where the key material for all CryptoKeyVersions associated with this CryptoKey reside and where all related cryptographic operations are performed. Only applicable if CryptoKeyVersions have a ProtectionLevel of EXTERNAL_VPC, with the resource name in the format `projects/*/locations/*/ekmConnections/*`. Only applicable if CryptoKeyVersions have a ProtectionLevel of HSM_SINGLE_TENANT, with the resource name in the format `projects/*/locations/*/singleTenantHsmInstances/*`. Note, this list is non-exhaustive and may apply to additional ProtectionLevels in the future. "destroyScheduledDuration": "A String", # Immutable. The period of time that versions of this key spend in the DESTROY_SCHEDULED state before transitioning to DESTROYED. If not specified at creation time, the default duration is 30 days. "importOnly": True or False, # Immutable. Whether this key may contain imported versions only. - "keyAccessJustificationsPolicy": { # A KeyAccessJustificationsPolicy specifies zero or more allowed AccessReason values for encrypt, decrypt, and sign operations on a CryptoKey. # Optional. The policy used for Key Access Justifications Policy Enforcement. If this field is present and this key is enrolled in Key Access Justifications Policy Enforcement, the policy will be evaluated in encrypt, decrypt, and sign operations, and the operation will fail if rejected by the policy. The policy is defined by specifying zero or more allowed justification codes. https://cloud.google.com/assured-workloads/key-access-justifications/docs/justification-codes By default, this field is absent, and all justification codes are allowed. - "allowedAccessReasons": [ # The list of allowed reasons for access to a CryptoKey. Zero allowed access reasons means all encrypt, decrypt, and sign operations for the CryptoKey associated with this policy will fail. + "keyAccessJustificationsPolicy": { # A KeyAccessJustificationsPolicy specifies zero or more allowed AccessReason values for encrypt, decrypt, and sign operations on a CryptoKey or KeyAccessJustificationsPolicyConfig (the default Key Access Justifications policy). # Optional. The policy used for Key Access Justifications Policy Enforcement. If this field is present and this key is enrolled in Key Access Justifications Policy Enforcement, the policy will be evaluated in encrypt, decrypt, and sign operations, and the operation will fail if rejected by the policy. The policy is defined by specifying zero or more allowed justification codes. https://cloud.google.com/assured-workloads/key-access-justifications/docs/justification-codes By default, this field is absent, and all justification codes are allowed. If the `key_access_justifications_policy.allowed_access_reasons` is empty (zero allowed justification code), all encrypt, decrypt, and sign operations will fail. + "allowedAccessReasons": [ # The list of allowed reasons for access to a CryptoKey. Note that empty allowed_access_reasons has a different meaning depending on where this message appears. If this is under KeyAccessJustificationsPolicyConfig, it means allow-all. If this is under CryptoKey, it means deny-all. "A String", ], }, @@ -206,8 +206,8 @@

Method Details

"cryptoKeyBackend": "A String", # Immutable. The resource name of the backend environment where the key material for all CryptoKeyVersions associated with this CryptoKey reside and where all related cryptographic operations are performed. Only applicable if CryptoKeyVersions have a ProtectionLevel of EXTERNAL_VPC, with the resource name in the format `projects/*/locations/*/ekmConnections/*`. Only applicable if CryptoKeyVersions have a ProtectionLevel of HSM_SINGLE_TENANT, with the resource name in the format `projects/*/locations/*/singleTenantHsmInstances/*`. Note, this list is non-exhaustive and may apply to additional ProtectionLevels in the future. "destroyScheduledDuration": "A String", # Immutable. The period of time that versions of this key spend in the DESTROY_SCHEDULED state before transitioning to DESTROYED. If not specified at creation time, the default duration is 30 days. "importOnly": True or False, # Immutable. Whether this key may contain imported versions only. - "keyAccessJustificationsPolicy": { # A KeyAccessJustificationsPolicy specifies zero or more allowed AccessReason values for encrypt, decrypt, and sign operations on a CryptoKey. # Optional. The policy used for Key Access Justifications Policy Enforcement. If this field is present and this key is enrolled in Key Access Justifications Policy Enforcement, the policy will be evaluated in encrypt, decrypt, and sign operations, and the operation will fail if rejected by the policy. The policy is defined by specifying zero or more allowed justification codes. https://cloud.google.com/assured-workloads/key-access-justifications/docs/justification-codes By default, this field is absent, and all justification codes are allowed. - "allowedAccessReasons": [ # The list of allowed reasons for access to a CryptoKey. Zero allowed access reasons means all encrypt, decrypt, and sign operations for the CryptoKey associated with this policy will fail. + "keyAccessJustificationsPolicy": { # A KeyAccessJustificationsPolicy specifies zero or more allowed AccessReason values for encrypt, decrypt, and sign operations on a CryptoKey or KeyAccessJustificationsPolicyConfig (the default Key Access Justifications policy). # Optional. The policy used for Key Access Justifications Policy Enforcement. If this field is present and this key is enrolled in Key Access Justifications Policy Enforcement, the policy will be evaluated in encrypt, decrypt, and sign operations, and the operation will fail if rejected by the policy. The policy is defined by specifying zero or more allowed justification codes. https://cloud.google.com/assured-workloads/key-access-justifications/docs/justification-codes By default, this field is absent, and all justification codes are allowed. If the `key_access_justifications_policy.allowed_access_reasons` is empty (zero allowed justification code), all encrypt, decrypt, and sign operations will fail. + "allowedAccessReasons": [ # The list of allowed reasons for access to a CryptoKey. Note that empty allowed_access_reasons has a different meaning depending on where this message appears. If this is under KeyAccessJustificationsPolicyConfig, it means allow-all. If this is under CryptoKey, it means deny-all. "A String", ], }, @@ -380,8 +380,8 @@

Method Details

"cryptoKeyBackend": "A String", # Immutable. The resource name of the backend environment where the key material for all CryptoKeyVersions associated with this CryptoKey reside and where all related cryptographic operations are performed. Only applicable if CryptoKeyVersions have a ProtectionLevel of EXTERNAL_VPC, with the resource name in the format `projects/*/locations/*/ekmConnections/*`. Only applicable if CryptoKeyVersions have a ProtectionLevel of HSM_SINGLE_TENANT, with the resource name in the format `projects/*/locations/*/singleTenantHsmInstances/*`. Note, this list is non-exhaustive and may apply to additional ProtectionLevels in the future. "destroyScheduledDuration": "A String", # Immutable. The period of time that versions of this key spend in the DESTROY_SCHEDULED state before transitioning to DESTROYED. If not specified at creation time, the default duration is 30 days. "importOnly": True or False, # Immutable. Whether this key may contain imported versions only. - "keyAccessJustificationsPolicy": { # A KeyAccessJustificationsPolicy specifies zero or more allowed AccessReason values for encrypt, decrypt, and sign operations on a CryptoKey. # Optional. The policy used for Key Access Justifications Policy Enforcement. If this field is present and this key is enrolled in Key Access Justifications Policy Enforcement, the policy will be evaluated in encrypt, decrypt, and sign operations, and the operation will fail if rejected by the policy. The policy is defined by specifying zero or more allowed justification codes. https://cloud.google.com/assured-workloads/key-access-justifications/docs/justification-codes By default, this field is absent, and all justification codes are allowed. - "allowedAccessReasons": [ # The list of allowed reasons for access to a CryptoKey. Zero allowed access reasons means all encrypt, decrypt, and sign operations for the CryptoKey associated with this policy will fail. + "keyAccessJustificationsPolicy": { # A KeyAccessJustificationsPolicy specifies zero or more allowed AccessReason values for encrypt, decrypt, and sign operations on a CryptoKey or KeyAccessJustificationsPolicyConfig (the default Key Access Justifications policy). # Optional. The policy used for Key Access Justifications Policy Enforcement. If this field is present and this key is enrolled in Key Access Justifications Policy Enforcement, the policy will be evaluated in encrypt, decrypt, and sign operations, and the operation will fail if rejected by the policy. The policy is defined by specifying zero or more allowed justification codes. https://cloud.google.com/assured-workloads/key-access-justifications/docs/justification-codes By default, this field is absent, and all justification codes are allowed. If the `key_access_justifications_policy.allowed_access_reasons` is empty (zero allowed justification code), all encrypt, decrypt, and sign operations will fail. + "allowedAccessReasons": [ # The list of allowed reasons for access to a CryptoKey. Note that empty allowed_access_reasons has a different meaning depending on where this message appears. If this is under KeyAccessJustificationsPolicyConfig, it means allow-all. If this is under CryptoKey, it means deny-all. "A String", ], }, @@ -511,8 +511,8 @@

Method Details

"cryptoKeyBackend": "A String", # Immutable. The resource name of the backend environment where the key material for all CryptoKeyVersions associated with this CryptoKey reside and where all related cryptographic operations are performed. Only applicable if CryptoKeyVersions have a ProtectionLevel of EXTERNAL_VPC, with the resource name in the format `projects/*/locations/*/ekmConnections/*`. Only applicable if CryptoKeyVersions have a ProtectionLevel of HSM_SINGLE_TENANT, with the resource name in the format `projects/*/locations/*/singleTenantHsmInstances/*`. Note, this list is non-exhaustive and may apply to additional ProtectionLevels in the future. "destroyScheduledDuration": "A String", # Immutable. The period of time that versions of this key spend in the DESTROY_SCHEDULED state before transitioning to DESTROYED. If not specified at creation time, the default duration is 30 days. "importOnly": True or False, # Immutable. Whether this key may contain imported versions only. - "keyAccessJustificationsPolicy": { # A KeyAccessJustificationsPolicy specifies zero or more allowed AccessReason values for encrypt, decrypt, and sign operations on a CryptoKey. # Optional. The policy used for Key Access Justifications Policy Enforcement. If this field is present and this key is enrolled in Key Access Justifications Policy Enforcement, the policy will be evaluated in encrypt, decrypt, and sign operations, and the operation will fail if rejected by the policy. The policy is defined by specifying zero or more allowed justification codes. https://cloud.google.com/assured-workloads/key-access-justifications/docs/justification-codes By default, this field is absent, and all justification codes are allowed. - "allowedAccessReasons": [ # The list of allowed reasons for access to a CryptoKey. Zero allowed access reasons means all encrypt, decrypt, and sign operations for the CryptoKey associated with this policy will fail. + "keyAccessJustificationsPolicy": { # A KeyAccessJustificationsPolicy specifies zero or more allowed AccessReason values for encrypt, decrypt, and sign operations on a CryptoKey or KeyAccessJustificationsPolicyConfig (the default Key Access Justifications policy). # Optional. The policy used for Key Access Justifications Policy Enforcement. If this field is present and this key is enrolled in Key Access Justifications Policy Enforcement, the policy will be evaluated in encrypt, decrypt, and sign operations, and the operation will fail if rejected by the policy. The policy is defined by specifying zero or more allowed justification codes. https://cloud.google.com/assured-workloads/key-access-justifications/docs/justification-codes By default, this field is absent, and all justification codes are allowed. If the `key_access_justifications_policy.allowed_access_reasons` is empty (zero allowed justification code), all encrypt, decrypt, and sign operations will fail. + "allowedAccessReasons": [ # The list of allowed reasons for access to a CryptoKey. Note that empty allowed_access_reasons has a different meaning depending on where this message appears. If this is under KeyAccessJustificationsPolicyConfig, it means allow-all. If this is under CryptoKey, it means deny-all. "A String", ], }, @@ -597,8 +597,8 @@

Method Details

"cryptoKeyBackend": "A String", # Immutable. The resource name of the backend environment where the key material for all CryptoKeyVersions associated with this CryptoKey reside and where all related cryptographic operations are performed. Only applicable if CryptoKeyVersions have a ProtectionLevel of EXTERNAL_VPC, with the resource name in the format `projects/*/locations/*/ekmConnections/*`. Only applicable if CryptoKeyVersions have a ProtectionLevel of HSM_SINGLE_TENANT, with the resource name in the format `projects/*/locations/*/singleTenantHsmInstances/*`. Note, this list is non-exhaustive and may apply to additional ProtectionLevels in the future. "destroyScheduledDuration": "A String", # Immutable. The period of time that versions of this key spend in the DESTROY_SCHEDULED state before transitioning to DESTROYED. If not specified at creation time, the default duration is 30 days. "importOnly": True or False, # Immutable. Whether this key may contain imported versions only. - "keyAccessJustificationsPolicy": { # A KeyAccessJustificationsPolicy specifies zero or more allowed AccessReason values for encrypt, decrypt, and sign operations on a CryptoKey. # Optional. The policy used for Key Access Justifications Policy Enforcement. If this field is present and this key is enrolled in Key Access Justifications Policy Enforcement, the policy will be evaluated in encrypt, decrypt, and sign operations, and the operation will fail if rejected by the policy. The policy is defined by specifying zero or more allowed justification codes. https://cloud.google.com/assured-workloads/key-access-justifications/docs/justification-codes By default, this field is absent, and all justification codes are allowed. - "allowedAccessReasons": [ # The list of allowed reasons for access to a CryptoKey. Zero allowed access reasons means all encrypt, decrypt, and sign operations for the CryptoKey associated with this policy will fail. + "keyAccessJustificationsPolicy": { # A KeyAccessJustificationsPolicy specifies zero or more allowed AccessReason values for encrypt, decrypt, and sign operations on a CryptoKey or KeyAccessJustificationsPolicyConfig (the default Key Access Justifications policy). # Optional. The policy used for Key Access Justifications Policy Enforcement. If this field is present and this key is enrolled in Key Access Justifications Policy Enforcement, the policy will be evaluated in encrypt, decrypt, and sign operations, and the operation will fail if rejected by the policy. The policy is defined by specifying zero or more allowed justification codes. https://cloud.google.com/assured-workloads/key-access-justifications/docs/justification-codes By default, this field is absent, and all justification codes are allowed. If the `key_access_justifications_policy.allowed_access_reasons` is empty (zero allowed justification code), all encrypt, decrypt, and sign operations will fail. + "allowedAccessReasons": [ # The list of allowed reasons for access to a CryptoKey. Note that empty allowed_access_reasons has a different meaning depending on where this message appears. If this is under KeyAccessJustificationsPolicyConfig, it means allow-all. If this is under CryptoKey, it means deny-all. "A String", ], }, @@ -664,8 +664,8 @@

Method Details

"cryptoKeyBackend": "A String", # Immutable. The resource name of the backend environment where the key material for all CryptoKeyVersions associated with this CryptoKey reside and where all related cryptographic operations are performed. Only applicable if CryptoKeyVersions have a ProtectionLevel of EXTERNAL_VPC, with the resource name in the format `projects/*/locations/*/ekmConnections/*`. Only applicable if CryptoKeyVersions have a ProtectionLevel of HSM_SINGLE_TENANT, with the resource name in the format `projects/*/locations/*/singleTenantHsmInstances/*`. Note, this list is non-exhaustive and may apply to additional ProtectionLevels in the future. "destroyScheduledDuration": "A String", # Immutable. The period of time that versions of this key spend in the DESTROY_SCHEDULED state before transitioning to DESTROYED. If not specified at creation time, the default duration is 30 days. "importOnly": True or False, # Immutable. Whether this key may contain imported versions only. - "keyAccessJustificationsPolicy": { # A KeyAccessJustificationsPolicy specifies zero or more allowed AccessReason values for encrypt, decrypt, and sign operations on a CryptoKey. # Optional. The policy used for Key Access Justifications Policy Enforcement. If this field is present and this key is enrolled in Key Access Justifications Policy Enforcement, the policy will be evaluated in encrypt, decrypt, and sign operations, and the operation will fail if rejected by the policy. The policy is defined by specifying zero or more allowed justification codes. https://cloud.google.com/assured-workloads/key-access-justifications/docs/justification-codes By default, this field is absent, and all justification codes are allowed. - "allowedAccessReasons": [ # The list of allowed reasons for access to a CryptoKey. Zero allowed access reasons means all encrypt, decrypt, and sign operations for the CryptoKey associated with this policy will fail. + "keyAccessJustificationsPolicy": { # A KeyAccessJustificationsPolicy specifies zero or more allowed AccessReason values for encrypt, decrypt, and sign operations on a CryptoKey or KeyAccessJustificationsPolicyConfig (the default Key Access Justifications policy). # Optional. The policy used for Key Access Justifications Policy Enforcement. If this field is present and this key is enrolled in Key Access Justifications Policy Enforcement, the policy will be evaluated in encrypt, decrypt, and sign operations, and the operation will fail if rejected by the policy. The policy is defined by specifying zero or more allowed justification codes. https://cloud.google.com/assured-workloads/key-access-justifications/docs/justification-codes By default, this field is absent, and all justification codes are allowed. If the `key_access_justifications_policy.allowed_access_reasons` is empty (zero allowed justification code), all encrypt, decrypt, and sign operations will fail. + "allowedAccessReasons": [ # The list of allowed reasons for access to a CryptoKey. Note that empty allowed_access_reasons has a different meaning depending on where this message appears. If this is under KeyAccessJustificationsPolicyConfig, it means allow-all. If this is under CryptoKey, it means deny-all. "A String", ], }, @@ -859,8 +859,8 @@

Method Details

"cryptoKeyBackend": "A String", # Immutable. The resource name of the backend environment where the key material for all CryptoKeyVersions associated with this CryptoKey reside and where all related cryptographic operations are performed. Only applicable if CryptoKeyVersions have a ProtectionLevel of EXTERNAL_VPC, with the resource name in the format `projects/*/locations/*/ekmConnections/*`. Only applicable if CryptoKeyVersions have a ProtectionLevel of HSM_SINGLE_TENANT, with the resource name in the format `projects/*/locations/*/singleTenantHsmInstances/*`. Note, this list is non-exhaustive and may apply to additional ProtectionLevels in the future. "destroyScheduledDuration": "A String", # Immutable. The period of time that versions of this key spend in the DESTROY_SCHEDULED state before transitioning to DESTROYED. If not specified at creation time, the default duration is 30 days. "importOnly": True or False, # Immutable. Whether this key may contain imported versions only. - "keyAccessJustificationsPolicy": { # A KeyAccessJustificationsPolicy specifies zero or more allowed AccessReason values for encrypt, decrypt, and sign operations on a CryptoKey. # Optional. The policy used for Key Access Justifications Policy Enforcement. If this field is present and this key is enrolled in Key Access Justifications Policy Enforcement, the policy will be evaluated in encrypt, decrypt, and sign operations, and the operation will fail if rejected by the policy. The policy is defined by specifying zero or more allowed justification codes. https://cloud.google.com/assured-workloads/key-access-justifications/docs/justification-codes By default, this field is absent, and all justification codes are allowed. - "allowedAccessReasons": [ # The list of allowed reasons for access to a CryptoKey. Zero allowed access reasons means all encrypt, decrypt, and sign operations for the CryptoKey associated with this policy will fail. + "keyAccessJustificationsPolicy": { # A KeyAccessJustificationsPolicy specifies zero or more allowed AccessReason values for encrypt, decrypt, and sign operations on a CryptoKey or KeyAccessJustificationsPolicyConfig (the default Key Access Justifications policy). # Optional. The policy used for Key Access Justifications Policy Enforcement. If this field is present and this key is enrolled in Key Access Justifications Policy Enforcement, the policy will be evaluated in encrypt, decrypt, and sign operations, and the operation will fail if rejected by the policy. The policy is defined by specifying zero or more allowed justification codes. https://cloud.google.com/assured-workloads/key-access-justifications/docs/justification-codes By default, this field is absent, and all justification codes are allowed. If the `key_access_justifications_policy.allowed_access_reasons` is empty (zero allowed justification code), all encrypt, decrypt, and sign operations will fail. + "allowedAccessReasons": [ # The list of allowed reasons for access to a CryptoKey. Note that empty allowed_access_reasons has a different meaning depending on where this message appears. If this is under KeyAccessJustificationsPolicyConfig, it means allow-all. If this is under CryptoKey, it means deny-all. "A String", ], }, diff --git a/docs/dyn/cloudsearch_v1.query.html b/docs/dyn/cloudsearch_v1.query.html index 21ddc5c052..7d3f8fec73 100644 --- a/docs/dyn/cloudsearch_v1.query.html +++ b/docs/dyn/cloudsearch_v1.query.html @@ -141,7 +141,7 @@

Method Details

body: object, The request body. The object takes the form of: -{ # The search API request. NEXT ID: 24 +{ # The search API request. NEXT ID: 25 "contextAttributes": [ # Context attributes for the request which will be used to adjust ranking of search results. The maximum number of elements is 10. { # A named attribute associated with an item which can be used for influencing the ranking of the item based on the context in the request. "name": "A String", # The name of the attribute. It should not be empty. The maximum length is 32 characters. The name must start with a letter and can only contain letters (A-Z, a-z) or numbers (0-9). The name will be normalized (lower-cased) before being matched. @@ -631,6 +631,8 @@

Method Details

}, }, "querySuggestion": { # This field does not contain anything as of now and is just used as an indicator that the suggest result was a phrase completion. # This field will be present if the suggested query is a word/phrase completion. + "lastQueryTime": "A String", # Last query time of the suggestion for query history suggestions. + "sourceCorpus": "A String", # Source corpus of the suggestion. }, "source": { # Defines sources for the suggest/search APIs. # The source of the suggestion. "name": "A String", # Source name for content indexed by the Indexing API. diff --git a/docs/dyn/connectors_v1.projects.locations.connections.connectionSchemaMetadata.html b/docs/dyn/connectors_v1.projects.locations.connections.connectionSchemaMetadata.html index f109d3f3a6..30b1460d19 100644 --- a/docs/dyn/connectors_v1.projects.locations.connections.connectionSchemaMetadata.html +++ b/docs/dyn/connectors_v1.projects.locations.connections.connectionSchemaMetadata.html @@ -212,9 +212,18 @@

Method Details

"enum": [ # Possible values for an enumeration. This works in conjunction with `type` to represent types with a fixed set of legal values "", ], + "exclusiveMaximum": True or False, # Whether the maximum number value is exclusive. + "exclusiveMinimum": True or False, # Whether the minimum number value is exclusive. "format": "A String", # Format of the value as per https://json-schema.org/understanding-json-schema/reference/string.html#format "items": # Object with schema name: JsonSchema # Schema that applies to array values, applicable only if this is of type `array`. "jdbcType": "A String", # JDBC datatype of the field. + "maxItems": 42, # Maximum number of items in the array field. + "maxLength": 42, # Maximum length of the string field. + "maximum": "", # Maximum value of the number field. + "minItems": 42, # Minimum number of items in the array field. + "minLength": 42, # Minimum length of the string field. + "minimum": "", # Minimum value of the number field. + "pattern": "A String", # Regex pattern of the string field. This is a string value that describes the regular expression that the string value should match. "properties": { # The child schemas, applicable only if this is of type `object`. The key is the name of the property and the value is the json schema that describes that property "a_key": # Object with schema name: JsonSchema }, @@ -224,6 +233,7 @@

Method Details

"type": [ # JSON Schema Validation: A Vocabulary for Structural Validation of JSON "A String", ], + "uniqueItems": True or False, # Whether the items in the array field are unique. }, "inputParameters": [ # Output only. List of input parameter metadata for the action. { # Metadata of an input parameter. @@ -239,9 +249,18 @@

Method Details

"enum": [ # Possible values for an enumeration. This works in conjunction with `type` to represent types with a fixed set of legal values "", ], + "exclusiveMaximum": True or False, # Whether the maximum number value is exclusive. + "exclusiveMinimum": True or False, # Whether the minimum number value is exclusive. "format": "A String", # Format of the value as per https://json-schema.org/understanding-json-schema/reference/string.html#format "items": # Object with schema name: JsonSchema # Schema that applies to array values, applicable only if this is of type `array`. "jdbcType": "A String", # JDBC datatype of the field. + "maxItems": 42, # Maximum number of items in the array field. + "maxLength": 42, # Maximum length of the string field. + "maximum": "", # Maximum value of the number field. + "minItems": 42, # Minimum number of items in the array field. + "minLength": 42, # Minimum length of the string field. + "minimum": "", # Minimum value of the number field. + "pattern": "A String", # Regex pattern of the string field. This is a string value that describes the regular expression that the string value should match. "properties": { # The child schemas, applicable only if this is of type `object`. The key is the name of the property and the value is the json schema that describes that property "a_key": # Object with schema name: JsonSchema }, @@ -251,6 +270,7 @@

Method Details

"type": [ # JSON Schema Validation: A Vocabulary for Structural Validation of JSON "A String", ], + "uniqueItems": True or False, # Whether the items in the array field are unique. }, "nullable": True or False, # Specifies whether a null value is allowed. "parameter": "A String", # Name of the Parameter. @@ -266,9 +286,18 @@

Method Details

"enum": [ # Possible values for an enumeration. This works in conjunction with `type` to represent types with a fixed set of legal values "", ], + "exclusiveMaximum": True or False, # Whether the maximum number value is exclusive. + "exclusiveMinimum": True or False, # Whether the minimum number value is exclusive. "format": "A String", # Format of the value as per https://json-schema.org/understanding-json-schema/reference/string.html#format "items": # Object with schema name: JsonSchema # Schema that applies to array values, applicable only if this is of type `array`. "jdbcType": "A String", # JDBC datatype of the field. + "maxItems": 42, # Maximum number of items in the array field. + "maxLength": 42, # Maximum length of the string field. + "maximum": "", # Maximum value of the number field. + "minItems": 42, # Minimum number of items in the array field. + "minLength": 42, # Minimum length of the string field. + "minimum": "", # Minimum value of the number field. + "pattern": "A String", # Regex pattern of the string field. This is a string value that describes the regular expression that the string value should match. "properties": { # The child schemas, applicable only if this is of type `object`. The key is the name of the property and the value is the json schema that describes that property "a_key": # Object with schema name: JsonSchema }, @@ -278,6 +307,7 @@

Method Details

"type": [ # JSON Schema Validation: A Vocabulary for Structural Validation of JSON "A String", ], + "uniqueItems": True or False, # Whether the items in the array field are unique. }, "resultMetadata": [ # Output only. List of result field metadata. { # Metadata of result field. @@ -294,9 +324,18 @@

Method Details

"enum": [ # Possible values for an enumeration. This works in conjunction with `type` to represent types with a fixed set of legal values "", ], + "exclusiveMaximum": True or False, # Whether the maximum number value is exclusive. + "exclusiveMinimum": True or False, # Whether the minimum number value is exclusive. "format": "A String", # Format of the value as per https://json-schema.org/understanding-json-schema/reference/string.html#format "items": # Object with schema name: JsonSchema # Schema that applies to array values, applicable only if this is of type `array`. "jdbcType": "A String", # JDBC datatype of the field. + "maxItems": 42, # Maximum number of items in the array field. + "maxLength": 42, # Maximum length of the string field. + "maximum": "", # Maximum value of the number field. + "minItems": 42, # Minimum number of items in the array field. + "minLength": 42, # Minimum length of the string field. + "minimum": "", # Minimum value of the number field. + "pattern": "A String", # Regex pattern of the string field. This is a string value that describes the regular expression that the string value should match. "properties": { # The child schemas, applicable only if this is of type `object`. The key is the name of the property and the value is the json schema that describes that property "a_key": # Object with schema name: JsonSchema }, @@ -306,6 +345,7 @@

Method Details

"type": [ # JSON Schema Validation: A Vocabulary for Structural Validation of JSON "A String", ], + "uniqueItems": True or False, # Whether the items in the array field are unique. }, "nullable": True or False, # Specifies whether a null value is allowed. }, @@ -374,9 +414,18 @@

Method Details

"enum": [ # Possible values for an enumeration. This works in conjunction with `type` to represent types with a fixed set of legal values "", ], + "exclusiveMaximum": True or False, # Whether the maximum number value is exclusive. + "exclusiveMinimum": True or False, # Whether the minimum number value is exclusive. "format": "A String", # Format of the value as per https://json-schema.org/understanding-json-schema/reference/string.html#format "items": # Object with schema name: JsonSchema # Schema that applies to array values, applicable only if this is of type `array`. "jdbcType": "A String", # JDBC datatype of the field. + "maxItems": 42, # Maximum number of items in the array field. + "maxLength": 42, # Maximum length of the string field. + "maximum": "", # Maximum value of the number field. + "minItems": 42, # Minimum number of items in the array field. + "minLength": 42, # Minimum length of the string field. + "minimum": "", # Minimum value of the number field. + "pattern": "A String", # Regex pattern of the string field. This is a string value that describes the regular expression that the string value should match. "properties": { # The child schemas, applicable only if this is of type `object`. The key is the name of the property and the value is the json schema that describes that property "a_key": # Object with schema name: JsonSchema }, @@ -386,6 +435,7 @@

Method Details

"type": [ # JSON Schema Validation: A Vocabulary for Structural Validation of JSON "A String", ], + "uniqueItems": True or False, # Whether the items in the array field are unique. }, "key": True or False, # The following boolean field specifies if the current Field acts as a primary key or id if the parent is of type entity. "nullable": True or False, # Specifies whether a null value is allowed. @@ -401,9 +451,18 @@

Method Details

"enum": [ # Possible values for an enumeration. This works in conjunction with `type` to represent types with a fixed set of legal values "", ], + "exclusiveMaximum": True or False, # Whether the maximum number value is exclusive. + "exclusiveMinimum": True or False, # Whether the minimum number value is exclusive. "format": "A String", # Format of the value as per https://json-schema.org/understanding-json-schema/reference/string.html#format "items": # Object with schema name: JsonSchema # Schema that applies to array values, applicable only if this is of type `array`. "jdbcType": "A String", # JDBC datatype of the field. + "maxItems": 42, # Maximum number of items in the array field. + "maxLength": 42, # Maximum length of the string field. + "maximum": "", # Maximum value of the number field. + "minItems": 42, # Minimum number of items in the array field. + "minLength": 42, # Minimum length of the string field. + "minimum": "", # Minimum value of the number field. + "pattern": "A String", # Regex pattern of the string field. This is a string value that describes the regular expression that the string value should match. "properties": { # The child schemas, applicable only if this is of type `object`. The key is the name of the property and the value is the json schema that describes that property "a_key": # Object with schema name: JsonSchema }, @@ -413,6 +472,7 @@

Method Details

"type": [ # JSON Schema Validation: A Vocabulary for Structural Validation of JSON "A String", ], + "uniqueItems": True or False, # Whether the items in the array field are unique. }, "operations": [ # List of operations supported by this entity "A String", diff --git a/docs/dyn/connectors_v1.projects.locations.connections.endUserAuthentications.html b/docs/dyn/connectors_v1.projects.locations.connections.endUserAuthentications.html index 84e45831a6..a150da383c 100644 --- a/docs/dyn/connectors_v1.projects.locations.connections.endUserAuthentications.html +++ b/docs/dyn/connectors_v1.projects.locations.connections.endUserAuthentications.html @@ -126,14 +126,14 @@

Method Details

"createTime": "A String", # Output only. Created time. "destinationConfigs": [ # Optional. Destination configs for the EndUserAuthentication. { # Define the Connectors target endpoint. - "destinations": [ # The destinations for the key. + "destinations": [ # Optional. The destinations for the key. { "host": "A String", # For publicly routable host. - "port": 42, # The port is the target port number that is accepted by the destination. + "port": 42, # Optional. The port is the target port number that is accepted by the destination. "serviceAttachment": "A String", # PSC service attachments. Format: projects/*/regions/*/serviceAttachments/* }, ], - "key": "A String", # The key is the destination identifier that is supported by the Connector. + "key": "A String", # Optional. The key is the destination identifier that is supported by the Connector. }, ], "endUserAuthenticationConfig": { # EndUserAuthenticationConfig defines details of a authentication configuration for EUC # Optional. The EndUserAuthenticationConfig for the EndUserAuthentication. @@ -363,14 +363,14 @@

Method Details

"createTime": "A String", # Output only. Created time. "destinationConfigs": [ # Optional. Destination configs for the EndUserAuthentication. { # Define the Connectors target endpoint. - "destinations": [ # The destinations for the key. + "destinations": [ # Optional. The destinations for the key. { "host": "A String", # For publicly routable host. - "port": 42, # The port is the target port number that is accepted by the destination. + "port": 42, # Optional. The port is the target port number that is accepted by the destination. "serviceAttachment": "A String", # PSC service attachments. Format: projects/*/regions/*/serviceAttachments/* }, ], - "key": "A String", # The key is the destination identifier that is supported by the Connector. + "key": "A String", # Optional. The key is the destination identifier that is supported by the Connector. }, ], "endUserAuthenticationConfig": { # EndUserAuthenticationConfig defines details of a authentication configuration for EUC # Optional. The EndUserAuthenticationConfig for the EndUserAuthentication. @@ -537,14 +537,14 @@

Method Details

"createTime": "A String", # Output only. Created time. "destinationConfigs": [ # Optional. Destination configs for the EndUserAuthentication. { # Define the Connectors target endpoint. - "destinations": [ # The destinations for the key. + "destinations": [ # Optional. The destinations for the key. { "host": "A String", # For publicly routable host. - "port": 42, # The port is the target port number that is accepted by the destination. + "port": 42, # Optional. The port is the target port number that is accepted by the destination. "serviceAttachment": "A String", # PSC service attachments. Format: projects/*/regions/*/serviceAttachments/* }, ], - "key": "A String", # The key is the destination identifier that is supported by the Connector. + "key": "A String", # Optional. The key is the destination identifier that is supported by the Connector. }, ], "endUserAuthenticationConfig": { # EndUserAuthenticationConfig defines details of a authentication configuration for EUC # Optional. The EndUserAuthenticationConfig for the EndUserAuthentication. @@ -720,14 +720,14 @@

Method Details

"createTime": "A String", # Output only. Created time. "destinationConfigs": [ # Optional. Destination configs for the EndUserAuthentication. { # Define the Connectors target endpoint. - "destinations": [ # The destinations for the key. + "destinations": [ # Optional. The destinations for the key. { "host": "A String", # For publicly routable host. - "port": 42, # The port is the target port number that is accepted by the destination. + "port": 42, # Optional. The port is the target port number that is accepted by the destination. "serviceAttachment": "A String", # PSC service attachments. Format: projects/*/regions/*/serviceAttachments/* }, ], - "key": "A String", # The key is the destination identifier that is supported by the Connector. + "key": "A String", # Optional. The key is the destination identifier that is supported by the Connector. }, ], "endUserAuthenticationConfig": { # EndUserAuthenticationConfig defines details of a authentication configuration for EUC # Optional. The EndUserAuthenticationConfig for the EndUserAuthentication. diff --git a/docs/dyn/connectors_v1.projects.locations.connections.eventSubscriptions.html b/docs/dyn/connectors_v1.projects.locations.connections.eventSubscriptions.html index 6b25020a43..b13fa72c3f 100644 --- a/docs/dyn/connectors_v1.projects.locations.connections.eventSubscriptions.html +++ b/docs/dyn/connectors_v1.projects.locations.connections.eventSubscriptions.html @@ -131,17 +131,17 @@

Method Details

}, "configVariables": [ # Optional. Configuration for configuring the trigger { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "projectId": "A String", # Required. The project id which has the Pub/Sub topic. @@ -151,6 +151,7 @@

Method Details

"type": "A String", # Optional. type of the destination }, "eventTypeId": "A String", # Optional. Event type id of the event of current EventSubscription. + "filter": "A String", # Optional. Filter for the event subscription. Incoming events are filtered based on the filter expression. "jms": { # JMS message denotes the source of the event # Optional. JMS is the source for the event listener. "name": "A String", # Optional. Name of the JMS source. i.e. queueName or topicName "type": "A String", # Optional. Type of the JMS Source. i.e. Queue or Topic @@ -164,17 +165,17 @@

Method Details

"subscriberLink": "A String", # Optional. Link for Subscriber of the current EventSubscription. "triggerConfigVariables": [ # Optional. Configuration for configuring the trigger { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "updateTime": "A String", # Output only. Updated time. @@ -277,17 +278,17 @@

Method Details

}, "configVariables": [ # Optional. Configuration for configuring the trigger { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "projectId": "A String", # Required. The project id which has the Pub/Sub topic. @@ -297,6 +298,7 @@

Method Details

"type": "A String", # Optional. type of the destination }, "eventTypeId": "A String", # Optional. Event type id of the event of current EventSubscription. + "filter": "A String", # Optional. Filter for the event subscription. Incoming events are filtered based on the filter expression. "jms": { # JMS message denotes the source of the event # Optional. JMS is the source for the event listener. "name": "A String", # Optional. Name of the JMS source. i.e. queueName or topicName "type": "A String", # Optional. Type of the JMS Source. i.e. Queue or Topic @@ -310,17 +312,17 @@

Method Details

"subscriberLink": "A String", # Optional. Link for Subscriber of the current EventSubscription. "triggerConfigVariables": [ # Optional. Configuration for configuring the trigger { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "updateTime": "A String", # Output only. Updated time. @@ -365,17 +367,17 @@

Method Details

}, "configVariables": [ # Optional. Configuration for configuring the trigger { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "projectId": "A String", # Required. The project id which has the Pub/Sub topic. @@ -385,6 +387,7 @@

Method Details

"type": "A String", # Optional. type of the destination }, "eventTypeId": "A String", # Optional. Event type id of the event of current EventSubscription. + "filter": "A String", # Optional. Filter for the event subscription. Incoming events are filtered based on the filter expression. "jms": { # JMS message denotes the source of the event # Optional. JMS is the source for the event listener. "name": "A String", # Optional. Name of the JMS source. i.e. queueName or topicName "type": "A String", # Optional. Type of the JMS Source. i.e. Queue or Topic @@ -398,17 +401,17 @@

Method Details

"subscriberLink": "A String", # Optional. Link for Subscriber of the current EventSubscription. "triggerConfigVariables": [ # Optional. Configuration for configuring the trigger { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "updateTime": "A String", # Output only. Updated time. @@ -462,17 +465,17 @@

Method Details

}, "configVariables": [ # Optional. Configuration for configuring the trigger { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "projectId": "A String", # Required. The project id which has the Pub/Sub topic. @@ -482,6 +485,7 @@

Method Details

"type": "A String", # Optional. type of the destination }, "eventTypeId": "A String", # Optional. Event type id of the event of current EventSubscription. + "filter": "A String", # Optional. Filter for the event subscription. Incoming events are filtered based on the filter expression. "jms": { # JMS message denotes the source of the event # Optional. JMS is the source for the event listener. "name": "A String", # Optional. Name of the JMS source. i.e. queueName or topicName "type": "A String", # Optional. Type of the JMS Source. i.e. Queue or Topic @@ -495,17 +499,17 @@

Method Details

"subscriberLink": "A String", # Optional. Link for Subscriber of the current EventSubscription. "triggerConfigVariables": [ # Optional. Configuration for configuring the trigger { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "updateTime": "A String", # Output only. Updated time. diff --git a/docs/dyn/connectors_v1.projects.locations.connections.html b/docs/dyn/connectors_v1.projects.locations.connections.html index 5869694606..193511888f 100644 --- a/docs/dyn/connectors_v1.projects.locations.connections.html +++ b/docs/dyn/connectors_v1.projects.locations.connections.html @@ -108,6 +108,9 @@

Instance Methods

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

Deletes a single Connection.

+

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

+

Fetches Toolspec Override for a connection for the given list of tools. Returns results from the db if the tool is already present.

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

Generates Toolspec Override for a connection for the given list of entityTypes and operations. Returns results from the db if the entityType and operation are already present.

@@ -173,17 +176,17 @@

Method Details

"authConfig": { # AuthConfig defines details of a authentication type. # Optional. Configuration for establishing the connection's authentication with an external system. "additionalVariables": [ # Optional. List containing additional auth configs. { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "authKey": "A String", # Optional. Identifier key for auth config @@ -248,17 +251,17 @@

Method Details

}, "configVariables": [ # Optional. Configuration for configuring the connection with an external system. { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "connectionRevision": "A String", # Output only. Connection revision. This field is only updated when the connection is created or updated by User. @@ -290,31 +293,31 @@

Method Details

"description": "A String", # Optional. Description of the resource. "destinationConfigs": [ # Optional. Configuration of the Connector's destination. Only accepted for Connectors that accepts user defined destination(s). { # Define the Connectors target endpoint. - "destinations": [ # The destinations for the key. + "destinations": [ # Optional. The destinations for the key. { "host": "A String", # For publicly routable host. - "port": 42, # The port is the target port number that is accepted by the destination. + "port": 42, # Optional. The port is the target port number that is accepted by the destination. "serviceAttachment": "A String", # PSC service attachments. Format: projects/*/regions/*/serviceAttachments/* }, ], - "key": "A String", # The key is the destination identifier that is supported by the Connector. + "key": "A String", # Optional. The key is the destination identifier that is supported by the Connector. }, ], "envoyImageLocation": "A String", # Output only. GCR location where the envoy image is stored. formatted like: gcr.io/{bucketName}/{imageName} "euaOauthAuthConfig": { # AuthConfig defines details of a authentication type. # Optional. Additional Oauth2.0 Auth config for EUA. If the connection is configured using non-OAuth authentication but OAuth needs to be used for EUA, this field can be populated with the OAuth config. This should be a OAuth2AuthCodeFlow Auth type only. "additionalVariables": [ # Optional. List containing additional auth configs. { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "authKey": "A String", # Optional. Identifier key for auth config @@ -373,36 +376,39 @@

Method Details

"username": "A String", # Optional. Username. }, }, - "eventingConfig": { # Eventing Configuration of a connection next: 19 # Optional. Eventing config of a connection + "eventingConfig": { # Eventing Configuration of a connection next: 20 # Optional. Eventing config of a connection "additionalVariables": [ # Optional. Additional eventing related field values { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], + "allowedEventTypes": [ # Optional. List of allowed event types for the connection. + "A String", + ], "authConfig": { # AuthConfig defines details of a authentication type. # Optional. Auth details for the webhook adapter. "additionalVariables": [ # Optional. List containing additional auth configs. { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "authKey": "A String", # Optional. Identifier key for auth config @@ -469,21 +475,21 @@

Method Details

"appendAcl": True or False, # Optional. Append ACL to the event. }, "enrichmentEnabled": True or False, # Optional. Enrichment Enabled. - "eventsListenerIngressEndpoint": "A String", # Optional. Ingress endpoint of the event listener. This is used only when private connectivity is enabled. + "eventsListenerIngressEndpoint": "A String", # Output only. Ingress endpoint of the event listener. This is used only when private connectivity is enabled. "listenerAuthConfig": { # AuthConfig defines details of a authentication type. # Optional. Auth details for the event listener. "additionalVariables": [ # Optional. List containing additional auth configs. { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "authKey": "A String", # Optional. Identifier key for auth config @@ -547,39 +553,39 @@

Method Details

], "privateConnectivityEnabled": True or False, # Optional. Private Connectivity Enabled. "proxyDestinationConfig": { # Define the Connectors target endpoint. # Optional. Proxy for Eventing auto-registration. - "destinations": [ # The destinations for the key. + "destinations": [ # Optional. The destinations for the key. { "host": "A String", # For publicly routable host. - "port": 42, # The port is the target port number that is accepted by the destination. + "port": 42, # Optional. The port is the target port number that is accepted by the destination. "serviceAttachment": "A String", # PSC service attachments. Format: projects/*/regions/*/serviceAttachments/* }, ], - "key": "A String", # The key is the destination identifier that is supported by the Connector. + "key": "A String", # Optional. The key is the destination identifier that is supported by the Connector. }, "registrationDestinationConfig": { # Define the Connectors target endpoint. # Optional. Registration endpoint for auto registration. - "destinations": [ # The destinations for the key. + "destinations": [ # Optional. The destinations for the key. { "host": "A String", # For publicly routable host. - "port": 42, # The port is the target port number that is accepted by the destination. + "port": 42, # Optional. The port is the target port number that is accepted by the destination. "serviceAttachment": "A String", # PSC service attachments. Format: projects/*/regions/*/serviceAttachments/* }, ], - "key": "A String", # The key is the destination identifier that is supported by the Connector. + "key": "A String", # Optional. The key is the destination identifier that is supported by the Connector. }, "sslConfig": { # SSL Configuration of a connection # Optional. Ssl config of a connection "additionalVariables": [ # Optional. Additional SSL related field values { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "clientCertType": "A String", # Optional. Type of Client Cert (PEM/JKS/.. etc.) @@ -612,17 +618,17 @@

Method Details

"webhookData": { # WebhookData has details of webhook configuration. # Output only. Webhook data. "additionalVariables": [ # Output only. Additional webhook related field values. { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "createTime": "A String", # Output only. Timestamp when the webhook was created. @@ -636,17 +642,17 @@

Method Details

{ # WebhookData has details of webhook configuration. "additionalVariables": [ # Output only. Additional webhook related field values. { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "createTime": "A String", # Output only. Timestamp when the webhook was created. @@ -683,17 +689,17 @@

Method Details

"sslConfig": { # SSL Configuration of a connection # Optional. Ssl config of a connection "additionalVariables": [ # Optional. Additional SSL related field values { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "clientCertType": "A String", # Optional. Type of Client Cert (PEM/JKS/.. etc.) @@ -724,7 +730,7 @@

Method Details

"tlsServiceDirectory": "A String", # Output only. The name of the Service Directory service with TLS. "trafficShapingConfigs": [ # Optional. Traffic shaping configuration for the connection. { # * TrafficShapingConfig defines the configuration for shaping API traffic by specifying a quota limit and the duration over which this limit is enforced. This configuration helps to control and manage the rate at which API calls are made on the client side, preventing service overload on the backend. For example: - if the quota limit is 100 calls per 10 seconds, then the message would be: { quota_limit: 100 duration: { seconds: 10 } } - if the quota limit is 100 calls per 5 minutes, then the message would be: { quota_limit: 100 duration: { seconds: 300 } } - if the quota limit is 10000 calls per day, then the message would be: { quota_limit: 10000 duration: { seconds: 86400 } and so on. - "duration": "A String", # Required. * The duration over which the API call quota limits are calculated. This duration is used to define the time window for evaluating if the number of API calls made by a user is within the allowed quota limits. For example: - To define a quota sampled over 16 seconds, set `seconds` to 16 - To define a quota sampled over 5 minutes, set `seconds` to 300 (5 * 60) - To define a quota sampled over 1 day, set `seconds` to 86400 (24 * 60 * 60) and so on. It is important to note that this duration is not the time the quota is valid for, but rather the time window over which the quota is evaluated. For example, if the quota is 100 calls per 10 seconds, then this duration field would be set to 10 seconds. + "duration": "A String", # Required. Specifies the duration over which the API call quota limits are calculated. This duration is used to define the time window for evaluating if the number of API calls made by a user is within the allowed quota limits. For example: - To define a quota sampled over 16 seconds, set `seconds` to 16 - To define a quota sampled over 5 minutes, set `seconds` to 300 (5 * 60) - To define a quota sampled over 1 day, set `seconds` to 86400 (24 * 60 * 60) and so on. It is important to note that this duration is not the time the quota is valid for, but rather the time window over which the quota is evaluated. For example, if the quota is 100 calls per 10 seconds, then this duration field would be set to 10 seconds. "quotaLimit": "A String", # Required. Maximum number of api calls allowed. }, ], @@ -797,6 +803,46 @@

Method Details

} +
+ fetchToolspecOverride(name, body=None, x__xgafv=None) +
Fetches Toolspec Override for a connection for the given list of tools. Returns results from the db if the tool is already present.
+
+Args:
+  name: string, Required. Resource name format: projects/{project}/locations/{location}/connections/{connection} (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # Request message for FetchConnectionToolspecOverride API.
+  "toolNames": [ # Required. List of tools for which the tool spec override is to be generated.
+    { # Tool name for which the tool spec override is to be generated.
+      "entityType": "A String", # Optional. Entity type name for which the tool was generated.
+      "name": "A String", # Required. Tool name that was generated in the list tools call.
+      "operation": "A String", # Optional. Operation for which the tool was generated.
+    },
+  ],
+}
+
+  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 FetchConnectionToolspecOverride API.
+  "toolspecOverride": { # Toolspec overrides for a connection only holds the information that is to be displayed in the UI for admins. # Toolspec overrides for the connection.
+    "createTime": "A String", # Output only. Created time.
+    "tools": [ # Required. List of tools defined in the tool spec. Marking this field as required as this is the only field that is editable by the user in modify API so we should have at least one tool in the list.
+      {
+        "a_key": "", # Properties of the object.
+      },
+    ],
+    "updateTime": "A String", # Output only. Updated time.
+  },
+}
+
+
generateToolspecOverride(name, body=None, x__xgafv=None)
Generates Toolspec Override for a connection for the given list of entityTypes and operations. Returns results from the db if the entityType and operation are already present.
@@ -861,17 +907,17 @@ 

Method Details

"authConfig": { # AuthConfig defines details of a authentication type. # Optional. Configuration for establishing the connection's authentication with an external system. "additionalVariables": [ # Optional. List containing additional auth configs. { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "authKey": "A String", # Optional. Identifier key for auth config @@ -936,17 +982,17 @@

Method Details

}, "configVariables": [ # Optional. Configuration for configuring the connection with an external system. { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "connectionRevision": "A String", # Output only. Connection revision. This field is only updated when the connection is created or updated by User. @@ -978,31 +1024,31 @@

Method Details

"description": "A String", # Optional. Description of the resource. "destinationConfigs": [ # Optional. Configuration of the Connector's destination. Only accepted for Connectors that accepts user defined destination(s). { # Define the Connectors target endpoint. - "destinations": [ # The destinations for the key. + "destinations": [ # Optional. The destinations for the key. { "host": "A String", # For publicly routable host. - "port": 42, # The port is the target port number that is accepted by the destination. + "port": 42, # Optional. The port is the target port number that is accepted by the destination. "serviceAttachment": "A String", # PSC service attachments. Format: projects/*/regions/*/serviceAttachments/* }, ], - "key": "A String", # The key is the destination identifier that is supported by the Connector. + "key": "A String", # Optional. The key is the destination identifier that is supported by the Connector. }, ], "envoyImageLocation": "A String", # Output only. GCR location where the envoy image is stored. formatted like: gcr.io/{bucketName}/{imageName} "euaOauthAuthConfig": { # AuthConfig defines details of a authentication type. # Optional. Additional Oauth2.0 Auth config for EUA. If the connection is configured using non-OAuth authentication but OAuth needs to be used for EUA, this field can be populated with the OAuth config. This should be a OAuth2AuthCodeFlow Auth type only. "additionalVariables": [ # Optional. List containing additional auth configs. { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "authKey": "A String", # Optional. Identifier key for auth config @@ -1061,36 +1107,39 @@

Method Details

"username": "A String", # Optional. Username. }, }, - "eventingConfig": { # Eventing Configuration of a connection next: 19 # Optional. Eventing config of a connection + "eventingConfig": { # Eventing Configuration of a connection next: 20 # Optional. Eventing config of a connection "additionalVariables": [ # Optional. Additional eventing related field values { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], + "allowedEventTypes": [ # Optional. List of allowed event types for the connection. + "A String", + ], "authConfig": { # AuthConfig defines details of a authentication type. # Optional. Auth details for the webhook adapter. "additionalVariables": [ # Optional. List containing additional auth configs. { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "authKey": "A String", # Optional. Identifier key for auth config @@ -1157,21 +1206,21 @@

Method Details

"appendAcl": True or False, # Optional. Append ACL to the event. }, "enrichmentEnabled": True or False, # Optional. Enrichment Enabled. - "eventsListenerIngressEndpoint": "A String", # Optional. Ingress endpoint of the event listener. This is used only when private connectivity is enabled. + "eventsListenerIngressEndpoint": "A String", # Output only. Ingress endpoint of the event listener. This is used only when private connectivity is enabled. "listenerAuthConfig": { # AuthConfig defines details of a authentication type. # Optional. Auth details for the event listener. "additionalVariables": [ # Optional. List containing additional auth configs. { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "authKey": "A String", # Optional. Identifier key for auth config @@ -1235,39 +1284,39 @@

Method Details

], "privateConnectivityEnabled": True or False, # Optional. Private Connectivity Enabled. "proxyDestinationConfig": { # Define the Connectors target endpoint. # Optional. Proxy for Eventing auto-registration. - "destinations": [ # The destinations for the key. + "destinations": [ # Optional. The destinations for the key. { "host": "A String", # For publicly routable host. - "port": 42, # The port is the target port number that is accepted by the destination. + "port": 42, # Optional. The port is the target port number that is accepted by the destination. "serviceAttachment": "A String", # PSC service attachments. Format: projects/*/regions/*/serviceAttachments/* }, ], - "key": "A String", # The key is the destination identifier that is supported by the Connector. + "key": "A String", # Optional. The key is the destination identifier that is supported by the Connector. }, "registrationDestinationConfig": { # Define the Connectors target endpoint. # Optional. Registration endpoint for auto registration. - "destinations": [ # The destinations for the key. + "destinations": [ # Optional. The destinations for the key. { "host": "A String", # For publicly routable host. - "port": 42, # The port is the target port number that is accepted by the destination. + "port": 42, # Optional. The port is the target port number that is accepted by the destination. "serviceAttachment": "A String", # PSC service attachments. Format: projects/*/regions/*/serviceAttachments/* }, ], - "key": "A String", # The key is the destination identifier that is supported by the Connector. + "key": "A String", # Optional. The key is the destination identifier that is supported by the Connector. }, "sslConfig": { # SSL Configuration of a connection # Optional. Ssl config of a connection "additionalVariables": [ # Optional. Additional SSL related field values { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "clientCertType": "A String", # Optional. Type of Client Cert (PEM/JKS/.. etc.) @@ -1300,17 +1349,17 @@

Method Details

"webhookData": { # WebhookData has details of webhook configuration. # Output only. Webhook data. "additionalVariables": [ # Output only. Additional webhook related field values. { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "createTime": "A String", # Output only. Timestamp when the webhook was created. @@ -1324,17 +1373,17 @@

Method Details

{ # WebhookData has details of webhook configuration. "additionalVariables": [ # Output only. Additional webhook related field values. { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "createTime": "A String", # Output only. Timestamp when the webhook was created. @@ -1371,17 +1420,17 @@

Method Details

"sslConfig": { # SSL Configuration of a connection # Optional. Ssl config of a connection "additionalVariables": [ # Optional. Additional SSL related field values { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "clientCertType": "A String", # Optional. Type of Client Cert (PEM/JKS/.. etc.) @@ -1412,7 +1461,7 @@

Method Details

"tlsServiceDirectory": "A String", # Output only. The name of the Service Directory service with TLS. "trafficShapingConfigs": [ # Optional. Traffic shaping configuration for the connection. { # * TrafficShapingConfig defines the configuration for shaping API traffic by specifying a quota limit and the duration over which this limit is enforced. This configuration helps to control and manage the rate at which API calls are made on the client side, preventing service overload on the backend. For example: - if the quota limit is 100 calls per 10 seconds, then the message would be: { quota_limit: 100 duration: { seconds: 10 } } - if the quota limit is 100 calls per 5 minutes, then the message would be: { quota_limit: 100 duration: { seconds: 300 } } - if the quota limit is 10000 calls per day, then the message would be: { quota_limit: 10000 duration: { seconds: 86400 } and so on. - "duration": "A String", # Required. * The duration over which the API call quota limits are calculated. This duration is used to define the time window for evaluating if the number of API calls made by a user is within the allowed quota limits. For example: - To define a quota sampled over 16 seconds, set `seconds` to 16 - To define a quota sampled over 5 minutes, set `seconds` to 300 (5 * 60) - To define a quota sampled over 1 day, set `seconds` to 86400 (24 * 60 * 60) and so on. It is important to note that this duration is not the time the quota is valid for, but rather the time window over which the quota is evaluated. For example, if the quota is 100 calls per 10 seconds, then this duration field would be set to 10 seconds. + "duration": "A String", # Required. Specifies the duration over which the API call quota limits are calculated. This duration is used to define the time window for evaluating if the number of API calls made by a user is within the allowed quota limits. For example: - To define a quota sampled over 16 seconds, set `seconds` to 16 - To define a quota sampled over 5 minutes, set `seconds` to 300 (5 * 60) - To define a quota sampled over 1 day, set `seconds` to 86400 (24 * 60 * 60) and so on. It is important to note that this duration is not the time the quota is valid for, but rather the time window over which the quota is evaluated. For example, if the quota is 100 calls per 10 seconds, then this duration field would be set to 10 seconds. "quotaLimit": "A String", # Required. Maximum number of api calls allowed. }, ], @@ -1527,17 +1576,17 @@

Method Details

"authConfig": { # AuthConfig defines details of a authentication type. # Optional. Configuration for establishing the connection's authentication with an external system. "additionalVariables": [ # Optional. List containing additional auth configs. { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "authKey": "A String", # Optional. Identifier key for auth config @@ -1602,17 +1651,17 @@

Method Details

}, "configVariables": [ # Optional. Configuration for configuring the connection with an external system. { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "connectionRevision": "A String", # Output only. Connection revision. This field is only updated when the connection is created or updated by User. @@ -1644,31 +1693,31 @@

Method Details

"description": "A String", # Optional. Description of the resource. "destinationConfigs": [ # Optional. Configuration of the Connector's destination. Only accepted for Connectors that accepts user defined destination(s). { # Define the Connectors target endpoint. - "destinations": [ # The destinations for the key. + "destinations": [ # Optional. The destinations for the key. { "host": "A String", # For publicly routable host. - "port": 42, # The port is the target port number that is accepted by the destination. + "port": 42, # Optional. The port is the target port number that is accepted by the destination. "serviceAttachment": "A String", # PSC service attachments. Format: projects/*/regions/*/serviceAttachments/* }, ], - "key": "A String", # The key is the destination identifier that is supported by the Connector. + "key": "A String", # Optional. The key is the destination identifier that is supported by the Connector. }, ], "envoyImageLocation": "A String", # Output only. GCR location where the envoy image is stored. formatted like: gcr.io/{bucketName}/{imageName} "euaOauthAuthConfig": { # AuthConfig defines details of a authentication type. # Optional. Additional Oauth2.0 Auth config for EUA. If the connection is configured using non-OAuth authentication but OAuth needs to be used for EUA, this field can be populated with the OAuth config. This should be a OAuth2AuthCodeFlow Auth type only. "additionalVariables": [ # Optional. List containing additional auth configs. { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "authKey": "A String", # Optional. Identifier key for auth config @@ -1727,36 +1776,39 @@

Method Details

"username": "A String", # Optional. Username. }, }, - "eventingConfig": { # Eventing Configuration of a connection next: 19 # Optional. Eventing config of a connection + "eventingConfig": { # Eventing Configuration of a connection next: 20 # Optional. Eventing config of a connection "additionalVariables": [ # Optional. Additional eventing related field values { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], + "allowedEventTypes": [ # Optional. List of allowed event types for the connection. + "A String", + ], "authConfig": { # AuthConfig defines details of a authentication type. # Optional. Auth details for the webhook adapter. "additionalVariables": [ # Optional. List containing additional auth configs. { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "authKey": "A String", # Optional. Identifier key for auth config @@ -1823,21 +1875,21 @@

Method Details

"appendAcl": True or False, # Optional. Append ACL to the event. }, "enrichmentEnabled": True or False, # Optional. Enrichment Enabled. - "eventsListenerIngressEndpoint": "A String", # Optional. Ingress endpoint of the event listener. This is used only when private connectivity is enabled. + "eventsListenerIngressEndpoint": "A String", # Output only. Ingress endpoint of the event listener. This is used only when private connectivity is enabled. "listenerAuthConfig": { # AuthConfig defines details of a authentication type. # Optional. Auth details for the event listener. "additionalVariables": [ # Optional. List containing additional auth configs. { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "authKey": "A String", # Optional. Identifier key for auth config @@ -1901,39 +1953,39 @@

Method Details

], "privateConnectivityEnabled": True or False, # Optional. Private Connectivity Enabled. "proxyDestinationConfig": { # Define the Connectors target endpoint. # Optional. Proxy for Eventing auto-registration. - "destinations": [ # The destinations for the key. + "destinations": [ # Optional. The destinations for the key. { "host": "A String", # For publicly routable host. - "port": 42, # The port is the target port number that is accepted by the destination. + "port": 42, # Optional. The port is the target port number that is accepted by the destination. "serviceAttachment": "A String", # PSC service attachments. Format: projects/*/regions/*/serviceAttachments/* }, ], - "key": "A String", # The key is the destination identifier that is supported by the Connector. + "key": "A String", # Optional. The key is the destination identifier that is supported by the Connector. }, "registrationDestinationConfig": { # Define the Connectors target endpoint. # Optional. Registration endpoint for auto registration. - "destinations": [ # The destinations for the key. + "destinations": [ # Optional. The destinations for the key. { "host": "A String", # For publicly routable host. - "port": 42, # The port is the target port number that is accepted by the destination. + "port": 42, # Optional. The port is the target port number that is accepted by the destination. "serviceAttachment": "A String", # PSC service attachments. Format: projects/*/regions/*/serviceAttachments/* }, ], - "key": "A String", # The key is the destination identifier that is supported by the Connector. + "key": "A String", # Optional. The key is the destination identifier that is supported by the Connector. }, "sslConfig": { # SSL Configuration of a connection # Optional. Ssl config of a connection "additionalVariables": [ # Optional. Additional SSL related field values { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "clientCertType": "A String", # Optional. Type of Client Cert (PEM/JKS/.. etc.) @@ -1966,17 +2018,17 @@

Method Details

"webhookData": { # WebhookData has details of webhook configuration. # Output only. Webhook data. "additionalVariables": [ # Output only. Additional webhook related field values. { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "createTime": "A String", # Output only. Timestamp when the webhook was created. @@ -1990,17 +2042,17 @@

Method Details

{ # WebhookData has details of webhook configuration. "additionalVariables": [ # Output only. Additional webhook related field values. { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "createTime": "A String", # Output only. Timestamp when the webhook was created. @@ -2037,17 +2089,17 @@

Method Details

"sslConfig": { # SSL Configuration of a connection # Optional. Ssl config of a connection "additionalVariables": [ # Optional. Additional SSL related field values { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "clientCertType": "A String", # Optional. Type of Client Cert (PEM/JKS/.. etc.) @@ -2078,7 +2130,7 @@

Method Details

"tlsServiceDirectory": "A String", # Output only. The name of the Service Directory service with TLS. "trafficShapingConfigs": [ # Optional. Traffic shaping configuration for the connection. { # * TrafficShapingConfig defines the configuration for shaping API traffic by specifying a quota limit and the duration over which this limit is enforced. This configuration helps to control and manage the rate at which API calls are made on the client side, preventing service overload on the backend. For example: - if the quota limit is 100 calls per 10 seconds, then the message would be: { quota_limit: 100 duration: { seconds: 10 } } - if the quota limit is 100 calls per 5 minutes, then the message would be: { quota_limit: 100 duration: { seconds: 300 } } - if the quota limit is 10000 calls per day, then the message would be: { quota_limit: 10000 duration: { seconds: 86400 } and so on. - "duration": "A String", # Required. * The duration over which the API call quota limits are calculated. This duration is used to define the time window for evaluating if the number of API calls made by a user is within the allowed quota limits. For example: - To define a quota sampled over 16 seconds, set `seconds` to 16 - To define a quota sampled over 5 minutes, set `seconds` to 300 (5 * 60) - To define a quota sampled over 1 day, set `seconds` to 86400 (24 * 60 * 60) and so on. It is important to note that this duration is not the time the quota is valid for, but rather the time window over which the quota is evaluated. For example, if the quota is 100 calls per 10 seconds, then this duration field would be set to 10 seconds. + "duration": "A String", # Required. Specifies the duration over which the API call quota limits are calculated. This duration is used to define the time window for evaluating if the number of API calls made by a user is within the allowed quota limits. For example: - To define a quota sampled over 16 seconds, set `seconds` to 16 - To define a quota sampled over 5 minutes, set `seconds` to 300 (5 * 60) - To define a quota sampled over 1 day, set `seconds` to 86400 (24 * 60 * 60) and so on. It is important to note that this duration is not the time the quota is valid for, but rather the time window over which the quota is evaluated. For example, if the quota is 100 calls per 10 seconds, then this duration field would be set to 10 seconds. "quotaLimit": "A String", # Required. Maximum number of api calls allowed. }, ], @@ -2189,17 +2241,17 @@

Method Details

"authConfig": { # AuthConfig defines details of a authentication type. # Optional. Configuration for establishing the connection's authentication with an external system. "additionalVariables": [ # Optional. List containing additional auth configs. { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "authKey": "A String", # Optional. Identifier key for auth config @@ -2264,17 +2316,17 @@

Method Details

}, "configVariables": [ # Optional. Configuration for configuring the connection with an external system. { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "connectionRevision": "A String", # Output only. Connection revision. This field is only updated when the connection is created or updated by User. @@ -2306,31 +2358,31 @@

Method Details

"description": "A String", # Optional. Description of the resource. "destinationConfigs": [ # Optional. Configuration of the Connector's destination. Only accepted for Connectors that accepts user defined destination(s). { # Define the Connectors target endpoint. - "destinations": [ # The destinations for the key. + "destinations": [ # Optional. The destinations for the key. { "host": "A String", # For publicly routable host. - "port": 42, # The port is the target port number that is accepted by the destination. + "port": 42, # Optional. The port is the target port number that is accepted by the destination. "serviceAttachment": "A String", # PSC service attachments. Format: projects/*/regions/*/serviceAttachments/* }, ], - "key": "A String", # The key is the destination identifier that is supported by the Connector. + "key": "A String", # Optional. The key is the destination identifier that is supported by the Connector. }, ], "envoyImageLocation": "A String", # Output only. GCR location where the envoy image is stored. formatted like: gcr.io/{bucketName}/{imageName} "euaOauthAuthConfig": { # AuthConfig defines details of a authentication type. # Optional. Additional Oauth2.0 Auth config for EUA. If the connection is configured using non-OAuth authentication but OAuth needs to be used for EUA, this field can be populated with the OAuth config. This should be a OAuth2AuthCodeFlow Auth type only. "additionalVariables": [ # Optional. List containing additional auth configs. { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "authKey": "A String", # Optional. Identifier key for auth config @@ -2389,36 +2441,39 @@

Method Details

"username": "A String", # Optional. Username. }, }, - "eventingConfig": { # Eventing Configuration of a connection next: 19 # Optional. Eventing config of a connection + "eventingConfig": { # Eventing Configuration of a connection next: 20 # Optional. Eventing config of a connection "additionalVariables": [ # Optional. Additional eventing related field values { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], + "allowedEventTypes": [ # Optional. List of allowed event types for the connection. + "A String", + ], "authConfig": { # AuthConfig defines details of a authentication type. # Optional. Auth details for the webhook adapter. "additionalVariables": [ # Optional. List containing additional auth configs. { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "authKey": "A String", # Optional. Identifier key for auth config @@ -2485,21 +2540,21 @@

Method Details

"appendAcl": True or False, # Optional. Append ACL to the event. }, "enrichmentEnabled": True or False, # Optional. Enrichment Enabled. - "eventsListenerIngressEndpoint": "A String", # Optional. Ingress endpoint of the event listener. This is used only when private connectivity is enabled. + "eventsListenerIngressEndpoint": "A String", # Output only. Ingress endpoint of the event listener. This is used only when private connectivity is enabled. "listenerAuthConfig": { # AuthConfig defines details of a authentication type. # Optional. Auth details for the event listener. "additionalVariables": [ # Optional. List containing additional auth configs. { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "authKey": "A String", # Optional. Identifier key for auth config @@ -2563,39 +2618,39 @@

Method Details

], "privateConnectivityEnabled": True or False, # Optional. Private Connectivity Enabled. "proxyDestinationConfig": { # Define the Connectors target endpoint. # Optional. Proxy for Eventing auto-registration. - "destinations": [ # The destinations for the key. + "destinations": [ # Optional. The destinations for the key. { "host": "A String", # For publicly routable host. - "port": 42, # The port is the target port number that is accepted by the destination. + "port": 42, # Optional. The port is the target port number that is accepted by the destination. "serviceAttachment": "A String", # PSC service attachments. Format: projects/*/regions/*/serviceAttachments/* }, ], - "key": "A String", # The key is the destination identifier that is supported by the Connector. + "key": "A String", # Optional. The key is the destination identifier that is supported by the Connector. }, "registrationDestinationConfig": { # Define the Connectors target endpoint. # Optional. Registration endpoint for auto registration. - "destinations": [ # The destinations for the key. + "destinations": [ # Optional. The destinations for the key. { "host": "A String", # For publicly routable host. - "port": 42, # The port is the target port number that is accepted by the destination. + "port": 42, # Optional. The port is the target port number that is accepted by the destination. "serviceAttachment": "A String", # PSC service attachments. Format: projects/*/regions/*/serviceAttachments/* }, ], - "key": "A String", # The key is the destination identifier that is supported by the Connector. + "key": "A String", # Optional. The key is the destination identifier that is supported by the Connector. }, "sslConfig": { # SSL Configuration of a connection # Optional. Ssl config of a connection "additionalVariables": [ # Optional. Additional SSL related field values { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "clientCertType": "A String", # Optional. Type of Client Cert (PEM/JKS/.. etc.) @@ -2628,17 +2683,17 @@

Method Details

"webhookData": { # WebhookData has details of webhook configuration. # Output only. Webhook data. "additionalVariables": [ # Output only. Additional webhook related field values. { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "createTime": "A String", # Output only. Timestamp when the webhook was created. @@ -2652,17 +2707,17 @@

Method Details

{ # WebhookData has details of webhook configuration. "additionalVariables": [ # Output only. Additional webhook related field values. { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "createTime": "A String", # Output only. Timestamp when the webhook was created. @@ -2699,17 +2754,17 @@

Method Details

"sslConfig": { # SSL Configuration of a connection # Optional. Ssl config of a connection "additionalVariables": [ # Optional. Additional SSL related field values { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "clientCertType": "A String", # Optional. Type of Client Cert (PEM/JKS/.. etc.) @@ -2740,7 +2795,7 @@

Method Details

"tlsServiceDirectory": "A String", # Output only. The name of the Service Directory service with TLS. "trafficShapingConfigs": [ # Optional. Traffic shaping configuration for the connection. { # * TrafficShapingConfig defines the configuration for shaping API traffic by specifying a quota limit and the duration over which this limit is enforced. This configuration helps to control and manage the rate at which API calls are made on the client side, preventing service overload on the backend. For example: - if the quota limit is 100 calls per 10 seconds, then the message would be: { quota_limit: 100 duration: { seconds: 10 } } - if the quota limit is 100 calls per 5 minutes, then the message would be: { quota_limit: 100 duration: { seconds: 300 } } - if the quota limit is 10000 calls per day, then the message would be: { quota_limit: 10000 duration: { seconds: 86400 } and so on. - "duration": "A String", # Required. * The duration over which the API call quota limits are calculated. This duration is used to define the time window for evaluating if the number of API calls made by a user is within the allowed quota limits. For example: - To define a quota sampled over 16 seconds, set `seconds` to 16 - To define a quota sampled over 5 minutes, set `seconds` to 300 (5 * 60) - To define a quota sampled over 1 day, set `seconds` to 86400 (24 * 60 * 60) and so on. It is important to note that this duration is not the time the quota is valid for, but rather the time window over which the quota is evaluated. For example, if the quota is 100 calls per 10 seconds, then this duration field would be set to 10 seconds. + "duration": "A String", # Required. Specifies the duration over which the API call quota limits are calculated. This duration is used to define the time window for evaluating if the number of API calls made by a user is within the allowed quota limits. For example: - To define a quota sampled over 16 seconds, set `seconds` to 16 - To define a quota sampled over 5 minutes, set `seconds` to 300 (5 * 60) - To define a quota sampled over 1 day, set `seconds` to 86400 (24 * 60 * 60) and so on. It is important to note that this duration is not the time the quota is valid for, but rather the time window over which the quota is evaluated. For example, if the quota is 100 calls per 10 seconds, then this duration field would be set to 10 seconds. "quotaLimit": "A String", # Required. Maximum number of api calls allowed. }, ], @@ -2875,9 +2930,18 @@

Method Details

"enum": [ # Possible values for an enumeration. This works in conjunction with `type` to represent types with a fixed set of legal values "", ], + "exclusiveMaximum": True or False, # Whether the maximum number value is exclusive. + "exclusiveMinimum": True or False, # Whether the minimum number value is exclusive. "format": "A String", # Format of the value as per https://json-schema.org/understanding-json-schema/reference/string.html#format "items": # Object with schema name: JsonSchema # Schema that applies to array values, applicable only if this is of type `array`. "jdbcType": "A String", # JDBC datatype of the field. + "maxItems": 42, # Maximum number of items in the array field. + "maxLength": 42, # Maximum length of the string field. + "maximum": "", # Maximum value of the number field. + "minItems": 42, # Minimum number of items in the array field. + "minLength": 42, # Minimum length of the string field. + "minimum": "", # Minimum value of the number field. + "pattern": "A String", # Regex pattern of the string field. This is a string value that describes the regular expression that the string value should match. "properties": { # The child schemas, applicable only if this is of type `object`. The key is the name of the property and the value is the json schema that describes that property "a_key": # Object with schema name: JsonSchema }, @@ -2887,6 +2951,7 @@

Method Details

"type": [ # JSON Schema Validation: A Vocabulary for Structural Validation of JSON "A String", ], + "uniqueItems": True or False, # Whether the items in the array field are unique. }, "inputParameters": [ # Output only. List of input parameter metadata for the action. { # Metadata of an input parameter. @@ -2902,9 +2967,18 @@

Method Details

"enum": [ # Possible values for an enumeration. This works in conjunction with `type` to represent types with a fixed set of legal values "", ], + "exclusiveMaximum": True or False, # Whether the maximum number value is exclusive. + "exclusiveMinimum": True or False, # Whether the minimum number value is exclusive. "format": "A String", # Format of the value as per https://json-schema.org/understanding-json-schema/reference/string.html#format "items": # Object with schema name: JsonSchema # Schema that applies to array values, applicable only if this is of type `array`. "jdbcType": "A String", # JDBC datatype of the field. + "maxItems": 42, # Maximum number of items in the array field. + "maxLength": 42, # Maximum length of the string field. + "maximum": "", # Maximum value of the number field. + "minItems": 42, # Minimum number of items in the array field. + "minLength": 42, # Minimum length of the string field. + "minimum": "", # Minimum value of the number field. + "pattern": "A String", # Regex pattern of the string field. This is a string value that describes the regular expression that the string value should match. "properties": { # The child schemas, applicable only if this is of type `object`. The key is the name of the property and the value is the json schema that describes that property "a_key": # Object with schema name: JsonSchema }, @@ -2914,6 +2988,7 @@

Method Details

"type": [ # JSON Schema Validation: A Vocabulary for Structural Validation of JSON "A String", ], + "uniqueItems": True or False, # Whether the items in the array field are unique. }, "nullable": True or False, # Specifies whether a null value is allowed. "parameter": "A String", # Name of the Parameter. @@ -2929,9 +3004,18 @@

Method Details

"enum": [ # Possible values for an enumeration. This works in conjunction with `type` to represent types with a fixed set of legal values "", ], + "exclusiveMaximum": True or False, # Whether the maximum number value is exclusive. + "exclusiveMinimum": True or False, # Whether the minimum number value is exclusive. "format": "A String", # Format of the value as per https://json-schema.org/understanding-json-schema/reference/string.html#format "items": # Object with schema name: JsonSchema # Schema that applies to array values, applicable only if this is of type `array`. "jdbcType": "A String", # JDBC datatype of the field. + "maxItems": 42, # Maximum number of items in the array field. + "maxLength": 42, # Maximum length of the string field. + "maximum": "", # Maximum value of the number field. + "minItems": 42, # Minimum number of items in the array field. + "minLength": 42, # Minimum length of the string field. + "minimum": "", # Minimum value of the number field. + "pattern": "A String", # Regex pattern of the string field. This is a string value that describes the regular expression that the string value should match. "properties": { # The child schemas, applicable only if this is of type `object`. The key is the name of the property and the value is the json schema that describes that property "a_key": # Object with schema name: JsonSchema }, @@ -2941,6 +3025,7 @@

Method Details

"type": [ # JSON Schema Validation: A Vocabulary for Structural Validation of JSON "A String", ], + "uniqueItems": True or False, # Whether the items in the array field are unique. }, "resultMetadata": [ # Output only. List of result field metadata. { # Metadata of result field. @@ -2957,9 +3042,18 @@

Method Details

"enum": [ # Possible values for an enumeration. This works in conjunction with `type` to represent types with a fixed set of legal values "", ], + "exclusiveMaximum": True or False, # Whether the maximum number value is exclusive. + "exclusiveMinimum": True or False, # Whether the minimum number value is exclusive. "format": "A String", # Format of the value as per https://json-schema.org/understanding-json-schema/reference/string.html#format "items": # Object with schema name: JsonSchema # Schema that applies to array values, applicable only if this is of type `array`. "jdbcType": "A String", # JDBC datatype of the field. + "maxItems": 42, # Maximum number of items in the array field. + "maxLength": 42, # Maximum length of the string field. + "maximum": "", # Maximum value of the number field. + "minItems": 42, # Minimum number of items in the array field. + "minLength": 42, # Minimum length of the string field. + "minimum": "", # Minimum value of the number field. + "pattern": "A String", # Regex pattern of the string field. This is a string value that describes the regular expression that the string value should match. "properties": { # The child schemas, applicable only if this is of type `object`. The key is the name of the property and the value is the json schema that describes that property "a_key": # Object with schema name: JsonSchema }, @@ -2969,6 +3063,7 @@

Method Details

"type": [ # JSON Schema Validation: A Vocabulary for Structural Validation of JSON "A String", ], + "uniqueItems": True or False, # Whether the items in the array field are unique. }, "nullable": True or False, # Specifies whether a null value is allowed. }, @@ -2980,17 +3075,17 @@

Method Details

"authConfig": { # AuthConfig defines details of a authentication type. # Optional. Configuration for establishing the connection's authentication with an external system. "additionalVariables": [ # Optional. List containing additional auth configs. { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "authKey": "A String", # Optional. Identifier key for auth config @@ -3055,17 +3150,17 @@

Method Details

}, "configVariables": [ # Optional. Configuration for configuring the connection with an external system. { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "connectionRevision": "A String", # Output only. Connection revision. This field is only updated when the connection is created or updated by User. @@ -3097,31 +3192,31 @@

Method Details

"description": "A String", # Optional. Description of the resource. "destinationConfigs": [ # Optional. Configuration of the Connector's destination. Only accepted for Connectors that accepts user defined destination(s). { # Define the Connectors target endpoint. - "destinations": [ # The destinations for the key. + "destinations": [ # Optional. The destinations for the key. { "host": "A String", # For publicly routable host. - "port": 42, # The port is the target port number that is accepted by the destination. + "port": 42, # Optional. The port is the target port number that is accepted by the destination. "serviceAttachment": "A String", # PSC service attachments. Format: projects/*/regions/*/serviceAttachments/* }, ], - "key": "A String", # The key is the destination identifier that is supported by the Connector. + "key": "A String", # Optional. The key is the destination identifier that is supported by the Connector. }, ], "envoyImageLocation": "A String", # Output only. GCR location where the envoy image is stored. formatted like: gcr.io/{bucketName}/{imageName} "euaOauthAuthConfig": { # AuthConfig defines details of a authentication type. # Optional. Additional Oauth2.0 Auth config for EUA. If the connection is configured using non-OAuth authentication but OAuth needs to be used for EUA, this field can be populated with the OAuth config. This should be a OAuth2AuthCodeFlow Auth type only. "additionalVariables": [ # Optional. List containing additional auth configs. { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "authKey": "A String", # Optional. Identifier key for auth config @@ -3180,36 +3275,39 @@

Method Details

"username": "A String", # Optional. Username. }, }, - "eventingConfig": { # Eventing Configuration of a connection next: 19 # Optional. Eventing config of a connection + "eventingConfig": { # Eventing Configuration of a connection next: 20 # Optional. Eventing config of a connection "additionalVariables": [ # Optional. Additional eventing related field values { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], + "allowedEventTypes": [ # Optional. List of allowed event types for the connection. + "A String", + ], "authConfig": { # AuthConfig defines details of a authentication type. # Optional. Auth details for the webhook adapter. "additionalVariables": [ # Optional. List containing additional auth configs. { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "authKey": "A String", # Optional. Identifier key for auth config @@ -3276,21 +3374,21 @@

Method Details

"appendAcl": True or False, # Optional. Append ACL to the event. }, "enrichmentEnabled": True or False, # Optional. Enrichment Enabled. - "eventsListenerIngressEndpoint": "A String", # Optional. Ingress endpoint of the event listener. This is used only when private connectivity is enabled. + "eventsListenerIngressEndpoint": "A String", # Output only. Ingress endpoint of the event listener. This is used only when private connectivity is enabled. "listenerAuthConfig": { # AuthConfig defines details of a authentication type. # Optional. Auth details for the event listener. "additionalVariables": [ # Optional. List containing additional auth configs. { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "authKey": "A String", # Optional. Identifier key for auth config @@ -3354,39 +3452,39 @@

Method Details

], "privateConnectivityEnabled": True or False, # Optional. Private Connectivity Enabled. "proxyDestinationConfig": { # Define the Connectors target endpoint. # Optional. Proxy for Eventing auto-registration. - "destinations": [ # The destinations for the key. + "destinations": [ # Optional. The destinations for the key. { "host": "A String", # For publicly routable host. - "port": 42, # The port is the target port number that is accepted by the destination. + "port": 42, # Optional. The port is the target port number that is accepted by the destination. "serviceAttachment": "A String", # PSC service attachments. Format: projects/*/regions/*/serviceAttachments/* }, ], - "key": "A String", # The key is the destination identifier that is supported by the Connector. + "key": "A String", # Optional. The key is the destination identifier that is supported by the Connector. }, "registrationDestinationConfig": { # Define the Connectors target endpoint. # Optional. Registration endpoint for auto registration. - "destinations": [ # The destinations for the key. + "destinations": [ # Optional. The destinations for the key. { "host": "A String", # For publicly routable host. - "port": 42, # The port is the target port number that is accepted by the destination. + "port": 42, # Optional. The port is the target port number that is accepted by the destination. "serviceAttachment": "A String", # PSC service attachments. Format: projects/*/regions/*/serviceAttachments/* }, ], - "key": "A String", # The key is the destination identifier that is supported by the Connector. + "key": "A String", # Optional. The key is the destination identifier that is supported by the Connector. }, "sslConfig": { # SSL Configuration of a connection # Optional. Ssl config of a connection "additionalVariables": [ # Optional. Additional SSL related field values { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "clientCertType": "A String", # Optional. Type of Client Cert (PEM/JKS/.. etc.) @@ -3419,17 +3517,17 @@

Method Details

"webhookData": { # WebhookData has details of webhook configuration. # Output only. Webhook data. "additionalVariables": [ # Output only. Additional webhook related field values. { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "createTime": "A String", # Output only. Timestamp when the webhook was created. @@ -3443,17 +3541,17 @@

Method Details

{ # WebhookData has details of webhook configuration. "additionalVariables": [ # Output only. Additional webhook related field values. { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "createTime": "A String", # Output only. Timestamp when the webhook was created. @@ -3490,17 +3588,17 @@

Method Details

"sslConfig": { # SSL Configuration of a connection # Optional. Ssl config of a connection "additionalVariables": [ # Optional. Additional SSL related field values { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "clientCertType": "A String", # Optional. Type of Client Cert (PEM/JKS/.. etc.) @@ -3531,7 +3629,7 @@

Method Details

"tlsServiceDirectory": "A String", # Output only. The name of the Service Directory service with TLS. "trafficShapingConfigs": [ # Optional. Traffic shaping configuration for the connection. { # * TrafficShapingConfig defines the configuration for shaping API traffic by specifying a quota limit and the duration over which this limit is enforced. This configuration helps to control and manage the rate at which API calls are made on the client side, preventing service overload on the backend. For example: - if the quota limit is 100 calls per 10 seconds, then the message would be: { quota_limit: 100 duration: { seconds: 10 } } - if the quota limit is 100 calls per 5 minutes, then the message would be: { quota_limit: 100 duration: { seconds: 300 } } - if the quota limit is 10000 calls per day, then the message would be: { quota_limit: 10000 duration: { seconds: 86400 } and so on. - "duration": "A String", # Required. * The duration over which the API call quota limits are calculated. This duration is used to define the time window for evaluating if the number of API calls made by a user is within the allowed quota limits. For example: - To define a quota sampled over 16 seconds, set `seconds` to 16 - To define a quota sampled over 5 minutes, set `seconds` to 300 (5 * 60) - To define a quota sampled over 1 day, set `seconds` to 86400 (24 * 60 * 60) and so on. It is important to note that this duration is not the time the quota is valid for, but rather the time window over which the quota is evaluated. For example, if the quota is 100 calls per 10 seconds, then this duration field would be set to 10 seconds. + "duration": "A String", # Required. Specifies the duration over which the API call quota limits are calculated. This duration is used to define the time window for evaluating if the number of API calls made by a user is within the allowed quota limits. For example: - To define a quota sampled over 16 seconds, set `seconds` to 16 - To define a quota sampled over 5 minutes, set `seconds` to 300 (5 * 60) - To define a quota sampled over 1 day, set `seconds` to 86400 (24 * 60 * 60) and so on. It is important to note that this duration is not the time the quota is valid for, but rather the time window over which the quota is evaluated. For example, if the quota is 100 calls per 10 seconds, then this duration field would be set to 10 seconds. "quotaLimit": "A String", # Required. Maximum number of api calls allowed. }, ], @@ -3557,9 +3655,18 @@

Method Details

"enum": [ # Possible values for an enumeration. This works in conjunction with `type` to represent types with a fixed set of legal values "", ], + "exclusiveMaximum": True or False, # Whether the maximum number value is exclusive. + "exclusiveMinimum": True or False, # Whether the minimum number value is exclusive. "format": "A String", # Format of the value as per https://json-schema.org/understanding-json-schema/reference/string.html#format "items": # Object with schema name: JsonSchema # Schema that applies to array values, applicable only if this is of type `array`. "jdbcType": "A String", # JDBC datatype of the field. + "maxItems": 42, # Maximum number of items in the array field. + "maxLength": 42, # Maximum length of the string field. + "maximum": "", # Maximum value of the number field. + "minItems": 42, # Minimum number of items in the array field. + "minLength": 42, # Minimum length of the string field. + "minimum": "", # Minimum value of the number field. + "pattern": "A String", # Regex pattern of the string field. This is a string value that describes the regular expression that the string value should match. "properties": { # The child schemas, applicable only if this is of type `object`. The key is the name of the property and the value is the json schema that describes that property "a_key": # Object with schema name: JsonSchema }, @@ -3569,6 +3676,7 @@

Method Details

"type": [ # JSON Schema Validation: A Vocabulary for Structural Validation of JSON "A String", ], + "uniqueItems": True or False, # Whether the items in the array field are unique. }, "key": True or False, # The following boolean field specifies if the current Field acts as a primary key or id if the parent is of type entity. "nullable": True or False, # Specifies whether a null value is allowed. @@ -3584,9 +3692,18 @@

Method Details

"enum": [ # Possible values for an enumeration. This works in conjunction with `type` to represent types with a fixed set of legal values "", ], + "exclusiveMaximum": True or False, # Whether the maximum number value is exclusive. + "exclusiveMinimum": True or False, # Whether the minimum number value is exclusive. "format": "A String", # Format of the value as per https://json-schema.org/understanding-json-schema/reference/string.html#format "items": # Object with schema name: JsonSchema # Schema that applies to array values, applicable only if this is of type `array`. "jdbcType": "A String", # JDBC datatype of the field. + "maxItems": 42, # Maximum number of items in the array field. + "maxLength": 42, # Maximum length of the string field. + "maximum": "", # Maximum value of the number field. + "minItems": 42, # Minimum number of items in the array field. + "minLength": 42, # Minimum length of the string field. + "minimum": "", # Minimum value of the number field. + "pattern": "A String", # Regex pattern of the string field. This is a string value that describes the regular expression that the string value should match. "properties": { # The child schemas, applicable only if this is of type `object`. The key is the name of the property and the value is the json schema that describes that property "a_key": # Object with schema name: JsonSchema }, @@ -3596,6 +3713,7 @@

Method Details

"type": [ # JSON Schema Validation: A Vocabulary for Structural Validation of JSON "A String", ], + "uniqueItems": True or False, # Whether the items in the array field are unique. }, "operations": [ # List of operations supported by this entity "A String", diff --git a/docs/dyn/connectors_v1.projects.locations.connections.runtimeActionSchemas.html b/docs/dyn/connectors_v1.projects.locations.connections.runtimeActionSchemas.html index 016ae2ef2a..30c7cd0e32 100644 --- a/docs/dyn/connectors_v1.projects.locations.connections.runtimeActionSchemas.html +++ b/docs/dyn/connectors_v1.projects.locations.connections.runtimeActionSchemas.html @@ -123,9 +123,18 @@

Method Details

"enum": [ # Possible values for an enumeration. This works in conjunction with `type` to represent types with a fixed set of legal values "", ], + "exclusiveMaximum": True or False, # Whether the maximum number value is exclusive. + "exclusiveMinimum": True or False, # Whether the minimum number value is exclusive. "format": "A String", # Format of the value as per https://json-schema.org/understanding-json-schema/reference/string.html#format "items": # Object with schema name: JsonSchema # Schema that applies to array values, applicable only if this is of type `array`. "jdbcType": "A String", # JDBC datatype of the field. + "maxItems": 42, # Maximum number of items in the array field. + "maxLength": 42, # Maximum length of the string field. + "maximum": "", # Maximum value of the number field. + "minItems": 42, # Minimum number of items in the array field. + "minLength": 42, # Minimum length of the string field. + "minimum": "", # Minimum value of the number field. + "pattern": "A String", # Regex pattern of the string field. This is a string value that describes the regular expression that the string value should match. "properties": { # The child schemas, applicable only if this is of type `object`. The key is the name of the property and the value is the json schema that describes that property "a_key": # Object with schema name: JsonSchema }, @@ -135,6 +144,7 @@

Method Details

"type": [ # JSON Schema Validation: A Vocabulary for Structural Validation of JSON "A String", ], + "uniqueItems": True or False, # Whether the items in the array field are unique. }, "inputParameters": [ # Output only. List of input parameter metadata for the action. { # Metadata of an input parameter. @@ -150,9 +160,18 @@

Method Details

"enum": [ # Possible values for an enumeration. This works in conjunction with `type` to represent types with a fixed set of legal values "", ], + "exclusiveMaximum": True or False, # Whether the maximum number value is exclusive. + "exclusiveMinimum": True or False, # Whether the minimum number value is exclusive. "format": "A String", # Format of the value as per https://json-schema.org/understanding-json-schema/reference/string.html#format "items": # Object with schema name: JsonSchema # Schema that applies to array values, applicable only if this is of type `array`. "jdbcType": "A String", # JDBC datatype of the field. + "maxItems": 42, # Maximum number of items in the array field. + "maxLength": 42, # Maximum length of the string field. + "maximum": "", # Maximum value of the number field. + "minItems": 42, # Minimum number of items in the array field. + "minLength": 42, # Minimum length of the string field. + "minimum": "", # Minimum value of the number field. + "pattern": "A String", # Regex pattern of the string field. This is a string value that describes the regular expression that the string value should match. "properties": { # The child schemas, applicable only if this is of type `object`. The key is the name of the property and the value is the json schema that describes that property "a_key": # Object with schema name: JsonSchema }, @@ -162,6 +181,7 @@

Method Details

"type": [ # JSON Schema Validation: A Vocabulary for Structural Validation of JSON "A String", ], + "uniqueItems": True or False, # Whether the items in the array field are unique. }, "nullable": True or False, # Specifies whether a null value is allowed. "parameter": "A String", # Name of the Parameter. @@ -177,9 +197,18 @@

Method Details

"enum": [ # Possible values for an enumeration. This works in conjunction with `type` to represent types with a fixed set of legal values "", ], + "exclusiveMaximum": True or False, # Whether the maximum number value is exclusive. + "exclusiveMinimum": True or False, # Whether the minimum number value is exclusive. "format": "A String", # Format of the value as per https://json-schema.org/understanding-json-schema/reference/string.html#format "items": # Object with schema name: JsonSchema # Schema that applies to array values, applicable only if this is of type `array`. "jdbcType": "A String", # JDBC datatype of the field. + "maxItems": 42, # Maximum number of items in the array field. + "maxLength": 42, # Maximum length of the string field. + "maximum": "", # Maximum value of the number field. + "minItems": 42, # Minimum number of items in the array field. + "minLength": 42, # Minimum length of the string field. + "minimum": "", # Minimum value of the number field. + "pattern": "A String", # Regex pattern of the string field. This is a string value that describes the regular expression that the string value should match. "properties": { # The child schemas, applicable only if this is of type `object`. The key is the name of the property and the value is the json schema that describes that property "a_key": # Object with schema name: JsonSchema }, @@ -189,6 +218,7 @@

Method Details

"type": [ # JSON Schema Validation: A Vocabulary for Structural Validation of JSON "A String", ], + "uniqueItems": True or False, # Whether the items in the array field are unique. }, "resultMetadata": [ # Output only. List of result field metadata. { # Metadata of result field. @@ -205,9 +235,18 @@

Method Details

"enum": [ # Possible values for an enumeration. This works in conjunction with `type` to represent types with a fixed set of legal values "", ], + "exclusiveMaximum": True or False, # Whether the maximum number value is exclusive. + "exclusiveMinimum": True or False, # Whether the minimum number value is exclusive. "format": "A String", # Format of the value as per https://json-schema.org/understanding-json-schema/reference/string.html#format "items": # Object with schema name: JsonSchema # Schema that applies to array values, applicable only if this is of type `array`. "jdbcType": "A String", # JDBC datatype of the field. + "maxItems": 42, # Maximum number of items in the array field. + "maxLength": 42, # Maximum length of the string field. + "maximum": "", # Maximum value of the number field. + "minItems": 42, # Minimum number of items in the array field. + "minLength": 42, # Minimum length of the string field. + "minimum": "", # Minimum value of the number field. + "pattern": "A String", # Regex pattern of the string field. This is a string value that describes the regular expression that the string value should match. "properties": { # The child schemas, applicable only if this is of type `object`. The key is the name of the property and the value is the json schema that describes that property "a_key": # Object with schema name: JsonSchema }, @@ -217,6 +256,7 @@

Method Details

"type": [ # JSON Schema Validation: A Vocabulary for Structural Validation of JSON "A String", ], + "uniqueItems": True or False, # Whether the items in the array field are unique. }, "nullable": True or False, # Specifies whether a null value is allowed. }, diff --git a/docs/dyn/connectors_v1.projects.locations.connections.runtimeEntitySchemas.html b/docs/dyn/connectors_v1.projects.locations.connections.runtimeEntitySchemas.html index 5881421322..5e69c10fa8 100644 --- a/docs/dyn/connectors_v1.projects.locations.connections.runtimeEntitySchemas.html +++ b/docs/dyn/connectors_v1.projects.locations.connections.runtimeEntitySchemas.html @@ -129,9 +129,18 @@

Method Details

"enum": [ # Possible values for an enumeration. This works in conjunction with `type` to represent types with a fixed set of legal values "", ], + "exclusiveMaximum": True or False, # Whether the maximum number value is exclusive. + "exclusiveMinimum": True or False, # Whether the minimum number value is exclusive. "format": "A String", # Format of the value as per https://json-schema.org/understanding-json-schema/reference/string.html#format "items": # Object with schema name: JsonSchema # Schema that applies to array values, applicable only if this is of type `array`. "jdbcType": "A String", # JDBC datatype of the field. + "maxItems": 42, # Maximum number of items in the array field. + "maxLength": 42, # Maximum length of the string field. + "maximum": "", # Maximum value of the number field. + "minItems": 42, # Minimum number of items in the array field. + "minLength": 42, # Minimum length of the string field. + "minimum": "", # Minimum value of the number field. + "pattern": "A String", # Regex pattern of the string field. This is a string value that describes the regular expression that the string value should match. "properties": { # The child schemas, applicable only if this is of type `object`. The key is the name of the property and the value is the json schema that describes that property "a_key": # Object with schema name: JsonSchema }, @@ -141,6 +150,7 @@

Method Details

"type": [ # JSON Schema Validation: A Vocabulary for Structural Validation of JSON "A String", ], + "uniqueItems": True or False, # Whether the items in the array field are unique. }, "key": True or False, # The following boolean field specifies if the current Field acts as a primary key or id if the parent is of type entity. "nullable": True or False, # Specifies whether a null value is allowed. @@ -156,9 +166,18 @@

Method Details

"enum": [ # Possible values for an enumeration. This works in conjunction with `type` to represent types with a fixed set of legal values "", ], + "exclusiveMaximum": True or False, # Whether the maximum number value is exclusive. + "exclusiveMinimum": True or False, # Whether the minimum number value is exclusive. "format": "A String", # Format of the value as per https://json-schema.org/understanding-json-schema/reference/string.html#format "items": # Object with schema name: JsonSchema # Schema that applies to array values, applicable only if this is of type `array`. "jdbcType": "A String", # JDBC datatype of the field. + "maxItems": 42, # Maximum number of items in the array field. + "maxLength": 42, # Maximum length of the string field. + "maximum": "", # Maximum value of the number field. + "minItems": 42, # Minimum number of items in the array field. + "minLength": 42, # Minimum length of the string field. + "minimum": "", # Minimum value of the number field. + "pattern": "A String", # Regex pattern of the string field. This is a string value that describes the regular expression that the string value should match. "properties": { # The child schemas, applicable only if this is of type `object`. The key is the name of the property and the value is the json schema that describes that property "a_key": # Object with schema name: JsonSchema }, @@ -168,6 +187,7 @@

Method Details

"type": [ # JSON Schema Validation: A Vocabulary for Structural Validation of JSON "A String", ], + "uniqueItems": True or False, # Whether the items in the array field are unique. }, "operations": [ # List of operations supported by this entity "A String", diff --git a/docs/dyn/connectors_v1.projects.locations.global_.customConnectors.customConnectorVersions.html b/docs/dyn/connectors_v1.projects.locations.global_.customConnectors.customConnectorVersions.html index dbf40a76eb..74c86c06e4 100644 --- a/docs/dyn/connectors_v1.projects.locations.global_.customConnectors.customConnectorVersions.html +++ b/docs/dyn/connectors_v1.projects.locations.global_.customConnectors.customConnectorVersions.html @@ -109,17 +109,17 @@

Method Details

"authConfig": { # AuthConfig defines details of a authentication type. # Optional. Authentication config for accessing connector service (facade). This is used only when enable_backend_destination_config is true. "additionalVariables": [ # Optional. List containing additional auth configs. { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "authKey": "A String", # Optional. Identifier key for auth config @@ -331,14 +331,14 @@

Method Details

"createTime": "A String", # Output only. Created time. "destinationConfigs": [ # Optional. Destination config(s) for accessing connector service (facade). This is used only when enable_backend_destination_config is true. { # Define the Connectors target endpoint. - "destinations": [ # The destinations for the key. + "destinations": [ # Optional. The destinations for the key. { "host": "A String", # For publicly routable host. - "port": 42, # The port is the target port number that is accepted by the destination. + "port": 42, # Optional. The port is the target port number that is accepted by the destination. "serviceAttachment": "A String", # PSC service attachments. Format: projects/*/regions/*/serviceAttachments/* }, ], - "key": "A String", # The key is the destination identifier that is supported by the Connector. + "key": "A String", # Optional. The key is the destination identifier that is supported by the Connector. }, ], "enableBackendDestinationConfig": True or False, # Optional. Indicates if an intermediatory connectorservice is used as backend. When this is enabled, the connector destination and connector auth config are required. For SDK based connectors, this is always enabled. @@ -429,17 +429,17 @@

Method Details

"authConfig": { # AuthConfig defines details of a authentication type. # Optional. Authentication config for accessing connector service (facade). This is used only when enable_backend_destination_config is true. "additionalVariables": [ # Optional. List containing additional auth configs. { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "authKey": "A String", # Optional. Identifier key for auth config @@ -651,14 +651,14 @@

Method Details

"createTime": "A String", # Output only. Created time. "destinationConfigs": [ # Optional. Destination config(s) for accessing connector service (facade). This is used only when enable_backend_destination_config is true. { # Define the Connectors target endpoint. - "destinations": [ # The destinations for the key. + "destinations": [ # Optional. The destinations for the key. { "host": "A String", # For publicly routable host. - "port": 42, # The port is the target port number that is accepted by the destination. + "port": 42, # Optional. The port is the target port number that is accepted by the destination. "serviceAttachment": "A String", # PSC service attachments. Format: projects/*/regions/*/serviceAttachments/* }, ], - "key": "A String", # The key is the destination identifier that is supported by the Connector. + "key": "A String", # Optional. The key is the destination identifier that is supported by the Connector. }, ], "enableBackendDestinationConfig": True or False, # Optional. Indicates if an intermediatory connectorservice is used as backend. When this is enabled, the connector destination and connector auth config are required. For SDK based connectors, this is always enabled. @@ -724,17 +724,17 @@

Method Details

"authConfig": { # AuthConfig defines details of a authentication type. # Optional. Authentication config for accessing connector service (facade). This is used only when enable_backend_destination_config is true. "additionalVariables": [ # Optional. List containing additional auth configs. { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "boolValue": True or False, # Optional. Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Optional. Value is a Encryption Key. "kmsKeyName": "A String", # Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. + "type": "A String", # Optional. Specifies the type of the encryption key. }, - "intValue": "A String", # Value is an integer + "intValue": "A String", # Optional. Value is an integer "key": "A String", # Optional. Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Optional. Value is a secret. "secretVersion": "A String", # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, - "stringValue": "A String", # Value is a string. + "stringValue": "A String", # Optional. Value is a string. }, ], "authKey": "A String", # Optional. Identifier key for auth config @@ -946,14 +946,14 @@

Method Details

"createTime": "A String", # Output only. Created time. "destinationConfigs": [ # Optional. Destination config(s) for accessing connector service (facade). This is used only when enable_backend_destination_config is true. { # Define the Connectors target endpoint. - "destinations": [ # The destinations for the key. + "destinations": [ # Optional. The destinations for the key. { "host": "A String", # For publicly routable host. - "port": 42, # The port is the target port number that is accepted by the destination. + "port": 42, # Optional. The port is the target port number that is accepted by the destination. "serviceAttachment": "A String", # PSC service attachments. Format: projects/*/regions/*/serviceAttachments/* }, ], - "key": "A String", # The key is the destination identifier that is supported by the Connector. + "key": "A String", # Optional. The key is the destination identifier that is supported by the Connector. }, ], "enableBackendDestinationConfig": True or False, # Optional. Indicates if an intermediatory connectorservice is used as backend. When this is enabled, the connector destination and connector auth config are required. For SDK based connectors, this is always enabled. diff --git a/docs/dyn/connectors_v2.projects.locations.connections.actions.html b/docs/dyn/connectors_v2.projects.locations.connections.actions.html index 30b85f1438..890866333d 100644 --- a/docs/dyn/connectors_v2.projects.locations.connections.actions.html +++ b/docs/dyn/connectors_v2.projects.locations.connections.actions.html @@ -167,9 +167,18 @@

Method Details

"enum": [ # Possible values for an enumeration. This works in conjunction with `type` to represent types with a fixed set of legal values "", ], + "exclusiveMaximum": True or False, # Whether the maximum number value is exclusive. + "exclusiveMinimum": True or False, # Whether the minimum number value is exclusive. "format": "A String", # Format of the value as per https://json-schema.org/understanding-json-schema/reference/string.html#format "items": # Object with schema name: JsonSchema # Schema that applies to array values, applicable only if this is of type `array`. "jdbcType": "A String", # JDBC datatype of the field. + "maxItems": 42, # Maximum number of items in the array field. + "maxLength": 42, # Maximum length of the string field. + "maximum": "", # Maximum value of the number field. + "minItems": 42, # Minimum number of items in the array field. + "minLength": 42, # Minimum length of the string field. + "minimum": "", # Minimum value of the number field. + "pattern": "A String", # Regex pattern of the string field. This is a string value that describes the regular expression that the string value should match. "properties": { # The child schemas, applicable only if this is of type `object`. The key is the name of the property and the value is the json schema that describes that property "a_key": # Object with schema name: JsonSchema }, @@ -179,6 +188,7 @@

Method Details

"type": [ # JSON Schema Validation: A Vocabulary for Structural Validation of JSON "A String", ], + "uniqueItems": True or False, # Whether the items in the array field are unique. }, "inputParameters": [ # List containing input parameter metadata. { # Input Parameter message contains metadata about the parameters required for executing an Action. @@ -197,9 +207,18 @@

Method Details

"enum": [ # Possible values for an enumeration. This works in conjunction with `type` to represent types with a fixed set of legal values "", ], + "exclusiveMaximum": True or False, # Whether the maximum number value is exclusive. + "exclusiveMinimum": True or False, # Whether the minimum number value is exclusive. "format": "A String", # Format of the value as per https://json-schema.org/understanding-json-schema/reference/string.html#format "items": # Object with schema name: JsonSchema # Schema that applies to array values, applicable only if this is of type `array`. "jdbcType": "A String", # JDBC datatype of the field. + "maxItems": 42, # Maximum number of items in the array field. + "maxLength": 42, # Maximum length of the string field. + "maximum": "", # Maximum value of the number field. + "minItems": 42, # Minimum number of items in the array field. + "minLength": 42, # Minimum length of the string field. + "minimum": "", # Minimum value of the number field. + "pattern": "A String", # Regex pattern of the string field. This is a string value that describes the regular expression that the string value should match. "properties": { # The child schemas, applicable only if this is of type `object`. The key is the name of the property and the value is the json schema that describes that property "a_key": # Object with schema name: JsonSchema }, @@ -209,6 +228,7 @@

Method Details

"type": [ # JSON Schema Validation: A Vocabulary for Structural Validation of JSON "A String", ], + "uniqueItems": True or False, # Whether the items in the array field are unique. }, "name": "A String", # Name of the Parameter. "nullable": True or False, # Specifies whether a null value is allowed. @@ -229,9 +249,18 @@

Method Details

"enum": [ # Possible values for an enumeration. This works in conjunction with `type` to represent types with a fixed set of legal values "", ], + "exclusiveMaximum": True or False, # Whether the maximum number value is exclusive. + "exclusiveMinimum": True or False, # Whether the minimum number value is exclusive. "format": "A String", # Format of the value as per https://json-schema.org/understanding-json-schema/reference/string.html#format "items": # Object with schema name: JsonSchema # Schema that applies to array values, applicable only if this is of type `array`. "jdbcType": "A String", # JDBC datatype of the field. + "maxItems": 42, # Maximum number of items in the array field. + "maxLength": 42, # Maximum length of the string field. + "maximum": "", # Maximum value of the number field. + "minItems": 42, # Minimum number of items in the array field. + "minLength": 42, # Minimum length of the string field. + "minimum": "", # Minimum value of the number field. + "pattern": "A String", # Regex pattern of the string field. This is a string value that describes the regular expression that the string value should match. "properties": { # The child schemas, applicable only if this is of type `object`. The key is the name of the property and the value is the json schema that describes that property "a_key": # Object with schema name: JsonSchema }, @@ -241,6 +270,7 @@

Method Details

"type": [ # JSON Schema Validation: A Vocabulary for Structural Validation of JSON "A String", ], + "uniqueItems": True or False, # Whether the items in the array field are unique. }, "resultMetadata": [ # List containing the metadata of result fields. { # Result Metadata message contains metadata about the result returned after executing an Action. @@ -256,9 +286,18 @@

Method Details

"enum": [ # Possible values for an enumeration. This works in conjunction with `type` to represent types with a fixed set of legal values "", ], + "exclusiveMaximum": True or False, # Whether the maximum number value is exclusive. + "exclusiveMinimum": True or False, # Whether the minimum number value is exclusive. "format": "A String", # Format of the value as per https://json-schema.org/understanding-json-schema/reference/string.html#format "items": # Object with schema name: JsonSchema # Schema that applies to array values, applicable only if this is of type `array`. "jdbcType": "A String", # JDBC datatype of the field. + "maxItems": 42, # Maximum number of items in the array field. + "maxLength": 42, # Maximum length of the string field. + "maximum": "", # Maximum value of the number field. + "minItems": 42, # Minimum number of items in the array field. + "minLength": 42, # Minimum length of the string field. + "minimum": "", # Minimum value of the number field. + "pattern": "A String", # Regex pattern of the string field. This is a string value that describes the regular expression that the string value should match. "properties": { # The child schemas, applicable only if this is of type `object`. The key is the name of the property and the value is the json schema that describes that property "a_key": # Object with schema name: JsonSchema }, @@ -268,6 +307,7 @@

Method Details

"type": [ # JSON Schema Validation: A Vocabulary for Structural Validation of JSON "A String", ], + "uniqueItems": True or False, # Whether the items in the array field are unique. }, "name": "A String", # Name of the metadata field. "nullable": True or False, # Specifies whether a null value is allowed. @@ -312,9 +352,18 @@

Method Details

"enum": [ # Possible values for an enumeration. This works in conjunction with `type` to represent types with a fixed set of legal values "", ], + "exclusiveMaximum": True or False, # Whether the maximum number value is exclusive. + "exclusiveMinimum": True or False, # Whether the minimum number value is exclusive. "format": "A String", # Format of the value as per https://json-schema.org/understanding-json-schema/reference/string.html#format "items": # Object with schema name: JsonSchema # Schema that applies to array values, applicable only if this is of type `array`. "jdbcType": "A String", # JDBC datatype of the field. + "maxItems": 42, # Maximum number of items in the array field. + "maxLength": 42, # Maximum length of the string field. + "maximum": "", # Maximum value of the number field. + "minItems": 42, # Minimum number of items in the array field. + "minLength": 42, # Minimum length of the string field. + "minimum": "", # Minimum value of the number field. + "pattern": "A String", # Regex pattern of the string field. This is a string value that describes the regular expression that the string value should match. "properties": { # The child schemas, applicable only if this is of type `object`. The key is the name of the property and the value is the json schema that describes that property "a_key": # Object with schema name: JsonSchema }, @@ -324,6 +373,7 @@

Method Details

"type": [ # JSON Schema Validation: A Vocabulary for Structural Validation of JSON "A String", ], + "uniqueItems": True or False, # Whether the items in the array field are unique. }, "inputParameters": [ # List containing input parameter metadata. { # Input Parameter message contains metadata about the parameters required for executing an Action. @@ -342,9 +392,18 @@

Method Details

"enum": [ # Possible values for an enumeration. This works in conjunction with `type` to represent types with a fixed set of legal values "", ], + "exclusiveMaximum": True or False, # Whether the maximum number value is exclusive. + "exclusiveMinimum": True or False, # Whether the minimum number value is exclusive. "format": "A String", # Format of the value as per https://json-schema.org/understanding-json-schema/reference/string.html#format "items": # Object with schema name: JsonSchema # Schema that applies to array values, applicable only if this is of type `array`. "jdbcType": "A String", # JDBC datatype of the field. + "maxItems": 42, # Maximum number of items in the array field. + "maxLength": 42, # Maximum length of the string field. + "maximum": "", # Maximum value of the number field. + "minItems": 42, # Minimum number of items in the array field. + "minLength": 42, # Minimum length of the string field. + "minimum": "", # Minimum value of the number field. + "pattern": "A String", # Regex pattern of the string field. This is a string value that describes the regular expression that the string value should match. "properties": { # The child schemas, applicable only if this is of type `object`. The key is the name of the property and the value is the json schema that describes that property "a_key": # Object with schema name: JsonSchema }, @@ -354,6 +413,7 @@

Method Details

"type": [ # JSON Schema Validation: A Vocabulary for Structural Validation of JSON "A String", ], + "uniqueItems": True or False, # Whether the items in the array field are unique. }, "name": "A String", # Name of the Parameter. "nullable": True or False, # Specifies whether a null value is allowed. @@ -374,9 +434,18 @@

Method Details

"enum": [ # Possible values for an enumeration. This works in conjunction with `type` to represent types with a fixed set of legal values "", ], + "exclusiveMaximum": True or False, # Whether the maximum number value is exclusive. + "exclusiveMinimum": True or False, # Whether the minimum number value is exclusive. "format": "A String", # Format of the value as per https://json-schema.org/understanding-json-schema/reference/string.html#format "items": # Object with schema name: JsonSchema # Schema that applies to array values, applicable only if this is of type `array`. "jdbcType": "A String", # JDBC datatype of the field. + "maxItems": 42, # Maximum number of items in the array field. + "maxLength": 42, # Maximum length of the string field. + "maximum": "", # Maximum value of the number field. + "minItems": 42, # Minimum number of items in the array field. + "minLength": 42, # Minimum length of the string field. + "minimum": "", # Minimum value of the number field. + "pattern": "A String", # Regex pattern of the string field. This is a string value that describes the regular expression that the string value should match. "properties": { # The child schemas, applicable only if this is of type `object`. The key is the name of the property and the value is the json schema that describes that property "a_key": # Object with schema name: JsonSchema }, @@ -386,6 +455,7 @@

Method Details

"type": [ # JSON Schema Validation: A Vocabulary for Structural Validation of JSON "A String", ], + "uniqueItems": True or False, # Whether the items in the array field are unique. }, "resultMetadata": [ # List containing the metadata of result fields. { # Result Metadata message contains metadata about the result returned after executing an Action. @@ -401,9 +471,18 @@

Method Details

"enum": [ # Possible values for an enumeration. This works in conjunction with `type` to represent types with a fixed set of legal values "", ], + "exclusiveMaximum": True or False, # Whether the maximum number value is exclusive. + "exclusiveMinimum": True or False, # Whether the minimum number value is exclusive. "format": "A String", # Format of the value as per https://json-schema.org/understanding-json-schema/reference/string.html#format "items": # Object with schema name: JsonSchema # Schema that applies to array values, applicable only if this is of type `array`. "jdbcType": "A String", # JDBC datatype of the field. + "maxItems": 42, # Maximum number of items in the array field. + "maxLength": 42, # Maximum length of the string field. + "maximum": "", # Maximum value of the number field. + "minItems": 42, # Minimum number of items in the array field. + "minLength": 42, # Minimum length of the string field. + "minimum": "", # Minimum value of the number field. + "pattern": "A String", # Regex pattern of the string field. This is a string value that describes the regular expression that the string value should match. "properties": { # The child schemas, applicable only if this is of type `object`. The key is the name of the property and the value is the json schema that describes that property "a_key": # Object with schema name: JsonSchema }, @@ -413,6 +492,7 @@

Method Details

"type": [ # JSON Schema Validation: A Vocabulary for Structural Validation of JSON "A String", ], + "uniqueItems": True or False, # Whether the items in the array field are unique. }, "name": "A String", # Name of the metadata field. "nullable": True or False, # Specifies whether a null value is allowed. diff --git a/docs/dyn/connectors_v2.projects.locations.connections.entityTypes.html b/docs/dyn/connectors_v2.projects.locations.connections.entityTypes.html index b37b8e8a40..839ba05fb9 100644 --- a/docs/dyn/connectors_v2.projects.locations.connections.entityTypes.html +++ b/docs/dyn/connectors_v2.projects.locations.connections.entityTypes.html @@ -137,9 +137,18 @@

Method Details

"enum": [ # Possible values for an enumeration. This works in conjunction with `type` to represent types with a fixed set of legal values "", ], + "exclusiveMaximum": True or False, # Whether the maximum number value is exclusive. + "exclusiveMinimum": True or False, # Whether the minimum number value is exclusive. "format": "A String", # Format of the value as per https://json-schema.org/understanding-json-schema/reference/string.html#format "items": # Object with schema name: JsonSchema # Schema that applies to array values, applicable only if this is of type `array`. "jdbcType": "A String", # JDBC datatype of the field. + "maxItems": 42, # Maximum number of items in the array field. + "maxLength": 42, # Maximum length of the string field. + "maximum": "", # Maximum value of the number field. + "minItems": 42, # Minimum number of items in the array field. + "minLength": 42, # Minimum length of the string field. + "minimum": "", # Minimum value of the number field. + "pattern": "A String", # Regex pattern of the string field. This is a string value that describes the regular expression that the string value should match. "properties": { # The child schemas, applicable only if this is of type `object`. The key is the name of the property and the value is the json schema that describes that property "a_key": # Object with schema name: JsonSchema }, @@ -149,6 +158,7 @@

Method Details

"type": [ # JSON Schema Validation: A Vocabulary for Structural Validation of JSON "A String", ], + "uniqueItems": True or False, # Whether the items in the array field are unique. }, "key": True or False, # The following boolean field specifies if the current Field acts as a primary key or id if the parent is of type entity. "name": "A String", # Name of the Field. @@ -168,9 +178,18 @@

Method Details

"enum": [ # Possible values for an enumeration. This works in conjunction with `type` to represent types with a fixed set of legal values "", ], + "exclusiveMaximum": True or False, # Whether the maximum number value is exclusive. + "exclusiveMinimum": True or False, # Whether the minimum number value is exclusive. "format": "A String", # Format of the value as per https://json-schema.org/understanding-json-schema/reference/string.html#format "items": # Object with schema name: JsonSchema # Schema that applies to array values, applicable only if this is of type `array`. "jdbcType": "A String", # JDBC datatype of the field. + "maxItems": 42, # Maximum number of items in the array field. + "maxLength": 42, # Maximum length of the string field. + "maximum": "", # Maximum value of the number field. + "minItems": 42, # Minimum number of items in the array field. + "minLength": 42, # Minimum length of the string field. + "minimum": "", # Minimum value of the number field. + "pattern": "A String", # Regex pattern of the string field. This is a string value that describes the regular expression that the string value should match. "properties": { # The child schemas, applicable only if this is of type `object`. The key is the name of the property and the value is the json schema that describes that property "a_key": # Object with schema name: JsonSchema }, @@ -180,6 +199,7 @@

Method Details

"type": [ # JSON Schema Validation: A Vocabulary for Structural Validation of JSON "A String", ], + "uniqueItems": True or False, # Whether the items in the array field are unique. }, "metadata": { # Metadata like service latency, etc. "a_key": { @@ -242,9 +262,18 @@

Method Details

"enum": [ # Possible values for an enumeration. This works in conjunction with `type` to represent types with a fixed set of legal values "", ], + "exclusiveMaximum": True or False, # Whether the maximum number value is exclusive. + "exclusiveMinimum": True or False, # Whether the minimum number value is exclusive. "format": "A String", # Format of the value as per https://json-schema.org/understanding-json-schema/reference/string.html#format "items": # Object with schema name: JsonSchema # Schema that applies to array values, applicable only if this is of type `array`. "jdbcType": "A String", # JDBC datatype of the field. + "maxItems": 42, # Maximum number of items in the array field. + "maxLength": 42, # Maximum length of the string field. + "maximum": "", # Maximum value of the number field. + "minItems": 42, # Minimum number of items in the array field. + "minLength": 42, # Minimum length of the string field. + "minimum": "", # Minimum value of the number field. + "pattern": "A String", # Regex pattern of the string field. This is a string value that describes the regular expression that the string value should match. "properties": { # The child schemas, applicable only if this is of type `object`. The key is the name of the property and the value is the json schema that describes that property "a_key": # Object with schema name: JsonSchema }, @@ -254,6 +283,7 @@

Method Details

"type": [ # JSON Schema Validation: A Vocabulary for Structural Validation of JSON "A String", ], + "uniqueItems": True or False, # Whether the items in the array field are unique. }, "key": True or False, # The following boolean field specifies if the current Field acts as a primary key or id if the parent is of type entity. "name": "A String", # Name of the Field. @@ -273,9 +303,18 @@

Method Details

"enum": [ # Possible values for an enumeration. This works in conjunction with `type` to represent types with a fixed set of legal values "", ], + "exclusiveMaximum": True or False, # Whether the maximum number value is exclusive. + "exclusiveMinimum": True or False, # Whether the minimum number value is exclusive. "format": "A String", # Format of the value as per https://json-schema.org/understanding-json-schema/reference/string.html#format "items": # Object with schema name: JsonSchema # Schema that applies to array values, applicable only if this is of type `array`. "jdbcType": "A String", # JDBC datatype of the field. + "maxItems": 42, # Maximum number of items in the array field. + "maxLength": 42, # Maximum length of the string field. + "maximum": "", # Maximum value of the number field. + "minItems": 42, # Minimum number of items in the array field. + "minLength": 42, # Minimum length of the string field. + "minimum": "", # Minimum value of the number field. + "pattern": "A String", # Regex pattern of the string field. This is a string value that describes the regular expression that the string value should match. "properties": { # The child schemas, applicable only if this is of type `object`. The key is the name of the property and the value is the json schema that describes that property "a_key": # Object with schema name: JsonSchema }, @@ -285,6 +324,7 @@

Method Details

"type": [ # JSON Schema Validation: A Vocabulary for Structural Validation of JSON "A String", ], + "uniqueItems": True or False, # Whether the items in the array field are unique. }, "metadata": { # Metadata like service latency, etc. "a_key": { diff --git a/docs/dyn/connectors_v2.projects.locations.connections.resources.html b/docs/dyn/connectors_v2.projects.locations.connections.resources.html index fde5e2f1eb..e47af6c36e 100644 --- a/docs/dyn/connectors_v2.projects.locations.connections.resources.html +++ b/docs/dyn/connectors_v2.projects.locations.connections.resources.html @@ -111,6 +111,9 @@

Method Details

An object of the form: { + "_meta": { # Metadata for the resource. + "a_key": "", # Properties of the object. + }, "data": "A String", # The content of the resource. "metadata": { # Metadata like service latency, etc. "a_key": { @@ -153,6 +156,9 @@

Method Details

An object of the form: { + "_meta": { # Metadata for the resource. + "a_key": "", # Properties of the object. + }, "data": "A String", # The content of the resource. "metadata": { # Metadata like service latency, etc. "a_key": { @@ -189,6 +195,9 @@

Method Details

"nextPageToken": "A String", # Next page token if more resources available. "resources": [ # List of available resources. { + "_meta": { # Metadata for the resource. + "a_key": "", # Properties of the object. + }, "description": "A String", # A description of what this resource represents. "mimeType": "A String", # The MIME type of this resource, if known. "name": "A String", # A human-readable name for this resource. diff --git a/docs/dyn/connectors_v2.projects.locations.connections.tools.html b/docs/dyn/connectors_v2.projects.locations.connections.tools.html index 309af4b7db..c2842a3b30 100644 --- a/docs/dyn/connectors_v2.projects.locations.connections.tools.html +++ b/docs/dyn/connectors_v2.projects.locations.connections.tools.html @@ -122,6 +122,9 @@

Method Details

An object of the form: { # Response message for ConnectorAgentService.ExecuteTool + "_meta": { # Metadata for the tool execution result. + "a_key": "", # Properties of the object. + }, "metadata": { # Metadata like service latency, etc. "a_key": { "a_key": "", # Properties of the object. Contains field @type with type URL. @@ -159,6 +162,9 @@

Method Details

"nextPageToken": "A String", # Next page token. "tools": [ # List of available tools. { # Message representing a single tool. + "_meta": { # Metadata for the tool. + "a_key": "", # Properties of the object. + }, "annotations": { # ToolAnnotations holds annotations for a tool. # Annotations for the tool. "destructiveHint": True or False, # If true, the tool may perform destructive updates to its environment. If false, the tool performs only additive updates. (This property is meaningful only when `read_only_hint == false`) "idempotentHint": True or False, # If true, calling the tool repeatedly with the same arguments will have no additional effect on the environment. (This property is meaningful only when `read_only_hint == false`) @@ -179,9 +185,18 @@

Method Details

"enum": [ # Possible values for an enumeration. This works in conjunction with `type` to represent types with a fixed set of legal values "", ], + "exclusiveMaximum": True or False, # Whether the maximum number value is exclusive. + "exclusiveMinimum": True or False, # Whether the minimum number value is exclusive. "format": "A String", # Format of the value as per https://json-schema.org/understanding-json-schema/reference/string.html#format "items": # Object with schema name: JsonSchema # Schema that applies to array values, applicable only if this is of type `array`. "jdbcType": "A String", # JDBC datatype of the field. + "maxItems": 42, # Maximum number of items in the array field. + "maxLength": 42, # Maximum length of the string field. + "maximum": "", # Maximum value of the number field. + "minItems": 42, # Minimum number of items in the array field. + "minLength": 42, # Minimum length of the string field. + "minimum": "", # Minimum value of the number field. + "pattern": "A String", # Regex pattern of the string field. This is a string value that describes the regular expression that the string value should match. "properties": { # The child schemas, applicable only if this is of type `object`. The key is the name of the property and the value is the json schema that describes that property "a_key": # Object with schema name: JsonSchema }, @@ -191,6 +206,7 @@

Method Details

"type": [ # JSON Schema Validation: A Vocabulary for Structural Validation of JSON "A String", ], + "uniqueItems": True or False, # Whether the items in the array field are unique. }, "name": "A String", # Name of the tool. "outputSchema": { # JsonSchema representation of schema metadata # JSON schema for the output of the tool. @@ -202,9 +218,18 @@

Method Details

"enum": [ # Possible values for an enumeration. This works in conjunction with `type` to represent types with a fixed set of legal values "", ], + "exclusiveMaximum": True or False, # Whether the maximum number value is exclusive. + "exclusiveMinimum": True or False, # Whether the minimum number value is exclusive. "format": "A String", # Format of the value as per https://json-schema.org/understanding-json-schema/reference/string.html#format "items": # Object with schema name: JsonSchema # Schema that applies to array values, applicable only if this is of type `array`. "jdbcType": "A String", # JDBC datatype of the field. + "maxItems": 42, # Maximum number of items in the array field. + "maxLength": 42, # Maximum length of the string field. + "maximum": "", # Maximum value of the number field. + "minItems": 42, # Minimum number of items in the array field. + "minLength": 42, # Minimum length of the string field. + "minimum": "", # Minimum value of the number field. + "pattern": "A String", # Regex pattern of the string field. This is a string value that describes the regular expression that the string value should match. "properties": { # The child schemas, applicable only if this is of type `object`. The key is the name of the property and the value is the json schema that describes that property "a_key": # Object with schema name: JsonSchema }, @@ -214,6 +239,7 @@

Method Details

"type": [ # JSON Schema Validation: A Vocabulary for Structural Validation of JSON "A String", ], + "uniqueItems": True or False, # Whether the items in the array field are unique. }, }, ], diff --git a/docs/dyn/container_v1.projects.locations.clusters.html b/docs/dyn/container_v1.projects.locations.clusters.html index ffc244da21..ba4244453d 100644 --- a/docs/dyn/container_v1.projects.locations.clusters.html +++ b/docs/dyn/container_v1.projects.locations.clusters.html @@ -308,6 +308,7 @@

Method Details

"disabled": True or False, # Whether the Kubernetes Dashboard is enabled for this cluster. }, "lustreCsiDriverConfig": { # Configuration for the Lustre CSI driver. # Configuration for the Lustre CSI driver. + "disableMultiNic": True or False, # When set to true, this disables multi-NIC support for the Lustre CSI driver. By default, GKE enables multi-NIC support, which allows the Lustre CSI driver to automatically detect and configure all suitable network interfaces on a node to maximize I/O performance for demanding workloads. "enableLegacyLustrePort": True or False, # If set to true, the Lustre CSI driver will install Lustre kernel modules using port 6988. This serves as a workaround for a port conflict with the gke-metadata-server. This field is required ONLY under the following conditions: 1. The GKE node version is older than 1.33.2-gke.4655000. 2. You're connecting to a Lustre instance that has the 'gke-support-enabled' flag. Deprecated: This flag is no longer required as of GKE node version 1.33.2-gke.4655000, unless you are connecting to a Lustre instance that has the `gke-support-enabled` flag. "enabled": True or False, # Whether the Lustre CSI driver is enabled for this cluster. }, @@ -344,6 +345,12 @@

Method Details

"securityGroup": "A String", # The name of the security group-of-groups to be used. Only relevant if enabled = true. }, "autopilot": { # Autopilot is the configuration for Autopilot settings on the cluster. # Autopilot configuration for the cluster. + "clusterPolicyConfig": { # ClusterPolicyConfig stores the configuration for cluster wide policies. # ClusterPolicyConfig denotes cluster level policies that are enforced for the cluster. + "noStandardNodePools": True or False, # Denotes preventing standard node pools and requiring only autopilot node pools. + "noSystemImpersonation": True or False, # Denotes preventing impersonation and CSRs for GKE System users. + "noSystemMutation": True or False, # Denotes that preventing creation and mutation of resources in GKE managed namespaces and cluster-scoped GKE managed resources . + "noUnsafeWebhooks": True or False, # Denotes preventing unsafe webhooks. + }, "enabled": True or False, # Enable Autopilot "privilegedAdmissionConfig": { # PrivilegedAdmissionConfig stores the list of authorized allowlist paths for the cluster. # PrivilegedAdmissionConfig is the configuration related to privileged admission control. "allowlistPaths": [ # The customer allowlist Cloud Storage paths for the cluster. These paths are used with the `--autopilot-privileged-admission` flag to authorize privileged workloads in Autopilot clusters. Paths can be GKE-owned, in the format `gke:////`, or customer-owned, in the format `gs:///`. Wildcards (`*`) are supported to authorize all allowlists under specific paths or directories. Example: `gs://my-bucket/*` will authorize all allowlists under the `my-bucket` bucket. @@ -623,6 +630,9 @@

Method Details

}, }, }, + "managedMachineLearningDiagnosticsConfig": { # ManagedMachineLearningDiagnosticsConfig is the configuration for the GKE Managed Machine Learning Diagnostics pipeline. # Configuration for Managed Machine Learning Diagnostics. + "enabled": True or False, # Enable/Disable Managed Machine Learning Diagnostics. + }, "managedOpentelemetryConfig": { # ManagedOpenTelemetryConfig is the configuration for the GKE Managed OpenTelemetry pipeline. # Configuration for Managed OpenTelemetry pipeline. "scope": "A String", # Scope of the Managed OpenTelemetry pipeline. }, @@ -978,6 +988,9 @@

Method Details

"tags": [ # The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035. "A String", ], + "taintConfig": { # TaintConfig contains the configuration for the taints of the node pool. # Optional. The taint configuration for the node pool. + "architectureTaintBehavior": "A String", # Optional. Controls architecture tainting behavior. + }, "taints": [ # List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ { # Kubernetes taint is composed of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values. "effect": "A String", # Effect for taint. @@ -1511,6 +1524,9 @@

Method Details

"tags": [ # The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035. "A String", ], + "taintConfig": { # TaintConfig contains the configuration for the taints of the node pool. # Optional. The taint configuration for the node pool. + "architectureTaintBehavior": "A String", # Optional. Controls architecture tainting behavior. + }, "taints": [ # List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ { # Kubernetes taint is composed of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values. "effect": "A String", # Effect for taint. @@ -1678,6 +1694,9 @@

Method Details

}, "satisfiesPzi": True or False, # Output only. Reserved for future use. "satisfiesPzs": True or False, # Output only. Reserved for future use. + "scheduleUpgradeConfig": { # Configuration for scheduled upgrades on the cluster. # Optional. Configuration for scheduled upgrades. + "enabled": True or False, # Optional. Whether or not scheduled upgrades are enabled. + }, "secretManagerConfig": { # SecretManagerConfig is config for secret manager enablement. # Secret CSI driver configuration. "enabled": True or False, # Enable/Disable Secret Manager Config. "rotationConfig": { # RotationConfig is config for secret manager auto rotation. # Rotation config for secret manager. @@ -1952,6 +1971,7 @@

Method Details

"disabled": True or False, # Whether the Kubernetes Dashboard is enabled for this cluster. }, "lustreCsiDriverConfig": { # Configuration for the Lustre CSI driver. # Configuration for the Lustre CSI driver. + "disableMultiNic": True or False, # When set to true, this disables multi-NIC support for the Lustre CSI driver. By default, GKE enables multi-NIC support, which allows the Lustre CSI driver to automatically detect and configure all suitable network interfaces on a node to maximize I/O performance for demanding workloads. "enableLegacyLustrePort": True or False, # If set to true, the Lustre CSI driver will install Lustre kernel modules using port 6988. This serves as a workaround for a port conflict with the gke-metadata-server. This field is required ONLY under the following conditions: 1. The GKE node version is older than 1.33.2-gke.4655000. 2. You're connecting to a Lustre instance that has the 'gke-support-enabled' flag. Deprecated: This flag is no longer required as of GKE node version 1.33.2-gke.4655000, unless you are connecting to a Lustre instance that has the `gke-support-enabled` flag. "enabled": True or False, # Whether the Lustre CSI driver is enabled for this cluster. }, @@ -1988,6 +2008,12 @@

Method Details

"securityGroup": "A String", # The name of the security group-of-groups to be used. Only relevant if enabled = true. }, "autopilot": { # Autopilot is the configuration for Autopilot settings on the cluster. # Autopilot configuration for the cluster. + "clusterPolicyConfig": { # ClusterPolicyConfig stores the configuration for cluster wide policies. # ClusterPolicyConfig denotes cluster level policies that are enforced for the cluster. + "noStandardNodePools": True or False, # Denotes preventing standard node pools and requiring only autopilot node pools. + "noSystemImpersonation": True or False, # Denotes preventing impersonation and CSRs for GKE System users. + "noSystemMutation": True or False, # Denotes that preventing creation and mutation of resources in GKE managed namespaces and cluster-scoped GKE managed resources . + "noUnsafeWebhooks": True or False, # Denotes preventing unsafe webhooks. + }, "enabled": True or False, # Enable Autopilot "privilegedAdmissionConfig": { # PrivilegedAdmissionConfig stores the list of authorized allowlist paths for the cluster. # PrivilegedAdmissionConfig is the configuration related to privileged admission control. "allowlistPaths": [ # The customer allowlist Cloud Storage paths for the cluster. These paths are used with the `--autopilot-privileged-admission` flag to authorize privileged workloads in Autopilot clusters. Paths can be GKE-owned, in the format `gke:////`, or customer-owned, in the format `gs:///`. Wildcards (`*`) are supported to authorize all allowlists under specific paths or directories. Example: `gs://my-bucket/*` will authorize all allowlists under the `my-bucket` bucket. @@ -2267,6 +2293,9 @@

Method Details

}, }, }, + "managedMachineLearningDiagnosticsConfig": { # ManagedMachineLearningDiagnosticsConfig is the configuration for the GKE Managed Machine Learning Diagnostics pipeline. # Configuration for Managed Machine Learning Diagnostics. + "enabled": True or False, # Enable/Disable Managed Machine Learning Diagnostics. + }, "managedOpentelemetryConfig": { # ManagedOpenTelemetryConfig is the configuration for the GKE Managed OpenTelemetry pipeline. # Configuration for Managed OpenTelemetry pipeline. "scope": "A String", # Scope of the Managed OpenTelemetry pipeline. }, @@ -2622,6 +2651,9 @@

Method Details

"tags": [ # The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035. "A String", ], + "taintConfig": { # TaintConfig contains the configuration for the taints of the node pool. # Optional. The taint configuration for the node pool. + "architectureTaintBehavior": "A String", # Optional. Controls architecture tainting behavior. + }, "taints": [ # List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ { # Kubernetes taint is composed of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values. "effect": "A String", # Effect for taint. @@ -3155,6 +3187,9 @@

Method Details

"tags": [ # The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035. "A String", ], + "taintConfig": { # TaintConfig contains the configuration for the taints of the node pool. # Optional. The taint configuration for the node pool. + "architectureTaintBehavior": "A String", # Optional. Controls architecture tainting behavior. + }, "taints": [ # List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ { # Kubernetes taint is composed of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values. "effect": "A String", # Effect for taint. @@ -3322,6 +3357,9 @@

Method Details

}, "satisfiesPzi": True or False, # Output only. Reserved for future use. "satisfiesPzs": True or False, # Output only. Reserved for future use. + "scheduleUpgradeConfig": { # Configuration for scheduled upgrades on the cluster. # Optional. Configuration for scheduled upgrades. + "enabled": True or False, # Optional. Whether or not scheduled upgrades are enabled. + }, "secretManagerConfig": { # SecretManagerConfig is config for secret manager enablement. # Secret CSI driver configuration. "enabled": True or False, # Enable/Disable Secret Manager Config. "rotationConfig": { # RotationConfig is config for secret manager auto rotation. # Rotation config for secret manager. @@ -3460,6 +3498,7 @@

Method Details

"disabled": True or False, # Whether the Kubernetes Dashboard is enabled for this cluster. }, "lustreCsiDriverConfig": { # Configuration for the Lustre CSI driver. # Configuration for the Lustre CSI driver. + "disableMultiNic": True or False, # When set to true, this disables multi-NIC support for the Lustre CSI driver. By default, GKE enables multi-NIC support, which allows the Lustre CSI driver to automatically detect and configure all suitable network interfaces on a node to maximize I/O performance for demanding workloads. "enableLegacyLustrePort": True or False, # If set to true, the Lustre CSI driver will install Lustre kernel modules using port 6988. This serves as a workaround for a port conflict with the gke-metadata-server. This field is required ONLY under the following conditions: 1. The GKE node version is older than 1.33.2-gke.4655000. 2. You're connecting to a Lustre instance that has the 'gke-support-enabled' flag. Deprecated: This flag is no longer required as of GKE node version 1.33.2-gke.4655000, unless you are connecting to a Lustre instance that has the `gke-support-enabled` flag. "enabled": True or False, # Whether the Lustre CSI driver is enabled for this cluster. }, @@ -3496,6 +3535,12 @@

Method Details

"securityGroup": "A String", # The name of the security group-of-groups to be used. Only relevant if enabled = true. }, "autopilot": { # Autopilot is the configuration for Autopilot settings on the cluster. # Autopilot configuration for the cluster. + "clusterPolicyConfig": { # ClusterPolicyConfig stores the configuration for cluster wide policies. # ClusterPolicyConfig denotes cluster level policies that are enforced for the cluster. + "noStandardNodePools": True or False, # Denotes preventing standard node pools and requiring only autopilot node pools. + "noSystemImpersonation": True or False, # Denotes preventing impersonation and CSRs for GKE System users. + "noSystemMutation": True or False, # Denotes that preventing creation and mutation of resources in GKE managed namespaces and cluster-scoped GKE managed resources . + "noUnsafeWebhooks": True or False, # Denotes preventing unsafe webhooks. + }, "enabled": True or False, # Enable Autopilot "privilegedAdmissionConfig": { # PrivilegedAdmissionConfig stores the list of authorized allowlist paths for the cluster. # PrivilegedAdmissionConfig is the configuration related to privileged admission control. "allowlistPaths": [ # The customer allowlist Cloud Storage paths for the cluster. These paths are used with the `--autopilot-privileged-admission` flag to authorize privileged workloads in Autopilot clusters. Paths can be GKE-owned, in the format `gke:////`, or customer-owned, in the format `gs:///`. Wildcards (`*`) are supported to authorize all allowlists under specific paths or directories. Example: `gs://my-bucket/*` will authorize all allowlists under the `my-bucket` bucket. @@ -3775,6 +3820,9 @@

Method Details

}, }, }, + "managedMachineLearningDiagnosticsConfig": { # ManagedMachineLearningDiagnosticsConfig is the configuration for the GKE Managed Machine Learning Diagnostics pipeline. # Configuration for Managed Machine Learning Diagnostics. + "enabled": True or False, # Enable/Disable Managed Machine Learning Diagnostics. + }, "managedOpentelemetryConfig": { # ManagedOpenTelemetryConfig is the configuration for the GKE Managed OpenTelemetry pipeline. # Configuration for Managed OpenTelemetry pipeline. "scope": "A String", # Scope of the Managed OpenTelemetry pipeline. }, @@ -4130,6 +4178,9 @@

Method Details

"tags": [ # The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035. "A String", ], + "taintConfig": { # TaintConfig contains the configuration for the taints of the node pool. # Optional. The taint configuration for the node pool. + "architectureTaintBehavior": "A String", # Optional. Controls architecture tainting behavior. + }, "taints": [ # List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ { # Kubernetes taint is composed of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values. "effect": "A String", # Effect for taint. @@ -4663,6 +4714,9 @@

Method Details

"tags": [ # The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035. "A String", ], + "taintConfig": { # TaintConfig contains the configuration for the taints of the node pool. # Optional. The taint configuration for the node pool. + "architectureTaintBehavior": "A String", # Optional. Controls architecture tainting behavior. + }, "taints": [ # List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ { # Kubernetes taint is composed of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values. "effect": "A String", # Effect for taint. @@ -4830,6 +4884,9 @@

Method Details

}, "satisfiesPzi": True or False, # Output only. Reserved for future use. "satisfiesPzs": True or False, # Output only. Reserved for future use. + "scheduleUpgradeConfig": { # Configuration for scheduled upgrades on the cluster. # Optional. Configuration for scheduled upgrades. + "enabled": True or False, # Optional. Whether or not scheduled upgrades are enabled. + }, "secretManagerConfig": { # SecretManagerConfig is config for secret manager enablement. # Secret CSI driver configuration. "enabled": True or False, # Enable/Disable Secret Manager Config. "rotationConfig": { # RotationConfig is config for secret manager auto rotation. # Rotation config for secret manager. @@ -4928,6 +4985,7 @@

Method Details

"disabled": True or False, # Whether the Kubernetes Dashboard is enabled for this cluster. }, "lustreCsiDriverConfig": { # Configuration for the Lustre CSI driver. # Configuration for the Lustre CSI driver. + "disableMultiNic": True or False, # When set to true, this disables multi-NIC support for the Lustre CSI driver. By default, GKE enables multi-NIC support, which allows the Lustre CSI driver to automatically detect and configure all suitable network interfaces on a node to maximize I/O performance for demanding workloads. "enableLegacyLustrePort": True or False, # If set to true, the Lustre CSI driver will install Lustre kernel modules using port 6988. This serves as a workaround for a port conflict with the gke-metadata-server. This field is required ONLY under the following conditions: 1. The GKE node version is older than 1.33.2-gke.4655000. 2. You're connecting to a Lustre instance that has the 'gke-support-enabled' flag. Deprecated: This flag is no longer required as of GKE node version 1.33.2-gke.4655000, unless you are connecting to a Lustre instance that has the `gke-support-enabled` flag. "enabled": True or False, # Whether the Lustre CSI driver is enabled for this cluster. }, @@ -5847,6 +5905,7 @@

Method Details

"disabled": True or False, # Whether the Kubernetes Dashboard is enabled for this cluster. }, "lustreCsiDriverConfig": { # Configuration for the Lustre CSI driver. # Configuration for the Lustre CSI driver. + "disableMultiNic": True or False, # When set to true, this disables multi-NIC support for the Lustre CSI driver. By default, GKE enables multi-NIC support, which allows the Lustre CSI driver to automatically detect and configure all suitable network interfaces on a node to maximize I/O performance for demanding workloads. "enableLegacyLustrePort": True or False, # If set to true, the Lustre CSI driver will install Lustre kernel modules using port 6988. This serves as a workaround for a port conflict with the gke-metadata-server. This field is required ONLY under the following conditions: 1. The GKE node version is older than 1.33.2-gke.4655000. 2. You're connecting to a Lustre instance that has the 'gke-support-enabled' flag. Deprecated: This flag is no longer required as of GKE node version 1.33.2-gke.4655000, unless you are connecting to a Lustre instance that has the `gke-support-enabled` flag. "enabled": True or False, # Whether the Lustre CSI driver is enabled for this cluster. }, @@ -5882,6 +5941,12 @@

Method Details

"desiredAutoIpamConfig": { # AutoIpamConfig contains all information related to Auto IPAM # AutoIpamConfig contains all information related to Auto IPAM "enabled": True or False, # The flag that enables Auto IPAM on this cluster }, + "desiredAutopilotClusterPolicyConfig": { # ClusterPolicyConfig stores the configuration for cluster wide policies. # The desired autopilot cluster policies that to be enforced in the cluster. + "noStandardNodePools": True or False, # Denotes preventing standard node pools and requiring only autopilot node pools. + "noSystemImpersonation": True or False, # Denotes preventing impersonation and CSRs for GKE System users. + "noSystemMutation": True or False, # Denotes that preventing creation and mutation of resources in GKE managed namespaces and cluster-scoped GKE managed resources . + "noUnsafeWebhooks": True or False, # Denotes preventing unsafe webhooks. + }, "desiredAutopilotWorkloadPolicyConfig": { # WorkloadPolicyConfig is the configuration related to GCW workload policy # WorkloadPolicyConfig is the configuration related to GCW workload policy "allowNetAdmin": True or False, # If true, workloads can use NET_ADMIN capability. "autopilotCompatibilityAuditingEnabled": True or False, # If true, enables the GCW Auditor that audits workloads on standard clusters. @@ -6115,6 +6180,9 @@

Method Details

}, }, "desiredLoggingService": "A String", # The logging service the cluster should use to write logs. Currently available options: * `logging.googleapis.com/kubernetes` - The Cloud Logging service with a Kubernetes-native resource model * `logging.googleapis.com` - The legacy Cloud Logging service (no longer available as of GKE 1.15). * `none` - no logs will be exported from the cluster. If left as an empty string,`logging.googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.googleapis.com` for earlier versions. + "desiredManagedMachineLearningDiagnosticsConfig": { # ManagedMachineLearningDiagnosticsConfig is the configuration for the GKE Managed Machine Learning Diagnostics pipeline. # The desired managed machine learning diagnostics configuration. + "enabled": True or False, # Enable/Disable Managed Machine Learning Diagnostics. + }, "desiredManagedOpentelemetryConfig": { # ManagedOpenTelemetryConfig is the configuration for the GKE Managed OpenTelemetry pipeline. # The desired managed open telemetry configuration. "scope": "A String", # Scope of the Managed OpenTelemetry pipeline. }, diff --git a/docs/dyn/container_v1.projects.locations.clusters.nodePools.html b/docs/dyn/container_v1.projects.locations.clusters.nodePools.html index e50ee1ca2c..11fdf6d7b7 100644 --- a/docs/dyn/container_v1.projects.locations.clusters.nodePools.html +++ b/docs/dyn/container_v1.projects.locations.clusters.nodePools.html @@ -446,6 +446,9 @@

Method Details

"tags": [ # The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035. "A String", ], + "taintConfig": { # TaintConfig contains the configuration for the taints of the node pool. # Optional. The taint configuration for the node pool. + "architectureTaintBehavior": "A String", # Optional. Controls architecture tainting behavior. + }, "taints": [ # List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ { # Kubernetes taint is composed of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values. "effect": "A String", # Effect for taint. @@ -1048,6 +1051,9 @@

Method Details

"tags": [ # The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035. "A String", ], + "taintConfig": { # TaintConfig contains the configuration for the taints of the node pool. # Optional. The taint configuration for the node pool. + "architectureTaintBehavior": "A String", # Optional. Controls architecture tainting behavior. + }, "taints": [ # List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ { # Kubernetes taint is composed of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values. "effect": "A String", # Effect for taint. @@ -1477,6 +1483,9 @@

Method Details

"tags": [ # The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035. "A String", ], + "taintConfig": { # TaintConfig contains the configuration for the taints of the node pool. # Optional. The taint configuration for the node pool. + "architectureTaintBehavior": "A String", # Optional. Controls architecture tainting behavior. + }, "taints": [ # List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ { # Kubernetes taint is composed of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values. "effect": "A String", # Effect for taint. diff --git a/docs/dyn/container_v1.projects.zones.clusters.html b/docs/dyn/container_v1.projects.zones.clusters.html index 6487ad81ad..db40828d17 100644 --- a/docs/dyn/container_v1.projects.zones.clusters.html +++ b/docs/dyn/container_v1.projects.zones.clusters.html @@ -185,6 +185,7 @@

Method Details

"disabled": True or False, # Whether the Kubernetes Dashboard is enabled for this cluster. }, "lustreCsiDriverConfig": { # Configuration for the Lustre CSI driver. # Configuration for the Lustre CSI driver. + "disableMultiNic": True or False, # When set to true, this disables multi-NIC support for the Lustre CSI driver. By default, GKE enables multi-NIC support, which allows the Lustre CSI driver to automatically detect and configure all suitable network interfaces on a node to maximize I/O performance for demanding workloads. "enableLegacyLustrePort": True or False, # If set to true, the Lustre CSI driver will install Lustre kernel modules using port 6988. This serves as a workaround for a port conflict with the gke-metadata-server. This field is required ONLY under the following conditions: 1. The GKE node version is older than 1.33.2-gke.4655000. 2. You're connecting to a Lustre instance that has the 'gke-support-enabled' flag. Deprecated: This flag is no longer required as of GKE node version 1.33.2-gke.4655000, unless you are connecting to a Lustre instance that has the `gke-support-enabled` flag. "enabled": True or False, # Whether the Lustre CSI driver is enabled for this cluster. }, @@ -409,6 +410,7 @@

Method Details

"disabled": True or False, # Whether the Kubernetes Dashboard is enabled for this cluster. }, "lustreCsiDriverConfig": { # Configuration for the Lustre CSI driver. # Configuration for the Lustre CSI driver. + "disableMultiNic": True or False, # When set to true, this disables multi-NIC support for the Lustre CSI driver. By default, GKE enables multi-NIC support, which allows the Lustre CSI driver to automatically detect and configure all suitable network interfaces on a node to maximize I/O performance for demanding workloads. "enableLegacyLustrePort": True or False, # If set to true, the Lustre CSI driver will install Lustre kernel modules using port 6988. This serves as a workaround for a port conflict with the gke-metadata-server. This field is required ONLY under the following conditions: 1. The GKE node version is older than 1.33.2-gke.4655000. 2. You're connecting to a Lustre instance that has the 'gke-support-enabled' flag. Deprecated: This flag is no longer required as of GKE node version 1.33.2-gke.4655000, unless you are connecting to a Lustre instance that has the `gke-support-enabled` flag. "enabled": True or False, # Whether the Lustre CSI driver is enabled for this cluster. }, @@ -445,6 +447,12 @@

Method Details

"securityGroup": "A String", # The name of the security group-of-groups to be used. Only relevant if enabled = true. }, "autopilot": { # Autopilot is the configuration for Autopilot settings on the cluster. # Autopilot configuration for the cluster. + "clusterPolicyConfig": { # ClusterPolicyConfig stores the configuration for cluster wide policies. # ClusterPolicyConfig denotes cluster level policies that are enforced for the cluster. + "noStandardNodePools": True or False, # Denotes preventing standard node pools and requiring only autopilot node pools. + "noSystemImpersonation": True or False, # Denotes preventing impersonation and CSRs for GKE System users. + "noSystemMutation": True or False, # Denotes that preventing creation and mutation of resources in GKE managed namespaces and cluster-scoped GKE managed resources . + "noUnsafeWebhooks": True or False, # Denotes preventing unsafe webhooks. + }, "enabled": True or False, # Enable Autopilot "privilegedAdmissionConfig": { # PrivilegedAdmissionConfig stores the list of authorized allowlist paths for the cluster. # PrivilegedAdmissionConfig is the configuration related to privileged admission control. "allowlistPaths": [ # The customer allowlist Cloud Storage paths for the cluster. These paths are used with the `--autopilot-privileged-admission` flag to authorize privileged workloads in Autopilot clusters. Paths can be GKE-owned, in the format `gke:////`, or customer-owned, in the format `gs:///`. Wildcards (`*`) are supported to authorize all allowlists under specific paths or directories. Example: `gs://my-bucket/*` will authorize all allowlists under the `my-bucket` bucket. @@ -724,6 +732,9 @@

Method Details

}, }, }, + "managedMachineLearningDiagnosticsConfig": { # ManagedMachineLearningDiagnosticsConfig is the configuration for the GKE Managed Machine Learning Diagnostics pipeline. # Configuration for Managed Machine Learning Diagnostics. + "enabled": True or False, # Enable/Disable Managed Machine Learning Diagnostics. + }, "managedOpentelemetryConfig": { # ManagedOpenTelemetryConfig is the configuration for the GKE Managed OpenTelemetry pipeline. # Configuration for Managed OpenTelemetry pipeline. "scope": "A String", # Scope of the Managed OpenTelemetry pipeline. }, @@ -1079,6 +1090,9 @@

Method Details

"tags": [ # The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035. "A String", ], + "taintConfig": { # TaintConfig contains the configuration for the taints of the node pool. # Optional. The taint configuration for the node pool. + "architectureTaintBehavior": "A String", # Optional. Controls architecture tainting behavior. + }, "taints": [ # List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ { # Kubernetes taint is composed of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values. "effect": "A String", # Effect for taint. @@ -1612,6 +1626,9 @@

Method Details

"tags": [ # The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035. "A String", ], + "taintConfig": { # TaintConfig contains the configuration for the taints of the node pool. # Optional. The taint configuration for the node pool. + "architectureTaintBehavior": "A String", # Optional. Controls architecture tainting behavior. + }, "taints": [ # List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ { # Kubernetes taint is composed of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values. "effect": "A String", # Effect for taint. @@ -1779,6 +1796,9 @@

Method Details

}, "satisfiesPzi": True or False, # Output only. Reserved for future use. "satisfiesPzs": True or False, # Output only. Reserved for future use. + "scheduleUpgradeConfig": { # Configuration for scheduled upgrades on the cluster. # Optional. Configuration for scheduled upgrades. + "enabled": True or False, # Optional. Whether or not scheduled upgrades are enabled. + }, "secretManagerConfig": { # SecretManagerConfig is config for secret manager enablement. # Secret CSI driver configuration. "enabled": True or False, # Enable/Disable Secret Manager Config. "rotationConfig": { # RotationConfig is config for secret manager auto rotation. # Rotation config for secret manager. @@ -2053,6 +2073,7 @@

Method Details

"disabled": True or False, # Whether the Kubernetes Dashboard is enabled for this cluster. }, "lustreCsiDriverConfig": { # Configuration for the Lustre CSI driver. # Configuration for the Lustre CSI driver. + "disableMultiNic": True or False, # When set to true, this disables multi-NIC support for the Lustre CSI driver. By default, GKE enables multi-NIC support, which allows the Lustre CSI driver to automatically detect and configure all suitable network interfaces on a node to maximize I/O performance for demanding workloads. "enableLegacyLustrePort": True or False, # If set to true, the Lustre CSI driver will install Lustre kernel modules using port 6988. This serves as a workaround for a port conflict with the gke-metadata-server. This field is required ONLY under the following conditions: 1. The GKE node version is older than 1.33.2-gke.4655000. 2. You're connecting to a Lustre instance that has the 'gke-support-enabled' flag. Deprecated: This flag is no longer required as of GKE node version 1.33.2-gke.4655000, unless you are connecting to a Lustre instance that has the `gke-support-enabled` flag. "enabled": True or False, # Whether the Lustre CSI driver is enabled for this cluster. }, @@ -2089,6 +2110,12 @@

Method Details

"securityGroup": "A String", # The name of the security group-of-groups to be used. Only relevant if enabled = true. }, "autopilot": { # Autopilot is the configuration for Autopilot settings on the cluster. # Autopilot configuration for the cluster. + "clusterPolicyConfig": { # ClusterPolicyConfig stores the configuration for cluster wide policies. # ClusterPolicyConfig denotes cluster level policies that are enforced for the cluster. + "noStandardNodePools": True or False, # Denotes preventing standard node pools and requiring only autopilot node pools. + "noSystemImpersonation": True or False, # Denotes preventing impersonation and CSRs for GKE System users. + "noSystemMutation": True or False, # Denotes that preventing creation and mutation of resources in GKE managed namespaces and cluster-scoped GKE managed resources . + "noUnsafeWebhooks": True or False, # Denotes preventing unsafe webhooks. + }, "enabled": True or False, # Enable Autopilot "privilegedAdmissionConfig": { # PrivilegedAdmissionConfig stores the list of authorized allowlist paths for the cluster. # PrivilegedAdmissionConfig is the configuration related to privileged admission control. "allowlistPaths": [ # The customer allowlist Cloud Storage paths for the cluster. These paths are used with the `--autopilot-privileged-admission` flag to authorize privileged workloads in Autopilot clusters. Paths can be GKE-owned, in the format `gke:////`, or customer-owned, in the format `gs:///`. Wildcards (`*`) are supported to authorize all allowlists under specific paths or directories. Example: `gs://my-bucket/*` will authorize all allowlists under the `my-bucket` bucket. @@ -2368,6 +2395,9 @@

Method Details

}, }, }, + "managedMachineLearningDiagnosticsConfig": { # ManagedMachineLearningDiagnosticsConfig is the configuration for the GKE Managed Machine Learning Diagnostics pipeline. # Configuration for Managed Machine Learning Diagnostics. + "enabled": True or False, # Enable/Disable Managed Machine Learning Diagnostics. + }, "managedOpentelemetryConfig": { # ManagedOpenTelemetryConfig is the configuration for the GKE Managed OpenTelemetry pipeline. # Configuration for Managed OpenTelemetry pipeline. "scope": "A String", # Scope of the Managed OpenTelemetry pipeline. }, @@ -2723,6 +2753,9 @@

Method Details

"tags": [ # The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035. "A String", ], + "taintConfig": { # TaintConfig contains the configuration for the taints of the node pool. # Optional. The taint configuration for the node pool. + "architectureTaintBehavior": "A String", # Optional. Controls architecture tainting behavior. + }, "taints": [ # List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ { # Kubernetes taint is composed of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values. "effect": "A String", # Effect for taint. @@ -3256,6 +3289,9 @@

Method Details

"tags": [ # The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035. "A String", ], + "taintConfig": { # TaintConfig contains the configuration for the taints of the node pool. # Optional. The taint configuration for the node pool. + "architectureTaintBehavior": "A String", # Optional. Controls architecture tainting behavior. + }, "taints": [ # List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ { # Kubernetes taint is composed of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values. "effect": "A String", # Effect for taint. @@ -3423,6 +3459,9 @@

Method Details

}, "satisfiesPzi": True or False, # Output only. Reserved for future use. "satisfiesPzs": True or False, # Output only. Reserved for future use. + "scheduleUpgradeConfig": { # Configuration for scheduled upgrades on the cluster. # Optional. Configuration for scheduled upgrades. + "enabled": True or False, # Optional. Whether or not scheduled upgrades are enabled. + }, "secretManagerConfig": { # SecretManagerConfig is config for secret manager enablement. # Secret CSI driver configuration. "enabled": True or False, # Enable/Disable Secret Manager Config. "rotationConfig": { # RotationConfig is config for secret manager auto rotation. # Rotation config for secret manager. @@ -3605,6 +3644,7 @@

Method Details

"disabled": True or False, # Whether the Kubernetes Dashboard is enabled for this cluster. }, "lustreCsiDriverConfig": { # Configuration for the Lustre CSI driver. # Configuration for the Lustre CSI driver. + "disableMultiNic": True or False, # When set to true, this disables multi-NIC support for the Lustre CSI driver. By default, GKE enables multi-NIC support, which allows the Lustre CSI driver to automatically detect and configure all suitable network interfaces on a node to maximize I/O performance for demanding workloads. "enableLegacyLustrePort": True or False, # If set to true, the Lustre CSI driver will install Lustre kernel modules using port 6988. This serves as a workaround for a port conflict with the gke-metadata-server. This field is required ONLY under the following conditions: 1. The GKE node version is older than 1.33.2-gke.4655000. 2. You're connecting to a Lustre instance that has the 'gke-support-enabled' flag. Deprecated: This flag is no longer required as of GKE node version 1.33.2-gke.4655000, unless you are connecting to a Lustre instance that has the `gke-support-enabled` flag. "enabled": True or False, # Whether the Lustre CSI driver is enabled for this cluster. }, @@ -3641,6 +3681,12 @@

Method Details

"securityGroup": "A String", # The name of the security group-of-groups to be used. Only relevant if enabled = true. }, "autopilot": { # Autopilot is the configuration for Autopilot settings on the cluster. # Autopilot configuration for the cluster. + "clusterPolicyConfig": { # ClusterPolicyConfig stores the configuration for cluster wide policies. # ClusterPolicyConfig denotes cluster level policies that are enforced for the cluster. + "noStandardNodePools": True or False, # Denotes preventing standard node pools and requiring only autopilot node pools. + "noSystemImpersonation": True or False, # Denotes preventing impersonation and CSRs for GKE System users. + "noSystemMutation": True or False, # Denotes that preventing creation and mutation of resources in GKE managed namespaces and cluster-scoped GKE managed resources . + "noUnsafeWebhooks": True or False, # Denotes preventing unsafe webhooks. + }, "enabled": True or False, # Enable Autopilot "privilegedAdmissionConfig": { # PrivilegedAdmissionConfig stores the list of authorized allowlist paths for the cluster. # PrivilegedAdmissionConfig is the configuration related to privileged admission control. "allowlistPaths": [ # The customer allowlist Cloud Storage paths for the cluster. These paths are used with the `--autopilot-privileged-admission` flag to authorize privileged workloads in Autopilot clusters. Paths can be GKE-owned, in the format `gke:////`, or customer-owned, in the format `gs:///`. Wildcards (`*`) are supported to authorize all allowlists under specific paths or directories. Example: `gs://my-bucket/*` will authorize all allowlists under the `my-bucket` bucket. @@ -3920,6 +3966,9 @@

Method Details

}, }, }, + "managedMachineLearningDiagnosticsConfig": { # ManagedMachineLearningDiagnosticsConfig is the configuration for the GKE Managed Machine Learning Diagnostics pipeline. # Configuration for Managed Machine Learning Diagnostics. + "enabled": True or False, # Enable/Disable Managed Machine Learning Diagnostics. + }, "managedOpentelemetryConfig": { # ManagedOpenTelemetryConfig is the configuration for the GKE Managed OpenTelemetry pipeline. # Configuration for Managed OpenTelemetry pipeline. "scope": "A String", # Scope of the Managed OpenTelemetry pipeline. }, @@ -4275,6 +4324,9 @@

Method Details

"tags": [ # The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035. "A String", ], + "taintConfig": { # TaintConfig contains the configuration for the taints of the node pool. # Optional. The taint configuration for the node pool. + "architectureTaintBehavior": "A String", # Optional. Controls architecture tainting behavior. + }, "taints": [ # List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ { # Kubernetes taint is composed of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values. "effect": "A String", # Effect for taint. @@ -4808,6 +4860,9 @@

Method Details

"tags": [ # The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035. "A String", ], + "taintConfig": { # TaintConfig contains the configuration for the taints of the node pool. # Optional. The taint configuration for the node pool. + "architectureTaintBehavior": "A String", # Optional. Controls architecture tainting behavior. + }, "taints": [ # List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ { # Kubernetes taint is composed of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values. "effect": "A String", # Effect for taint. @@ -4975,6 +5030,9 @@

Method Details

}, "satisfiesPzi": True or False, # Output only. Reserved for future use. "satisfiesPzs": True or False, # Output only. Reserved for future use. + "scheduleUpgradeConfig": { # Configuration for scheduled upgrades on the cluster. # Optional. Configuration for scheduled upgrades. + "enabled": True or False, # Optional. Whether or not scheduled upgrades are enabled. + }, "secretManagerConfig": { # SecretManagerConfig is config for secret manager enablement. # Secret CSI driver configuration. "enabled": True or False, # Enable/Disable Secret Manager Config. "rotationConfig": { # RotationConfig is config for secret manager auto rotation. # Rotation config for secret manager. @@ -5874,6 +5932,7 @@

Method Details

"disabled": True or False, # Whether the Kubernetes Dashboard is enabled for this cluster. }, "lustreCsiDriverConfig": { # Configuration for the Lustre CSI driver. # Configuration for the Lustre CSI driver. + "disableMultiNic": True or False, # When set to true, this disables multi-NIC support for the Lustre CSI driver. By default, GKE enables multi-NIC support, which allows the Lustre CSI driver to automatically detect and configure all suitable network interfaces on a node to maximize I/O performance for demanding workloads. "enableLegacyLustrePort": True or False, # If set to true, the Lustre CSI driver will install Lustre kernel modules using port 6988. This serves as a workaround for a port conflict with the gke-metadata-server. This field is required ONLY under the following conditions: 1. The GKE node version is older than 1.33.2-gke.4655000. 2. You're connecting to a Lustre instance that has the 'gke-support-enabled' flag. Deprecated: This flag is no longer required as of GKE node version 1.33.2-gke.4655000, unless you are connecting to a Lustre instance that has the `gke-support-enabled` flag. "enabled": True or False, # Whether the Lustre CSI driver is enabled for this cluster. }, @@ -5909,6 +5968,12 @@

Method Details

"desiredAutoIpamConfig": { # AutoIpamConfig contains all information related to Auto IPAM # AutoIpamConfig contains all information related to Auto IPAM "enabled": True or False, # The flag that enables Auto IPAM on this cluster }, + "desiredAutopilotClusterPolicyConfig": { # ClusterPolicyConfig stores the configuration for cluster wide policies. # The desired autopilot cluster policies that to be enforced in the cluster. + "noStandardNodePools": True or False, # Denotes preventing standard node pools and requiring only autopilot node pools. + "noSystemImpersonation": True or False, # Denotes preventing impersonation and CSRs for GKE System users. + "noSystemMutation": True or False, # Denotes that preventing creation and mutation of resources in GKE managed namespaces and cluster-scoped GKE managed resources . + "noUnsafeWebhooks": True or False, # Denotes preventing unsafe webhooks. + }, "desiredAutopilotWorkloadPolicyConfig": { # WorkloadPolicyConfig is the configuration related to GCW workload policy # WorkloadPolicyConfig is the configuration related to GCW workload policy "allowNetAdmin": True or False, # If true, workloads can use NET_ADMIN capability. "autopilotCompatibilityAuditingEnabled": True or False, # If true, enables the GCW Auditor that audits workloads on standard clusters. @@ -6142,6 +6207,9 @@

Method Details

}, }, "desiredLoggingService": "A String", # The logging service the cluster should use to write logs. Currently available options: * `logging.googleapis.com/kubernetes` - The Cloud Logging service with a Kubernetes-native resource model * `logging.googleapis.com` - The legacy Cloud Logging service (no longer available as of GKE 1.15). * `none` - no logs will be exported from the cluster. If left as an empty string,`logging.googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.googleapis.com` for earlier versions. + "desiredManagedMachineLearningDiagnosticsConfig": { # ManagedMachineLearningDiagnosticsConfig is the configuration for the GKE Managed Machine Learning Diagnostics pipeline. # The desired managed machine learning diagnostics configuration. + "enabled": True or False, # Enable/Disable Managed Machine Learning Diagnostics. + }, "desiredManagedOpentelemetryConfig": { # ManagedOpenTelemetryConfig is the configuration for the GKE Managed OpenTelemetry pipeline. # The desired managed open telemetry configuration. "scope": "A String", # Scope of the Managed OpenTelemetry pipeline. }, diff --git a/docs/dyn/container_v1.projects.zones.clusters.nodePools.html b/docs/dyn/container_v1.projects.zones.clusters.nodePools.html index 21488afd1e..5c9723b4e2 100644 --- a/docs/dyn/container_v1.projects.zones.clusters.nodePools.html +++ b/docs/dyn/container_v1.projects.zones.clusters.nodePools.html @@ -511,6 +511,9 @@

Method Details

"tags": [ # The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035. "A String", ], + "taintConfig": { # TaintConfig contains the configuration for the taints of the node pool. # Optional. The taint configuration for the node pool. + "architectureTaintBehavior": "A String", # Optional. Controls architecture tainting behavior. + }, "taints": [ # List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ { # Kubernetes taint is composed of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values. "effect": "A String", # Effect for taint. @@ -1113,6 +1116,9 @@

Method Details

"tags": [ # The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035. "A String", ], + "taintConfig": { # TaintConfig contains the configuration for the taints of the node pool. # Optional. The taint configuration for the node pool. + "architectureTaintBehavior": "A String", # Optional. Controls architecture tainting behavior. + }, "taints": [ # List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ { # Kubernetes taint is composed of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values. "effect": "A String", # Effect for taint. @@ -1542,6 +1548,9 @@

Method Details

"tags": [ # The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035. "A String", ], + "taintConfig": { # TaintConfig contains the configuration for the taints of the node pool. # Optional. The taint configuration for the node pool. + "architectureTaintBehavior": "A String", # Optional. Controls architecture tainting behavior. + }, "taints": [ # List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ { # Kubernetes taint is composed of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values. "effect": "A String", # Effect for taint. diff --git a/docs/dyn/container_v1beta1.projects.locations.clusters.html b/docs/dyn/container_v1beta1.projects.locations.clusters.html index df67010c72..fabe261af6 100644 --- a/docs/dyn/container_v1beta1.projects.locations.clusters.html +++ b/docs/dyn/container_v1beta1.projects.locations.clusters.html @@ -392,6 +392,7 @@

Method Details

"disabled": True or False, # Whether the Kubernetes Dashboard is enabled for this cluster. }, "lustreCsiDriverConfig": { # Configuration for the Lustre CSI driver. # Configuration for the Lustre CSI driver. + "disableMultiNic": True or False, # When set to true, this disables multi-NIC support for the Lustre CSI driver. By default, GKE enables multi-NIC support, which allows the Lustre CSI driver to automatically detect and configure all suitable network interfaces on a node to maximize I/O performance for demanding workloads. "enableLegacyLustrePort": True or False, # If set to true, the Lustre CSI driver will install Lustre kernel modules using port 6988. This serves as a workaround for a port conflict with the gke-metadata-server. This field is required ONLY under the following conditions: 1. The GKE node version is older than 1.33.2-gke.4655000. 2. You're connecting to a Lustre instance that has the 'gke-support-enabled' flag. Deprecated: This flag is no longer required as of GKE node version 1.33.2-gke.4655000, unless you are connecting to a Lustre instance that has the `gke-support-enabled` flag. "enabled": True or False, # Whether the Lustre CSI driver is enabled for this cluster. }, @@ -431,6 +432,12 @@

Method Details

"securityGroup": "A String", # The name of the security group-of-groups to be used. Only relevant if enabled = true. }, "autopilot": { # Autopilot is the configuration for Autopilot settings on the cluster. # Autopilot configuration for the cluster. + "clusterPolicyConfig": { # ClusterPolicyConfig stores the configuration for cluster wide policies. # ClusterPolicyConfig denotes cluster level policies that are enforced for the cluster. + "noStandardNodePools": True or False, # Denotes preventing standard node pools and requiring only autopilot node pools. + "noSystemImpersonation": True or False, # Denotes preventing impersonation and CSRs for GKE System users. + "noSystemMutation": True or False, # Denotes that preventing creation and mutation of resources in GKE managed namespaces and cluster-scoped GKE managed resources . + "noUnsafeWebhooks": True or False, # Denotes preventing unsafe webhooks. + }, "conversionStatus": { # AutopilotConversionStatus represents conversion status. # Output only. ConversionStatus shows conversion status. "state": "A String", # Output only. The current state of the conversion. }, @@ -723,6 +730,9 @@

Method Details

}, }, }, + "managedMachineLearningDiagnosticsConfig": { # ManagedMachineLearningDiagnosticsConfig is the configuration for the GKE Managed Machine Learning Diagnostics pipeline. # Configuration for managed machine learning diagnostics. + "enabled": True or False, # Enable/Disable Managed Machine Learning Diagnostics. + }, "managedOpentelemetryConfig": { # ManagedOpenTelemetryConfig is the configuration for the GKE Managed OpenTelemetry pipeline. # Configuration for Managed OpenTelemetry pipeline. "scope": "A String", # Scope of the Managed OpenTelemetry pipeline. }, @@ -1098,6 +1108,9 @@

Method Details

"tags": [ # The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035. "A String", ], + "taintConfig": { # TaintConfig contains the configuration for the taints of the node pool. # Optional. The taint configuration for the node pool. + "architectureTaintBehavior": "A String", # Optional. Controls architecture tainting behavior. + }, "taints": [ # List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ { # Kubernetes taint is composed of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values. "effect": "A String", # Effect for taint. @@ -1653,6 +1666,9 @@

Method Details

"tags": [ # The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035. "A String", ], + "taintConfig": { # TaintConfig contains the configuration for the taints of the node pool. # Optional. The taint configuration for the node pool. + "architectureTaintBehavior": "A String", # Optional. Controls architecture tainting behavior. + }, "taints": [ # List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ { # Kubernetes taint is composed of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values. "effect": "A String", # Effect for taint. @@ -1836,6 +1852,9 @@

Method Details

}, "satisfiesPzi": True or False, # Output only. Reserved for future use. "satisfiesPzs": True or False, # Output only. Reserved for future use. + "scheduleUpgradeConfig": { # Configuration for scheduled upgrades on the cluster. # Optional. Configuration for scheduled upgrades. + "enabled": True or False, # Optional. Whether or not scheduled upgrades are enabled. + }, "secretManagerConfig": { # SecretManagerConfig is config for secret manager enablement. # Secret CSI driver configuration. "enabled": True or False, # Enable/Disable Secret Manager Config. "rotationConfig": { # RotationConfig is config for secret manager auto rotation. # Rotation config for secret manager. @@ -2144,6 +2163,7 @@

Method Details

"disabled": True or False, # Whether the Kubernetes Dashboard is enabled for this cluster. }, "lustreCsiDriverConfig": { # Configuration for the Lustre CSI driver. # Configuration for the Lustre CSI driver. + "disableMultiNic": True or False, # When set to true, this disables multi-NIC support for the Lustre CSI driver. By default, GKE enables multi-NIC support, which allows the Lustre CSI driver to automatically detect and configure all suitable network interfaces on a node to maximize I/O performance for demanding workloads. "enableLegacyLustrePort": True or False, # If set to true, the Lustre CSI driver will install Lustre kernel modules using port 6988. This serves as a workaround for a port conflict with the gke-metadata-server. This field is required ONLY under the following conditions: 1. The GKE node version is older than 1.33.2-gke.4655000. 2. You're connecting to a Lustre instance that has the 'gke-support-enabled' flag. Deprecated: This flag is no longer required as of GKE node version 1.33.2-gke.4655000, unless you are connecting to a Lustre instance that has the `gke-support-enabled` flag. "enabled": True or False, # Whether the Lustre CSI driver is enabled for this cluster. }, @@ -2183,6 +2203,12 @@

Method Details

"securityGroup": "A String", # The name of the security group-of-groups to be used. Only relevant if enabled = true. }, "autopilot": { # Autopilot is the configuration for Autopilot settings on the cluster. # Autopilot configuration for the cluster. + "clusterPolicyConfig": { # ClusterPolicyConfig stores the configuration for cluster wide policies. # ClusterPolicyConfig denotes cluster level policies that are enforced for the cluster. + "noStandardNodePools": True or False, # Denotes preventing standard node pools and requiring only autopilot node pools. + "noSystemImpersonation": True or False, # Denotes preventing impersonation and CSRs for GKE System users. + "noSystemMutation": True or False, # Denotes that preventing creation and mutation of resources in GKE managed namespaces and cluster-scoped GKE managed resources . + "noUnsafeWebhooks": True or False, # Denotes preventing unsafe webhooks. + }, "conversionStatus": { # AutopilotConversionStatus represents conversion status. # Output only. ConversionStatus shows conversion status. "state": "A String", # Output only. The current state of the conversion. }, @@ -2475,6 +2501,9 @@

Method Details

}, }, }, + "managedMachineLearningDiagnosticsConfig": { # ManagedMachineLearningDiagnosticsConfig is the configuration for the GKE Managed Machine Learning Diagnostics pipeline. # Configuration for managed machine learning diagnostics. + "enabled": True or False, # Enable/Disable Managed Machine Learning Diagnostics. + }, "managedOpentelemetryConfig": { # ManagedOpenTelemetryConfig is the configuration for the GKE Managed OpenTelemetry pipeline. # Configuration for Managed OpenTelemetry pipeline. "scope": "A String", # Scope of the Managed OpenTelemetry pipeline. }, @@ -2850,6 +2879,9 @@

Method Details

"tags": [ # The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035. "A String", ], + "taintConfig": { # TaintConfig contains the configuration for the taints of the node pool. # Optional. The taint configuration for the node pool. + "architectureTaintBehavior": "A String", # Optional. Controls architecture tainting behavior. + }, "taints": [ # List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ { # Kubernetes taint is composed of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values. "effect": "A String", # Effect for taint. @@ -3405,6 +3437,9 @@

Method Details

"tags": [ # The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035. "A String", ], + "taintConfig": { # TaintConfig contains the configuration for the taints of the node pool. # Optional. The taint configuration for the node pool. + "architectureTaintBehavior": "A String", # Optional. Controls architecture tainting behavior. + }, "taints": [ # List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ { # Kubernetes taint is composed of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values. "effect": "A String", # Effect for taint. @@ -3588,6 +3623,9 @@

Method Details

}, "satisfiesPzi": True or False, # Output only. Reserved for future use. "satisfiesPzs": True or False, # Output only. Reserved for future use. + "scheduleUpgradeConfig": { # Configuration for scheduled upgrades on the cluster. # Optional. Configuration for scheduled upgrades. + "enabled": True or False, # Optional. Whether or not scheduled upgrades are enabled. + }, "secretManagerConfig": { # SecretManagerConfig is config for secret manager enablement. # Secret CSI driver configuration. "enabled": True or False, # Enable/Disable Secret Manager Config. "rotationConfig": { # RotationConfig is config for secret manager auto rotation. # Rotation config for secret manager. @@ -3753,6 +3791,7 @@

Method Details

"disabled": True or False, # Whether the Kubernetes Dashboard is enabled for this cluster. }, "lustreCsiDriverConfig": { # Configuration for the Lustre CSI driver. # Configuration for the Lustre CSI driver. + "disableMultiNic": True or False, # When set to true, this disables multi-NIC support for the Lustre CSI driver. By default, GKE enables multi-NIC support, which allows the Lustre CSI driver to automatically detect and configure all suitable network interfaces on a node to maximize I/O performance for demanding workloads. "enableLegacyLustrePort": True or False, # If set to true, the Lustre CSI driver will install Lustre kernel modules using port 6988. This serves as a workaround for a port conflict with the gke-metadata-server. This field is required ONLY under the following conditions: 1. The GKE node version is older than 1.33.2-gke.4655000. 2. You're connecting to a Lustre instance that has the 'gke-support-enabled' flag. Deprecated: This flag is no longer required as of GKE node version 1.33.2-gke.4655000, unless you are connecting to a Lustre instance that has the `gke-support-enabled` flag. "enabled": True or False, # Whether the Lustre CSI driver is enabled for this cluster. }, @@ -3792,6 +3831,12 @@

Method Details

"securityGroup": "A String", # The name of the security group-of-groups to be used. Only relevant if enabled = true. }, "autopilot": { # Autopilot is the configuration for Autopilot settings on the cluster. # Autopilot configuration for the cluster. + "clusterPolicyConfig": { # ClusterPolicyConfig stores the configuration for cluster wide policies. # ClusterPolicyConfig denotes cluster level policies that are enforced for the cluster. + "noStandardNodePools": True or False, # Denotes preventing standard node pools and requiring only autopilot node pools. + "noSystemImpersonation": True or False, # Denotes preventing impersonation and CSRs for GKE System users. + "noSystemMutation": True or False, # Denotes that preventing creation and mutation of resources in GKE managed namespaces and cluster-scoped GKE managed resources . + "noUnsafeWebhooks": True or False, # Denotes preventing unsafe webhooks. + }, "conversionStatus": { # AutopilotConversionStatus represents conversion status. # Output only. ConversionStatus shows conversion status. "state": "A String", # Output only. The current state of the conversion. }, @@ -4084,6 +4129,9 @@

Method Details

}, }, }, + "managedMachineLearningDiagnosticsConfig": { # ManagedMachineLearningDiagnosticsConfig is the configuration for the GKE Managed Machine Learning Diagnostics pipeline. # Configuration for managed machine learning diagnostics. + "enabled": True or False, # Enable/Disable Managed Machine Learning Diagnostics. + }, "managedOpentelemetryConfig": { # ManagedOpenTelemetryConfig is the configuration for the GKE Managed OpenTelemetry pipeline. # Configuration for Managed OpenTelemetry pipeline. "scope": "A String", # Scope of the Managed OpenTelemetry pipeline. }, @@ -4459,6 +4507,9 @@

Method Details

"tags": [ # The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035. "A String", ], + "taintConfig": { # TaintConfig contains the configuration for the taints of the node pool. # Optional. The taint configuration for the node pool. + "architectureTaintBehavior": "A String", # Optional. Controls architecture tainting behavior. + }, "taints": [ # List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ { # Kubernetes taint is composed of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values. "effect": "A String", # Effect for taint. @@ -5014,6 +5065,9 @@

Method Details

"tags": [ # The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035. "A String", ], + "taintConfig": { # TaintConfig contains the configuration for the taints of the node pool. # Optional. The taint configuration for the node pool. + "architectureTaintBehavior": "A String", # Optional. Controls architecture tainting behavior. + }, "taints": [ # List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ { # Kubernetes taint is composed of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values. "effect": "A String", # Effect for taint. @@ -5197,6 +5251,9 @@

Method Details

}, "satisfiesPzi": True or False, # Output only. Reserved for future use. "satisfiesPzs": True or False, # Output only. Reserved for future use. + "scheduleUpgradeConfig": { # Configuration for scheduled upgrades on the cluster. # Optional. Configuration for scheduled upgrades. + "enabled": True or False, # Optional. Whether or not scheduled upgrades are enabled. + }, "secretManagerConfig": { # SecretManagerConfig is config for secret manager enablement. # Secret CSI driver configuration. "enabled": True or False, # Enable/Disable Secret Manager Config. "rotationConfig": { # RotationConfig is config for secret manager auto rotation. # Rotation config for secret manager. @@ -5322,6 +5379,7 @@

Method Details

"disabled": True or False, # Whether the Kubernetes Dashboard is enabled for this cluster. }, "lustreCsiDriverConfig": { # Configuration for the Lustre CSI driver. # Configuration for the Lustre CSI driver. + "disableMultiNic": True or False, # When set to true, this disables multi-NIC support for the Lustre CSI driver. By default, GKE enables multi-NIC support, which allows the Lustre CSI driver to automatically detect and configure all suitable network interfaces on a node to maximize I/O performance for demanding workloads. "enableLegacyLustrePort": True or False, # If set to true, the Lustre CSI driver will install Lustre kernel modules using port 6988. This serves as a workaround for a port conflict with the gke-metadata-server. This field is required ONLY under the following conditions: 1. The GKE node version is older than 1.33.2-gke.4655000. 2. You're connecting to a Lustre instance that has the 'gke-support-enabled' flag. Deprecated: This flag is no longer required as of GKE node version 1.33.2-gke.4655000, unless you are connecting to a Lustre instance that has the `gke-support-enabled` flag. "enabled": True or False, # Whether the Lustre CSI driver is enabled for this cluster. }, @@ -6251,6 +6309,7 @@

Method Details

"disabled": True or False, # Whether the Kubernetes Dashboard is enabled for this cluster. }, "lustreCsiDriverConfig": { # Configuration for the Lustre CSI driver. # Configuration for the Lustre CSI driver. + "disableMultiNic": True or False, # When set to true, this disables multi-NIC support for the Lustre CSI driver. By default, GKE enables multi-NIC support, which allows the Lustre CSI driver to automatically detect and configure all suitable network interfaces on a node to maximize I/O performance for demanding workloads. "enableLegacyLustrePort": True or False, # If set to true, the Lustre CSI driver will install Lustre kernel modules using port 6988. This serves as a workaround for a port conflict with the gke-metadata-server. This field is required ONLY under the following conditions: 1. The GKE node version is older than 1.33.2-gke.4655000. 2. You're connecting to a Lustre instance that has the 'gke-support-enabled' flag. Deprecated: This flag is no longer required as of GKE node version 1.33.2-gke.4655000, unless you are connecting to a Lustre instance that has the `gke-support-enabled` flag. "enabled": True or False, # Whether the Lustre CSI driver is enabled for this cluster. }, @@ -6289,6 +6348,12 @@

Method Details

"desiredAutoIpamConfig": { # AutoIpamConfig contains all information related to Auto IPAM # AutoIpamConfig contains all information related to Auto IPAM "enabled": True or False, # The flag that enables Auto IPAM on this cluster }, + "desiredAutopilotClusterPolicyConfig": { # ClusterPolicyConfig stores the configuration for cluster wide policies. # The desired autopilot cluster policies that to be enforced in the cluster. + "noStandardNodePools": True or False, # Denotes preventing standard node pools and requiring only autopilot node pools. + "noSystemImpersonation": True or False, # Denotes preventing impersonation and CSRs for GKE System users. + "noSystemMutation": True or False, # Denotes that preventing creation and mutation of resources in GKE managed namespaces and cluster-scoped GKE managed resources . + "noUnsafeWebhooks": True or False, # Denotes preventing unsafe webhooks. + }, "desiredAutopilotWorkloadPolicyConfig": { # WorkloadPolicyConfig is the configuration related to GCW workload policy # WorkloadPolicyConfig is the configuration related to GCW workload policy "allowNetAdmin": True or False, # If true, workloads can use NET_ADMIN capability. "autopilotCompatibilityAuditingEnabled": True or False, # If true, enables the GCW Auditor that audits workloads on standard clusters. @@ -6538,6 +6603,9 @@

Method Details

}, }, "desiredLoggingService": "A String", # The logging service the cluster should use to write logs. Currently available options: * `logging.googleapis.com/kubernetes` - The Cloud Logging service with a Kubernetes-native resource model * `logging.googleapis.com` - The legacy Cloud Logging service (no longer available as of GKE 1.15). * `none` - no logs will be exported from the cluster. If left as an empty string,`logging.googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.googleapis.com` for earlier versions. + "desiredManagedMachineLearningDiagnosticsConfig": { # ManagedMachineLearningDiagnosticsConfig is the configuration for the GKE Managed Machine Learning Diagnostics pipeline. # The desired managed machine learning diagnostics configuration. + "enabled": True or False, # Enable/Disable Managed Machine Learning Diagnostics. + }, "desiredManagedOpentelemetryConfig": { # ManagedOpenTelemetryConfig is the configuration for the GKE Managed OpenTelemetry pipeline. # The desired managed open telemetry configuration. "scope": "A String", # Scope of the Managed OpenTelemetry pipeline. }, @@ -6821,6 +6889,9 @@

Method Details

"desiredRollbackSafeUpgrade": { # RollbackSafeUpgrade is the configuration for the rollback safe upgrade. # The desired rollback safe upgrade configuration. "controlPlaneSoakDuration": "A String", # A user-defined period for the cluster remains in the rollbackable state. ex: {seconds: 21600}. }, + "desiredScheduleUpgradeConfig": { # Configuration for scheduled upgrades on the cluster. # Optional. The desired scheduled upgrades configuration for the cluster. + "enabled": True or False, # Optional. Whether or not scheduled upgrades are enabled. + }, "desiredSecretManagerConfig": { # SecretManagerConfig is config for secret manager enablement. # Enable/Disable Secret Manager Config. "enabled": True or False, # Enable/Disable Secret Manager Config. "rotationConfig": { # RotationConfig is config for secret manager auto rotation. # Rotation config for secret manager. diff --git a/docs/dyn/container_v1beta1.projects.locations.clusters.nodePools.html b/docs/dyn/container_v1beta1.projects.locations.clusters.nodePools.html index 02db90d0eb..738d0f918a 100644 --- a/docs/dyn/container_v1beta1.projects.locations.clusters.nodePools.html +++ b/docs/dyn/container_v1beta1.projects.locations.clusters.nodePools.html @@ -459,6 +459,9 @@

Method Details

"tags": [ # The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035. "A String", ], + "taintConfig": { # TaintConfig contains the configuration for the taints of the node pool. # Optional. The taint configuration for the node pool. + "architectureTaintBehavior": "A String", # Optional. Controls architecture tainting behavior. + }, "taints": [ # List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ { # Kubernetes taint is composed of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values. "effect": "A String", # Effect for taint. @@ -1079,6 +1082,9 @@

Method Details

"tags": [ # The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035. "A String", ], + "taintConfig": { # TaintConfig contains the configuration for the taints of the node pool. # Optional. The taint configuration for the node pool. + "architectureTaintBehavior": "A String", # Optional. Controls architecture tainting behavior. + }, "taints": [ # List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ { # Kubernetes taint is composed of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values. "effect": "A String", # Effect for taint. @@ -1524,6 +1530,9 @@

Method Details

"tags": [ # The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035. "A String", ], + "taintConfig": { # TaintConfig contains the configuration for the taints of the node pool. # Optional. The taint configuration for the node pool. + "architectureTaintBehavior": "A String", # Optional. Controls architecture tainting behavior. + }, "taints": [ # List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ { # Kubernetes taint is composed of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values. "effect": "A String", # Effect for taint. diff --git a/docs/dyn/container_v1beta1.projects.zones.clusters.html b/docs/dyn/container_v1beta1.projects.zones.clusters.html index d1c2d90cfa..3aa8284b24 100644 --- a/docs/dyn/container_v1beta1.projects.zones.clusters.html +++ b/docs/dyn/container_v1beta1.projects.zones.clusters.html @@ -195,6 +195,7 @@

Method Details

"disabled": True or False, # Whether the Kubernetes Dashboard is enabled for this cluster. }, "lustreCsiDriverConfig": { # Configuration for the Lustre CSI driver. # Configuration for the Lustre CSI driver. + "disableMultiNic": True or False, # When set to true, this disables multi-NIC support for the Lustre CSI driver. By default, GKE enables multi-NIC support, which allows the Lustre CSI driver to automatically detect and configure all suitable network interfaces on a node to maximize I/O performance for demanding workloads. "enableLegacyLustrePort": True or False, # If set to true, the Lustre CSI driver will install Lustre kernel modules using port 6988. This serves as a workaround for a port conflict with the gke-metadata-server. This field is required ONLY under the following conditions: 1. The GKE node version is older than 1.33.2-gke.4655000. 2. You're connecting to a Lustre instance that has the 'gke-support-enabled' flag. Deprecated: This flag is no longer required as of GKE node version 1.33.2-gke.4655000, unless you are connecting to a Lustre instance that has the `gke-support-enabled` flag. "enabled": True or False, # Whether the Lustre CSI driver is enabled for this cluster. }, @@ -503,6 +504,7 @@

Method Details

"disabled": True or False, # Whether the Kubernetes Dashboard is enabled for this cluster. }, "lustreCsiDriverConfig": { # Configuration for the Lustre CSI driver. # Configuration for the Lustre CSI driver. + "disableMultiNic": True or False, # When set to true, this disables multi-NIC support for the Lustre CSI driver. By default, GKE enables multi-NIC support, which allows the Lustre CSI driver to automatically detect and configure all suitable network interfaces on a node to maximize I/O performance for demanding workloads. "enableLegacyLustrePort": True or False, # If set to true, the Lustre CSI driver will install Lustre kernel modules using port 6988. This serves as a workaround for a port conflict with the gke-metadata-server. This field is required ONLY under the following conditions: 1. The GKE node version is older than 1.33.2-gke.4655000. 2. You're connecting to a Lustre instance that has the 'gke-support-enabled' flag. Deprecated: This flag is no longer required as of GKE node version 1.33.2-gke.4655000, unless you are connecting to a Lustre instance that has the `gke-support-enabled` flag. "enabled": True or False, # Whether the Lustre CSI driver is enabled for this cluster. }, @@ -542,6 +544,12 @@

Method Details

"securityGroup": "A String", # The name of the security group-of-groups to be used. Only relevant if enabled = true. }, "autopilot": { # Autopilot is the configuration for Autopilot settings on the cluster. # Autopilot configuration for the cluster. + "clusterPolicyConfig": { # ClusterPolicyConfig stores the configuration for cluster wide policies. # ClusterPolicyConfig denotes cluster level policies that are enforced for the cluster. + "noStandardNodePools": True or False, # Denotes preventing standard node pools and requiring only autopilot node pools. + "noSystemImpersonation": True or False, # Denotes preventing impersonation and CSRs for GKE System users. + "noSystemMutation": True or False, # Denotes that preventing creation and mutation of resources in GKE managed namespaces and cluster-scoped GKE managed resources . + "noUnsafeWebhooks": True or False, # Denotes preventing unsafe webhooks. + }, "conversionStatus": { # AutopilotConversionStatus represents conversion status. # Output only. ConversionStatus shows conversion status. "state": "A String", # Output only. The current state of the conversion. }, @@ -834,6 +842,9 @@

Method Details

}, }, }, + "managedMachineLearningDiagnosticsConfig": { # ManagedMachineLearningDiagnosticsConfig is the configuration for the GKE Managed Machine Learning Diagnostics pipeline. # Configuration for managed machine learning diagnostics. + "enabled": True or False, # Enable/Disable Managed Machine Learning Diagnostics. + }, "managedOpentelemetryConfig": { # ManagedOpenTelemetryConfig is the configuration for the GKE Managed OpenTelemetry pipeline. # Configuration for Managed OpenTelemetry pipeline. "scope": "A String", # Scope of the Managed OpenTelemetry pipeline. }, @@ -1209,6 +1220,9 @@

Method Details

"tags": [ # The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035. "A String", ], + "taintConfig": { # TaintConfig contains the configuration for the taints of the node pool. # Optional. The taint configuration for the node pool. + "architectureTaintBehavior": "A String", # Optional. Controls architecture tainting behavior. + }, "taints": [ # List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ { # Kubernetes taint is composed of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values. "effect": "A String", # Effect for taint. @@ -1764,6 +1778,9 @@

Method Details

"tags": [ # The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035. "A String", ], + "taintConfig": { # TaintConfig contains the configuration for the taints of the node pool. # Optional. The taint configuration for the node pool. + "architectureTaintBehavior": "A String", # Optional. Controls architecture tainting behavior. + }, "taints": [ # List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ { # Kubernetes taint is composed of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values. "effect": "A String", # Effect for taint. @@ -1947,6 +1964,9 @@

Method Details

}, "satisfiesPzi": True or False, # Output only. Reserved for future use. "satisfiesPzs": True or False, # Output only. Reserved for future use. + "scheduleUpgradeConfig": { # Configuration for scheduled upgrades on the cluster. # Optional. Configuration for scheduled upgrades. + "enabled": True or False, # Optional. Whether or not scheduled upgrades are enabled. + }, "secretManagerConfig": { # SecretManagerConfig is config for secret manager enablement. # Secret CSI driver configuration. "enabled": True or False, # Enable/Disable Secret Manager Config. "rotationConfig": { # RotationConfig is config for secret manager auto rotation. # Rotation config for secret manager. @@ -2255,6 +2275,7 @@

Method Details

"disabled": True or False, # Whether the Kubernetes Dashboard is enabled for this cluster. }, "lustreCsiDriverConfig": { # Configuration for the Lustre CSI driver. # Configuration for the Lustre CSI driver. + "disableMultiNic": True or False, # When set to true, this disables multi-NIC support for the Lustre CSI driver. By default, GKE enables multi-NIC support, which allows the Lustre CSI driver to automatically detect and configure all suitable network interfaces on a node to maximize I/O performance for demanding workloads. "enableLegacyLustrePort": True or False, # If set to true, the Lustre CSI driver will install Lustre kernel modules using port 6988. This serves as a workaround for a port conflict with the gke-metadata-server. This field is required ONLY under the following conditions: 1. The GKE node version is older than 1.33.2-gke.4655000. 2. You're connecting to a Lustre instance that has the 'gke-support-enabled' flag. Deprecated: This flag is no longer required as of GKE node version 1.33.2-gke.4655000, unless you are connecting to a Lustre instance that has the `gke-support-enabled` flag. "enabled": True or False, # Whether the Lustre CSI driver is enabled for this cluster. }, @@ -2294,6 +2315,12 @@

Method Details

"securityGroup": "A String", # The name of the security group-of-groups to be used. Only relevant if enabled = true. }, "autopilot": { # Autopilot is the configuration for Autopilot settings on the cluster. # Autopilot configuration for the cluster. + "clusterPolicyConfig": { # ClusterPolicyConfig stores the configuration for cluster wide policies. # ClusterPolicyConfig denotes cluster level policies that are enforced for the cluster. + "noStandardNodePools": True or False, # Denotes preventing standard node pools and requiring only autopilot node pools. + "noSystemImpersonation": True or False, # Denotes preventing impersonation and CSRs for GKE System users. + "noSystemMutation": True or False, # Denotes that preventing creation and mutation of resources in GKE managed namespaces and cluster-scoped GKE managed resources . + "noUnsafeWebhooks": True or False, # Denotes preventing unsafe webhooks. + }, "conversionStatus": { # AutopilotConversionStatus represents conversion status. # Output only. ConversionStatus shows conversion status. "state": "A String", # Output only. The current state of the conversion. }, @@ -2586,6 +2613,9 @@

Method Details

}, }, }, + "managedMachineLearningDiagnosticsConfig": { # ManagedMachineLearningDiagnosticsConfig is the configuration for the GKE Managed Machine Learning Diagnostics pipeline. # Configuration for managed machine learning diagnostics. + "enabled": True or False, # Enable/Disable Managed Machine Learning Diagnostics. + }, "managedOpentelemetryConfig": { # ManagedOpenTelemetryConfig is the configuration for the GKE Managed OpenTelemetry pipeline. # Configuration for Managed OpenTelemetry pipeline. "scope": "A String", # Scope of the Managed OpenTelemetry pipeline. }, @@ -2961,6 +2991,9 @@

Method Details

"tags": [ # The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035. "A String", ], + "taintConfig": { # TaintConfig contains the configuration for the taints of the node pool. # Optional. The taint configuration for the node pool. + "architectureTaintBehavior": "A String", # Optional. Controls architecture tainting behavior. + }, "taints": [ # List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ { # Kubernetes taint is composed of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values. "effect": "A String", # Effect for taint. @@ -3516,6 +3549,9 @@

Method Details

"tags": [ # The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035. "A String", ], + "taintConfig": { # TaintConfig contains the configuration for the taints of the node pool. # Optional. The taint configuration for the node pool. + "architectureTaintBehavior": "A String", # Optional. Controls architecture tainting behavior. + }, "taints": [ # List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ { # Kubernetes taint is composed of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values. "effect": "A String", # Effect for taint. @@ -3699,6 +3735,9 @@

Method Details

}, "satisfiesPzi": True or False, # Output only. Reserved for future use. "satisfiesPzs": True or False, # Output only. Reserved for future use. + "scheduleUpgradeConfig": { # Configuration for scheduled upgrades on the cluster. # Optional. Configuration for scheduled upgrades. + "enabled": True or False, # Optional. Whether or not scheduled upgrades are enabled. + }, "secretManagerConfig": { # SecretManagerConfig is config for secret manager enablement. # Secret CSI driver configuration. "enabled": True or False, # Enable/Disable Secret Manager Config. "rotationConfig": { # RotationConfig is config for secret manager auto rotation. # Rotation config for secret manager. @@ -3908,6 +3947,7 @@

Method Details

"disabled": True or False, # Whether the Kubernetes Dashboard is enabled for this cluster. }, "lustreCsiDriverConfig": { # Configuration for the Lustre CSI driver. # Configuration for the Lustre CSI driver. + "disableMultiNic": True or False, # When set to true, this disables multi-NIC support for the Lustre CSI driver. By default, GKE enables multi-NIC support, which allows the Lustre CSI driver to automatically detect and configure all suitable network interfaces on a node to maximize I/O performance for demanding workloads. "enableLegacyLustrePort": True or False, # If set to true, the Lustre CSI driver will install Lustre kernel modules using port 6988. This serves as a workaround for a port conflict with the gke-metadata-server. This field is required ONLY under the following conditions: 1. The GKE node version is older than 1.33.2-gke.4655000. 2. You're connecting to a Lustre instance that has the 'gke-support-enabled' flag. Deprecated: This flag is no longer required as of GKE node version 1.33.2-gke.4655000, unless you are connecting to a Lustre instance that has the `gke-support-enabled` flag. "enabled": True or False, # Whether the Lustre CSI driver is enabled for this cluster. }, @@ -3947,6 +3987,12 @@

Method Details

"securityGroup": "A String", # The name of the security group-of-groups to be used. Only relevant if enabled = true. }, "autopilot": { # Autopilot is the configuration for Autopilot settings on the cluster. # Autopilot configuration for the cluster. + "clusterPolicyConfig": { # ClusterPolicyConfig stores the configuration for cluster wide policies. # ClusterPolicyConfig denotes cluster level policies that are enforced for the cluster. + "noStandardNodePools": True or False, # Denotes preventing standard node pools and requiring only autopilot node pools. + "noSystemImpersonation": True or False, # Denotes preventing impersonation and CSRs for GKE System users. + "noSystemMutation": True or False, # Denotes that preventing creation and mutation of resources in GKE managed namespaces and cluster-scoped GKE managed resources . + "noUnsafeWebhooks": True or False, # Denotes preventing unsafe webhooks. + }, "conversionStatus": { # AutopilotConversionStatus represents conversion status. # Output only. ConversionStatus shows conversion status. "state": "A String", # Output only. The current state of the conversion. }, @@ -4239,6 +4285,9 @@

Method Details

}, }, }, + "managedMachineLearningDiagnosticsConfig": { # ManagedMachineLearningDiagnosticsConfig is the configuration for the GKE Managed Machine Learning Diagnostics pipeline. # Configuration for managed machine learning diagnostics. + "enabled": True or False, # Enable/Disable Managed Machine Learning Diagnostics. + }, "managedOpentelemetryConfig": { # ManagedOpenTelemetryConfig is the configuration for the GKE Managed OpenTelemetry pipeline. # Configuration for Managed OpenTelemetry pipeline. "scope": "A String", # Scope of the Managed OpenTelemetry pipeline. }, @@ -4614,6 +4663,9 @@

Method Details

"tags": [ # The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035. "A String", ], + "taintConfig": { # TaintConfig contains the configuration for the taints of the node pool. # Optional. The taint configuration for the node pool. + "architectureTaintBehavior": "A String", # Optional. Controls architecture tainting behavior. + }, "taints": [ # List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ { # Kubernetes taint is composed of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values. "effect": "A String", # Effect for taint. @@ -5169,6 +5221,9 @@

Method Details

"tags": [ # The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035. "A String", ], + "taintConfig": { # TaintConfig contains the configuration for the taints of the node pool. # Optional. The taint configuration for the node pool. + "architectureTaintBehavior": "A String", # Optional. Controls architecture tainting behavior. + }, "taints": [ # List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ { # Kubernetes taint is composed of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values. "effect": "A String", # Effect for taint. @@ -5352,6 +5407,9 @@

Method Details

}, "satisfiesPzi": True or False, # Output only. Reserved for future use. "satisfiesPzs": True or False, # Output only. Reserved for future use. + "scheduleUpgradeConfig": { # Configuration for scheduled upgrades on the cluster. # Optional. Configuration for scheduled upgrades. + "enabled": True or False, # Optional. Whether or not scheduled upgrades are enabled. + }, "secretManagerConfig": { # SecretManagerConfig is config for secret manager enablement. # Secret CSI driver configuration. "enabled": True or False, # Enable/Disable Secret Manager Config. "rotationConfig": { # RotationConfig is config for secret manager auto rotation. # Rotation config for secret manager. @@ -6278,6 +6336,7 @@

Method Details

"disabled": True or False, # Whether the Kubernetes Dashboard is enabled for this cluster. }, "lustreCsiDriverConfig": { # Configuration for the Lustre CSI driver. # Configuration for the Lustre CSI driver. + "disableMultiNic": True or False, # When set to true, this disables multi-NIC support for the Lustre CSI driver. By default, GKE enables multi-NIC support, which allows the Lustre CSI driver to automatically detect and configure all suitable network interfaces on a node to maximize I/O performance for demanding workloads. "enableLegacyLustrePort": True or False, # If set to true, the Lustre CSI driver will install Lustre kernel modules using port 6988. This serves as a workaround for a port conflict with the gke-metadata-server. This field is required ONLY under the following conditions: 1. The GKE node version is older than 1.33.2-gke.4655000. 2. You're connecting to a Lustre instance that has the 'gke-support-enabled' flag. Deprecated: This flag is no longer required as of GKE node version 1.33.2-gke.4655000, unless you are connecting to a Lustre instance that has the `gke-support-enabled` flag. "enabled": True or False, # Whether the Lustre CSI driver is enabled for this cluster. }, @@ -6316,6 +6375,12 @@

Method Details

"desiredAutoIpamConfig": { # AutoIpamConfig contains all information related to Auto IPAM # AutoIpamConfig contains all information related to Auto IPAM "enabled": True or False, # The flag that enables Auto IPAM on this cluster }, + "desiredAutopilotClusterPolicyConfig": { # ClusterPolicyConfig stores the configuration for cluster wide policies. # The desired autopilot cluster policies that to be enforced in the cluster. + "noStandardNodePools": True or False, # Denotes preventing standard node pools and requiring only autopilot node pools. + "noSystemImpersonation": True or False, # Denotes preventing impersonation and CSRs for GKE System users. + "noSystemMutation": True or False, # Denotes that preventing creation and mutation of resources in GKE managed namespaces and cluster-scoped GKE managed resources . + "noUnsafeWebhooks": True or False, # Denotes preventing unsafe webhooks. + }, "desiredAutopilotWorkloadPolicyConfig": { # WorkloadPolicyConfig is the configuration related to GCW workload policy # WorkloadPolicyConfig is the configuration related to GCW workload policy "allowNetAdmin": True or False, # If true, workloads can use NET_ADMIN capability. "autopilotCompatibilityAuditingEnabled": True or False, # If true, enables the GCW Auditor that audits workloads on standard clusters. @@ -6565,6 +6630,9 @@

Method Details

}, }, "desiredLoggingService": "A String", # The logging service the cluster should use to write logs. Currently available options: * `logging.googleapis.com/kubernetes` - The Cloud Logging service with a Kubernetes-native resource model * `logging.googleapis.com` - The legacy Cloud Logging service (no longer available as of GKE 1.15). * `none` - no logs will be exported from the cluster. If left as an empty string,`logging.googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.googleapis.com` for earlier versions. + "desiredManagedMachineLearningDiagnosticsConfig": { # ManagedMachineLearningDiagnosticsConfig is the configuration for the GKE Managed Machine Learning Diagnostics pipeline. # The desired managed machine learning diagnostics configuration. + "enabled": True or False, # Enable/Disable Managed Machine Learning Diagnostics. + }, "desiredManagedOpentelemetryConfig": { # ManagedOpenTelemetryConfig is the configuration for the GKE Managed OpenTelemetry pipeline. # The desired managed open telemetry configuration. "scope": "A String", # Scope of the Managed OpenTelemetry pipeline. }, @@ -6848,6 +6916,9 @@

Method Details

"desiredRollbackSafeUpgrade": { # RollbackSafeUpgrade is the configuration for the rollback safe upgrade. # The desired rollback safe upgrade configuration. "controlPlaneSoakDuration": "A String", # A user-defined period for the cluster remains in the rollbackable state. ex: {seconds: 21600}. }, + "desiredScheduleUpgradeConfig": { # Configuration for scheduled upgrades on the cluster. # Optional. The desired scheduled upgrades configuration for the cluster. + "enabled": True or False, # Optional. Whether or not scheduled upgrades are enabled. + }, "desiredSecretManagerConfig": { # SecretManagerConfig is config for secret manager enablement. # Enable/Disable Secret Manager Config. "enabled": True or False, # Enable/Disable Secret Manager Config. "rotationConfig": { # RotationConfig is config for secret manager auto rotation. # Rotation config for secret manager. diff --git a/docs/dyn/container_v1beta1.projects.zones.clusters.nodePools.html b/docs/dyn/container_v1beta1.projects.zones.clusters.nodePools.html index 2d07ee34e9..b4d198c1c8 100644 --- a/docs/dyn/container_v1beta1.projects.zones.clusters.nodePools.html +++ b/docs/dyn/container_v1beta1.projects.zones.clusters.nodePools.html @@ -524,6 +524,9 @@

Method Details

"tags": [ # The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035. "A String", ], + "taintConfig": { # TaintConfig contains the configuration for the taints of the node pool. # Optional. The taint configuration for the node pool. + "architectureTaintBehavior": "A String", # Optional. Controls architecture tainting behavior. + }, "taints": [ # List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ { # Kubernetes taint is composed of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values. "effect": "A String", # Effect for taint. @@ -1144,6 +1147,9 @@

Method Details

"tags": [ # The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035. "A String", ], + "taintConfig": { # TaintConfig contains the configuration for the taints of the node pool. # Optional. The taint configuration for the node pool. + "architectureTaintBehavior": "A String", # Optional. Controls architecture tainting behavior. + }, "taints": [ # List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ { # Kubernetes taint is composed of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values. "effect": "A String", # Effect for taint. @@ -1589,6 +1595,9 @@

Method Details

"tags": [ # The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035. "A String", ], + "taintConfig": { # TaintConfig contains the configuration for the taints of the node pool. # Optional. The taint configuration for the node pool. + "architectureTaintBehavior": "A String", # Optional. Controls architecture tainting behavior. + }, "taints": [ # List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ { # Kubernetes taint is composed of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values. "effect": "A String", # Effect for taint. diff --git a/docs/dyn/containeranalysis_v1.projects.locations.notes.occurrences.html b/docs/dyn/containeranalysis_v1.projects.locations.notes.occurrences.html index 37270b074f..b923f21ec9 100644 --- a/docs/dyn/containeranalysis_v1.projects.locations.notes.occurrences.html +++ b/docs/dyn/containeranalysis_v1.projects.locations.notes.occurrences.html @@ -805,6 +805,7 @@

Method Details

"diffId": "A String", # The diff ID (typically a sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package was found. Optional field that only applies to source repository scanning. }, }, ], @@ -920,6 +921,7 @@

Method Details

"diffId": "A String", # The diff ID (typically a sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package was found. Optional field that only applies to source repository scanning. }, ], "fixAvailable": True or False, # Output only. Whether a fix is available for this package. diff --git a/docs/dyn/containeranalysis_v1.projects.locations.occurrences.html b/docs/dyn/containeranalysis_v1.projects.locations.occurrences.html index 9ef5258179..d72df17cf4 100644 --- a/docs/dyn/containeranalysis_v1.projects.locations.occurrences.html +++ b/docs/dyn/containeranalysis_v1.projects.locations.occurrences.html @@ -821,6 +821,7 @@

Method Details

"diffId": "A String", # The diff ID (typically a sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package was found. Optional field that only applies to source repository scanning. }, }, ], @@ -936,6 +937,7 @@

Method Details

"diffId": "A String", # The diff ID (typically a sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package was found. Optional field that only applies to source repository scanning. }, ], "fixAvailable": True or False, # Output only. Whether a fix is available for this package. @@ -1710,6 +1712,7 @@

Method Details

"diffId": "A String", # The diff ID (typically a sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package was found. Optional field that only applies to source repository scanning. }, }, ], @@ -1825,6 +1828,7 @@

Method Details

"diffId": "A String", # The diff ID (typically a sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package was found. Optional field that only applies to source repository scanning. }, ], "fixAvailable": True or False, # Output only. Whether a fix is available for this package. @@ -2604,6 +2608,7 @@

Method Details

"diffId": "A String", # The diff ID (typically a sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package was found. Optional field that only applies to source repository scanning. }, }, ], @@ -2719,6 +2724,7 @@

Method Details

"diffId": "A String", # The diff ID (typically a sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package was found. Optional field that only applies to source repository scanning. }, ], "fixAvailable": True or False, # Output only. Whether a fix is available for this package. @@ -3489,6 +3495,7 @@

Method Details

"diffId": "A String", # The diff ID (typically a sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package was found. Optional field that only applies to source repository scanning. }, }, ], @@ -3604,6 +3611,7 @@

Method Details

"diffId": "A String", # The diff ID (typically a sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package was found. Optional field that only applies to source repository scanning. }, ], "fixAvailable": True or False, # Output only. Whether a fix is available for this package. @@ -4399,6 +4407,7 @@

Method Details

"diffId": "A String", # The diff ID (typically a sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package was found. Optional field that only applies to source repository scanning. }, }, ], @@ -4514,6 +4523,7 @@

Method Details

"diffId": "A String", # The diff ID (typically a sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package was found. Optional field that only applies to source repository scanning. }, ], "fixAvailable": True or False, # Output only. Whether a fix is available for this package. @@ -5678,6 +5688,7 @@

Method Details

"diffId": "A String", # The diff ID (typically a sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package was found. Optional field that only applies to source repository scanning. }, }, ], @@ -5793,6 +5804,7 @@

Method Details

"diffId": "A String", # The diff ID (typically a sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package was found. Optional field that only applies to source repository scanning. }, ], "fixAvailable": True or False, # Output only. Whether a fix is available for this package. @@ -6584,6 +6596,7 @@

Method Details

"diffId": "A String", # The diff ID (typically a sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package was found. Optional field that only applies to source repository scanning. }, }, ], @@ -6699,6 +6712,7 @@

Method Details

"diffId": "A String", # The diff ID (typically a sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package was found. Optional field that only applies to source repository scanning. }, ], "fixAvailable": True or False, # Output only. Whether a fix is available for this package. @@ -7470,6 +7484,7 @@

Method Details

"diffId": "A String", # The diff ID (typically a sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package was found. Optional field that only applies to source repository scanning. }, }, ], @@ -7585,6 +7600,7 @@

Method Details

"diffId": "A String", # The diff ID (typically a sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package was found. Optional field that only applies to source repository scanning. }, ], "fixAvailable": True or False, # Output only. Whether a fix is available for this package. diff --git a/docs/dyn/containeranalysis_v1.projects.notes.occurrences.html b/docs/dyn/containeranalysis_v1.projects.notes.occurrences.html index f092b18775..f37f44662e 100644 --- a/docs/dyn/containeranalysis_v1.projects.notes.occurrences.html +++ b/docs/dyn/containeranalysis_v1.projects.notes.occurrences.html @@ -805,6 +805,7 @@

Method Details

"diffId": "A String", # The diff ID (typically a sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package was found. Optional field that only applies to source repository scanning. }, }, ], @@ -920,6 +921,7 @@

Method Details

"diffId": "A String", # The diff ID (typically a sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package was found. Optional field that only applies to source repository scanning. }, ], "fixAvailable": True or False, # Output only. Whether a fix is available for this package. diff --git a/docs/dyn/containeranalysis_v1.projects.occurrences.html b/docs/dyn/containeranalysis_v1.projects.occurrences.html index 316c3015c7..9c239f4eed 100644 --- a/docs/dyn/containeranalysis_v1.projects.occurrences.html +++ b/docs/dyn/containeranalysis_v1.projects.occurrences.html @@ -821,6 +821,7 @@

Method Details

"diffId": "A String", # The diff ID (typically a sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package was found. Optional field that only applies to source repository scanning. }, }, ], @@ -936,6 +937,7 @@

Method Details

"diffId": "A String", # The diff ID (typically a sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package was found. Optional field that only applies to source repository scanning. }, ], "fixAvailable": True or False, # Output only. Whether a fix is available for this package. @@ -1710,6 +1712,7 @@

Method Details

"diffId": "A String", # The diff ID (typically a sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package was found. Optional field that only applies to source repository scanning. }, }, ], @@ -1825,6 +1828,7 @@

Method Details

"diffId": "A String", # The diff ID (typically a sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package was found. Optional field that only applies to source repository scanning. }, ], "fixAvailable": True or False, # Output only. Whether a fix is available for this package. @@ -2604,6 +2608,7 @@

Method Details

"diffId": "A String", # The diff ID (typically a sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package was found. Optional field that only applies to source repository scanning. }, }, ], @@ -2719,6 +2724,7 @@

Method Details

"diffId": "A String", # The diff ID (typically a sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package was found. Optional field that only applies to source repository scanning. }, ], "fixAvailable": True or False, # Output only. Whether a fix is available for this package. @@ -3489,6 +3495,7 @@

Method Details

"diffId": "A String", # The diff ID (typically a sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package was found. Optional field that only applies to source repository scanning. }, }, ], @@ -3604,6 +3611,7 @@

Method Details

"diffId": "A String", # The diff ID (typically a sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package was found. Optional field that only applies to source repository scanning. }, ], "fixAvailable": True or False, # Output only. Whether a fix is available for this package. @@ -4399,6 +4407,7 @@

Method Details

"diffId": "A String", # The diff ID (typically a sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package was found. Optional field that only applies to source repository scanning. }, }, ], @@ -4514,6 +4523,7 @@

Method Details

"diffId": "A String", # The diff ID (typically a sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package was found. Optional field that only applies to source repository scanning. }, ], "fixAvailable": True or False, # Output only. Whether a fix is available for this package. @@ -5678,6 +5688,7 @@

Method Details

"diffId": "A String", # The diff ID (typically a sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package was found. Optional field that only applies to source repository scanning. }, }, ], @@ -5793,6 +5804,7 @@

Method Details

"diffId": "A String", # The diff ID (typically a sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package was found. Optional field that only applies to source repository scanning. }, ], "fixAvailable": True or False, # Output only. Whether a fix is available for this package. @@ -6584,6 +6596,7 @@

Method Details

"diffId": "A String", # The diff ID (typically a sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package was found. Optional field that only applies to source repository scanning. }, }, ], @@ -6699,6 +6712,7 @@

Method Details

"diffId": "A String", # The diff ID (typically a sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package was found. Optional field that only applies to source repository scanning. }, ], "fixAvailable": True or False, # Output only. Whether a fix is available for this package. @@ -7470,6 +7484,7 @@

Method Details

"diffId": "A String", # The diff ID (typically a sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package was found. Optional field that only applies to source repository scanning. }, }, ], @@ -7585,6 +7600,7 @@

Method Details

"diffId": "A String", # The diff ID (typically a sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package was found. Optional field that only applies to source repository scanning. }, ], "fixAvailable": True or False, # Output only. Whether a fix is available for this package. diff --git a/docs/dyn/containeranalysis_v1alpha1.projects.notes.html b/docs/dyn/containeranalysis_v1alpha1.projects.notes.html index 967db3b716..d513f6ead3 100644 --- a/docs/dyn/containeranalysis_v1alpha1.projects.notes.html +++ b/docs/dyn/containeranalysis_v1alpha1.projects.notes.html @@ -400,6 +400,7 @@

Method Details

"diffId": "A String", # The diff ID (sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning. }, ], "package": "A String", # The package being described. @@ -723,6 +724,7 @@

Method Details

"diffId": "A String", # The diff ID (sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning. }, ], "package": "A String", # The package being described. @@ -1069,6 +1071,7 @@

Method Details

"diffId": "A String", # The diff ID (sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning. }, ], "package": "A String", # The package being described. @@ -1447,6 +1450,7 @@

Method Details

"diffId": "A String", # The diff ID (sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning. }, ], "package": "A String", # The package being described. @@ -1786,6 +1790,7 @@

Method Details

"diffId": "A String", # The diff ID (sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning. }, ], "package": "A String", # The package being described. @@ -2108,6 +2113,7 @@

Method Details

"diffId": "A String", # The diff ID (sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning. }, ], "package": "A String", # The package being described. diff --git a/docs/dyn/containeranalysis_v1alpha1.projects.notes.occurrences.html b/docs/dyn/containeranalysis_v1alpha1.projects.notes.occurrences.html index 0a3eb5c4b4..c571726438 100644 --- a/docs/dyn/containeranalysis_v1alpha1.projects.notes.occurrences.html +++ b/docs/dyn/containeranalysis_v1alpha1.projects.notes.occurrences.html @@ -860,6 +860,7 @@

Method Details

"diffId": "A String", # The diff ID (sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning. }, }, ], @@ -984,6 +985,7 @@

Method Details

"diffId": "A String", # The diff ID (sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning. }, ], "package": "A String", # The package being described. @@ -1015,6 +1017,7 @@

Method Details

"diffId": "A String", # The diff ID (sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning. }, ], "package": "A String", # The package being described. diff --git a/docs/dyn/containeranalysis_v1alpha1.projects.occurrences.html b/docs/dyn/containeranalysis_v1alpha1.projects.occurrences.html index 918f7a8346..f1e3c2fbf2 100644 --- a/docs/dyn/containeranalysis_v1alpha1.projects.occurrences.html +++ b/docs/dyn/containeranalysis_v1alpha1.projects.occurrences.html @@ -876,6 +876,7 @@

Method Details

"diffId": "A String", # The diff ID (sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning. }, }, ], @@ -1000,6 +1001,7 @@

Method Details

"diffId": "A String", # The diff ID (sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning. }, ], "package": "A String", # The package being described. @@ -1031,6 +1033,7 @@

Method Details

"diffId": "A String", # The diff ID (sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning. }, ], "package": "A String", # The package being described. @@ -1849,6 +1852,7 @@

Method Details

"diffId": "A String", # The diff ID (sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning. }, }, ], @@ -1973,6 +1977,7 @@

Method Details

"diffId": "A String", # The diff ID (sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning. }, ], "package": "A String", # The package being described. @@ -2004,6 +2009,7 @@

Method Details

"diffId": "A String", # The diff ID (sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning. }, ], "package": "A String", # The package being described. @@ -2846,6 +2852,7 @@

Method Details

"diffId": "A String", # The diff ID (sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning. }, }, ], @@ -2970,6 +2977,7 @@

Method Details

"diffId": "A String", # The diff ID (sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning. }, ], "package": "A String", # The package being described. @@ -3001,6 +3009,7 @@

Method Details

"diffId": "A String", # The diff ID (sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning. }, ], "package": "A String", # The package being described. @@ -3393,6 +3402,7 @@

Method Details

"diffId": "A String", # The diff ID (sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning. }, ], "package": "A String", # The package being described. @@ -4248,6 +4258,7 @@

Method Details

"diffId": "A String", # The diff ID (sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning. }, }, ], @@ -4372,6 +4383,7 @@

Method Details

"diffId": "A String", # The diff ID (sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning. }, ], "package": "A String", # The package being described. @@ -4403,6 +4415,7 @@

Method Details

"diffId": "A String", # The diff ID (sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning. }, ], "package": "A String", # The package being described. @@ -5238,6 +5251,7 @@

Method Details

"diffId": "A String", # The diff ID (sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning. }, }, ], @@ -5362,6 +5376,7 @@

Method Details

"diffId": "A String", # The diff ID (sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning. }, ], "package": "A String", # The package being described. @@ -5393,6 +5408,7 @@

Method Details

"diffId": "A String", # The diff ID (sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning. }, ], "package": "A String", # The package being described. @@ -6211,6 +6227,7 @@

Method Details

"diffId": "A String", # The diff ID (sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning. }, }, ], @@ -6335,6 +6352,7 @@

Method Details

"diffId": "A String", # The diff ID (sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning. }, ], "package": "A String", # The package being described. @@ -6366,6 +6384,7 @@

Method Details

"diffId": "A String", # The diff ID (sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning. }, ], "package": "A String", # The package being described. diff --git a/docs/dyn/containeranalysis_v1alpha1.providers.notes.html b/docs/dyn/containeranalysis_v1alpha1.providers.notes.html index 20be06b12c..0dba6cba53 100644 --- a/docs/dyn/containeranalysis_v1alpha1.providers.notes.html +++ b/docs/dyn/containeranalysis_v1alpha1.providers.notes.html @@ -400,6 +400,7 @@

Method Details

"diffId": "A String", # The diff ID (sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning. }, ], "package": "A String", # The package being described. @@ -723,6 +724,7 @@

Method Details

"diffId": "A String", # The diff ID (sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning. }, ], "package": "A String", # The package being described. @@ -1069,6 +1071,7 @@

Method Details

"diffId": "A String", # The diff ID (sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning. }, ], "package": "A String", # The package being described. @@ -1447,6 +1450,7 @@

Method Details

"diffId": "A String", # The diff ID (sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning. }, ], "package": "A String", # The package being described. @@ -1786,6 +1790,7 @@

Method Details

"diffId": "A String", # The diff ID (sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning. }, ], "package": "A String", # The package being described. @@ -2108,6 +2113,7 @@

Method Details

"diffId": "A String", # The diff ID (sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning. }, ], "package": "A String", # The package being described. diff --git a/docs/dyn/containeranalysis_v1alpha1.providers.notes.occurrences.html b/docs/dyn/containeranalysis_v1alpha1.providers.notes.occurrences.html index 2c6453d81b..bf256c59d0 100644 --- a/docs/dyn/containeranalysis_v1alpha1.providers.notes.occurrences.html +++ b/docs/dyn/containeranalysis_v1alpha1.providers.notes.occurrences.html @@ -860,6 +860,7 @@

Method Details

"diffId": "A String", # The diff ID (sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning. }, }, ], @@ -984,6 +985,7 @@

Method Details

"diffId": "A String", # The diff ID (sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning. }, ], "package": "A String", # The package being described. @@ -1015,6 +1017,7 @@

Method Details

"diffId": "A String", # The diff ID (sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning. }, ], "package": "A String", # The package being described. diff --git a/docs/dyn/dataform_v1.projects.locations.repositories.html b/docs/dyn/dataform_v1.projects.locations.repositories.html index 9fcc309819..d65a74dbb4 100644 --- a/docs/dyn/dataform_v1.projects.locations.repositories.html +++ b/docs/dyn/dataform_v1.projects.locations.repositories.html @@ -650,6 +650,10 @@

Method Details

{ # Represents a single entry in a directory. "directory": "A String", # A child directory in the directory. "file": "A String", # A file in the directory. + "metadata": { # Represents metadata for a single entry in a filesystem. # Entry with metadata. + "sizeBytes": "A String", # Output only. Provides the size of the entry in bytes. For directories, this will be 0. + "updateTime": "A String", # Output only. Represents the time of the last modification of the entry. + }, }, ], "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. diff --git a/docs/dyn/dataform_v1.projects.locations.repositories.workspaces.html b/docs/dyn/dataform_v1.projects.locations.repositories.workspaces.html index 090a6ad0d5..c6b3f1f2fd 100644 --- a/docs/dyn/dataform_v1.projects.locations.repositories.workspaces.html +++ b/docs/dyn/dataform_v1.projects.locations.repositories.workspaces.html @@ -126,7 +126,7 @@

Instance Methods

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

Pushes Git commits from a Workspace to the Repository's remote.

- queryDirectoryContents(workspace, pageSize=None, pageToken=None, path=None, x__xgafv=None)

+ queryDirectoryContents(workspace, pageSize=None, pageToken=None, path=None, view=None, x__xgafv=None)

Returns the contents of a given Workspace directory.

queryDirectoryContents_next()

@@ -593,7 +593,7 @@

Method Details

- queryDirectoryContents(workspace, pageSize=None, pageToken=None, path=None, x__xgafv=None) + queryDirectoryContents(workspace, pageSize=None, pageToken=None, path=None, view=None, x__xgafv=None)
Returns the contents of a given Workspace directory.
 
 Args:
@@ -601,6 +601,11 @@ 

Method Details

pageSize: integer, Optional. Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default. pageToken: string, Optional. Page token received from a previous `QueryDirectoryContents` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryDirectoryContents`, with the exception of `page_size`, must match the call that provided the page token. path: string, Optional. The directory's full path including directory name, relative to the workspace root. If left unset, the workspace root is used. + view: string, Optional. Specifies the metadata to return for each directory entry. If unspecified, the default is `DIRECTORY_CONTENTS_VIEW_BASIC`. Currently the `DIRECTORY_CONTENTS_VIEW_METADATA` view is not supported by CMEK-protected workspaces. + Allowed values + DIRECTORY_CONTENTS_VIEW_UNSPECIFIED - The default / unset value. Defaults to DIRECTORY_CONTENTS_VIEW_BASIC. + DIRECTORY_CONTENTS_VIEW_BASIC - Includes only the file or directory name. This is the default behavior. + DIRECTORY_CONTENTS_VIEW_METADATA - Includes all metadata for each file or directory. Currently not supported by CMEK-protected workspaces. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format @@ -614,6 +619,10 @@

Method Details

{ # Represents a single entry in a directory. "directory": "A String", # A child directory in the directory. "file": "A String", # A file in the directory. + "metadata": { # Represents metadata for a single entry in a filesystem. # Entry with metadata. + "sizeBytes": "A String", # Output only. Provides the size of the entry in bytes. For directories, this will be 0. + "updateTime": "A String", # Output only. Represents the time of the last modification of the entry. + }, }, ], "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. diff --git a/docs/dyn/dataform_v1beta1.projects.locations.repositories.html b/docs/dyn/dataform_v1beta1.projects.locations.repositories.html index dc87128e0e..5760cd35f0 100644 --- a/docs/dyn/dataform_v1beta1.projects.locations.repositories.html +++ b/docs/dyn/dataform_v1beta1.projects.locations.repositories.html @@ -707,6 +707,10 @@

Method Details

{ # Represents a single entry in a directory. "directory": "A String", # A child directory in the directory. "file": "A String", # A file in the directory. + "metadata": { # Represents metadata for a single entry in a filesystem. # Entry with metadata. + "sizeBytes": "A String", # Output only. Provides the size of the entry in bytes. For directories, this will be 0. + "updateTime": "A String", # Output only. Represents the time of the last modification of the entry. + }, }, ], "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. diff --git a/docs/dyn/dataform_v1beta1.projects.locations.repositories.workspaces.html b/docs/dyn/dataform_v1beta1.projects.locations.repositories.workspaces.html index 66dc3c085a..a624bebdd1 100644 --- a/docs/dyn/dataform_v1beta1.projects.locations.repositories.workspaces.html +++ b/docs/dyn/dataform_v1beta1.projects.locations.repositories.workspaces.html @@ -126,7 +126,7 @@

Instance Methods

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

Pushes Git commits from a Workspace to the Repository's remote.

- queryDirectoryContents(workspace, pageSize=None, pageToken=None, path=None, x__xgafv=None)

+ queryDirectoryContents(workspace, pageSize=None, pageToken=None, path=None, view=None, x__xgafv=None)

Returns the contents of a given Workspace directory.

queryDirectoryContents_next()

@@ -597,7 +597,7 @@

Method Details

- queryDirectoryContents(workspace, pageSize=None, pageToken=None, path=None, x__xgafv=None) + queryDirectoryContents(workspace, pageSize=None, pageToken=None, path=None, view=None, x__xgafv=None)
Returns the contents of a given Workspace directory.
 
 Args:
@@ -605,6 +605,11 @@ 

Method Details

pageSize: integer, Optional. Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default. pageToken: string, Optional. Page token received from a previous `QueryDirectoryContents` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryDirectoryContents`, with the exception of `page_size`, must match the call that provided the page token. path: string, Optional. The directory's full path including directory name, relative to the workspace root. If left unset, the workspace root is used. + view: string, Optional. Specifies the metadata to return for each directory entry. If unspecified, the default is `DIRECTORY_CONTENTS_VIEW_BASIC`. Currently the `DIRECTORY_CONTENTS_VIEW_METADATA` view is not supported by CMEK-protected workspaces. + Allowed values + DIRECTORY_CONTENTS_VIEW_UNSPECIFIED - The default / unset value. Defaults to DIRECTORY_CONTENTS_VIEW_BASIC. + DIRECTORY_CONTENTS_VIEW_BASIC - Includes only the file or directory name. This is the default behavior. + DIRECTORY_CONTENTS_VIEW_METADATA - Includes all metadata for each file or directory. Currently not supported by CMEK-protected workspaces. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format @@ -618,6 +623,10 @@

Method Details

{ # Represents a single entry in a directory. "directory": "A String", # A child directory in the directory. "file": "A String", # A file in the directory. + "metadata": { # Represents metadata for a single entry in a filesystem. # Entry with metadata. + "sizeBytes": "A String", # Output only. Provides the size of the entry in bytes. For directories, this will be 0. + "updateTime": "A String", # Output only. Represents the time of the last modification of the entry. + }, }, ], "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. diff --git a/docs/dyn/deploymentmanager_alpha.compositeTypes.html b/docs/dyn/deploymentmanager_alpha.compositeTypes.html index e4e89eec3c..3c8fe4193e 100644 --- a/docs/dyn/deploymentmanager_alpha.compositeTypes.html +++ b/docs/dyn/deploymentmanager_alpha.compositeTypes.html @@ -179,6 +179,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -336,6 +346,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -501,6 +521,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -654,6 +684,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -815,6 +855,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -998,6 +1048,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -1151,6 +1211,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -1302,6 +1372,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -1455,6 +1535,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. diff --git a/docs/dyn/deploymentmanager_alpha.deployments.html b/docs/dyn/deploymentmanager_alpha.deployments.html index 5af8b09cc1..285d36948a 100644 --- a/docs/dyn/deploymentmanager_alpha.deployments.html +++ b/docs/dyn/deploymentmanager_alpha.deployments.html @@ -195,6 +195,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -350,6 +360,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -519,6 +539,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -771,6 +801,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -955,6 +995,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -1128,6 +1178,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -1348,6 +1408,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -1536,6 +1606,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -1789,6 +1869,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -1984,6 +2074,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -2172,6 +2272,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. diff --git a/docs/dyn/deploymentmanager_alpha.operations.html b/docs/dyn/deploymentmanager_alpha.operations.html index 0e2eb88f26..0cf06957a4 100644 --- a/docs/dyn/deploymentmanager_alpha.operations.html +++ b/docs/dyn/deploymentmanager_alpha.operations.html @@ -167,6 +167,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -318,6 +328,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. diff --git a/docs/dyn/deploymentmanager_alpha.typeProviders.html b/docs/dyn/deploymentmanager_alpha.typeProviders.html index f5bf1e9643..caefcd2561 100644 --- a/docs/dyn/deploymentmanager_alpha.typeProviders.html +++ b/docs/dyn/deploymentmanager_alpha.typeProviders.html @@ -188,6 +188,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -403,6 +413,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -676,6 +696,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -848,6 +878,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -1068,6 +1108,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -1379,6 +1429,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -1551,6 +1611,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -1760,6 +1830,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -1932,6 +2012,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. diff --git a/docs/dyn/deploymentmanager_alpha.types.html b/docs/dyn/deploymentmanager_alpha.types.html index 138f24e911..ce55d5de3f 100644 --- a/docs/dyn/deploymentmanager_alpha.types.html +++ b/docs/dyn/deploymentmanager_alpha.types.html @@ -267,6 +267,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -520,6 +530,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. diff --git a/docs/dyn/deploymentmanager_v2.deployments.html b/docs/dyn/deploymentmanager_v2.deployments.html index 4bfd6ae35e..79b1b4fad9 100644 --- a/docs/dyn/deploymentmanager_v2.deployments.html +++ b/docs/dyn/deploymentmanager_v2.deployments.html @@ -195,6 +195,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -350,6 +360,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -509,6 +529,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -735,6 +765,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -902,6 +942,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -1065,6 +1115,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -1259,6 +1319,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -1430,6 +1500,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -1683,6 +1763,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -1868,6 +1958,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -2039,6 +2139,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. diff --git a/docs/dyn/deploymentmanager_v2.operations.html b/docs/dyn/deploymentmanager_v2.operations.html index f20a2ee99d..cd782d6259 100644 --- a/docs/dyn/deploymentmanager_v2.operations.html +++ b/docs/dyn/deploymentmanager_v2.operations.html @@ -167,6 +167,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -318,6 +328,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. diff --git a/docs/dyn/deploymentmanager_v2.types.html b/docs/dyn/deploymentmanager_v2.types.html index 21ac13d3cf..9103c0e1c8 100644 --- a/docs/dyn/deploymentmanager_v2.types.html +++ b/docs/dyn/deploymentmanager_v2.types.html @@ -173,6 +173,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. diff --git a/docs/dyn/deploymentmanager_v2beta.compositeTypes.html b/docs/dyn/deploymentmanager_v2beta.compositeTypes.html index 646c9e4fab..fd6d6e1441 100644 --- a/docs/dyn/deploymentmanager_v2beta.compositeTypes.html +++ b/docs/dyn/deploymentmanager_v2beta.compositeTypes.html @@ -179,6 +179,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -336,6 +346,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -501,6 +521,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -654,6 +684,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -815,6 +855,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -998,6 +1048,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -1151,6 +1211,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -1302,6 +1372,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -1455,6 +1535,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. diff --git a/docs/dyn/deploymentmanager_v2beta.deployments.html b/docs/dyn/deploymentmanager_v2beta.deployments.html index c1ab75632f..4c96e8bdd6 100644 --- a/docs/dyn/deploymentmanager_v2beta.deployments.html +++ b/docs/dyn/deploymentmanager_v2beta.deployments.html @@ -195,6 +195,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -350,6 +360,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -509,6 +529,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -735,6 +765,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -903,6 +943,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -1066,6 +1116,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -1260,6 +1320,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -1432,6 +1502,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -1685,6 +1765,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -1870,6 +1960,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -2042,6 +2142,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. diff --git a/docs/dyn/deploymentmanager_v2beta.operations.html b/docs/dyn/deploymentmanager_v2beta.operations.html index 3b6ccee624..af26123c8a 100644 --- a/docs/dyn/deploymentmanager_v2beta.operations.html +++ b/docs/dyn/deploymentmanager_v2beta.operations.html @@ -167,6 +167,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -318,6 +328,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. diff --git a/docs/dyn/deploymentmanager_v2beta.typeProviders.html b/docs/dyn/deploymentmanager_v2beta.typeProviders.html index f32bfff2fd..8a15bde904 100644 --- a/docs/dyn/deploymentmanager_v2beta.typeProviders.html +++ b/docs/dyn/deploymentmanager_v2beta.typeProviders.html @@ -188,6 +188,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -396,6 +406,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -662,6 +682,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -834,6 +864,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -1047,6 +1087,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -1351,6 +1401,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -1523,6 +1583,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -1725,6 +1795,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. @@ -1897,6 +1977,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. diff --git a/docs/dyn/deploymentmanager_v2beta.types.html b/docs/dyn/deploymentmanager_v2beta.types.html index 6cf3af8d61..7c19a1b545 100644 --- a/docs/dyn/deploymentmanager_v2beta.types.html +++ b/docs/dyn/deploymentmanager_v2beta.types.html @@ -262,6 +262,16 @@

Method Details

"firewallPolicyRuleOperationMetadata": { "allocatedPriority": 42, # The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. }, + "getVersionOperationMetadata": { + "inlineSbomInfo": { + "currentComponentVersions": { # SBOM versions currently applied to the resource. The key is the component name and the value is the version. + "a_key": "A String", + }, + "targetComponentVersions": { # SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version. + "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. diff --git a/docs/dyn/developerconnect_v1.projects.locations.accountConnectors.html b/docs/dyn/developerconnect_v1.projects.locations.accountConnectors.html index 065df941b3..8baf031a07 100644 --- a/docs/dyn/developerconnect_v1.projects.locations.accountConnectors.html +++ b/docs/dyn/developerconnect_v1.projects.locations.accountConnectors.html @@ -88,6 +88,12 @@

Instance Methods

delete(name, etag=None, force=None, requestId=None, validateOnly=None, x__xgafv=None)

Deletes a single AccountConnector.

+

+ fetchUserRepositories(accountConnector, pageSize=None, pageToken=None, repository=None, x__xgafv=None)

+

FetchUserRepositories returns a list of UserRepos that are available for an account connector resource.

+

+ fetchUserRepositories_next()

+

Retrieves the next page of results.

get(name, x__xgafv=None)

Gets details of a single AccountConnector.

@@ -120,6 +126,23 @@

Method Details

"a_key": "A String", }, "createTime": "A String", # Output only. The timestamp when the accountConnector was created. + "customOauthConfig": { # Message for a customized OAuth config. # Custom OAuth config. + "authUri": "A String", # Required. Immutable. The OAuth2 authorization server URL. + "clientId": "A String", # Required. The client ID of the OAuth application. + "clientSecret": "A String", # Required. Input only. The client secret of the OAuth application. It will be provided as plain text, but encrypted and stored in developer connect. As INPUT_ONLY field, it will not be included in the output. + "hostUri": "A String", # Required. The host URI of the OAuth application. + "pkceDisabled": True or False, # Optional. Disable PKCE for this OAuth config. PKCE is enabled by default. + "scmProvider": "A String", # Required. The type of the SCM provider. + "scopes": [ # Required. The scopes to be requested during OAuth. + "A String", + ], + "serverVersion": "A String", # Output only. SCM server version installed at the host URI. + "serviceDirectoryConfig": { # ServiceDirectoryConfig represents Service Directory configuration for a connection. # Optional. Configuration for using Service Directory to connect to a private service. + "service": "A String", # Required. The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}. + }, + "sslCaCertificate": "A String", # Optional. SSL certificate to use for requests to a private service. + "tokenUri": "A String", # Required. Immutable. The OAuth2 token request URL. + }, "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. "labels": { # Optional. Labels as key value pairs "a_key": "A String", @@ -132,6 +155,9 @@

Method Details

], "systemProviderId": "A String", # Optional. Immutable. Developer Connect provided OAuth. }, + "proxyConfig": { # The proxy configuration. # Optional. Configuration for the http and git proxy features. + "enabled": True or False, # Optional. Setting this to true allows the git and http proxies to perform actions on behalf of the user configured under the account connector. + }, "updateTime": "A String", # Output only. The timestamp when the accountConnector was updated. } @@ -206,6 +232,49 @@

Method Details

}
+
+ fetchUserRepositories(accountConnector, pageSize=None, pageToken=None, repository=None, x__xgafv=None) +
FetchUserRepositories returns a list of UserRepos that are available for an account connector resource.
+
+Args:
+  accountConnector: string, Required. The name of the Account Connector resource in the format: `projects/*/locations/*/accountConnectors/*`. (required)
+  pageSize: integer, Optional. Number of results to return in the list. Defaults to 20.
+  pageToken: string, Optional. Page start.
+  repository: string, Optional. The name of the repository. When specified, only the UserRepository with this name will be returned if the repository is accessible under this Account Connector for the calling user.
+  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 FetchUserRepositories.
+  "nextPageToken": "A String", # A token identifying a page of results the server should return.
+  "userRepos": [ # The repositories that the user can access with this account connector.
+    { # A user repository that can be linked to the account connector. Consists of the repo name and the git proxy URL to forward requests to this repo.
+      "cloneUri": "A String", # Output only. The git clone URL of the repo. For example: https://github.com/myuser/myrepo.git
+      "displayName": "A String", # Output only. The user friendly repo name (e.g., myuser/myrepo)
+      "gitProxyUri": "A String", # Output only. The Git proxy URL for this repo. For example: https://us-west1-git.developerconnect.dev/a/my-proj/my-ac/myuser/myrepo.git. Populated only when `proxy_config.enabled` is set to `true` in the Account Connector. This URL is used by other Google services that integrate with Developer Connect.
+    },
+  ],
+}
+
+ +
+ fetchUserRepositories_next() +
Retrieves the next page of results.
+
+        Args:
+          previous_request: The request for the previous page. (required)
+          previous_response: The response from the request for the previous page. (required)
+
+        Returns:
+          A request object that you can call 'execute()' on to request the next
+          page. Returns None if there are no more items in the collection.
+        
+
+
get(name, x__xgafv=None)
Gets details of a single AccountConnector.
@@ -225,6 +294,23 @@ 

Method Details

"a_key": "A String", }, "createTime": "A String", # Output only. The timestamp when the accountConnector was created. + "customOauthConfig": { # Message for a customized OAuth config. # Custom OAuth config. + "authUri": "A String", # Required. Immutable. The OAuth2 authorization server URL. + "clientId": "A String", # Required. The client ID of the OAuth application. + "clientSecret": "A String", # Required. Input only. The client secret of the OAuth application. It will be provided as plain text, but encrypted and stored in developer connect. As INPUT_ONLY field, it will not be included in the output. + "hostUri": "A String", # Required. The host URI of the OAuth application. + "pkceDisabled": True or False, # Optional. Disable PKCE for this OAuth config. PKCE is enabled by default. + "scmProvider": "A String", # Required. The type of the SCM provider. + "scopes": [ # Required. The scopes to be requested during OAuth. + "A String", + ], + "serverVersion": "A String", # Output only. SCM server version installed at the host URI. + "serviceDirectoryConfig": { # ServiceDirectoryConfig represents Service Directory configuration for a connection. # Optional. Configuration for using Service Directory to connect to a private service. + "service": "A String", # Required. The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}. + }, + "sslCaCertificate": "A String", # Optional. SSL certificate to use for requests to a private service. + "tokenUri": "A String", # Required. Immutable. The OAuth2 token request URL. + }, "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. "labels": { # Optional. Labels as key value pairs "a_key": "A String", @@ -237,6 +323,9 @@

Method Details

], "systemProviderId": "A String", # Optional. Immutable. Developer Connect provided OAuth. }, + "proxyConfig": { # The proxy configuration. # Optional. Configuration for the http and git proxy features. + "enabled": True or False, # Optional. Setting this to true allows the git and http proxies to perform actions on behalf of the user configured under the account connector. + }, "updateTime": "A String", # Output only. The timestamp when the accountConnector was updated. }
@@ -266,6 +355,23 @@

Method Details

"a_key": "A String", }, "createTime": "A String", # Output only. The timestamp when the accountConnector was created. + "customOauthConfig": { # Message for a customized OAuth config. # Custom OAuth config. + "authUri": "A String", # Required. Immutable. The OAuth2 authorization server URL. + "clientId": "A String", # Required. The client ID of the OAuth application. + "clientSecret": "A String", # Required. Input only. The client secret of the OAuth application. It will be provided as plain text, but encrypted and stored in developer connect. As INPUT_ONLY field, it will not be included in the output. + "hostUri": "A String", # Required. The host URI of the OAuth application. + "pkceDisabled": True or False, # Optional. Disable PKCE for this OAuth config. PKCE is enabled by default. + "scmProvider": "A String", # Required. The type of the SCM provider. + "scopes": [ # Required. The scopes to be requested during OAuth. + "A String", + ], + "serverVersion": "A String", # Output only. SCM server version installed at the host URI. + "serviceDirectoryConfig": { # ServiceDirectoryConfig represents Service Directory configuration for a connection. # Optional. Configuration for using Service Directory to connect to a private service. + "service": "A String", # Required. The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}. + }, + "sslCaCertificate": "A String", # Optional. SSL certificate to use for requests to a private service. + "tokenUri": "A String", # Required. Immutable. The OAuth2 token request URL. + }, "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. "labels": { # Optional. Labels as key value pairs "a_key": "A String", @@ -278,6 +384,9 @@

Method Details

], "systemProviderId": "A String", # Optional. Immutable. Developer Connect provided OAuth. }, + "proxyConfig": { # The proxy configuration. # Optional. Configuration for the http and git proxy features. + "enabled": True or False, # Optional. Setting this to true allows the git and http proxies to perform actions on behalf of the user configured under the account connector. + }, "updateTime": "A String", # Output only. The timestamp when the accountConnector was updated. }, ], @@ -316,6 +425,23 @@

Method Details

"a_key": "A String", }, "createTime": "A String", # Output only. The timestamp when the accountConnector was created. + "customOauthConfig": { # Message for a customized OAuth config. # Custom OAuth config. + "authUri": "A String", # Required. Immutable. The OAuth2 authorization server URL. + "clientId": "A String", # Required. The client ID of the OAuth application. + "clientSecret": "A String", # Required. Input only. The client secret of the OAuth application. It will be provided as plain text, but encrypted and stored in developer connect. As INPUT_ONLY field, it will not be included in the output. + "hostUri": "A String", # Required. The host URI of the OAuth application. + "pkceDisabled": True or False, # Optional. Disable PKCE for this OAuth config. PKCE is enabled by default. + "scmProvider": "A String", # Required. The type of the SCM provider. + "scopes": [ # Required. The scopes to be requested during OAuth. + "A String", + ], + "serverVersion": "A String", # Output only. SCM server version installed at the host URI. + "serviceDirectoryConfig": { # ServiceDirectoryConfig represents Service Directory configuration for a connection. # Optional. Configuration for using Service Directory to connect to a private service. + "service": "A String", # Required. The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}. + }, + "sslCaCertificate": "A String", # Optional. SSL certificate to use for requests to a private service. + "tokenUri": "A String", # Required. Immutable. The OAuth2 token request URL. + }, "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. "labels": { # Optional. Labels as key value pairs "a_key": "A String", @@ -328,6 +454,9 @@

Method Details

], "systemProviderId": "A String", # Optional. Immutable. Developer Connect provided OAuth. }, + "proxyConfig": { # The proxy configuration. # Optional. Configuration for the http and git proxy features. + "enabled": True or False, # Optional. Setting this to true allows the git and http proxies to perform actions on behalf of the user configured under the account connector. + }, "updateTime": "A String", # Output only. The timestamp when the accountConnector was updated. } diff --git a/docs/dyn/dialogflow_v2.projects.conversations.html b/docs/dyn/dialogflow_v2.projects.conversations.html index 3d959b714f..42a33bfc4d 100644 --- a/docs/dyn/dialogflow_v2.projects.conversations.html +++ b/docs/dyn/dialogflow_v2.projects.conversations.html @@ -152,6 +152,238 @@

Method Details

"updateMode": "A String", }, }, + "initialConversationProfile": { + "automatedAgentConfig": { + "agent": "A String", + "sessionTtl": "A String", + }, + "createTime": "A String", + "displayName": "A String", + "humanAgentAssistantConfig": { + "endUserSuggestionConfig": { + "disableHighLatencyFeaturesSyncDelivery": True or False, + "enableAsyncToolCall": True or False, + "featureConfigs": [ + { + "conversationModelConfig": { + "baselineModelVersion": "A String", + "model": "A String", + }, + "conversationProcessConfig": { + "recentSentencesCount": 42, + }, + "disableAgentQueryLogging": True or False, + "enableConversationAugmentedQuery": True or False, + "enableEventBasedSuggestion": True or False, + "enableQuerySuggestionOnly": True or False, + "enableQuerySuggestionWhenNoAnswer": True or False, + "enableResponseDebugInfo": True or False, + "queryConfig": { + "confidenceThreshold": 3.14, + "contextFilterSettings": { + "dropHandoffMessages": True or False, + "dropIvrMessages": True or False, + "dropVirtualAgentMessages": True or False, + }, + "contextSize": 42, + "dialogflowQuerySource": { + "agent": "A String", + "humanAgentSideConfig": { + "agent": "A String", + }, + }, + "documentQuerySource": { + "documents": [ + "A String", + ], + }, + "knowledgeBaseQuerySource": { + "knowledgeBases": [ + "A String", + ], + }, + "maxResults": 42, + "sections": { + "sectionTypes": [ + "A String", + ], + }, + }, + "raiSettings": { + "raiCategoryConfigs": [ + { + "category": "A String", + "sensitivityLevel": "A String", + }, + ], + }, + "suggestionFeature": { + "type": "A String", + }, + "suggestionTriggerSettings": { + "noSmalltalk": True or False, + "onlyEndUser": True or False, + }, + }, + ], + "generators": [ + "A String", + ], + "groupSuggestionResponses": True or False, + "skipEmptyEventBasedSuggestion": True or False, + "useUnredactedConversationData": True or False, + }, + "humanAgentSuggestionConfig": { + "disableHighLatencyFeaturesSyncDelivery": True or False, + "enableAsyncToolCall": True or False, + "featureConfigs": [ + { + "conversationModelConfig": { + "baselineModelVersion": "A String", + "model": "A String", + }, + "conversationProcessConfig": { + "recentSentencesCount": 42, + }, + "disableAgentQueryLogging": True or False, + "enableConversationAugmentedQuery": True or False, + "enableEventBasedSuggestion": True or False, + "enableQuerySuggestionOnly": True or False, + "enableQuerySuggestionWhenNoAnswer": True or False, + "enableResponseDebugInfo": True or False, + "queryConfig": { + "confidenceThreshold": 3.14, + "contextFilterSettings": { + "dropHandoffMessages": True or False, + "dropIvrMessages": True or False, + "dropVirtualAgentMessages": True or False, + }, + "contextSize": 42, + "dialogflowQuerySource": { + "agent": "A String", + "humanAgentSideConfig": { + "agent": "A String", + }, + }, + "documentQuerySource": { + "documents": [ + "A String", + ], + }, + "knowledgeBaseQuerySource": { + "knowledgeBases": [ + "A String", + ], + }, + "maxResults": 42, + "sections": { + "sectionTypes": [ + "A String", + ], + }, + }, + "raiSettings": { + "raiCategoryConfigs": [ + { + "category": "A String", + "sensitivityLevel": "A String", + }, + ], + }, + "suggestionFeature": { + "type": "A String", + }, + "suggestionTriggerSettings": { + "noSmalltalk": True or False, + "onlyEndUser": True or False, + }, + }, + ], + "generators": [ + "A String", + ], + "groupSuggestionResponses": True or False, + "skipEmptyEventBasedSuggestion": True or False, + "useUnredactedConversationData": True or False, + }, + "messageAnalysisConfig": { + "enableEntityExtraction": True or False, + "enableSentimentAnalysis": True or False, + "enableSentimentAnalysisV3": True or False, + }, + "notificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + }, + "humanAgentHandoffConfig": { + "livePersonConfig": { + "accountNumber": "A String", + }, + "salesforceLiveAgentConfig": { + "buttonId": "A String", + "deploymentId": "A String", + "endpointDomain": "A String", + "organizationId": "A String", + }, + }, + "languageCode": "A String", + "loggingConfig": { + "enableStackdriverLogging": True or False, + }, + "name": "A String", + "newMessageEventNotificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "newRecognitionResultNotificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "notificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "securitySettings": "A String", + "sttConfig": { + "audioEncoding": "A String", + "enableWordInfo": True or False, + "languageCode": "A String", + "model": "A String", + "phraseSets": [ + "A String", + ], + "sampleRateHertz": 42, + "speechModelVariant": "A String", + "useTimeoutBasedEndpointing": True or False, + }, + "timeZone": "A String", + "ttsConfig": { + "effectsProfileId": [ + "A String", + ], + "pitch": 3.14, + "pronunciations": [ + { + "phoneticEncoding": "A String", + "phrase": "A String", + "pronunciation": "A String", + }, + ], + "speakingRate": 3.14, + "voice": { + "name": "A String", + "ssmlGender": "A String", + }, + "volumeGainDb": 3.14, + }, + "updateTime": "A String", + }, + "initialGeneratorContexts": { + "a_key": { + "generatorType": "A String", + }, + }, "lifecycleState": "A String", "name": "A String", "phoneNumber": { @@ -206,6 +438,238 @@

Method Details

"updateMode": "A String", }, }, + "initialConversationProfile": { + "automatedAgentConfig": { + "agent": "A String", + "sessionTtl": "A String", + }, + "createTime": "A String", + "displayName": "A String", + "humanAgentAssistantConfig": { + "endUserSuggestionConfig": { + "disableHighLatencyFeaturesSyncDelivery": True or False, + "enableAsyncToolCall": True or False, + "featureConfigs": [ + { + "conversationModelConfig": { + "baselineModelVersion": "A String", + "model": "A String", + }, + "conversationProcessConfig": { + "recentSentencesCount": 42, + }, + "disableAgentQueryLogging": True or False, + "enableConversationAugmentedQuery": True or False, + "enableEventBasedSuggestion": True or False, + "enableQuerySuggestionOnly": True or False, + "enableQuerySuggestionWhenNoAnswer": True or False, + "enableResponseDebugInfo": True or False, + "queryConfig": { + "confidenceThreshold": 3.14, + "contextFilterSettings": { + "dropHandoffMessages": True or False, + "dropIvrMessages": True or False, + "dropVirtualAgentMessages": True or False, + }, + "contextSize": 42, + "dialogflowQuerySource": { + "agent": "A String", + "humanAgentSideConfig": { + "agent": "A String", + }, + }, + "documentQuerySource": { + "documents": [ + "A String", + ], + }, + "knowledgeBaseQuerySource": { + "knowledgeBases": [ + "A String", + ], + }, + "maxResults": 42, + "sections": { + "sectionTypes": [ + "A String", + ], + }, + }, + "raiSettings": { + "raiCategoryConfigs": [ + { + "category": "A String", + "sensitivityLevel": "A String", + }, + ], + }, + "suggestionFeature": { + "type": "A String", + }, + "suggestionTriggerSettings": { + "noSmalltalk": True or False, + "onlyEndUser": True or False, + }, + }, + ], + "generators": [ + "A String", + ], + "groupSuggestionResponses": True or False, + "skipEmptyEventBasedSuggestion": True or False, + "useUnredactedConversationData": True or False, + }, + "humanAgentSuggestionConfig": { + "disableHighLatencyFeaturesSyncDelivery": True or False, + "enableAsyncToolCall": True or False, + "featureConfigs": [ + { + "conversationModelConfig": { + "baselineModelVersion": "A String", + "model": "A String", + }, + "conversationProcessConfig": { + "recentSentencesCount": 42, + }, + "disableAgentQueryLogging": True or False, + "enableConversationAugmentedQuery": True or False, + "enableEventBasedSuggestion": True or False, + "enableQuerySuggestionOnly": True or False, + "enableQuerySuggestionWhenNoAnswer": True or False, + "enableResponseDebugInfo": True or False, + "queryConfig": { + "confidenceThreshold": 3.14, + "contextFilterSettings": { + "dropHandoffMessages": True or False, + "dropIvrMessages": True or False, + "dropVirtualAgentMessages": True or False, + }, + "contextSize": 42, + "dialogflowQuerySource": { + "agent": "A String", + "humanAgentSideConfig": { + "agent": "A String", + }, + }, + "documentQuerySource": { + "documents": [ + "A String", + ], + }, + "knowledgeBaseQuerySource": { + "knowledgeBases": [ + "A String", + ], + }, + "maxResults": 42, + "sections": { + "sectionTypes": [ + "A String", + ], + }, + }, + "raiSettings": { + "raiCategoryConfigs": [ + { + "category": "A String", + "sensitivityLevel": "A String", + }, + ], + }, + "suggestionFeature": { + "type": "A String", + }, + "suggestionTriggerSettings": { + "noSmalltalk": True or False, + "onlyEndUser": True or False, + }, + }, + ], + "generators": [ + "A String", + ], + "groupSuggestionResponses": True or False, + "skipEmptyEventBasedSuggestion": True or False, + "useUnredactedConversationData": True or False, + }, + "messageAnalysisConfig": { + "enableEntityExtraction": True or False, + "enableSentimentAnalysis": True or False, + "enableSentimentAnalysisV3": True or False, + }, + "notificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + }, + "humanAgentHandoffConfig": { + "livePersonConfig": { + "accountNumber": "A String", + }, + "salesforceLiveAgentConfig": { + "buttonId": "A String", + "deploymentId": "A String", + "endpointDomain": "A String", + "organizationId": "A String", + }, + }, + "languageCode": "A String", + "loggingConfig": { + "enableStackdriverLogging": True or False, + }, + "name": "A String", + "newMessageEventNotificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "newRecognitionResultNotificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "notificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "securitySettings": "A String", + "sttConfig": { + "audioEncoding": "A String", + "enableWordInfo": True or False, + "languageCode": "A String", + "model": "A String", + "phraseSets": [ + "A String", + ], + "sampleRateHertz": 42, + "speechModelVariant": "A String", + "useTimeoutBasedEndpointing": True or False, + }, + "timeZone": "A String", + "ttsConfig": { + "effectsProfileId": [ + "A String", + ], + "pitch": 3.14, + "pronunciations": [ + { + "phoneticEncoding": "A String", + "phrase": "A String", + "pronunciation": "A String", + }, + ], + "speakingRate": 3.14, + "voice": { + "name": "A String", + "ssmlGender": "A String", + }, + "volumeGainDb": 3.14, + }, + "updateTime": "A String", + }, + "initialGeneratorContexts": { + "a_key": { + "generatorType": "A String", + }, + }, "lifecycleState": "A String", "name": "A String", "phoneNumber": { @@ -259,6 +723,238 @@

Method Details

"updateMode": "A String", }, }, + "initialConversationProfile": { + "automatedAgentConfig": { + "agent": "A String", + "sessionTtl": "A String", + }, + "createTime": "A String", + "displayName": "A String", + "humanAgentAssistantConfig": { + "endUserSuggestionConfig": { + "disableHighLatencyFeaturesSyncDelivery": True or False, + "enableAsyncToolCall": True or False, + "featureConfigs": [ + { + "conversationModelConfig": { + "baselineModelVersion": "A String", + "model": "A String", + }, + "conversationProcessConfig": { + "recentSentencesCount": 42, + }, + "disableAgentQueryLogging": True or False, + "enableConversationAugmentedQuery": True or False, + "enableEventBasedSuggestion": True or False, + "enableQuerySuggestionOnly": True or False, + "enableQuerySuggestionWhenNoAnswer": True or False, + "enableResponseDebugInfo": True or False, + "queryConfig": { + "confidenceThreshold": 3.14, + "contextFilterSettings": { + "dropHandoffMessages": True or False, + "dropIvrMessages": True or False, + "dropVirtualAgentMessages": True or False, + }, + "contextSize": 42, + "dialogflowQuerySource": { + "agent": "A String", + "humanAgentSideConfig": { + "agent": "A String", + }, + }, + "documentQuerySource": { + "documents": [ + "A String", + ], + }, + "knowledgeBaseQuerySource": { + "knowledgeBases": [ + "A String", + ], + }, + "maxResults": 42, + "sections": { + "sectionTypes": [ + "A String", + ], + }, + }, + "raiSettings": { + "raiCategoryConfigs": [ + { + "category": "A String", + "sensitivityLevel": "A String", + }, + ], + }, + "suggestionFeature": { + "type": "A String", + }, + "suggestionTriggerSettings": { + "noSmalltalk": True or False, + "onlyEndUser": True or False, + }, + }, + ], + "generators": [ + "A String", + ], + "groupSuggestionResponses": True or False, + "skipEmptyEventBasedSuggestion": True or False, + "useUnredactedConversationData": True or False, + }, + "humanAgentSuggestionConfig": { + "disableHighLatencyFeaturesSyncDelivery": True or False, + "enableAsyncToolCall": True or False, + "featureConfigs": [ + { + "conversationModelConfig": { + "baselineModelVersion": "A String", + "model": "A String", + }, + "conversationProcessConfig": { + "recentSentencesCount": 42, + }, + "disableAgentQueryLogging": True or False, + "enableConversationAugmentedQuery": True or False, + "enableEventBasedSuggestion": True or False, + "enableQuerySuggestionOnly": True or False, + "enableQuerySuggestionWhenNoAnswer": True or False, + "enableResponseDebugInfo": True or False, + "queryConfig": { + "confidenceThreshold": 3.14, + "contextFilterSettings": { + "dropHandoffMessages": True or False, + "dropIvrMessages": True or False, + "dropVirtualAgentMessages": True or False, + }, + "contextSize": 42, + "dialogflowQuerySource": { + "agent": "A String", + "humanAgentSideConfig": { + "agent": "A String", + }, + }, + "documentQuerySource": { + "documents": [ + "A String", + ], + }, + "knowledgeBaseQuerySource": { + "knowledgeBases": [ + "A String", + ], + }, + "maxResults": 42, + "sections": { + "sectionTypes": [ + "A String", + ], + }, + }, + "raiSettings": { + "raiCategoryConfigs": [ + { + "category": "A String", + "sensitivityLevel": "A String", + }, + ], + }, + "suggestionFeature": { + "type": "A String", + }, + "suggestionTriggerSettings": { + "noSmalltalk": True or False, + "onlyEndUser": True or False, + }, + }, + ], + "generators": [ + "A String", + ], + "groupSuggestionResponses": True or False, + "skipEmptyEventBasedSuggestion": True or False, + "useUnredactedConversationData": True or False, + }, + "messageAnalysisConfig": { + "enableEntityExtraction": True or False, + "enableSentimentAnalysis": True or False, + "enableSentimentAnalysisV3": True or False, + }, + "notificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + }, + "humanAgentHandoffConfig": { + "livePersonConfig": { + "accountNumber": "A String", + }, + "salesforceLiveAgentConfig": { + "buttonId": "A String", + "deploymentId": "A String", + "endpointDomain": "A String", + "organizationId": "A String", + }, + }, + "languageCode": "A String", + "loggingConfig": { + "enableStackdriverLogging": True or False, + }, + "name": "A String", + "newMessageEventNotificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "newRecognitionResultNotificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "notificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "securitySettings": "A String", + "sttConfig": { + "audioEncoding": "A String", + "enableWordInfo": True or False, + "languageCode": "A String", + "model": "A String", + "phraseSets": [ + "A String", + ], + "sampleRateHertz": 42, + "speechModelVariant": "A String", + "useTimeoutBasedEndpointing": True or False, + }, + "timeZone": "A String", + "ttsConfig": { + "effectsProfileId": [ + "A String", + ], + "pitch": 3.14, + "pronunciations": [ + { + "phoneticEncoding": "A String", + "phrase": "A String", + "pronunciation": "A String", + }, + ], + "speakingRate": 3.14, + "voice": { + "name": "A String", + "ssmlGender": "A String", + }, + "volumeGainDb": 3.14, + }, + "updateTime": "A String", + }, + "initialGeneratorContexts": { + "a_key": { + "generatorType": "A String", + }, + }, "lifecycleState": "A String", "name": "A String", "phoneNumber": { @@ -318,6 +1014,238 @@

Method Details

"updateMode": "A String", }, }, + "initialConversationProfile": { + "automatedAgentConfig": { + "agent": "A String", + "sessionTtl": "A String", + }, + "createTime": "A String", + "displayName": "A String", + "humanAgentAssistantConfig": { + "endUserSuggestionConfig": { + "disableHighLatencyFeaturesSyncDelivery": True or False, + "enableAsyncToolCall": True or False, + "featureConfigs": [ + { + "conversationModelConfig": { + "baselineModelVersion": "A String", + "model": "A String", + }, + "conversationProcessConfig": { + "recentSentencesCount": 42, + }, + "disableAgentQueryLogging": True or False, + "enableConversationAugmentedQuery": True or False, + "enableEventBasedSuggestion": True or False, + "enableQuerySuggestionOnly": True or False, + "enableQuerySuggestionWhenNoAnswer": True or False, + "enableResponseDebugInfo": True or False, + "queryConfig": { + "confidenceThreshold": 3.14, + "contextFilterSettings": { + "dropHandoffMessages": True or False, + "dropIvrMessages": True or False, + "dropVirtualAgentMessages": True or False, + }, + "contextSize": 42, + "dialogflowQuerySource": { + "agent": "A String", + "humanAgentSideConfig": { + "agent": "A String", + }, + }, + "documentQuerySource": { + "documents": [ + "A String", + ], + }, + "knowledgeBaseQuerySource": { + "knowledgeBases": [ + "A String", + ], + }, + "maxResults": 42, + "sections": { + "sectionTypes": [ + "A String", + ], + }, + }, + "raiSettings": { + "raiCategoryConfigs": [ + { + "category": "A String", + "sensitivityLevel": "A String", + }, + ], + }, + "suggestionFeature": { + "type": "A String", + }, + "suggestionTriggerSettings": { + "noSmalltalk": True or False, + "onlyEndUser": True or False, + }, + }, + ], + "generators": [ + "A String", + ], + "groupSuggestionResponses": True or False, + "skipEmptyEventBasedSuggestion": True or False, + "useUnredactedConversationData": True or False, + }, + "humanAgentSuggestionConfig": { + "disableHighLatencyFeaturesSyncDelivery": True or False, + "enableAsyncToolCall": True or False, + "featureConfigs": [ + { + "conversationModelConfig": { + "baselineModelVersion": "A String", + "model": "A String", + }, + "conversationProcessConfig": { + "recentSentencesCount": 42, + }, + "disableAgentQueryLogging": True or False, + "enableConversationAugmentedQuery": True or False, + "enableEventBasedSuggestion": True or False, + "enableQuerySuggestionOnly": True or False, + "enableQuerySuggestionWhenNoAnswer": True or False, + "enableResponseDebugInfo": True or False, + "queryConfig": { + "confidenceThreshold": 3.14, + "contextFilterSettings": { + "dropHandoffMessages": True or False, + "dropIvrMessages": True or False, + "dropVirtualAgentMessages": True or False, + }, + "contextSize": 42, + "dialogflowQuerySource": { + "agent": "A String", + "humanAgentSideConfig": { + "agent": "A String", + }, + }, + "documentQuerySource": { + "documents": [ + "A String", + ], + }, + "knowledgeBaseQuerySource": { + "knowledgeBases": [ + "A String", + ], + }, + "maxResults": 42, + "sections": { + "sectionTypes": [ + "A String", + ], + }, + }, + "raiSettings": { + "raiCategoryConfigs": [ + { + "category": "A String", + "sensitivityLevel": "A String", + }, + ], + }, + "suggestionFeature": { + "type": "A String", + }, + "suggestionTriggerSettings": { + "noSmalltalk": True or False, + "onlyEndUser": True or False, + }, + }, + ], + "generators": [ + "A String", + ], + "groupSuggestionResponses": True or False, + "skipEmptyEventBasedSuggestion": True or False, + "useUnredactedConversationData": True or False, + }, + "messageAnalysisConfig": { + "enableEntityExtraction": True or False, + "enableSentimentAnalysis": True or False, + "enableSentimentAnalysisV3": True or False, + }, + "notificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + }, + "humanAgentHandoffConfig": { + "livePersonConfig": { + "accountNumber": "A String", + }, + "salesforceLiveAgentConfig": { + "buttonId": "A String", + "deploymentId": "A String", + "endpointDomain": "A String", + "organizationId": "A String", + }, + }, + "languageCode": "A String", + "loggingConfig": { + "enableStackdriverLogging": True or False, + }, + "name": "A String", + "newMessageEventNotificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "newRecognitionResultNotificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "notificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "securitySettings": "A String", + "sttConfig": { + "audioEncoding": "A String", + "enableWordInfo": True or False, + "languageCode": "A String", + "model": "A String", + "phraseSets": [ + "A String", + ], + "sampleRateHertz": 42, + "speechModelVariant": "A String", + "useTimeoutBasedEndpointing": True or False, + }, + "timeZone": "A String", + "ttsConfig": { + "effectsProfileId": [ + "A String", + ], + "pitch": 3.14, + "pronunciations": [ + { + "phoneticEncoding": "A String", + "phrase": "A String", + "pronunciation": "A String", + }, + ], + "speakingRate": 3.14, + "voice": { + "name": "A String", + "ssmlGender": "A String", + }, + "volumeGainDb": 3.14, + }, + "updateTime": "A String", + }, + "initialGeneratorContexts": { + "a_key": { + "generatorType": "A String", + }, + }, "lifecycleState": "A String", "name": "A String", "phoneNumber": { @@ -382,6 +1310,238 @@

Method Details

"updateMode": "A String", }, }, + "initialConversationProfile": { + "automatedAgentConfig": { + "agent": "A String", + "sessionTtl": "A String", + }, + "createTime": "A String", + "displayName": "A String", + "humanAgentAssistantConfig": { + "endUserSuggestionConfig": { + "disableHighLatencyFeaturesSyncDelivery": True or False, + "enableAsyncToolCall": True or False, + "featureConfigs": [ + { + "conversationModelConfig": { + "baselineModelVersion": "A String", + "model": "A String", + }, + "conversationProcessConfig": { + "recentSentencesCount": 42, + }, + "disableAgentQueryLogging": True or False, + "enableConversationAugmentedQuery": True or False, + "enableEventBasedSuggestion": True or False, + "enableQuerySuggestionOnly": True or False, + "enableQuerySuggestionWhenNoAnswer": True or False, + "enableResponseDebugInfo": True or False, + "queryConfig": { + "confidenceThreshold": 3.14, + "contextFilterSettings": { + "dropHandoffMessages": True or False, + "dropIvrMessages": True or False, + "dropVirtualAgentMessages": True or False, + }, + "contextSize": 42, + "dialogflowQuerySource": { + "agent": "A String", + "humanAgentSideConfig": { + "agent": "A String", + }, + }, + "documentQuerySource": { + "documents": [ + "A String", + ], + }, + "knowledgeBaseQuerySource": { + "knowledgeBases": [ + "A String", + ], + }, + "maxResults": 42, + "sections": { + "sectionTypes": [ + "A String", + ], + }, + }, + "raiSettings": { + "raiCategoryConfigs": [ + { + "category": "A String", + "sensitivityLevel": "A String", + }, + ], + }, + "suggestionFeature": { + "type": "A String", + }, + "suggestionTriggerSettings": { + "noSmalltalk": True or False, + "onlyEndUser": True or False, + }, + }, + ], + "generators": [ + "A String", + ], + "groupSuggestionResponses": True or False, + "skipEmptyEventBasedSuggestion": True or False, + "useUnredactedConversationData": True or False, + }, + "humanAgentSuggestionConfig": { + "disableHighLatencyFeaturesSyncDelivery": True or False, + "enableAsyncToolCall": True or False, + "featureConfigs": [ + { + "conversationModelConfig": { + "baselineModelVersion": "A String", + "model": "A String", + }, + "conversationProcessConfig": { + "recentSentencesCount": 42, + }, + "disableAgentQueryLogging": True or False, + "enableConversationAugmentedQuery": True or False, + "enableEventBasedSuggestion": True or False, + "enableQuerySuggestionOnly": True or False, + "enableQuerySuggestionWhenNoAnswer": True or False, + "enableResponseDebugInfo": True or False, + "queryConfig": { + "confidenceThreshold": 3.14, + "contextFilterSettings": { + "dropHandoffMessages": True or False, + "dropIvrMessages": True or False, + "dropVirtualAgentMessages": True or False, + }, + "contextSize": 42, + "dialogflowQuerySource": { + "agent": "A String", + "humanAgentSideConfig": { + "agent": "A String", + }, + }, + "documentQuerySource": { + "documents": [ + "A String", + ], + }, + "knowledgeBaseQuerySource": { + "knowledgeBases": [ + "A String", + ], + }, + "maxResults": 42, + "sections": { + "sectionTypes": [ + "A String", + ], + }, + }, + "raiSettings": { + "raiCategoryConfigs": [ + { + "category": "A String", + "sensitivityLevel": "A String", + }, + ], + }, + "suggestionFeature": { + "type": "A String", + }, + "suggestionTriggerSettings": { + "noSmalltalk": True or False, + "onlyEndUser": True or False, + }, + }, + ], + "generators": [ + "A String", + ], + "groupSuggestionResponses": True or False, + "skipEmptyEventBasedSuggestion": True or False, + "useUnredactedConversationData": True or False, + }, + "messageAnalysisConfig": { + "enableEntityExtraction": True or False, + "enableSentimentAnalysis": True or False, + "enableSentimentAnalysisV3": True or False, + }, + "notificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + }, + "humanAgentHandoffConfig": { + "livePersonConfig": { + "accountNumber": "A String", + }, + "salesforceLiveAgentConfig": { + "buttonId": "A String", + "deploymentId": "A String", + "endpointDomain": "A String", + "organizationId": "A String", + }, + }, + "languageCode": "A String", + "loggingConfig": { + "enableStackdriverLogging": True or False, + }, + "name": "A String", + "newMessageEventNotificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "newRecognitionResultNotificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "notificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "securitySettings": "A String", + "sttConfig": { + "audioEncoding": "A String", + "enableWordInfo": True or False, + "languageCode": "A String", + "model": "A String", + "phraseSets": [ + "A String", + ], + "sampleRateHertz": 42, + "speechModelVariant": "A String", + "useTimeoutBasedEndpointing": True or False, + }, + "timeZone": "A String", + "ttsConfig": { + "effectsProfileId": [ + "A String", + ], + "pitch": 3.14, + "pronunciations": [ + { + "phoneticEncoding": "A String", + "phrase": "A String", + "pronunciation": "A String", + }, + ], + "speakingRate": 3.14, + "voice": { + "name": "A String", + "ssmlGender": "A String", + }, + "volumeGainDb": 3.14, + }, + "updateTime": "A String", + }, + "initialGeneratorContexts": { + "a_key": { + "generatorType": "A String", + }, + }, "lifecycleState": "A String", "name": "A String", "phoneNumber": { diff --git a/docs/dyn/dialogflow_v2.projects.locations.conversations.html b/docs/dyn/dialogflow_v2.projects.locations.conversations.html index 4282f570f8..b1cb31273a 100644 --- a/docs/dyn/dialogflow_v2.projects.locations.conversations.html +++ b/docs/dyn/dialogflow_v2.projects.locations.conversations.html @@ -155,6 +155,238 @@

Method Details

"updateMode": "A String", }, }, + "initialConversationProfile": { + "automatedAgentConfig": { + "agent": "A String", + "sessionTtl": "A String", + }, + "createTime": "A String", + "displayName": "A String", + "humanAgentAssistantConfig": { + "endUserSuggestionConfig": { + "disableHighLatencyFeaturesSyncDelivery": True or False, + "enableAsyncToolCall": True or False, + "featureConfigs": [ + { + "conversationModelConfig": { + "baselineModelVersion": "A String", + "model": "A String", + }, + "conversationProcessConfig": { + "recentSentencesCount": 42, + }, + "disableAgentQueryLogging": True or False, + "enableConversationAugmentedQuery": True or False, + "enableEventBasedSuggestion": True or False, + "enableQuerySuggestionOnly": True or False, + "enableQuerySuggestionWhenNoAnswer": True or False, + "enableResponseDebugInfo": True or False, + "queryConfig": { + "confidenceThreshold": 3.14, + "contextFilterSettings": { + "dropHandoffMessages": True or False, + "dropIvrMessages": True or False, + "dropVirtualAgentMessages": True or False, + }, + "contextSize": 42, + "dialogflowQuerySource": { + "agent": "A String", + "humanAgentSideConfig": { + "agent": "A String", + }, + }, + "documentQuerySource": { + "documents": [ + "A String", + ], + }, + "knowledgeBaseQuerySource": { + "knowledgeBases": [ + "A String", + ], + }, + "maxResults": 42, + "sections": { + "sectionTypes": [ + "A String", + ], + }, + }, + "raiSettings": { + "raiCategoryConfigs": [ + { + "category": "A String", + "sensitivityLevel": "A String", + }, + ], + }, + "suggestionFeature": { + "type": "A String", + }, + "suggestionTriggerSettings": { + "noSmalltalk": True or False, + "onlyEndUser": True or False, + }, + }, + ], + "generators": [ + "A String", + ], + "groupSuggestionResponses": True or False, + "skipEmptyEventBasedSuggestion": True or False, + "useUnredactedConversationData": True or False, + }, + "humanAgentSuggestionConfig": { + "disableHighLatencyFeaturesSyncDelivery": True or False, + "enableAsyncToolCall": True or False, + "featureConfigs": [ + { + "conversationModelConfig": { + "baselineModelVersion": "A String", + "model": "A String", + }, + "conversationProcessConfig": { + "recentSentencesCount": 42, + }, + "disableAgentQueryLogging": True or False, + "enableConversationAugmentedQuery": True or False, + "enableEventBasedSuggestion": True or False, + "enableQuerySuggestionOnly": True or False, + "enableQuerySuggestionWhenNoAnswer": True or False, + "enableResponseDebugInfo": True or False, + "queryConfig": { + "confidenceThreshold": 3.14, + "contextFilterSettings": { + "dropHandoffMessages": True or False, + "dropIvrMessages": True or False, + "dropVirtualAgentMessages": True or False, + }, + "contextSize": 42, + "dialogflowQuerySource": { + "agent": "A String", + "humanAgentSideConfig": { + "agent": "A String", + }, + }, + "documentQuerySource": { + "documents": [ + "A String", + ], + }, + "knowledgeBaseQuerySource": { + "knowledgeBases": [ + "A String", + ], + }, + "maxResults": 42, + "sections": { + "sectionTypes": [ + "A String", + ], + }, + }, + "raiSettings": { + "raiCategoryConfigs": [ + { + "category": "A String", + "sensitivityLevel": "A String", + }, + ], + }, + "suggestionFeature": { + "type": "A String", + }, + "suggestionTriggerSettings": { + "noSmalltalk": True or False, + "onlyEndUser": True or False, + }, + }, + ], + "generators": [ + "A String", + ], + "groupSuggestionResponses": True or False, + "skipEmptyEventBasedSuggestion": True or False, + "useUnredactedConversationData": True or False, + }, + "messageAnalysisConfig": { + "enableEntityExtraction": True or False, + "enableSentimentAnalysis": True or False, + "enableSentimentAnalysisV3": True or False, + }, + "notificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + }, + "humanAgentHandoffConfig": { + "livePersonConfig": { + "accountNumber": "A String", + }, + "salesforceLiveAgentConfig": { + "buttonId": "A String", + "deploymentId": "A String", + "endpointDomain": "A String", + "organizationId": "A String", + }, + }, + "languageCode": "A String", + "loggingConfig": { + "enableStackdriverLogging": True or False, + }, + "name": "A String", + "newMessageEventNotificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "newRecognitionResultNotificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "notificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "securitySettings": "A String", + "sttConfig": { + "audioEncoding": "A String", + "enableWordInfo": True or False, + "languageCode": "A String", + "model": "A String", + "phraseSets": [ + "A String", + ], + "sampleRateHertz": 42, + "speechModelVariant": "A String", + "useTimeoutBasedEndpointing": True or False, + }, + "timeZone": "A String", + "ttsConfig": { + "effectsProfileId": [ + "A String", + ], + "pitch": 3.14, + "pronunciations": [ + { + "phoneticEncoding": "A String", + "phrase": "A String", + "pronunciation": "A String", + }, + ], + "speakingRate": 3.14, + "voice": { + "name": "A String", + "ssmlGender": "A String", + }, + "volumeGainDb": 3.14, + }, + "updateTime": "A String", + }, + "initialGeneratorContexts": { + "a_key": { + "generatorType": "A String", + }, + }, "lifecycleState": "A String", "name": "A String", "phoneNumber": { @@ -209,6 +441,238 @@

Method Details

"updateMode": "A String", }, }, + "initialConversationProfile": { + "automatedAgentConfig": { + "agent": "A String", + "sessionTtl": "A String", + }, + "createTime": "A String", + "displayName": "A String", + "humanAgentAssistantConfig": { + "endUserSuggestionConfig": { + "disableHighLatencyFeaturesSyncDelivery": True or False, + "enableAsyncToolCall": True or False, + "featureConfigs": [ + { + "conversationModelConfig": { + "baselineModelVersion": "A String", + "model": "A String", + }, + "conversationProcessConfig": { + "recentSentencesCount": 42, + }, + "disableAgentQueryLogging": True or False, + "enableConversationAugmentedQuery": True or False, + "enableEventBasedSuggestion": True or False, + "enableQuerySuggestionOnly": True or False, + "enableQuerySuggestionWhenNoAnswer": True or False, + "enableResponseDebugInfo": True or False, + "queryConfig": { + "confidenceThreshold": 3.14, + "contextFilterSettings": { + "dropHandoffMessages": True or False, + "dropIvrMessages": True or False, + "dropVirtualAgentMessages": True or False, + }, + "contextSize": 42, + "dialogflowQuerySource": { + "agent": "A String", + "humanAgentSideConfig": { + "agent": "A String", + }, + }, + "documentQuerySource": { + "documents": [ + "A String", + ], + }, + "knowledgeBaseQuerySource": { + "knowledgeBases": [ + "A String", + ], + }, + "maxResults": 42, + "sections": { + "sectionTypes": [ + "A String", + ], + }, + }, + "raiSettings": { + "raiCategoryConfigs": [ + { + "category": "A String", + "sensitivityLevel": "A String", + }, + ], + }, + "suggestionFeature": { + "type": "A String", + }, + "suggestionTriggerSettings": { + "noSmalltalk": True or False, + "onlyEndUser": True or False, + }, + }, + ], + "generators": [ + "A String", + ], + "groupSuggestionResponses": True or False, + "skipEmptyEventBasedSuggestion": True or False, + "useUnredactedConversationData": True or False, + }, + "humanAgentSuggestionConfig": { + "disableHighLatencyFeaturesSyncDelivery": True or False, + "enableAsyncToolCall": True or False, + "featureConfigs": [ + { + "conversationModelConfig": { + "baselineModelVersion": "A String", + "model": "A String", + }, + "conversationProcessConfig": { + "recentSentencesCount": 42, + }, + "disableAgentQueryLogging": True or False, + "enableConversationAugmentedQuery": True or False, + "enableEventBasedSuggestion": True or False, + "enableQuerySuggestionOnly": True or False, + "enableQuerySuggestionWhenNoAnswer": True or False, + "enableResponseDebugInfo": True or False, + "queryConfig": { + "confidenceThreshold": 3.14, + "contextFilterSettings": { + "dropHandoffMessages": True or False, + "dropIvrMessages": True or False, + "dropVirtualAgentMessages": True or False, + }, + "contextSize": 42, + "dialogflowQuerySource": { + "agent": "A String", + "humanAgentSideConfig": { + "agent": "A String", + }, + }, + "documentQuerySource": { + "documents": [ + "A String", + ], + }, + "knowledgeBaseQuerySource": { + "knowledgeBases": [ + "A String", + ], + }, + "maxResults": 42, + "sections": { + "sectionTypes": [ + "A String", + ], + }, + }, + "raiSettings": { + "raiCategoryConfigs": [ + { + "category": "A String", + "sensitivityLevel": "A String", + }, + ], + }, + "suggestionFeature": { + "type": "A String", + }, + "suggestionTriggerSettings": { + "noSmalltalk": True or False, + "onlyEndUser": True or False, + }, + }, + ], + "generators": [ + "A String", + ], + "groupSuggestionResponses": True or False, + "skipEmptyEventBasedSuggestion": True or False, + "useUnredactedConversationData": True or False, + }, + "messageAnalysisConfig": { + "enableEntityExtraction": True or False, + "enableSentimentAnalysis": True or False, + "enableSentimentAnalysisV3": True or False, + }, + "notificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + }, + "humanAgentHandoffConfig": { + "livePersonConfig": { + "accountNumber": "A String", + }, + "salesforceLiveAgentConfig": { + "buttonId": "A String", + "deploymentId": "A String", + "endpointDomain": "A String", + "organizationId": "A String", + }, + }, + "languageCode": "A String", + "loggingConfig": { + "enableStackdriverLogging": True or False, + }, + "name": "A String", + "newMessageEventNotificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "newRecognitionResultNotificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "notificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "securitySettings": "A String", + "sttConfig": { + "audioEncoding": "A String", + "enableWordInfo": True or False, + "languageCode": "A String", + "model": "A String", + "phraseSets": [ + "A String", + ], + "sampleRateHertz": 42, + "speechModelVariant": "A String", + "useTimeoutBasedEndpointing": True or False, + }, + "timeZone": "A String", + "ttsConfig": { + "effectsProfileId": [ + "A String", + ], + "pitch": 3.14, + "pronunciations": [ + { + "phoneticEncoding": "A String", + "phrase": "A String", + "pronunciation": "A String", + }, + ], + "speakingRate": 3.14, + "voice": { + "name": "A String", + "ssmlGender": "A String", + }, + "volumeGainDb": 3.14, + }, + "updateTime": "A String", + }, + "initialGeneratorContexts": { + "a_key": { + "generatorType": "A String", + }, + }, "lifecycleState": "A String", "name": "A String", "phoneNumber": { @@ -262,6 +726,238 @@

Method Details

"updateMode": "A String", }, }, + "initialConversationProfile": { + "automatedAgentConfig": { + "agent": "A String", + "sessionTtl": "A String", + }, + "createTime": "A String", + "displayName": "A String", + "humanAgentAssistantConfig": { + "endUserSuggestionConfig": { + "disableHighLatencyFeaturesSyncDelivery": True or False, + "enableAsyncToolCall": True or False, + "featureConfigs": [ + { + "conversationModelConfig": { + "baselineModelVersion": "A String", + "model": "A String", + }, + "conversationProcessConfig": { + "recentSentencesCount": 42, + }, + "disableAgentQueryLogging": True or False, + "enableConversationAugmentedQuery": True or False, + "enableEventBasedSuggestion": True or False, + "enableQuerySuggestionOnly": True or False, + "enableQuerySuggestionWhenNoAnswer": True or False, + "enableResponseDebugInfo": True or False, + "queryConfig": { + "confidenceThreshold": 3.14, + "contextFilterSettings": { + "dropHandoffMessages": True or False, + "dropIvrMessages": True or False, + "dropVirtualAgentMessages": True or False, + }, + "contextSize": 42, + "dialogflowQuerySource": { + "agent": "A String", + "humanAgentSideConfig": { + "agent": "A String", + }, + }, + "documentQuerySource": { + "documents": [ + "A String", + ], + }, + "knowledgeBaseQuerySource": { + "knowledgeBases": [ + "A String", + ], + }, + "maxResults": 42, + "sections": { + "sectionTypes": [ + "A String", + ], + }, + }, + "raiSettings": { + "raiCategoryConfigs": [ + { + "category": "A String", + "sensitivityLevel": "A String", + }, + ], + }, + "suggestionFeature": { + "type": "A String", + }, + "suggestionTriggerSettings": { + "noSmalltalk": True or False, + "onlyEndUser": True or False, + }, + }, + ], + "generators": [ + "A String", + ], + "groupSuggestionResponses": True or False, + "skipEmptyEventBasedSuggestion": True or False, + "useUnredactedConversationData": True or False, + }, + "humanAgentSuggestionConfig": { + "disableHighLatencyFeaturesSyncDelivery": True or False, + "enableAsyncToolCall": True or False, + "featureConfigs": [ + { + "conversationModelConfig": { + "baselineModelVersion": "A String", + "model": "A String", + }, + "conversationProcessConfig": { + "recentSentencesCount": 42, + }, + "disableAgentQueryLogging": True or False, + "enableConversationAugmentedQuery": True or False, + "enableEventBasedSuggestion": True or False, + "enableQuerySuggestionOnly": True or False, + "enableQuerySuggestionWhenNoAnswer": True or False, + "enableResponseDebugInfo": True or False, + "queryConfig": { + "confidenceThreshold": 3.14, + "contextFilterSettings": { + "dropHandoffMessages": True or False, + "dropIvrMessages": True or False, + "dropVirtualAgentMessages": True or False, + }, + "contextSize": 42, + "dialogflowQuerySource": { + "agent": "A String", + "humanAgentSideConfig": { + "agent": "A String", + }, + }, + "documentQuerySource": { + "documents": [ + "A String", + ], + }, + "knowledgeBaseQuerySource": { + "knowledgeBases": [ + "A String", + ], + }, + "maxResults": 42, + "sections": { + "sectionTypes": [ + "A String", + ], + }, + }, + "raiSettings": { + "raiCategoryConfigs": [ + { + "category": "A String", + "sensitivityLevel": "A String", + }, + ], + }, + "suggestionFeature": { + "type": "A String", + }, + "suggestionTriggerSettings": { + "noSmalltalk": True or False, + "onlyEndUser": True or False, + }, + }, + ], + "generators": [ + "A String", + ], + "groupSuggestionResponses": True or False, + "skipEmptyEventBasedSuggestion": True or False, + "useUnredactedConversationData": True or False, + }, + "messageAnalysisConfig": { + "enableEntityExtraction": True or False, + "enableSentimentAnalysis": True or False, + "enableSentimentAnalysisV3": True or False, + }, + "notificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + }, + "humanAgentHandoffConfig": { + "livePersonConfig": { + "accountNumber": "A String", + }, + "salesforceLiveAgentConfig": { + "buttonId": "A String", + "deploymentId": "A String", + "endpointDomain": "A String", + "organizationId": "A String", + }, + }, + "languageCode": "A String", + "loggingConfig": { + "enableStackdriverLogging": True or False, + }, + "name": "A String", + "newMessageEventNotificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "newRecognitionResultNotificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "notificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "securitySettings": "A String", + "sttConfig": { + "audioEncoding": "A String", + "enableWordInfo": True or False, + "languageCode": "A String", + "model": "A String", + "phraseSets": [ + "A String", + ], + "sampleRateHertz": 42, + "speechModelVariant": "A String", + "useTimeoutBasedEndpointing": True or False, + }, + "timeZone": "A String", + "ttsConfig": { + "effectsProfileId": [ + "A String", + ], + "pitch": 3.14, + "pronunciations": [ + { + "phoneticEncoding": "A String", + "phrase": "A String", + "pronunciation": "A String", + }, + ], + "speakingRate": 3.14, + "voice": { + "name": "A String", + "ssmlGender": "A String", + }, + "volumeGainDb": 3.14, + }, + "updateTime": "A String", + }, + "initialGeneratorContexts": { + "a_key": { + "generatorType": "A String", + }, + }, "lifecycleState": "A String", "name": "A String", "phoneNumber": { @@ -321,6 +1017,238 @@

Method Details

"updateMode": "A String", }, }, + "initialConversationProfile": { + "automatedAgentConfig": { + "agent": "A String", + "sessionTtl": "A String", + }, + "createTime": "A String", + "displayName": "A String", + "humanAgentAssistantConfig": { + "endUserSuggestionConfig": { + "disableHighLatencyFeaturesSyncDelivery": True or False, + "enableAsyncToolCall": True or False, + "featureConfigs": [ + { + "conversationModelConfig": { + "baselineModelVersion": "A String", + "model": "A String", + }, + "conversationProcessConfig": { + "recentSentencesCount": 42, + }, + "disableAgentQueryLogging": True or False, + "enableConversationAugmentedQuery": True or False, + "enableEventBasedSuggestion": True or False, + "enableQuerySuggestionOnly": True or False, + "enableQuerySuggestionWhenNoAnswer": True or False, + "enableResponseDebugInfo": True or False, + "queryConfig": { + "confidenceThreshold": 3.14, + "contextFilterSettings": { + "dropHandoffMessages": True or False, + "dropIvrMessages": True or False, + "dropVirtualAgentMessages": True or False, + }, + "contextSize": 42, + "dialogflowQuerySource": { + "agent": "A String", + "humanAgentSideConfig": { + "agent": "A String", + }, + }, + "documentQuerySource": { + "documents": [ + "A String", + ], + }, + "knowledgeBaseQuerySource": { + "knowledgeBases": [ + "A String", + ], + }, + "maxResults": 42, + "sections": { + "sectionTypes": [ + "A String", + ], + }, + }, + "raiSettings": { + "raiCategoryConfigs": [ + { + "category": "A String", + "sensitivityLevel": "A String", + }, + ], + }, + "suggestionFeature": { + "type": "A String", + }, + "suggestionTriggerSettings": { + "noSmalltalk": True or False, + "onlyEndUser": True or False, + }, + }, + ], + "generators": [ + "A String", + ], + "groupSuggestionResponses": True or False, + "skipEmptyEventBasedSuggestion": True or False, + "useUnredactedConversationData": True or False, + }, + "humanAgentSuggestionConfig": { + "disableHighLatencyFeaturesSyncDelivery": True or False, + "enableAsyncToolCall": True or False, + "featureConfigs": [ + { + "conversationModelConfig": { + "baselineModelVersion": "A String", + "model": "A String", + }, + "conversationProcessConfig": { + "recentSentencesCount": 42, + }, + "disableAgentQueryLogging": True or False, + "enableConversationAugmentedQuery": True or False, + "enableEventBasedSuggestion": True or False, + "enableQuerySuggestionOnly": True or False, + "enableQuerySuggestionWhenNoAnswer": True or False, + "enableResponseDebugInfo": True or False, + "queryConfig": { + "confidenceThreshold": 3.14, + "contextFilterSettings": { + "dropHandoffMessages": True or False, + "dropIvrMessages": True or False, + "dropVirtualAgentMessages": True or False, + }, + "contextSize": 42, + "dialogflowQuerySource": { + "agent": "A String", + "humanAgentSideConfig": { + "agent": "A String", + }, + }, + "documentQuerySource": { + "documents": [ + "A String", + ], + }, + "knowledgeBaseQuerySource": { + "knowledgeBases": [ + "A String", + ], + }, + "maxResults": 42, + "sections": { + "sectionTypes": [ + "A String", + ], + }, + }, + "raiSettings": { + "raiCategoryConfigs": [ + { + "category": "A String", + "sensitivityLevel": "A String", + }, + ], + }, + "suggestionFeature": { + "type": "A String", + }, + "suggestionTriggerSettings": { + "noSmalltalk": True or False, + "onlyEndUser": True or False, + }, + }, + ], + "generators": [ + "A String", + ], + "groupSuggestionResponses": True or False, + "skipEmptyEventBasedSuggestion": True or False, + "useUnredactedConversationData": True or False, + }, + "messageAnalysisConfig": { + "enableEntityExtraction": True or False, + "enableSentimentAnalysis": True or False, + "enableSentimentAnalysisV3": True or False, + }, + "notificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + }, + "humanAgentHandoffConfig": { + "livePersonConfig": { + "accountNumber": "A String", + }, + "salesforceLiveAgentConfig": { + "buttonId": "A String", + "deploymentId": "A String", + "endpointDomain": "A String", + "organizationId": "A String", + }, + }, + "languageCode": "A String", + "loggingConfig": { + "enableStackdriverLogging": True or False, + }, + "name": "A String", + "newMessageEventNotificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "newRecognitionResultNotificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "notificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "securitySettings": "A String", + "sttConfig": { + "audioEncoding": "A String", + "enableWordInfo": True or False, + "languageCode": "A String", + "model": "A String", + "phraseSets": [ + "A String", + ], + "sampleRateHertz": 42, + "speechModelVariant": "A String", + "useTimeoutBasedEndpointing": True or False, + }, + "timeZone": "A String", + "ttsConfig": { + "effectsProfileId": [ + "A String", + ], + "pitch": 3.14, + "pronunciations": [ + { + "phoneticEncoding": "A String", + "phrase": "A String", + "pronunciation": "A String", + }, + ], + "speakingRate": 3.14, + "voice": { + "name": "A String", + "ssmlGender": "A String", + }, + "volumeGainDb": 3.14, + }, + "updateTime": "A String", + }, + "initialGeneratorContexts": { + "a_key": { + "generatorType": "A String", + }, + }, "lifecycleState": "A String", "name": "A String", "phoneNumber": { @@ -439,6 +1367,238 @@

Method Details

"updateMode": "A String", }, }, + "initialConversationProfile": { + "automatedAgentConfig": { + "agent": "A String", + "sessionTtl": "A String", + }, + "createTime": "A String", + "displayName": "A String", + "humanAgentAssistantConfig": { + "endUserSuggestionConfig": { + "disableHighLatencyFeaturesSyncDelivery": True or False, + "enableAsyncToolCall": True or False, + "featureConfigs": [ + { + "conversationModelConfig": { + "baselineModelVersion": "A String", + "model": "A String", + }, + "conversationProcessConfig": { + "recentSentencesCount": 42, + }, + "disableAgentQueryLogging": True or False, + "enableConversationAugmentedQuery": True or False, + "enableEventBasedSuggestion": True or False, + "enableQuerySuggestionOnly": True or False, + "enableQuerySuggestionWhenNoAnswer": True or False, + "enableResponseDebugInfo": True or False, + "queryConfig": { + "confidenceThreshold": 3.14, + "contextFilterSettings": { + "dropHandoffMessages": True or False, + "dropIvrMessages": True or False, + "dropVirtualAgentMessages": True or False, + }, + "contextSize": 42, + "dialogflowQuerySource": { + "agent": "A String", + "humanAgentSideConfig": { + "agent": "A String", + }, + }, + "documentQuerySource": { + "documents": [ + "A String", + ], + }, + "knowledgeBaseQuerySource": { + "knowledgeBases": [ + "A String", + ], + }, + "maxResults": 42, + "sections": { + "sectionTypes": [ + "A String", + ], + }, + }, + "raiSettings": { + "raiCategoryConfigs": [ + { + "category": "A String", + "sensitivityLevel": "A String", + }, + ], + }, + "suggestionFeature": { + "type": "A String", + }, + "suggestionTriggerSettings": { + "noSmalltalk": True or False, + "onlyEndUser": True or False, + }, + }, + ], + "generators": [ + "A String", + ], + "groupSuggestionResponses": True or False, + "skipEmptyEventBasedSuggestion": True or False, + "useUnredactedConversationData": True or False, + }, + "humanAgentSuggestionConfig": { + "disableHighLatencyFeaturesSyncDelivery": True or False, + "enableAsyncToolCall": True or False, + "featureConfigs": [ + { + "conversationModelConfig": { + "baselineModelVersion": "A String", + "model": "A String", + }, + "conversationProcessConfig": { + "recentSentencesCount": 42, + }, + "disableAgentQueryLogging": True or False, + "enableConversationAugmentedQuery": True or False, + "enableEventBasedSuggestion": True or False, + "enableQuerySuggestionOnly": True or False, + "enableQuerySuggestionWhenNoAnswer": True or False, + "enableResponseDebugInfo": True or False, + "queryConfig": { + "confidenceThreshold": 3.14, + "contextFilterSettings": { + "dropHandoffMessages": True or False, + "dropIvrMessages": True or False, + "dropVirtualAgentMessages": True or False, + }, + "contextSize": 42, + "dialogflowQuerySource": { + "agent": "A String", + "humanAgentSideConfig": { + "agent": "A String", + }, + }, + "documentQuerySource": { + "documents": [ + "A String", + ], + }, + "knowledgeBaseQuerySource": { + "knowledgeBases": [ + "A String", + ], + }, + "maxResults": 42, + "sections": { + "sectionTypes": [ + "A String", + ], + }, + }, + "raiSettings": { + "raiCategoryConfigs": [ + { + "category": "A String", + "sensitivityLevel": "A String", + }, + ], + }, + "suggestionFeature": { + "type": "A String", + }, + "suggestionTriggerSettings": { + "noSmalltalk": True or False, + "onlyEndUser": True or False, + }, + }, + ], + "generators": [ + "A String", + ], + "groupSuggestionResponses": True or False, + "skipEmptyEventBasedSuggestion": True or False, + "useUnredactedConversationData": True or False, + }, + "messageAnalysisConfig": { + "enableEntityExtraction": True or False, + "enableSentimentAnalysis": True or False, + "enableSentimentAnalysisV3": True or False, + }, + "notificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + }, + "humanAgentHandoffConfig": { + "livePersonConfig": { + "accountNumber": "A String", + }, + "salesforceLiveAgentConfig": { + "buttonId": "A String", + "deploymentId": "A String", + "endpointDomain": "A String", + "organizationId": "A String", + }, + }, + "languageCode": "A String", + "loggingConfig": { + "enableStackdriverLogging": True or False, + }, + "name": "A String", + "newMessageEventNotificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "newRecognitionResultNotificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "notificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "securitySettings": "A String", + "sttConfig": { + "audioEncoding": "A String", + "enableWordInfo": True or False, + "languageCode": "A String", + "model": "A String", + "phraseSets": [ + "A String", + ], + "sampleRateHertz": 42, + "speechModelVariant": "A String", + "useTimeoutBasedEndpointing": True or False, + }, + "timeZone": "A String", + "ttsConfig": { + "effectsProfileId": [ + "A String", + ], + "pitch": 3.14, + "pronunciations": [ + { + "phoneticEncoding": "A String", + "phrase": "A String", + "pronunciation": "A String", + }, + ], + "speakingRate": 3.14, + "voice": { + "name": "A String", + "ssmlGender": "A String", + }, + "volumeGainDb": 3.14, + }, + "updateTime": "A String", + }, + "initialGeneratorContexts": { + "a_key": { + "generatorType": "A String", + }, + }, "lifecycleState": "A String", "name": "A String", "phoneNumber": { diff --git a/docs/dyn/dialogflow_v2beta1.projects.conversations.html b/docs/dyn/dialogflow_v2beta1.projects.conversations.html index a662f08aaf..e41b6a46ca 100644 --- a/docs/dyn/dialogflow_v2beta1.projects.conversations.html +++ b/docs/dyn/dialogflow_v2beta1.projects.conversations.html @@ -152,6 +152,239 @@

Method Details

"updateMode": "A String", }, }, + "initialConversationProfile": { + "automatedAgentConfig": { + "agent": "A String", + "sessionTtl": "A String", + }, + "createTime": "A String", + "displayName": "A String", + "humanAgentAssistantConfig": { + "endUserSuggestionConfig": { + "disableHighLatencyFeaturesSyncDelivery": True or False, + "enableAsyncToolCall": True or False, + "featureConfigs": [ + { + "conversationModelConfig": { + "baselineModelVersion": "A String", + "model": "A String", + }, + "conversationProcessConfig": { + "recentSentencesCount": 42, + }, + "disableAgentQueryLogging": True or False, + "enableConversationAugmentedQuery": True or False, + "enableEventBasedSuggestion": True or False, + "enableQuerySuggestionOnly": True or False, + "enableQuerySuggestionWhenNoAnswer": True or False, + "enableResponseDebugInfo": True or False, + "queryConfig": { + "confidenceThreshold": 3.14, + "contextFilterSettings": { + "dropHandoffMessages": True or False, + "dropIvrMessages": True or False, + "dropVirtualAgentMessages": True or False, + }, + "contextSize": 42, + "dialogflowQuerySource": { + "agent": "A String", + "humanAgentSideConfig": { + "agent": "A String", + }, + }, + "documentQuerySource": { + "documents": [ + "A String", + ], + }, + "knowledgeBaseQuerySource": { + "knowledgeBases": [ + "A String", + ], + }, + "maxResults": 42, + "sections": { + "sectionTypes": [ + "A String", + ], + }, + }, + "raiSettings": { + "raiCategoryConfigs": [ + { + "category": "A String", + "sensitivityLevel": "A String", + }, + ], + }, + "suggestionFeature": { + "type": "A String", + }, + "suggestionTriggerSettings": { + "noSmallTalk": True or False, + "onlyEndUser": True or False, + }, + }, + ], + "generators": [ + "A String", + ], + "groupSuggestionResponses": True or False, + "skipEmptyEventBasedSuggestion": True or False, + "useUnredactedConversationData": True or False, + }, + "humanAgentSuggestionConfig": { + "disableHighLatencyFeaturesSyncDelivery": True or False, + "enableAsyncToolCall": True or False, + "featureConfigs": [ + { + "conversationModelConfig": { + "baselineModelVersion": "A String", + "model": "A String", + }, + "conversationProcessConfig": { + "recentSentencesCount": 42, + }, + "disableAgentQueryLogging": True or False, + "enableConversationAugmentedQuery": True or False, + "enableEventBasedSuggestion": True or False, + "enableQuerySuggestionOnly": True or False, + "enableQuerySuggestionWhenNoAnswer": True or False, + "enableResponseDebugInfo": True or False, + "queryConfig": { + "confidenceThreshold": 3.14, + "contextFilterSettings": { + "dropHandoffMessages": True or False, + "dropIvrMessages": True or False, + "dropVirtualAgentMessages": True or False, + }, + "contextSize": 42, + "dialogflowQuerySource": { + "agent": "A String", + "humanAgentSideConfig": { + "agent": "A String", + }, + }, + "documentQuerySource": { + "documents": [ + "A String", + ], + }, + "knowledgeBaseQuerySource": { + "knowledgeBases": [ + "A String", + ], + }, + "maxResults": 42, + "sections": { + "sectionTypes": [ + "A String", + ], + }, + }, + "raiSettings": { + "raiCategoryConfigs": [ + { + "category": "A String", + "sensitivityLevel": "A String", + }, + ], + }, + "suggestionFeature": { + "type": "A String", + }, + "suggestionTriggerSettings": { + "noSmallTalk": True or False, + "onlyEndUser": True or False, + }, + }, + ], + "generators": [ + "A String", + ], + "groupSuggestionResponses": True or False, + "skipEmptyEventBasedSuggestion": True or False, + "useUnredactedConversationData": True or False, + }, + "messageAnalysisConfig": { + "enableEntityExtraction": True or False, + "enableSentimentAnalysis": True or False, + "enableSentimentAnalysisV3": True or False, + }, + "notificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + }, + "humanAgentHandoffConfig": { + "livePersonConfig": { + "accountNumber": "A String", + }, + "salesforceLiveAgentConfig": { + "buttonId": "A String", + "deploymentId": "A String", + "endpointDomain": "A String", + "organizationId": "A String", + }, + }, + "languageCode": "A String", + "loggingConfig": { + "enableStackdriverLogging": True or False, + }, + "name": "A String", + "newMessageEventNotificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "newRecognitionResultNotificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "notificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "securitySettings": "A String", + "sttConfig": { + "audioEncoding": "A String", + "enableWordInfo": True or False, + "languageCode": "A String", + "model": "A String", + "phraseSets": [ + "A String", + ], + "sampleRateHertz": 42, + "speechModelVariant": "A String", + "useTimeoutBasedEndpointing": True or False, + }, + "timeZone": "A String", + "ttsConfig": { + "effectsProfileId": [ + "A String", + ], + "pitch": 3.14, + "pronunciations": [ + { + "phoneticEncoding": "A String", + "phrase": "A String", + "pronunciation": "A String", + }, + ], + "speakingRate": 3.14, + "voice": { + "name": "A String", + "ssmlGender": "A String", + }, + "volumeGainDb": 3.14, + }, + "updateTime": "A String", + "useBidiStreaming": True or False, + }, + "initialGeneratorContexts": { + "a_key": { + "generatorType": "A String", + }, + }, "lifecycleState": "A String", "name": "A String", "phoneNumber": { @@ -206,6 +439,239 @@

Method Details

"updateMode": "A String", }, }, + "initialConversationProfile": { + "automatedAgentConfig": { + "agent": "A String", + "sessionTtl": "A String", + }, + "createTime": "A String", + "displayName": "A String", + "humanAgentAssistantConfig": { + "endUserSuggestionConfig": { + "disableHighLatencyFeaturesSyncDelivery": True or False, + "enableAsyncToolCall": True or False, + "featureConfigs": [ + { + "conversationModelConfig": { + "baselineModelVersion": "A String", + "model": "A String", + }, + "conversationProcessConfig": { + "recentSentencesCount": 42, + }, + "disableAgentQueryLogging": True or False, + "enableConversationAugmentedQuery": True or False, + "enableEventBasedSuggestion": True or False, + "enableQuerySuggestionOnly": True or False, + "enableQuerySuggestionWhenNoAnswer": True or False, + "enableResponseDebugInfo": True or False, + "queryConfig": { + "confidenceThreshold": 3.14, + "contextFilterSettings": { + "dropHandoffMessages": True or False, + "dropIvrMessages": True or False, + "dropVirtualAgentMessages": True or False, + }, + "contextSize": 42, + "dialogflowQuerySource": { + "agent": "A String", + "humanAgentSideConfig": { + "agent": "A String", + }, + }, + "documentQuerySource": { + "documents": [ + "A String", + ], + }, + "knowledgeBaseQuerySource": { + "knowledgeBases": [ + "A String", + ], + }, + "maxResults": 42, + "sections": { + "sectionTypes": [ + "A String", + ], + }, + }, + "raiSettings": { + "raiCategoryConfigs": [ + { + "category": "A String", + "sensitivityLevel": "A String", + }, + ], + }, + "suggestionFeature": { + "type": "A String", + }, + "suggestionTriggerSettings": { + "noSmallTalk": True or False, + "onlyEndUser": True or False, + }, + }, + ], + "generators": [ + "A String", + ], + "groupSuggestionResponses": True or False, + "skipEmptyEventBasedSuggestion": True or False, + "useUnredactedConversationData": True or False, + }, + "humanAgentSuggestionConfig": { + "disableHighLatencyFeaturesSyncDelivery": True or False, + "enableAsyncToolCall": True or False, + "featureConfigs": [ + { + "conversationModelConfig": { + "baselineModelVersion": "A String", + "model": "A String", + }, + "conversationProcessConfig": { + "recentSentencesCount": 42, + }, + "disableAgentQueryLogging": True or False, + "enableConversationAugmentedQuery": True or False, + "enableEventBasedSuggestion": True or False, + "enableQuerySuggestionOnly": True or False, + "enableQuerySuggestionWhenNoAnswer": True or False, + "enableResponseDebugInfo": True or False, + "queryConfig": { + "confidenceThreshold": 3.14, + "contextFilterSettings": { + "dropHandoffMessages": True or False, + "dropIvrMessages": True or False, + "dropVirtualAgentMessages": True or False, + }, + "contextSize": 42, + "dialogflowQuerySource": { + "agent": "A String", + "humanAgentSideConfig": { + "agent": "A String", + }, + }, + "documentQuerySource": { + "documents": [ + "A String", + ], + }, + "knowledgeBaseQuerySource": { + "knowledgeBases": [ + "A String", + ], + }, + "maxResults": 42, + "sections": { + "sectionTypes": [ + "A String", + ], + }, + }, + "raiSettings": { + "raiCategoryConfigs": [ + { + "category": "A String", + "sensitivityLevel": "A String", + }, + ], + }, + "suggestionFeature": { + "type": "A String", + }, + "suggestionTriggerSettings": { + "noSmallTalk": True or False, + "onlyEndUser": True or False, + }, + }, + ], + "generators": [ + "A String", + ], + "groupSuggestionResponses": True or False, + "skipEmptyEventBasedSuggestion": True or False, + "useUnredactedConversationData": True or False, + }, + "messageAnalysisConfig": { + "enableEntityExtraction": True or False, + "enableSentimentAnalysis": True or False, + "enableSentimentAnalysisV3": True or False, + }, + "notificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + }, + "humanAgentHandoffConfig": { + "livePersonConfig": { + "accountNumber": "A String", + }, + "salesforceLiveAgentConfig": { + "buttonId": "A String", + "deploymentId": "A String", + "endpointDomain": "A String", + "organizationId": "A String", + }, + }, + "languageCode": "A String", + "loggingConfig": { + "enableStackdriverLogging": True or False, + }, + "name": "A String", + "newMessageEventNotificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "newRecognitionResultNotificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "notificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "securitySettings": "A String", + "sttConfig": { + "audioEncoding": "A String", + "enableWordInfo": True or False, + "languageCode": "A String", + "model": "A String", + "phraseSets": [ + "A String", + ], + "sampleRateHertz": 42, + "speechModelVariant": "A String", + "useTimeoutBasedEndpointing": True or False, + }, + "timeZone": "A String", + "ttsConfig": { + "effectsProfileId": [ + "A String", + ], + "pitch": 3.14, + "pronunciations": [ + { + "phoneticEncoding": "A String", + "phrase": "A String", + "pronunciation": "A String", + }, + ], + "speakingRate": 3.14, + "voice": { + "name": "A String", + "ssmlGender": "A String", + }, + "volumeGainDb": 3.14, + }, + "updateTime": "A String", + "useBidiStreaming": True or False, + }, + "initialGeneratorContexts": { + "a_key": { + "generatorType": "A String", + }, + }, "lifecycleState": "A String", "name": "A String", "phoneNumber": { @@ -259,6 +725,239 @@

Method Details

"updateMode": "A String", }, }, + "initialConversationProfile": { + "automatedAgentConfig": { + "agent": "A String", + "sessionTtl": "A String", + }, + "createTime": "A String", + "displayName": "A String", + "humanAgentAssistantConfig": { + "endUserSuggestionConfig": { + "disableHighLatencyFeaturesSyncDelivery": True or False, + "enableAsyncToolCall": True or False, + "featureConfigs": [ + { + "conversationModelConfig": { + "baselineModelVersion": "A String", + "model": "A String", + }, + "conversationProcessConfig": { + "recentSentencesCount": 42, + }, + "disableAgentQueryLogging": True or False, + "enableConversationAugmentedQuery": True or False, + "enableEventBasedSuggestion": True or False, + "enableQuerySuggestionOnly": True or False, + "enableQuerySuggestionWhenNoAnswer": True or False, + "enableResponseDebugInfo": True or False, + "queryConfig": { + "confidenceThreshold": 3.14, + "contextFilterSettings": { + "dropHandoffMessages": True or False, + "dropIvrMessages": True or False, + "dropVirtualAgentMessages": True or False, + }, + "contextSize": 42, + "dialogflowQuerySource": { + "agent": "A String", + "humanAgentSideConfig": { + "agent": "A String", + }, + }, + "documentQuerySource": { + "documents": [ + "A String", + ], + }, + "knowledgeBaseQuerySource": { + "knowledgeBases": [ + "A String", + ], + }, + "maxResults": 42, + "sections": { + "sectionTypes": [ + "A String", + ], + }, + }, + "raiSettings": { + "raiCategoryConfigs": [ + { + "category": "A String", + "sensitivityLevel": "A String", + }, + ], + }, + "suggestionFeature": { + "type": "A String", + }, + "suggestionTriggerSettings": { + "noSmallTalk": True or False, + "onlyEndUser": True or False, + }, + }, + ], + "generators": [ + "A String", + ], + "groupSuggestionResponses": True or False, + "skipEmptyEventBasedSuggestion": True or False, + "useUnredactedConversationData": True or False, + }, + "humanAgentSuggestionConfig": { + "disableHighLatencyFeaturesSyncDelivery": True or False, + "enableAsyncToolCall": True or False, + "featureConfigs": [ + { + "conversationModelConfig": { + "baselineModelVersion": "A String", + "model": "A String", + }, + "conversationProcessConfig": { + "recentSentencesCount": 42, + }, + "disableAgentQueryLogging": True or False, + "enableConversationAugmentedQuery": True or False, + "enableEventBasedSuggestion": True or False, + "enableQuerySuggestionOnly": True or False, + "enableQuerySuggestionWhenNoAnswer": True or False, + "enableResponseDebugInfo": True or False, + "queryConfig": { + "confidenceThreshold": 3.14, + "contextFilterSettings": { + "dropHandoffMessages": True or False, + "dropIvrMessages": True or False, + "dropVirtualAgentMessages": True or False, + }, + "contextSize": 42, + "dialogflowQuerySource": { + "agent": "A String", + "humanAgentSideConfig": { + "agent": "A String", + }, + }, + "documentQuerySource": { + "documents": [ + "A String", + ], + }, + "knowledgeBaseQuerySource": { + "knowledgeBases": [ + "A String", + ], + }, + "maxResults": 42, + "sections": { + "sectionTypes": [ + "A String", + ], + }, + }, + "raiSettings": { + "raiCategoryConfigs": [ + { + "category": "A String", + "sensitivityLevel": "A String", + }, + ], + }, + "suggestionFeature": { + "type": "A String", + }, + "suggestionTriggerSettings": { + "noSmallTalk": True or False, + "onlyEndUser": True or False, + }, + }, + ], + "generators": [ + "A String", + ], + "groupSuggestionResponses": True or False, + "skipEmptyEventBasedSuggestion": True or False, + "useUnredactedConversationData": True or False, + }, + "messageAnalysisConfig": { + "enableEntityExtraction": True or False, + "enableSentimentAnalysis": True or False, + "enableSentimentAnalysisV3": True or False, + }, + "notificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + }, + "humanAgentHandoffConfig": { + "livePersonConfig": { + "accountNumber": "A String", + }, + "salesforceLiveAgentConfig": { + "buttonId": "A String", + "deploymentId": "A String", + "endpointDomain": "A String", + "organizationId": "A String", + }, + }, + "languageCode": "A String", + "loggingConfig": { + "enableStackdriverLogging": True or False, + }, + "name": "A String", + "newMessageEventNotificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "newRecognitionResultNotificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "notificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "securitySettings": "A String", + "sttConfig": { + "audioEncoding": "A String", + "enableWordInfo": True or False, + "languageCode": "A String", + "model": "A String", + "phraseSets": [ + "A String", + ], + "sampleRateHertz": 42, + "speechModelVariant": "A String", + "useTimeoutBasedEndpointing": True or False, + }, + "timeZone": "A String", + "ttsConfig": { + "effectsProfileId": [ + "A String", + ], + "pitch": 3.14, + "pronunciations": [ + { + "phoneticEncoding": "A String", + "phrase": "A String", + "pronunciation": "A String", + }, + ], + "speakingRate": 3.14, + "voice": { + "name": "A String", + "ssmlGender": "A String", + }, + "volumeGainDb": 3.14, + }, + "updateTime": "A String", + "useBidiStreaming": True or False, + }, + "initialGeneratorContexts": { + "a_key": { + "generatorType": "A String", + }, + }, "lifecycleState": "A String", "name": "A String", "phoneNumber": { @@ -318,6 +1017,239 @@

Method Details

"updateMode": "A String", }, }, + "initialConversationProfile": { + "automatedAgentConfig": { + "agent": "A String", + "sessionTtl": "A String", + }, + "createTime": "A String", + "displayName": "A String", + "humanAgentAssistantConfig": { + "endUserSuggestionConfig": { + "disableHighLatencyFeaturesSyncDelivery": True or False, + "enableAsyncToolCall": True or False, + "featureConfigs": [ + { + "conversationModelConfig": { + "baselineModelVersion": "A String", + "model": "A String", + }, + "conversationProcessConfig": { + "recentSentencesCount": 42, + }, + "disableAgentQueryLogging": True or False, + "enableConversationAugmentedQuery": True or False, + "enableEventBasedSuggestion": True or False, + "enableQuerySuggestionOnly": True or False, + "enableQuerySuggestionWhenNoAnswer": True or False, + "enableResponseDebugInfo": True or False, + "queryConfig": { + "confidenceThreshold": 3.14, + "contextFilterSettings": { + "dropHandoffMessages": True or False, + "dropIvrMessages": True or False, + "dropVirtualAgentMessages": True or False, + }, + "contextSize": 42, + "dialogflowQuerySource": { + "agent": "A String", + "humanAgentSideConfig": { + "agent": "A String", + }, + }, + "documentQuerySource": { + "documents": [ + "A String", + ], + }, + "knowledgeBaseQuerySource": { + "knowledgeBases": [ + "A String", + ], + }, + "maxResults": 42, + "sections": { + "sectionTypes": [ + "A String", + ], + }, + }, + "raiSettings": { + "raiCategoryConfigs": [ + { + "category": "A String", + "sensitivityLevel": "A String", + }, + ], + }, + "suggestionFeature": { + "type": "A String", + }, + "suggestionTriggerSettings": { + "noSmallTalk": True or False, + "onlyEndUser": True or False, + }, + }, + ], + "generators": [ + "A String", + ], + "groupSuggestionResponses": True or False, + "skipEmptyEventBasedSuggestion": True or False, + "useUnredactedConversationData": True or False, + }, + "humanAgentSuggestionConfig": { + "disableHighLatencyFeaturesSyncDelivery": True or False, + "enableAsyncToolCall": True or False, + "featureConfigs": [ + { + "conversationModelConfig": { + "baselineModelVersion": "A String", + "model": "A String", + }, + "conversationProcessConfig": { + "recentSentencesCount": 42, + }, + "disableAgentQueryLogging": True or False, + "enableConversationAugmentedQuery": True or False, + "enableEventBasedSuggestion": True or False, + "enableQuerySuggestionOnly": True or False, + "enableQuerySuggestionWhenNoAnswer": True or False, + "enableResponseDebugInfo": True or False, + "queryConfig": { + "confidenceThreshold": 3.14, + "contextFilterSettings": { + "dropHandoffMessages": True or False, + "dropIvrMessages": True or False, + "dropVirtualAgentMessages": True or False, + }, + "contextSize": 42, + "dialogflowQuerySource": { + "agent": "A String", + "humanAgentSideConfig": { + "agent": "A String", + }, + }, + "documentQuerySource": { + "documents": [ + "A String", + ], + }, + "knowledgeBaseQuerySource": { + "knowledgeBases": [ + "A String", + ], + }, + "maxResults": 42, + "sections": { + "sectionTypes": [ + "A String", + ], + }, + }, + "raiSettings": { + "raiCategoryConfigs": [ + { + "category": "A String", + "sensitivityLevel": "A String", + }, + ], + }, + "suggestionFeature": { + "type": "A String", + }, + "suggestionTriggerSettings": { + "noSmallTalk": True or False, + "onlyEndUser": True or False, + }, + }, + ], + "generators": [ + "A String", + ], + "groupSuggestionResponses": True or False, + "skipEmptyEventBasedSuggestion": True or False, + "useUnredactedConversationData": True or False, + }, + "messageAnalysisConfig": { + "enableEntityExtraction": True or False, + "enableSentimentAnalysis": True or False, + "enableSentimentAnalysisV3": True or False, + }, + "notificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + }, + "humanAgentHandoffConfig": { + "livePersonConfig": { + "accountNumber": "A String", + }, + "salesforceLiveAgentConfig": { + "buttonId": "A String", + "deploymentId": "A String", + "endpointDomain": "A String", + "organizationId": "A String", + }, + }, + "languageCode": "A String", + "loggingConfig": { + "enableStackdriverLogging": True or False, + }, + "name": "A String", + "newMessageEventNotificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "newRecognitionResultNotificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "notificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "securitySettings": "A String", + "sttConfig": { + "audioEncoding": "A String", + "enableWordInfo": True or False, + "languageCode": "A String", + "model": "A String", + "phraseSets": [ + "A String", + ], + "sampleRateHertz": 42, + "speechModelVariant": "A String", + "useTimeoutBasedEndpointing": True or False, + }, + "timeZone": "A String", + "ttsConfig": { + "effectsProfileId": [ + "A String", + ], + "pitch": 3.14, + "pronunciations": [ + { + "phoneticEncoding": "A String", + "phrase": "A String", + "pronunciation": "A String", + }, + ], + "speakingRate": 3.14, + "voice": { + "name": "A String", + "ssmlGender": "A String", + }, + "volumeGainDb": 3.14, + }, + "updateTime": "A String", + "useBidiStreaming": True or False, + }, + "initialGeneratorContexts": { + "a_key": { + "generatorType": "A String", + }, + }, "lifecycleState": "A String", "name": "A String", "phoneNumber": { @@ -382,6 +1314,239 @@

Method Details

"updateMode": "A String", }, }, + "initialConversationProfile": { + "automatedAgentConfig": { + "agent": "A String", + "sessionTtl": "A String", + }, + "createTime": "A String", + "displayName": "A String", + "humanAgentAssistantConfig": { + "endUserSuggestionConfig": { + "disableHighLatencyFeaturesSyncDelivery": True or False, + "enableAsyncToolCall": True or False, + "featureConfigs": [ + { + "conversationModelConfig": { + "baselineModelVersion": "A String", + "model": "A String", + }, + "conversationProcessConfig": { + "recentSentencesCount": 42, + }, + "disableAgentQueryLogging": True or False, + "enableConversationAugmentedQuery": True or False, + "enableEventBasedSuggestion": True or False, + "enableQuerySuggestionOnly": True or False, + "enableQuerySuggestionWhenNoAnswer": True or False, + "enableResponseDebugInfo": True or False, + "queryConfig": { + "confidenceThreshold": 3.14, + "contextFilterSettings": { + "dropHandoffMessages": True or False, + "dropIvrMessages": True or False, + "dropVirtualAgentMessages": True or False, + }, + "contextSize": 42, + "dialogflowQuerySource": { + "agent": "A String", + "humanAgentSideConfig": { + "agent": "A String", + }, + }, + "documentQuerySource": { + "documents": [ + "A String", + ], + }, + "knowledgeBaseQuerySource": { + "knowledgeBases": [ + "A String", + ], + }, + "maxResults": 42, + "sections": { + "sectionTypes": [ + "A String", + ], + }, + }, + "raiSettings": { + "raiCategoryConfigs": [ + { + "category": "A String", + "sensitivityLevel": "A String", + }, + ], + }, + "suggestionFeature": { + "type": "A String", + }, + "suggestionTriggerSettings": { + "noSmallTalk": True or False, + "onlyEndUser": True or False, + }, + }, + ], + "generators": [ + "A String", + ], + "groupSuggestionResponses": True or False, + "skipEmptyEventBasedSuggestion": True or False, + "useUnredactedConversationData": True or False, + }, + "humanAgentSuggestionConfig": { + "disableHighLatencyFeaturesSyncDelivery": True or False, + "enableAsyncToolCall": True or False, + "featureConfigs": [ + { + "conversationModelConfig": { + "baselineModelVersion": "A String", + "model": "A String", + }, + "conversationProcessConfig": { + "recentSentencesCount": 42, + }, + "disableAgentQueryLogging": True or False, + "enableConversationAugmentedQuery": True or False, + "enableEventBasedSuggestion": True or False, + "enableQuerySuggestionOnly": True or False, + "enableQuerySuggestionWhenNoAnswer": True or False, + "enableResponseDebugInfo": True or False, + "queryConfig": { + "confidenceThreshold": 3.14, + "contextFilterSettings": { + "dropHandoffMessages": True or False, + "dropIvrMessages": True or False, + "dropVirtualAgentMessages": True or False, + }, + "contextSize": 42, + "dialogflowQuerySource": { + "agent": "A String", + "humanAgentSideConfig": { + "agent": "A String", + }, + }, + "documentQuerySource": { + "documents": [ + "A String", + ], + }, + "knowledgeBaseQuerySource": { + "knowledgeBases": [ + "A String", + ], + }, + "maxResults": 42, + "sections": { + "sectionTypes": [ + "A String", + ], + }, + }, + "raiSettings": { + "raiCategoryConfigs": [ + { + "category": "A String", + "sensitivityLevel": "A String", + }, + ], + }, + "suggestionFeature": { + "type": "A String", + }, + "suggestionTriggerSettings": { + "noSmallTalk": True or False, + "onlyEndUser": True or False, + }, + }, + ], + "generators": [ + "A String", + ], + "groupSuggestionResponses": True or False, + "skipEmptyEventBasedSuggestion": True or False, + "useUnredactedConversationData": True or False, + }, + "messageAnalysisConfig": { + "enableEntityExtraction": True or False, + "enableSentimentAnalysis": True or False, + "enableSentimentAnalysisV3": True or False, + }, + "notificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + }, + "humanAgentHandoffConfig": { + "livePersonConfig": { + "accountNumber": "A String", + }, + "salesforceLiveAgentConfig": { + "buttonId": "A String", + "deploymentId": "A String", + "endpointDomain": "A String", + "organizationId": "A String", + }, + }, + "languageCode": "A String", + "loggingConfig": { + "enableStackdriverLogging": True or False, + }, + "name": "A String", + "newMessageEventNotificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "newRecognitionResultNotificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "notificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "securitySettings": "A String", + "sttConfig": { + "audioEncoding": "A String", + "enableWordInfo": True or False, + "languageCode": "A String", + "model": "A String", + "phraseSets": [ + "A String", + ], + "sampleRateHertz": 42, + "speechModelVariant": "A String", + "useTimeoutBasedEndpointing": True or False, + }, + "timeZone": "A String", + "ttsConfig": { + "effectsProfileId": [ + "A String", + ], + "pitch": 3.14, + "pronunciations": [ + { + "phoneticEncoding": "A String", + "phrase": "A String", + "pronunciation": "A String", + }, + ], + "speakingRate": 3.14, + "voice": { + "name": "A String", + "ssmlGender": "A String", + }, + "volumeGainDb": 3.14, + }, + "updateTime": "A String", + "useBidiStreaming": True or False, + }, + "initialGeneratorContexts": { + "a_key": { + "generatorType": "A String", + }, + }, "lifecycleState": "A String", "name": "A String", "phoneNumber": { diff --git a/docs/dyn/dialogflow_v2beta1.projects.locations.conversations.html b/docs/dyn/dialogflow_v2beta1.projects.locations.conversations.html index c857beb5d6..0f1ddad56e 100644 --- a/docs/dyn/dialogflow_v2beta1.projects.locations.conversations.html +++ b/docs/dyn/dialogflow_v2beta1.projects.locations.conversations.html @@ -155,6 +155,239 @@

Method Details

"updateMode": "A String", }, }, + "initialConversationProfile": { + "automatedAgentConfig": { + "agent": "A String", + "sessionTtl": "A String", + }, + "createTime": "A String", + "displayName": "A String", + "humanAgentAssistantConfig": { + "endUserSuggestionConfig": { + "disableHighLatencyFeaturesSyncDelivery": True or False, + "enableAsyncToolCall": True or False, + "featureConfigs": [ + { + "conversationModelConfig": { + "baselineModelVersion": "A String", + "model": "A String", + }, + "conversationProcessConfig": { + "recentSentencesCount": 42, + }, + "disableAgentQueryLogging": True or False, + "enableConversationAugmentedQuery": True or False, + "enableEventBasedSuggestion": True or False, + "enableQuerySuggestionOnly": True or False, + "enableQuerySuggestionWhenNoAnswer": True or False, + "enableResponseDebugInfo": True or False, + "queryConfig": { + "confidenceThreshold": 3.14, + "contextFilterSettings": { + "dropHandoffMessages": True or False, + "dropIvrMessages": True or False, + "dropVirtualAgentMessages": True or False, + }, + "contextSize": 42, + "dialogflowQuerySource": { + "agent": "A String", + "humanAgentSideConfig": { + "agent": "A String", + }, + }, + "documentQuerySource": { + "documents": [ + "A String", + ], + }, + "knowledgeBaseQuerySource": { + "knowledgeBases": [ + "A String", + ], + }, + "maxResults": 42, + "sections": { + "sectionTypes": [ + "A String", + ], + }, + }, + "raiSettings": { + "raiCategoryConfigs": [ + { + "category": "A String", + "sensitivityLevel": "A String", + }, + ], + }, + "suggestionFeature": { + "type": "A String", + }, + "suggestionTriggerSettings": { + "noSmallTalk": True or False, + "onlyEndUser": True or False, + }, + }, + ], + "generators": [ + "A String", + ], + "groupSuggestionResponses": True or False, + "skipEmptyEventBasedSuggestion": True or False, + "useUnredactedConversationData": True or False, + }, + "humanAgentSuggestionConfig": { + "disableHighLatencyFeaturesSyncDelivery": True or False, + "enableAsyncToolCall": True or False, + "featureConfigs": [ + { + "conversationModelConfig": { + "baselineModelVersion": "A String", + "model": "A String", + }, + "conversationProcessConfig": { + "recentSentencesCount": 42, + }, + "disableAgentQueryLogging": True or False, + "enableConversationAugmentedQuery": True or False, + "enableEventBasedSuggestion": True or False, + "enableQuerySuggestionOnly": True or False, + "enableQuerySuggestionWhenNoAnswer": True or False, + "enableResponseDebugInfo": True or False, + "queryConfig": { + "confidenceThreshold": 3.14, + "contextFilterSettings": { + "dropHandoffMessages": True or False, + "dropIvrMessages": True or False, + "dropVirtualAgentMessages": True or False, + }, + "contextSize": 42, + "dialogflowQuerySource": { + "agent": "A String", + "humanAgentSideConfig": { + "agent": "A String", + }, + }, + "documentQuerySource": { + "documents": [ + "A String", + ], + }, + "knowledgeBaseQuerySource": { + "knowledgeBases": [ + "A String", + ], + }, + "maxResults": 42, + "sections": { + "sectionTypes": [ + "A String", + ], + }, + }, + "raiSettings": { + "raiCategoryConfigs": [ + { + "category": "A String", + "sensitivityLevel": "A String", + }, + ], + }, + "suggestionFeature": { + "type": "A String", + }, + "suggestionTriggerSettings": { + "noSmallTalk": True or False, + "onlyEndUser": True or False, + }, + }, + ], + "generators": [ + "A String", + ], + "groupSuggestionResponses": True or False, + "skipEmptyEventBasedSuggestion": True or False, + "useUnredactedConversationData": True or False, + }, + "messageAnalysisConfig": { + "enableEntityExtraction": True or False, + "enableSentimentAnalysis": True or False, + "enableSentimentAnalysisV3": True or False, + }, + "notificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + }, + "humanAgentHandoffConfig": { + "livePersonConfig": { + "accountNumber": "A String", + }, + "salesforceLiveAgentConfig": { + "buttonId": "A String", + "deploymentId": "A String", + "endpointDomain": "A String", + "organizationId": "A String", + }, + }, + "languageCode": "A String", + "loggingConfig": { + "enableStackdriverLogging": True or False, + }, + "name": "A String", + "newMessageEventNotificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "newRecognitionResultNotificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "notificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "securitySettings": "A String", + "sttConfig": { + "audioEncoding": "A String", + "enableWordInfo": True or False, + "languageCode": "A String", + "model": "A String", + "phraseSets": [ + "A String", + ], + "sampleRateHertz": 42, + "speechModelVariant": "A String", + "useTimeoutBasedEndpointing": True or False, + }, + "timeZone": "A String", + "ttsConfig": { + "effectsProfileId": [ + "A String", + ], + "pitch": 3.14, + "pronunciations": [ + { + "phoneticEncoding": "A String", + "phrase": "A String", + "pronunciation": "A String", + }, + ], + "speakingRate": 3.14, + "voice": { + "name": "A String", + "ssmlGender": "A String", + }, + "volumeGainDb": 3.14, + }, + "updateTime": "A String", + "useBidiStreaming": True or False, + }, + "initialGeneratorContexts": { + "a_key": { + "generatorType": "A String", + }, + }, "lifecycleState": "A String", "name": "A String", "phoneNumber": { @@ -209,6 +442,239 @@

Method Details

"updateMode": "A String", }, }, + "initialConversationProfile": { + "automatedAgentConfig": { + "agent": "A String", + "sessionTtl": "A String", + }, + "createTime": "A String", + "displayName": "A String", + "humanAgentAssistantConfig": { + "endUserSuggestionConfig": { + "disableHighLatencyFeaturesSyncDelivery": True or False, + "enableAsyncToolCall": True or False, + "featureConfigs": [ + { + "conversationModelConfig": { + "baselineModelVersion": "A String", + "model": "A String", + }, + "conversationProcessConfig": { + "recentSentencesCount": 42, + }, + "disableAgentQueryLogging": True or False, + "enableConversationAugmentedQuery": True or False, + "enableEventBasedSuggestion": True or False, + "enableQuerySuggestionOnly": True or False, + "enableQuerySuggestionWhenNoAnswer": True or False, + "enableResponseDebugInfo": True or False, + "queryConfig": { + "confidenceThreshold": 3.14, + "contextFilterSettings": { + "dropHandoffMessages": True or False, + "dropIvrMessages": True or False, + "dropVirtualAgentMessages": True or False, + }, + "contextSize": 42, + "dialogflowQuerySource": { + "agent": "A String", + "humanAgentSideConfig": { + "agent": "A String", + }, + }, + "documentQuerySource": { + "documents": [ + "A String", + ], + }, + "knowledgeBaseQuerySource": { + "knowledgeBases": [ + "A String", + ], + }, + "maxResults": 42, + "sections": { + "sectionTypes": [ + "A String", + ], + }, + }, + "raiSettings": { + "raiCategoryConfigs": [ + { + "category": "A String", + "sensitivityLevel": "A String", + }, + ], + }, + "suggestionFeature": { + "type": "A String", + }, + "suggestionTriggerSettings": { + "noSmallTalk": True or False, + "onlyEndUser": True or False, + }, + }, + ], + "generators": [ + "A String", + ], + "groupSuggestionResponses": True or False, + "skipEmptyEventBasedSuggestion": True or False, + "useUnredactedConversationData": True or False, + }, + "humanAgentSuggestionConfig": { + "disableHighLatencyFeaturesSyncDelivery": True or False, + "enableAsyncToolCall": True or False, + "featureConfigs": [ + { + "conversationModelConfig": { + "baselineModelVersion": "A String", + "model": "A String", + }, + "conversationProcessConfig": { + "recentSentencesCount": 42, + }, + "disableAgentQueryLogging": True or False, + "enableConversationAugmentedQuery": True or False, + "enableEventBasedSuggestion": True or False, + "enableQuerySuggestionOnly": True or False, + "enableQuerySuggestionWhenNoAnswer": True or False, + "enableResponseDebugInfo": True or False, + "queryConfig": { + "confidenceThreshold": 3.14, + "contextFilterSettings": { + "dropHandoffMessages": True or False, + "dropIvrMessages": True or False, + "dropVirtualAgentMessages": True or False, + }, + "contextSize": 42, + "dialogflowQuerySource": { + "agent": "A String", + "humanAgentSideConfig": { + "agent": "A String", + }, + }, + "documentQuerySource": { + "documents": [ + "A String", + ], + }, + "knowledgeBaseQuerySource": { + "knowledgeBases": [ + "A String", + ], + }, + "maxResults": 42, + "sections": { + "sectionTypes": [ + "A String", + ], + }, + }, + "raiSettings": { + "raiCategoryConfigs": [ + { + "category": "A String", + "sensitivityLevel": "A String", + }, + ], + }, + "suggestionFeature": { + "type": "A String", + }, + "suggestionTriggerSettings": { + "noSmallTalk": True or False, + "onlyEndUser": True or False, + }, + }, + ], + "generators": [ + "A String", + ], + "groupSuggestionResponses": True or False, + "skipEmptyEventBasedSuggestion": True or False, + "useUnredactedConversationData": True or False, + }, + "messageAnalysisConfig": { + "enableEntityExtraction": True or False, + "enableSentimentAnalysis": True or False, + "enableSentimentAnalysisV3": True or False, + }, + "notificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + }, + "humanAgentHandoffConfig": { + "livePersonConfig": { + "accountNumber": "A String", + }, + "salesforceLiveAgentConfig": { + "buttonId": "A String", + "deploymentId": "A String", + "endpointDomain": "A String", + "organizationId": "A String", + }, + }, + "languageCode": "A String", + "loggingConfig": { + "enableStackdriverLogging": True or False, + }, + "name": "A String", + "newMessageEventNotificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "newRecognitionResultNotificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "notificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "securitySettings": "A String", + "sttConfig": { + "audioEncoding": "A String", + "enableWordInfo": True or False, + "languageCode": "A String", + "model": "A String", + "phraseSets": [ + "A String", + ], + "sampleRateHertz": 42, + "speechModelVariant": "A String", + "useTimeoutBasedEndpointing": True or False, + }, + "timeZone": "A String", + "ttsConfig": { + "effectsProfileId": [ + "A String", + ], + "pitch": 3.14, + "pronunciations": [ + { + "phoneticEncoding": "A String", + "phrase": "A String", + "pronunciation": "A String", + }, + ], + "speakingRate": 3.14, + "voice": { + "name": "A String", + "ssmlGender": "A String", + }, + "volumeGainDb": 3.14, + }, + "updateTime": "A String", + "useBidiStreaming": True or False, + }, + "initialGeneratorContexts": { + "a_key": { + "generatorType": "A String", + }, + }, "lifecycleState": "A String", "name": "A String", "phoneNumber": { @@ -262,6 +728,239 @@

Method Details

"updateMode": "A String", }, }, + "initialConversationProfile": { + "automatedAgentConfig": { + "agent": "A String", + "sessionTtl": "A String", + }, + "createTime": "A String", + "displayName": "A String", + "humanAgentAssistantConfig": { + "endUserSuggestionConfig": { + "disableHighLatencyFeaturesSyncDelivery": True or False, + "enableAsyncToolCall": True or False, + "featureConfigs": [ + { + "conversationModelConfig": { + "baselineModelVersion": "A String", + "model": "A String", + }, + "conversationProcessConfig": { + "recentSentencesCount": 42, + }, + "disableAgentQueryLogging": True or False, + "enableConversationAugmentedQuery": True or False, + "enableEventBasedSuggestion": True or False, + "enableQuerySuggestionOnly": True or False, + "enableQuerySuggestionWhenNoAnswer": True or False, + "enableResponseDebugInfo": True or False, + "queryConfig": { + "confidenceThreshold": 3.14, + "contextFilterSettings": { + "dropHandoffMessages": True or False, + "dropIvrMessages": True or False, + "dropVirtualAgentMessages": True or False, + }, + "contextSize": 42, + "dialogflowQuerySource": { + "agent": "A String", + "humanAgentSideConfig": { + "agent": "A String", + }, + }, + "documentQuerySource": { + "documents": [ + "A String", + ], + }, + "knowledgeBaseQuerySource": { + "knowledgeBases": [ + "A String", + ], + }, + "maxResults": 42, + "sections": { + "sectionTypes": [ + "A String", + ], + }, + }, + "raiSettings": { + "raiCategoryConfigs": [ + { + "category": "A String", + "sensitivityLevel": "A String", + }, + ], + }, + "suggestionFeature": { + "type": "A String", + }, + "suggestionTriggerSettings": { + "noSmallTalk": True or False, + "onlyEndUser": True or False, + }, + }, + ], + "generators": [ + "A String", + ], + "groupSuggestionResponses": True or False, + "skipEmptyEventBasedSuggestion": True or False, + "useUnredactedConversationData": True or False, + }, + "humanAgentSuggestionConfig": { + "disableHighLatencyFeaturesSyncDelivery": True or False, + "enableAsyncToolCall": True or False, + "featureConfigs": [ + { + "conversationModelConfig": { + "baselineModelVersion": "A String", + "model": "A String", + }, + "conversationProcessConfig": { + "recentSentencesCount": 42, + }, + "disableAgentQueryLogging": True or False, + "enableConversationAugmentedQuery": True or False, + "enableEventBasedSuggestion": True or False, + "enableQuerySuggestionOnly": True or False, + "enableQuerySuggestionWhenNoAnswer": True or False, + "enableResponseDebugInfo": True or False, + "queryConfig": { + "confidenceThreshold": 3.14, + "contextFilterSettings": { + "dropHandoffMessages": True or False, + "dropIvrMessages": True or False, + "dropVirtualAgentMessages": True or False, + }, + "contextSize": 42, + "dialogflowQuerySource": { + "agent": "A String", + "humanAgentSideConfig": { + "agent": "A String", + }, + }, + "documentQuerySource": { + "documents": [ + "A String", + ], + }, + "knowledgeBaseQuerySource": { + "knowledgeBases": [ + "A String", + ], + }, + "maxResults": 42, + "sections": { + "sectionTypes": [ + "A String", + ], + }, + }, + "raiSettings": { + "raiCategoryConfigs": [ + { + "category": "A String", + "sensitivityLevel": "A String", + }, + ], + }, + "suggestionFeature": { + "type": "A String", + }, + "suggestionTriggerSettings": { + "noSmallTalk": True or False, + "onlyEndUser": True or False, + }, + }, + ], + "generators": [ + "A String", + ], + "groupSuggestionResponses": True or False, + "skipEmptyEventBasedSuggestion": True or False, + "useUnredactedConversationData": True or False, + }, + "messageAnalysisConfig": { + "enableEntityExtraction": True or False, + "enableSentimentAnalysis": True or False, + "enableSentimentAnalysisV3": True or False, + }, + "notificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + }, + "humanAgentHandoffConfig": { + "livePersonConfig": { + "accountNumber": "A String", + }, + "salesforceLiveAgentConfig": { + "buttonId": "A String", + "deploymentId": "A String", + "endpointDomain": "A String", + "organizationId": "A String", + }, + }, + "languageCode": "A String", + "loggingConfig": { + "enableStackdriverLogging": True or False, + }, + "name": "A String", + "newMessageEventNotificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "newRecognitionResultNotificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "notificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "securitySettings": "A String", + "sttConfig": { + "audioEncoding": "A String", + "enableWordInfo": True or False, + "languageCode": "A String", + "model": "A String", + "phraseSets": [ + "A String", + ], + "sampleRateHertz": 42, + "speechModelVariant": "A String", + "useTimeoutBasedEndpointing": True or False, + }, + "timeZone": "A String", + "ttsConfig": { + "effectsProfileId": [ + "A String", + ], + "pitch": 3.14, + "pronunciations": [ + { + "phoneticEncoding": "A String", + "phrase": "A String", + "pronunciation": "A String", + }, + ], + "speakingRate": 3.14, + "voice": { + "name": "A String", + "ssmlGender": "A String", + }, + "volumeGainDb": 3.14, + }, + "updateTime": "A String", + "useBidiStreaming": True or False, + }, + "initialGeneratorContexts": { + "a_key": { + "generatorType": "A String", + }, + }, "lifecycleState": "A String", "name": "A String", "phoneNumber": { @@ -321,6 +1020,239 @@

Method Details

"updateMode": "A String", }, }, + "initialConversationProfile": { + "automatedAgentConfig": { + "agent": "A String", + "sessionTtl": "A String", + }, + "createTime": "A String", + "displayName": "A String", + "humanAgentAssistantConfig": { + "endUserSuggestionConfig": { + "disableHighLatencyFeaturesSyncDelivery": True or False, + "enableAsyncToolCall": True or False, + "featureConfigs": [ + { + "conversationModelConfig": { + "baselineModelVersion": "A String", + "model": "A String", + }, + "conversationProcessConfig": { + "recentSentencesCount": 42, + }, + "disableAgentQueryLogging": True or False, + "enableConversationAugmentedQuery": True or False, + "enableEventBasedSuggestion": True or False, + "enableQuerySuggestionOnly": True or False, + "enableQuerySuggestionWhenNoAnswer": True or False, + "enableResponseDebugInfo": True or False, + "queryConfig": { + "confidenceThreshold": 3.14, + "contextFilterSettings": { + "dropHandoffMessages": True or False, + "dropIvrMessages": True or False, + "dropVirtualAgentMessages": True or False, + }, + "contextSize": 42, + "dialogflowQuerySource": { + "agent": "A String", + "humanAgentSideConfig": { + "agent": "A String", + }, + }, + "documentQuerySource": { + "documents": [ + "A String", + ], + }, + "knowledgeBaseQuerySource": { + "knowledgeBases": [ + "A String", + ], + }, + "maxResults": 42, + "sections": { + "sectionTypes": [ + "A String", + ], + }, + }, + "raiSettings": { + "raiCategoryConfigs": [ + { + "category": "A String", + "sensitivityLevel": "A String", + }, + ], + }, + "suggestionFeature": { + "type": "A String", + }, + "suggestionTriggerSettings": { + "noSmallTalk": True or False, + "onlyEndUser": True or False, + }, + }, + ], + "generators": [ + "A String", + ], + "groupSuggestionResponses": True or False, + "skipEmptyEventBasedSuggestion": True or False, + "useUnredactedConversationData": True or False, + }, + "humanAgentSuggestionConfig": { + "disableHighLatencyFeaturesSyncDelivery": True or False, + "enableAsyncToolCall": True or False, + "featureConfigs": [ + { + "conversationModelConfig": { + "baselineModelVersion": "A String", + "model": "A String", + }, + "conversationProcessConfig": { + "recentSentencesCount": 42, + }, + "disableAgentQueryLogging": True or False, + "enableConversationAugmentedQuery": True or False, + "enableEventBasedSuggestion": True or False, + "enableQuerySuggestionOnly": True or False, + "enableQuerySuggestionWhenNoAnswer": True or False, + "enableResponseDebugInfo": True or False, + "queryConfig": { + "confidenceThreshold": 3.14, + "contextFilterSettings": { + "dropHandoffMessages": True or False, + "dropIvrMessages": True or False, + "dropVirtualAgentMessages": True or False, + }, + "contextSize": 42, + "dialogflowQuerySource": { + "agent": "A String", + "humanAgentSideConfig": { + "agent": "A String", + }, + }, + "documentQuerySource": { + "documents": [ + "A String", + ], + }, + "knowledgeBaseQuerySource": { + "knowledgeBases": [ + "A String", + ], + }, + "maxResults": 42, + "sections": { + "sectionTypes": [ + "A String", + ], + }, + }, + "raiSettings": { + "raiCategoryConfigs": [ + { + "category": "A String", + "sensitivityLevel": "A String", + }, + ], + }, + "suggestionFeature": { + "type": "A String", + }, + "suggestionTriggerSettings": { + "noSmallTalk": True or False, + "onlyEndUser": True or False, + }, + }, + ], + "generators": [ + "A String", + ], + "groupSuggestionResponses": True or False, + "skipEmptyEventBasedSuggestion": True or False, + "useUnredactedConversationData": True or False, + }, + "messageAnalysisConfig": { + "enableEntityExtraction": True or False, + "enableSentimentAnalysis": True or False, + "enableSentimentAnalysisV3": True or False, + }, + "notificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + }, + "humanAgentHandoffConfig": { + "livePersonConfig": { + "accountNumber": "A String", + }, + "salesforceLiveAgentConfig": { + "buttonId": "A String", + "deploymentId": "A String", + "endpointDomain": "A String", + "organizationId": "A String", + }, + }, + "languageCode": "A String", + "loggingConfig": { + "enableStackdriverLogging": True or False, + }, + "name": "A String", + "newMessageEventNotificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "newRecognitionResultNotificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "notificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "securitySettings": "A String", + "sttConfig": { + "audioEncoding": "A String", + "enableWordInfo": True or False, + "languageCode": "A String", + "model": "A String", + "phraseSets": [ + "A String", + ], + "sampleRateHertz": 42, + "speechModelVariant": "A String", + "useTimeoutBasedEndpointing": True or False, + }, + "timeZone": "A String", + "ttsConfig": { + "effectsProfileId": [ + "A String", + ], + "pitch": 3.14, + "pronunciations": [ + { + "phoneticEncoding": "A String", + "phrase": "A String", + "pronunciation": "A String", + }, + ], + "speakingRate": 3.14, + "voice": { + "name": "A String", + "ssmlGender": "A String", + }, + "volumeGainDb": 3.14, + }, + "updateTime": "A String", + "useBidiStreaming": True or False, + }, + "initialGeneratorContexts": { + "a_key": { + "generatorType": "A String", + }, + }, "lifecycleState": "A String", "name": "A String", "phoneNumber": { @@ -439,6 +1371,239 @@

Method Details

"updateMode": "A String", }, }, + "initialConversationProfile": { + "automatedAgentConfig": { + "agent": "A String", + "sessionTtl": "A String", + }, + "createTime": "A String", + "displayName": "A String", + "humanAgentAssistantConfig": { + "endUserSuggestionConfig": { + "disableHighLatencyFeaturesSyncDelivery": True or False, + "enableAsyncToolCall": True or False, + "featureConfigs": [ + { + "conversationModelConfig": { + "baselineModelVersion": "A String", + "model": "A String", + }, + "conversationProcessConfig": { + "recentSentencesCount": 42, + }, + "disableAgentQueryLogging": True or False, + "enableConversationAugmentedQuery": True or False, + "enableEventBasedSuggestion": True or False, + "enableQuerySuggestionOnly": True or False, + "enableQuerySuggestionWhenNoAnswer": True or False, + "enableResponseDebugInfo": True or False, + "queryConfig": { + "confidenceThreshold": 3.14, + "contextFilterSettings": { + "dropHandoffMessages": True or False, + "dropIvrMessages": True or False, + "dropVirtualAgentMessages": True or False, + }, + "contextSize": 42, + "dialogflowQuerySource": { + "agent": "A String", + "humanAgentSideConfig": { + "agent": "A String", + }, + }, + "documentQuerySource": { + "documents": [ + "A String", + ], + }, + "knowledgeBaseQuerySource": { + "knowledgeBases": [ + "A String", + ], + }, + "maxResults": 42, + "sections": { + "sectionTypes": [ + "A String", + ], + }, + }, + "raiSettings": { + "raiCategoryConfigs": [ + { + "category": "A String", + "sensitivityLevel": "A String", + }, + ], + }, + "suggestionFeature": { + "type": "A String", + }, + "suggestionTriggerSettings": { + "noSmallTalk": True or False, + "onlyEndUser": True or False, + }, + }, + ], + "generators": [ + "A String", + ], + "groupSuggestionResponses": True or False, + "skipEmptyEventBasedSuggestion": True or False, + "useUnredactedConversationData": True or False, + }, + "humanAgentSuggestionConfig": { + "disableHighLatencyFeaturesSyncDelivery": True or False, + "enableAsyncToolCall": True or False, + "featureConfigs": [ + { + "conversationModelConfig": { + "baselineModelVersion": "A String", + "model": "A String", + }, + "conversationProcessConfig": { + "recentSentencesCount": 42, + }, + "disableAgentQueryLogging": True or False, + "enableConversationAugmentedQuery": True or False, + "enableEventBasedSuggestion": True or False, + "enableQuerySuggestionOnly": True or False, + "enableQuerySuggestionWhenNoAnswer": True or False, + "enableResponseDebugInfo": True or False, + "queryConfig": { + "confidenceThreshold": 3.14, + "contextFilterSettings": { + "dropHandoffMessages": True or False, + "dropIvrMessages": True or False, + "dropVirtualAgentMessages": True or False, + }, + "contextSize": 42, + "dialogflowQuerySource": { + "agent": "A String", + "humanAgentSideConfig": { + "agent": "A String", + }, + }, + "documentQuerySource": { + "documents": [ + "A String", + ], + }, + "knowledgeBaseQuerySource": { + "knowledgeBases": [ + "A String", + ], + }, + "maxResults": 42, + "sections": { + "sectionTypes": [ + "A String", + ], + }, + }, + "raiSettings": { + "raiCategoryConfigs": [ + { + "category": "A String", + "sensitivityLevel": "A String", + }, + ], + }, + "suggestionFeature": { + "type": "A String", + }, + "suggestionTriggerSettings": { + "noSmallTalk": True or False, + "onlyEndUser": True or False, + }, + }, + ], + "generators": [ + "A String", + ], + "groupSuggestionResponses": True or False, + "skipEmptyEventBasedSuggestion": True or False, + "useUnredactedConversationData": True or False, + }, + "messageAnalysisConfig": { + "enableEntityExtraction": True or False, + "enableSentimentAnalysis": True or False, + "enableSentimentAnalysisV3": True or False, + }, + "notificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + }, + "humanAgentHandoffConfig": { + "livePersonConfig": { + "accountNumber": "A String", + }, + "salesforceLiveAgentConfig": { + "buttonId": "A String", + "deploymentId": "A String", + "endpointDomain": "A String", + "organizationId": "A String", + }, + }, + "languageCode": "A String", + "loggingConfig": { + "enableStackdriverLogging": True or False, + }, + "name": "A String", + "newMessageEventNotificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "newRecognitionResultNotificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "notificationConfig": { + "messageFormat": "A String", + "topic": "A String", + }, + "securitySettings": "A String", + "sttConfig": { + "audioEncoding": "A String", + "enableWordInfo": True or False, + "languageCode": "A String", + "model": "A String", + "phraseSets": [ + "A String", + ], + "sampleRateHertz": 42, + "speechModelVariant": "A String", + "useTimeoutBasedEndpointing": True or False, + }, + "timeZone": "A String", + "ttsConfig": { + "effectsProfileId": [ + "A String", + ], + "pitch": 3.14, + "pronunciations": [ + { + "phoneticEncoding": "A String", + "phrase": "A String", + "pronunciation": "A String", + }, + ], + "speakingRate": 3.14, + "voice": { + "name": "A String", + "ssmlGender": "A String", + }, + "volumeGainDb": 3.14, + }, + "updateTime": "A String", + "useBidiStreaming": True or False, + }, + "initialGeneratorContexts": { + "a_key": { + "generatorType": "A String", + }, + }, "lifecycleState": "A String", "name": "A String", "phoneNumber": { diff --git a/docs/dyn/dialogflow_v3.projects.locations.agents.environments.sessions.html b/docs/dyn/dialogflow_v3.projects.locations.agents.environments.sessions.html index 3babb7f51e..99041a0298 100644 --- a/docs/dyn/dialogflow_v3.projects.locations.agents.environments.sessions.html +++ b/docs/dyn/dialogflow_v3.projects.locations.agents.environments.sessions.html @@ -2148,6 +2148,7 @@

Method Details

"intent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -2183,6 +2184,7 @@

Method Details

"intent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -2281,6 +2283,75 @@

Method Details

"score": 3.14, }, "text": "A String", + "traceBlocks": [ + { + "actions": [ + { + "agentUtterance": { + "text": "A String", + }, + "flowInvocation": { + "displayName": "A String", + "flow": "A String", + "flowState": "A String", + }, + "flowTransition": { + "displayName": "A String", + "flow": "A String", + }, + "playbookInvocation": { + "displayName": "A String", + "playbook": "A String", + "playbookInput": { + "precedingConversationSummary": "A String", + }, + "playbookOutput": { + "executionSummary": "A String", + }, + "playbookState": "A String", + }, + "playbookTransition": { + "displayName": "A String", + "playbook": "A String", + }, + "toolUse": { + "action": "A String", + "displayName": "A String", + "inputActionParameters": { + "a_key": "", # Properties of the object. + }, + "outputActionParameters": { + "a_key": "", # Properties of the object. + }, + "tool": "A String", + }, + "userUtterance": { + "text": "A String", + }, + }, + ], + "completeTime": "A String", + "endState": "A String", + "flowTraceMetadata": { + "displayName": "A String", + "flow": "A String", + }, + "inputParameters": { + "a_key": "", # Properties of the object. + }, + "outputParameters": { + "a_key": "", # Properties of the object. + }, + "playbookTraceMetadata": { + "displayName": "A String", + "playbook": "A String", + }, + "speechProcessingMetadata": { + "displayName": "A String", + }, + "startTime": "A String", + }, + ], "transcript": "A String", "triggerEvent": "A String", "triggerIntent": "A String", @@ -2322,6 +2393,7 @@

Method Details

"intent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -4394,6 +4466,7 @@

Method Details

"intent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -4429,6 +4502,7 @@

Method Details

"intent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -4527,6 +4601,75 @@

Method Details

"score": 3.14, }, "text": "A String", + "traceBlocks": [ + { + "actions": [ + { + "agentUtterance": { + "text": "A String", + }, + "flowInvocation": { + "displayName": "A String", + "flow": "A String", + "flowState": "A String", + }, + "flowTransition": { + "displayName": "A String", + "flow": "A String", + }, + "playbookInvocation": { + "displayName": "A String", + "playbook": "A String", + "playbookInput": { + "precedingConversationSummary": "A String", + }, + "playbookOutput": { + "executionSummary": "A String", + }, + "playbookState": "A String", + }, + "playbookTransition": { + "displayName": "A String", + "playbook": "A String", + }, + "toolUse": { + "action": "A String", + "displayName": "A String", + "inputActionParameters": { + "a_key": "", # Properties of the object. + }, + "outputActionParameters": { + "a_key": "", # Properties of the object. + }, + "tool": "A String", + }, + "userUtterance": { + "text": "A String", + }, + }, + ], + "completeTime": "A String", + "endState": "A String", + "flowTraceMetadata": { + "displayName": "A String", + "flow": "A String", + }, + "inputParameters": { + "a_key": "", # Properties of the object. + }, + "outputParameters": { + "a_key": "", # Properties of the object. + }, + "playbookTraceMetadata": { + "displayName": "A String", + "playbook": "A String", + }, + "speechProcessingMetadata": { + "displayName": "A String", + }, + "startTime": "A String", + }, + ], "transcript": "A String", "triggerEvent": "A String", "triggerIntent": "A String", @@ -5855,6 +5998,7 @@

Method Details

"intent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -7944,6 +8088,7 @@

Method Details

"intent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -7979,6 +8124,7 @@

Method Details

"intent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -8077,6 +8223,75 @@

Method Details

"score": 3.14, }, "text": "A String", + "traceBlocks": [ + { + "actions": [ + { + "agentUtterance": { + "text": "A String", + }, + "flowInvocation": { + "displayName": "A String", + "flow": "A String", + "flowState": "A String", + }, + "flowTransition": { + "displayName": "A String", + "flow": "A String", + }, + "playbookInvocation": { + "displayName": "A String", + "playbook": "A String", + "playbookInput": { + "precedingConversationSummary": "A String", + }, + "playbookOutput": { + "executionSummary": "A String", + }, + "playbookState": "A String", + }, + "playbookTransition": { + "displayName": "A String", + "playbook": "A String", + }, + "toolUse": { + "action": "A String", + "displayName": "A String", + "inputActionParameters": { + "a_key": "", # Properties of the object. + }, + "outputActionParameters": { + "a_key": "", # Properties of the object. + }, + "tool": "A String", + }, + "userUtterance": { + "text": "A String", + }, + }, + ], + "completeTime": "A String", + "endState": "A String", + "flowTraceMetadata": { + "displayName": "A String", + "flow": "A String", + }, + "inputParameters": { + "a_key": "", # Properties of the object. + }, + "outputParameters": { + "a_key": "", # Properties of the object. + }, + "playbookTraceMetadata": { + "displayName": "A String", + "playbook": "A String", + }, + "speechProcessingMetadata": { + "displayName": "A String", + }, + "startTime": "A String", + }, + ], "transcript": "A String", "triggerEvent": "A String", "triggerIntent": "A String", diff --git a/docs/dyn/dialogflow_v3.projects.locations.agents.intents.html b/docs/dyn/dialogflow_v3.projects.locations.agents.intents.html index 5eb7289942..ebbd911e99 100644 --- a/docs/dyn/dialogflow_v3.projects.locations.agents.intents.html +++ b/docs/dyn/dialogflow_v3.projects.locations.agents.intents.html @@ -119,6 +119,7 @@

Method Details

{ "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -159,6 +160,7 @@

Method Details

{ "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -271,6 +273,7 @@

Method Details

{ "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -373,6 +376,7 @@

Method Details

{ "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -431,6 +435,7 @@

Method Details

{ "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -472,6 +477,7 @@

Method Details

{ "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", diff --git a/docs/dyn/dialogflow_v3.projects.locations.agents.sessions.html b/docs/dyn/dialogflow_v3.projects.locations.agents.sessions.html index 06a334d087..e3b993eee0 100644 --- a/docs/dyn/dialogflow_v3.projects.locations.agents.sessions.html +++ b/docs/dyn/dialogflow_v3.projects.locations.agents.sessions.html @@ -2151,6 +2151,7 @@

Method Details

"intent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -2186,6 +2187,7 @@

Method Details

"intent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -2284,6 +2286,75 @@

Method Details

"score": 3.14, }, "text": "A String", + "traceBlocks": [ + { + "actions": [ + { + "agentUtterance": { + "text": "A String", + }, + "flowInvocation": { + "displayName": "A String", + "flow": "A String", + "flowState": "A String", + }, + "flowTransition": { + "displayName": "A String", + "flow": "A String", + }, + "playbookInvocation": { + "displayName": "A String", + "playbook": "A String", + "playbookInput": { + "precedingConversationSummary": "A String", + }, + "playbookOutput": { + "executionSummary": "A String", + }, + "playbookState": "A String", + }, + "playbookTransition": { + "displayName": "A String", + "playbook": "A String", + }, + "toolUse": { + "action": "A String", + "displayName": "A String", + "inputActionParameters": { + "a_key": "", # Properties of the object. + }, + "outputActionParameters": { + "a_key": "", # Properties of the object. + }, + "tool": "A String", + }, + "userUtterance": { + "text": "A String", + }, + }, + ], + "completeTime": "A String", + "endState": "A String", + "flowTraceMetadata": { + "displayName": "A String", + "flow": "A String", + }, + "inputParameters": { + "a_key": "", # Properties of the object. + }, + "outputParameters": { + "a_key": "", # Properties of the object. + }, + "playbookTraceMetadata": { + "displayName": "A String", + "playbook": "A String", + }, + "speechProcessingMetadata": { + "displayName": "A String", + }, + "startTime": "A String", + }, + ], "transcript": "A String", "triggerEvent": "A String", "triggerIntent": "A String", @@ -2325,6 +2396,7 @@

Method Details

"intent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -4397,6 +4469,7 @@

Method Details

"intent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -4432,6 +4505,7 @@

Method Details

"intent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -4530,6 +4604,75 @@

Method Details

"score": 3.14, }, "text": "A String", + "traceBlocks": [ + { + "actions": [ + { + "agentUtterance": { + "text": "A String", + }, + "flowInvocation": { + "displayName": "A String", + "flow": "A String", + "flowState": "A String", + }, + "flowTransition": { + "displayName": "A String", + "flow": "A String", + }, + "playbookInvocation": { + "displayName": "A String", + "playbook": "A String", + "playbookInput": { + "precedingConversationSummary": "A String", + }, + "playbookOutput": { + "executionSummary": "A String", + }, + "playbookState": "A String", + }, + "playbookTransition": { + "displayName": "A String", + "playbook": "A String", + }, + "toolUse": { + "action": "A String", + "displayName": "A String", + "inputActionParameters": { + "a_key": "", # Properties of the object. + }, + "outputActionParameters": { + "a_key": "", # Properties of the object. + }, + "tool": "A String", + }, + "userUtterance": { + "text": "A String", + }, + }, + ], + "completeTime": "A String", + "endState": "A String", + "flowTraceMetadata": { + "displayName": "A String", + "flow": "A String", + }, + "inputParameters": { + "a_key": "", # Properties of the object. + }, + "outputParameters": { + "a_key": "", # Properties of the object. + }, + "playbookTraceMetadata": { + "displayName": "A String", + "playbook": "A String", + }, + "speechProcessingMetadata": { + "displayName": "A String", + }, + "startTime": "A String", + }, + ], "transcript": "A String", "triggerEvent": "A String", "triggerIntent": "A String", @@ -5858,6 +6001,7 @@

Method Details

"intent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -7947,6 +8091,7 @@

Method Details

"intent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -7982,6 +8127,7 @@

Method Details

"intent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -8080,6 +8226,75 @@

Method Details

"score": 3.14, }, "text": "A String", + "traceBlocks": [ + { + "actions": [ + { + "agentUtterance": { + "text": "A String", + }, + "flowInvocation": { + "displayName": "A String", + "flow": "A String", + "flowState": "A String", + }, + "flowTransition": { + "displayName": "A String", + "flow": "A String", + }, + "playbookInvocation": { + "displayName": "A String", + "playbook": "A String", + "playbookInput": { + "precedingConversationSummary": "A String", + }, + "playbookOutput": { + "executionSummary": "A String", + }, + "playbookState": "A String", + }, + "playbookTransition": { + "displayName": "A String", + "playbook": "A String", + }, + "toolUse": { + "action": "A String", + "displayName": "A String", + "inputActionParameters": { + "a_key": "", # Properties of the object. + }, + "outputActionParameters": { + "a_key": "", # Properties of the object. + }, + "tool": "A String", + }, + "userUtterance": { + "text": "A String", + }, + }, + ], + "completeTime": "A String", + "endState": "A String", + "flowTraceMetadata": { + "displayName": "A String", + "flow": "A String", + }, + "inputParameters": { + "a_key": "", # Properties of the object. + }, + "outputParameters": { + "a_key": "", # Properties of the object. + }, + "playbookTraceMetadata": { + "displayName": "A String", + "playbook": "A String", + }, + "speechProcessingMetadata": { + "displayName": "A String", + }, + "startTime": "A String", + }, + ], "transcript": "A String", "triggerEvent": "A String", "triggerIntent": "A String", diff --git a/docs/dyn/dialogflow_v3.projects.locations.agents.testCases.html b/docs/dyn/dialogflow_v3.projects.locations.agents.testCases.html index daca3a93ff..b0674c5c63 100644 --- a/docs/dyn/dialogflow_v3.projects.locations.agents.testCases.html +++ b/docs/dyn/dialogflow_v3.projects.locations.agents.testCases.html @@ -5762,6 +5762,7 @@

Method Details

"triggeredIntent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -7033,6 +7034,7 @@

Method Details

"triggeredIntent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -8315,6 +8317,7 @@

Method Details

"triggeredIntent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -9586,6 +9589,7 @@

Method Details

"triggeredIntent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -10919,6 +10923,7 @@

Method Details

"triggeredIntent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -12190,6 +12195,7 @@

Method Details

"triggeredIntent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -13532,6 +13538,7 @@

Method Details

"triggeredIntent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -14803,6 +14810,7 @@

Method Details

"triggeredIntent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -16103,6 +16111,7 @@

Method Details

"triggeredIntent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -17374,6 +17383,7 @@

Method Details

"triggeredIntent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -18657,6 +18667,7 @@

Method Details

"triggeredIntent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -19928,6 +19939,7 @@

Method Details

"triggeredIntent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", diff --git a/docs/dyn/dialogflow_v3.projects.locations.agents.testCases.results.html b/docs/dyn/dialogflow_v3.projects.locations.agents.testCases.results.html index ed665c8295..4fd8a17a2b 100644 --- a/docs/dyn/dialogflow_v3.projects.locations.agents.testCases.results.html +++ b/docs/dyn/dialogflow_v3.projects.locations.agents.testCases.results.html @@ -1338,6 +1338,7 @@

Method Details

"triggeredIntent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -2627,6 +2628,7 @@

Method Details

"triggeredIntent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", diff --git a/docs/dyn/dialogflow_v3beta1.projects.locations.agents.conversations.html b/docs/dyn/dialogflow_v3beta1.projects.locations.agents.conversations.html index f11105364a..fbcf136b6a 100644 --- a/docs/dyn/dialogflow_v3beta1.projects.locations.agents.conversations.html +++ b/docs/dyn/dialogflow_v3beta1.projects.locations.agents.conversations.html @@ -861,6 +861,7 @@

Method Details

{ "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -3004,6 +3005,7 @@

Method Details

"intent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -3039,6 +3041,7 @@

Method Details

"intent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -3136,6 +3139,237 @@

Method Details

"score": 3.14, }, "text": "A String", + "traceBlocks": [ + { + "actions": [ + { + "agentUtterance": { + "requireGeneration": True or False, + "text": "A String", + }, + "completeTime": "A String", + "displayName": "A String", + "event": { + "event": "A String", + "text": "A String", + }, + "flowInvocation": { + "displayName": "A String", + "flow": "A String", + "flowState": "A String", + "inputActionParameters": { + "a_key": "", # Properties of the object. + }, + "outputActionParameters": { + "a_key": "", # Properties of the object. + }, + }, + "flowStateUpdate": { + "destination": "A String", + "eventType": "A String", + "functionCall": { + "name": "A String", + }, + "pageState": { + "displayName": "A String", + "page": "A String", + "status": "A String", + }, + "updatedParameters": { + "a_key": "", # Properties of the object. + }, + }, + "flowTransition": { + "displayName": "A String", + "flow": "A String", + "inputActionParameters": { + "a_key": "", # Properties of the object. + }, + }, + "intentMatch": { + "matchedIntents": [ + { + "displayName": "A String", + "generativeFallback": { + "a_key": "", # Properties of the object. + }, + "intentId": "A String", + "score": 3.14, + }, + ], + }, + "llmCall": { + "model": "A String", + "retrievedExamples": [ + { + "exampleDisplayName": "A String", + "exampleId": "A String", + "matchedRetrievalLabel": "A String", + "retrievalStrategy": "A String", + }, + ], + "temperature": 3.14, + "tokenCount": { + "conversationContextTokenCount": "A String", + "exampleTokenCount": "A String", + "totalInputTokenCount": "A String", + "totalOutputTokenCount": "A String", + }, + }, + "playbookInvocation": { + "displayName": "A String", + "playbook": "A String", + "playbookInput": { + "actionParameters": { + "a_key": "", # Properties of the object. + }, + "precedingConversationSummary": "A String", + }, + "playbookOutput": { + "actionParameters": { + "a_key": "", # Properties of the object. + }, + "executionSummary": "A String", + "state": "A String", + }, + "playbookState": "A String", + }, + "playbookTransition": { + "displayName": "A String", + "inputActionParameters": { + "a_key": "", # Properties of the object. + }, + "playbook": "A String", + }, + "startTime": "A String", + "status": { + "exception": { + "errorMessage": "A String", + }, + }, + "stt": { + }, + "subExecutionSteps": [ + { + "completeTime": "A String", + "metrics": [ + { + "name": "A String", + "unit": "A String", + "value": "", + }, + ], + "name": "A String", + "startTime": "A String", + "tags": [ + "A String", + ], + }, + ], + "toolUse": { + "action": "A String", + "dataStoreToolTrace": { + "dataStoreConnectionSignals": { + "answer": "A String", + "answerGenerationModelCallSignals": { + "model": "A String", + "modelOutput": "A String", + "renderedPrompt": "A String", + }, + "answerParts": [ + { + "supportingIndices": [ + 42, + ], + "text": "A String", + }, + ], + "citedSnippets": [ + { + "searchSnippet": { + "documentTitle": "A String", + "documentUri": "A String", + "metadata": { + "a_key": "", # Properties of the object. + }, + "text": "A String", + }, + "snippetIndex": 42, + }, + ], + "groundingSignals": { + "decision": "A String", + "score": "A String", + }, + "rewriterModelCallSignals": { + "model": "A String", + "modelOutput": "A String", + "renderedPrompt": "A String", + }, + "rewrittenQuery": "A String", + "safetySignals": { + "bannedPhraseMatch": "A String", + "decision": "A String", + "matchedBannedPhrase": "A String", + }, + "searchSnippets": [ + { + "documentTitle": "A String", + "documentUri": "A String", + "metadata": { + "a_key": "", # Properties of the object. + }, + "text": "A String", + }, + ], + }, + }, + "displayName": "A String", + "inputActionParameters": { + "a_key": "", # Properties of the object. + }, + "outputActionParameters": { + "a_key": "", # Properties of the object. + }, + "tool": "A String", + "webhookToolTrace": { + "webhookTag": "A String", + "webhookUri": "A String", + }, + }, + "tts": { + }, + "userUtterance": { + "audio": "A String", + "audioTokens": [ + 42, + ], + "text": "A String", + }, + }, + ], + "completeTime": "A String", + "endState": "A String", + "flowTraceMetadata": { + "displayName": "A String", + "flow": "A String", + }, + "inputParameters": { + "a_key": "", # Properties of the object. + }, + "outputParameters": { + "a_key": "", # Properties of the object. + }, + "playbookTraceMetadata": { + "displayName": "A String", + "playbook": "A String", + }, + "speechProcessingMetadata": { + "displayName": "A String", + }, + "startTime": "A String", + }, + ], "transcript": "A String", "triggerEvent": "A String", "triggerIntent": "A String", @@ -5426,6 +5660,7 @@

Method Details

"intent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -5461,6 +5696,7 @@

Method Details

"intent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -5544,20 +5780,251 @@

Method Details

"A String", ], }, - "toolCall": { - "action": "A String", - "inputParameters": { - "a_key": "", # Properties of the object. - }, - "tool": "A String", + "toolCall": { + "action": "A String", + "inputParameters": { + "a_key": "", # Properties of the object. + }, + "tool": "A String", + }, + }, + ], + "sentimentAnalysisResult": { + "magnitude": 3.14, + "score": 3.14, + }, + "text": "A String", + "traceBlocks": [ + { + "actions": [ + { + "agentUtterance": { + "requireGeneration": True or False, + "text": "A String", + }, + "completeTime": "A String", + "displayName": "A String", + "event": { + "event": "A String", + "text": "A String", + }, + "flowInvocation": { + "displayName": "A String", + "flow": "A String", + "flowState": "A String", + "inputActionParameters": { + "a_key": "", # Properties of the object. + }, + "outputActionParameters": { + "a_key": "", # Properties of the object. + }, + }, + "flowStateUpdate": { + "destination": "A String", + "eventType": "A String", + "functionCall": { + "name": "A String", + }, + "pageState": { + "displayName": "A String", + "page": "A String", + "status": "A String", + }, + "updatedParameters": { + "a_key": "", # Properties of the object. + }, + }, + "flowTransition": { + "displayName": "A String", + "flow": "A String", + "inputActionParameters": { + "a_key": "", # Properties of the object. + }, + }, + "intentMatch": { + "matchedIntents": [ + { + "displayName": "A String", + "generativeFallback": { + "a_key": "", # Properties of the object. + }, + "intentId": "A String", + "score": 3.14, + }, + ], + }, + "llmCall": { + "model": "A String", + "retrievedExamples": [ + { + "exampleDisplayName": "A String", + "exampleId": "A String", + "matchedRetrievalLabel": "A String", + "retrievalStrategy": "A String", + }, + ], + "temperature": 3.14, + "tokenCount": { + "conversationContextTokenCount": "A String", + "exampleTokenCount": "A String", + "totalInputTokenCount": "A String", + "totalOutputTokenCount": "A String", + }, + }, + "playbookInvocation": { + "displayName": "A String", + "playbook": "A String", + "playbookInput": { + "actionParameters": { + "a_key": "", # Properties of the object. + }, + "precedingConversationSummary": "A String", + }, + "playbookOutput": { + "actionParameters": { + "a_key": "", # Properties of the object. + }, + "executionSummary": "A String", + "state": "A String", + }, + "playbookState": "A String", + }, + "playbookTransition": { + "displayName": "A String", + "inputActionParameters": { + "a_key": "", # Properties of the object. + }, + "playbook": "A String", + }, + "startTime": "A String", + "status": { + "exception": { + "errorMessage": "A String", + }, + }, + "stt": { + }, + "subExecutionSteps": [ + { + "completeTime": "A String", + "metrics": [ + { + "name": "A String", + "unit": "A String", + "value": "", + }, + ], + "name": "A String", + "startTime": "A String", + "tags": [ + "A String", + ], + }, + ], + "toolUse": { + "action": "A String", + "dataStoreToolTrace": { + "dataStoreConnectionSignals": { + "answer": "A String", + "answerGenerationModelCallSignals": { + "model": "A String", + "modelOutput": "A String", + "renderedPrompt": "A String", + }, + "answerParts": [ + { + "supportingIndices": [ + 42, + ], + "text": "A String", + }, + ], + "citedSnippets": [ + { + "searchSnippet": { + "documentTitle": "A String", + "documentUri": "A String", + "metadata": { + "a_key": "", # Properties of the object. + }, + "text": "A String", + }, + "snippetIndex": 42, + }, + ], + "groundingSignals": { + "decision": "A String", + "score": "A String", + }, + "rewriterModelCallSignals": { + "model": "A String", + "modelOutput": "A String", + "renderedPrompt": "A String", + }, + "rewrittenQuery": "A String", + "safetySignals": { + "bannedPhraseMatch": "A String", + "decision": "A String", + "matchedBannedPhrase": "A String", + }, + "searchSnippets": [ + { + "documentTitle": "A String", + "documentUri": "A String", + "metadata": { + "a_key": "", # Properties of the object. + }, + "text": "A String", + }, + ], + }, + }, + "displayName": "A String", + "inputActionParameters": { + "a_key": "", # Properties of the object. + }, + "outputActionParameters": { + "a_key": "", # Properties of the object. + }, + "tool": "A String", + "webhookToolTrace": { + "webhookTag": "A String", + "webhookUri": "A String", + }, + }, + "tts": { + }, + "userUtterance": { + "audio": "A String", + "audioTokens": [ + 42, + ], + "text": "A String", + }, + }, + ], + "completeTime": "A String", + "endState": "A String", + "flowTraceMetadata": { + "displayName": "A String", + "flow": "A String", + }, + "inputParameters": { + "a_key": "", # Properties of the object. + }, + "outputParameters": { + "a_key": "", # Properties of the object. + }, + "playbookTraceMetadata": { + "displayName": "A String", + "playbook": "A String", + }, + "speechProcessingMetadata": { + "displayName": "A String", }, + "startTime": "A String", }, ], - "sentimentAnalysisResult": { - "magnitude": 3.14, - "score": 3.14, - }, - "text": "A String", "transcript": "A String", "triggerEvent": "A String", "triggerIntent": "A String", @@ -7521,6 +7988,7 @@

Method Details

{ "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -9664,6 +10132,7 @@

Method Details

"intent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -9699,6 +10168,7 @@

Method Details

"intent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -9766,36 +10236,267 @@

Method Details

"ssml": "A String", "text": "A String", }, - "payload": { + "payload": { + "a_key": "", # Properties of the object. + }, + "playAudio": { + "allowPlaybackInterruption": True or False, + "audioUri": "A String", + }, + "telephonyTransferCall": { + "phoneNumber": "A String", + }, + "text": { + "allowPlaybackInterruption": True or False, + "text": [ + "A String", + ], + }, + "toolCall": { + "action": "A String", + "inputParameters": { + "a_key": "", # Properties of the object. + }, + "tool": "A String", + }, + }, + ], + "sentimentAnalysisResult": { + "magnitude": 3.14, + "score": 3.14, + }, + "text": "A String", + "traceBlocks": [ + { + "actions": [ + { + "agentUtterance": { + "requireGeneration": True or False, + "text": "A String", + }, + "completeTime": "A String", + "displayName": "A String", + "event": { + "event": "A String", + "text": "A String", + }, + "flowInvocation": { + "displayName": "A String", + "flow": "A String", + "flowState": "A String", + "inputActionParameters": { + "a_key": "", # Properties of the object. + }, + "outputActionParameters": { + "a_key": "", # Properties of the object. + }, + }, + "flowStateUpdate": { + "destination": "A String", + "eventType": "A String", + "functionCall": { + "name": "A String", + }, + "pageState": { + "displayName": "A String", + "page": "A String", + "status": "A String", + }, + "updatedParameters": { + "a_key": "", # Properties of the object. + }, + }, + "flowTransition": { + "displayName": "A String", + "flow": "A String", + "inputActionParameters": { + "a_key": "", # Properties of the object. + }, + }, + "intentMatch": { + "matchedIntents": [ + { + "displayName": "A String", + "generativeFallback": { + "a_key": "", # Properties of the object. + }, + "intentId": "A String", + "score": 3.14, + }, + ], + }, + "llmCall": { + "model": "A String", + "retrievedExamples": [ + { + "exampleDisplayName": "A String", + "exampleId": "A String", + "matchedRetrievalLabel": "A String", + "retrievalStrategy": "A String", + }, + ], + "temperature": 3.14, + "tokenCount": { + "conversationContextTokenCount": "A String", + "exampleTokenCount": "A String", + "totalInputTokenCount": "A String", + "totalOutputTokenCount": "A String", + }, + }, + "playbookInvocation": { + "displayName": "A String", + "playbook": "A String", + "playbookInput": { + "actionParameters": { + "a_key": "", # Properties of the object. + }, + "precedingConversationSummary": "A String", + }, + "playbookOutput": { + "actionParameters": { + "a_key": "", # Properties of the object. + }, + "executionSummary": "A String", + "state": "A String", + }, + "playbookState": "A String", + }, + "playbookTransition": { + "displayName": "A String", + "inputActionParameters": { + "a_key": "", # Properties of the object. + }, + "playbook": "A String", + }, + "startTime": "A String", + "status": { + "exception": { + "errorMessage": "A String", + }, + }, + "stt": { + }, + "subExecutionSteps": [ + { + "completeTime": "A String", + "metrics": [ + { + "name": "A String", + "unit": "A String", + "value": "", + }, + ], + "name": "A String", + "startTime": "A String", + "tags": [ + "A String", + ], + }, + ], + "toolUse": { + "action": "A String", + "dataStoreToolTrace": { + "dataStoreConnectionSignals": { + "answer": "A String", + "answerGenerationModelCallSignals": { + "model": "A String", + "modelOutput": "A String", + "renderedPrompt": "A String", + }, + "answerParts": [ + { + "supportingIndices": [ + 42, + ], + "text": "A String", + }, + ], + "citedSnippets": [ + { + "searchSnippet": { + "documentTitle": "A String", + "documentUri": "A String", + "metadata": { + "a_key": "", # Properties of the object. + }, + "text": "A String", + }, + "snippetIndex": 42, + }, + ], + "groundingSignals": { + "decision": "A String", + "score": "A String", + }, + "rewriterModelCallSignals": { + "model": "A String", + "modelOutput": "A String", + "renderedPrompt": "A String", + }, + "rewrittenQuery": "A String", + "safetySignals": { + "bannedPhraseMatch": "A String", + "decision": "A String", + "matchedBannedPhrase": "A String", + }, + "searchSnippets": [ + { + "documentTitle": "A String", + "documentUri": "A String", + "metadata": { + "a_key": "", # Properties of the object. + }, + "text": "A String", + }, + ], + }, + }, + "displayName": "A String", + "inputActionParameters": { + "a_key": "", # Properties of the object. + }, + "outputActionParameters": { + "a_key": "", # Properties of the object. + }, + "tool": "A String", + "webhookToolTrace": { + "webhookTag": "A String", + "webhookUri": "A String", + }, + }, + "tts": { + }, + "userUtterance": { + "audio": "A String", + "audioTokens": [ + 42, + ], + "text": "A String", + }, + }, + ], + "completeTime": "A String", + "endState": "A String", + "flowTraceMetadata": { + "displayName": "A String", + "flow": "A String", + }, + "inputParameters": { "a_key": "", # Properties of the object. }, - "playAudio": { - "allowPlaybackInterruption": True or False, - "audioUri": "A String", - }, - "telephonyTransferCall": { - "phoneNumber": "A String", + "outputParameters": { + "a_key": "", # Properties of the object. }, - "text": { - "allowPlaybackInterruption": True or False, - "text": [ - "A String", - ], + "playbookTraceMetadata": { + "displayName": "A String", + "playbook": "A String", }, - "toolCall": { - "action": "A String", - "inputParameters": { - "a_key": "", # Properties of the object. - }, - "tool": "A String", + "speechProcessingMetadata": { + "displayName": "A String", }, + "startTime": "A String", }, ], - "sentimentAnalysisResult": { - "magnitude": 3.14, - "score": 3.14, - }, - "text": "A String", "transcript": "A String", "triggerEvent": "A String", "triggerIntent": "A String", @@ -12086,6 +12787,7 @@

Method Details

"intent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -12121,6 +12823,7 @@

Method Details

"intent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -12218,6 +12921,237 @@

Method Details

"score": 3.14, }, "text": "A String", + "traceBlocks": [ + { + "actions": [ + { + "agentUtterance": { + "requireGeneration": True or False, + "text": "A String", + }, + "completeTime": "A String", + "displayName": "A String", + "event": { + "event": "A String", + "text": "A String", + }, + "flowInvocation": { + "displayName": "A String", + "flow": "A String", + "flowState": "A String", + "inputActionParameters": { + "a_key": "", # Properties of the object. + }, + "outputActionParameters": { + "a_key": "", # Properties of the object. + }, + }, + "flowStateUpdate": { + "destination": "A String", + "eventType": "A String", + "functionCall": { + "name": "A String", + }, + "pageState": { + "displayName": "A String", + "page": "A String", + "status": "A String", + }, + "updatedParameters": { + "a_key": "", # Properties of the object. + }, + }, + "flowTransition": { + "displayName": "A String", + "flow": "A String", + "inputActionParameters": { + "a_key": "", # Properties of the object. + }, + }, + "intentMatch": { + "matchedIntents": [ + { + "displayName": "A String", + "generativeFallback": { + "a_key": "", # Properties of the object. + }, + "intentId": "A String", + "score": 3.14, + }, + ], + }, + "llmCall": { + "model": "A String", + "retrievedExamples": [ + { + "exampleDisplayName": "A String", + "exampleId": "A String", + "matchedRetrievalLabel": "A String", + "retrievalStrategy": "A String", + }, + ], + "temperature": 3.14, + "tokenCount": { + "conversationContextTokenCount": "A String", + "exampleTokenCount": "A String", + "totalInputTokenCount": "A String", + "totalOutputTokenCount": "A String", + }, + }, + "playbookInvocation": { + "displayName": "A String", + "playbook": "A String", + "playbookInput": { + "actionParameters": { + "a_key": "", # Properties of the object. + }, + "precedingConversationSummary": "A String", + }, + "playbookOutput": { + "actionParameters": { + "a_key": "", # Properties of the object. + }, + "executionSummary": "A String", + "state": "A String", + }, + "playbookState": "A String", + }, + "playbookTransition": { + "displayName": "A String", + "inputActionParameters": { + "a_key": "", # Properties of the object. + }, + "playbook": "A String", + }, + "startTime": "A String", + "status": { + "exception": { + "errorMessage": "A String", + }, + }, + "stt": { + }, + "subExecutionSteps": [ + { + "completeTime": "A String", + "metrics": [ + { + "name": "A String", + "unit": "A String", + "value": "", + }, + ], + "name": "A String", + "startTime": "A String", + "tags": [ + "A String", + ], + }, + ], + "toolUse": { + "action": "A String", + "dataStoreToolTrace": { + "dataStoreConnectionSignals": { + "answer": "A String", + "answerGenerationModelCallSignals": { + "model": "A String", + "modelOutput": "A String", + "renderedPrompt": "A String", + }, + "answerParts": [ + { + "supportingIndices": [ + 42, + ], + "text": "A String", + }, + ], + "citedSnippets": [ + { + "searchSnippet": { + "documentTitle": "A String", + "documentUri": "A String", + "metadata": { + "a_key": "", # Properties of the object. + }, + "text": "A String", + }, + "snippetIndex": 42, + }, + ], + "groundingSignals": { + "decision": "A String", + "score": "A String", + }, + "rewriterModelCallSignals": { + "model": "A String", + "modelOutput": "A String", + "renderedPrompt": "A String", + }, + "rewrittenQuery": "A String", + "safetySignals": { + "bannedPhraseMatch": "A String", + "decision": "A String", + "matchedBannedPhrase": "A String", + }, + "searchSnippets": [ + { + "documentTitle": "A String", + "documentUri": "A String", + "metadata": { + "a_key": "", # Properties of the object. + }, + "text": "A String", + }, + ], + }, + }, + "displayName": "A String", + "inputActionParameters": { + "a_key": "", # Properties of the object. + }, + "outputActionParameters": { + "a_key": "", # Properties of the object. + }, + "tool": "A String", + "webhookToolTrace": { + "webhookTag": "A String", + "webhookUri": "A String", + }, + }, + "tts": { + }, + "userUtterance": { + "audio": "A String", + "audioTokens": [ + 42, + ], + "text": "A String", + }, + }, + ], + "completeTime": "A String", + "endState": "A String", + "flowTraceMetadata": { + "displayName": "A String", + "flow": "A String", + }, + "inputParameters": { + "a_key": "", # Properties of the object. + }, + "outputParameters": { + "a_key": "", # Properties of the object. + }, + "playbookTraceMetadata": { + "displayName": "A String", + "playbook": "A String", + }, + "speechProcessingMetadata": { + "displayName": "A String", + }, + "startTime": "A String", + }, + ], "transcript": "A String", "triggerEvent": "A String", "triggerIntent": "A String", diff --git a/docs/dyn/dialogflow_v3beta1.projects.locations.agents.environments.sessions.html b/docs/dyn/dialogflow_v3beta1.projects.locations.agents.environments.sessions.html index bf9e2ba2df..33a70f95bd 100644 --- a/docs/dyn/dialogflow_v3beta1.projects.locations.agents.environments.sessions.html +++ b/docs/dyn/dialogflow_v3beta1.projects.locations.agents.environments.sessions.html @@ -2371,6 +2371,7 @@

Method Details

"intent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -2406,6 +2407,7 @@

Method Details

"intent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -2503,6 +2505,237 @@

Method Details

"score": 3.14, }, "text": "A String", + "traceBlocks": [ + { + "actions": [ + { + "agentUtterance": { + "requireGeneration": True or False, + "text": "A String", + }, + "completeTime": "A String", + "displayName": "A String", + "event": { + "event": "A String", + "text": "A String", + }, + "flowInvocation": { + "displayName": "A String", + "flow": "A String", + "flowState": "A String", + "inputActionParameters": { + "a_key": "", # Properties of the object. + }, + "outputActionParameters": { + "a_key": "", # Properties of the object. + }, + }, + "flowStateUpdate": { + "destination": "A String", + "eventType": "A String", + "functionCall": { + "name": "A String", + }, + "pageState": { + "displayName": "A String", + "page": "A String", + "status": "A String", + }, + "updatedParameters": { + "a_key": "", # Properties of the object. + }, + }, + "flowTransition": { + "displayName": "A String", + "flow": "A String", + "inputActionParameters": { + "a_key": "", # Properties of the object. + }, + }, + "intentMatch": { + "matchedIntents": [ + { + "displayName": "A String", + "generativeFallback": { + "a_key": "", # Properties of the object. + }, + "intentId": "A String", + "score": 3.14, + }, + ], + }, + "llmCall": { + "model": "A String", + "retrievedExamples": [ + { + "exampleDisplayName": "A String", + "exampleId": "A String", + "matchedRetrievalLabel": "A String", + "retrievalStrategy": "A String", + }, + ], + "temperature": 3.14, + "tokenCount": { + "conversationContextTokenCount": "A String", + "exampleTokenCount": "A String", + "totalInputTokenCount": "A String", + "totalOutputTokenCount": "A String", + }, + }, + "playbookInvocation": { + "displayName": "A String", + "playbook": "A String", + "playbookInput": { + "actionParameters": { + "a_key": "", # Properties of the object. + }, + "precedingConversationSummary": "A String", + }, + "playbookOutput": { + "actionParameters": { + "a_key": "", # Properties of the object. + }, + "executionSummary": "A String", + "state": "A String", + }, + "playbookState": "A String", + }, + "playbookTransition": { + "displayName": "A String", + "inputActionParameters": { + "a_key": "", # Properties of the object. + }, + "playbook": "A String", + }, + "startTime": "A String", + "status": { + "exception": { + "errorMessage": "A String", + }, + }, + "stt": { + }, + "subExecutionSteps": [ + { + "completeTime": "A String", + "metrics": [ + { + "name": "A String", + "unit": "A String", + "value": "", + }, + ], + "name": "A String", + "startTime": "A String", + "tags": [ + "A String", + ], + }, + ], + "toolUse": { + "action": "A String", + "dataStoreToolTrace": { + "dataStoreConnectionSignals": { + "answer": "A String", + "answerGenerationModelCallSignals": { + "model": "A String", + "modelOutput": "A String", + "renderedPrompt": "A String", + }, + "answerParts": [ + { + "supportingIndices": [ + 42, + ], + "text": "A String", + }, + ], + "citedSnippets": [ + { + "searchSnippet": { + "documentTitle": "A String", + "documentUri": "A String", + "metadata": { + "a_key": "", # Properties of the object. + }, + "text": "A String", + }, + "snippetIndex": 42, + }, + ], + "groundingSignals": { + "decision": "A String", + "score": "A String", + }, + "rewriterModelCallSignals": { + "model": "A String", + "modelOutput": "A String", + "renderedPrompt": "A String", + }, + "rewrittenQuery": "A String", + "safetySignals": { + "bannedPhraseMatch": "A String", + "decision": "A String", + "matchedBannedPhrase": "A String", + }, + "searchSnippets": [ + { + "documentTitle": "A String", + "documentUri": "A String", + "metadata": { + "a_key": "", # Properties of the object. + }, + "text": "A String", + }, + ], + }, + }, + "displayName": "A String", + "inputActionParameters": { + "a_key": "", # Properties of the object. + }, + "outputActionParameters": { + "a_key": "", # Properties of the object. + }, + "tool": "A String", + "webhookToolTrace": { + "webhookTag": "A String", + "webhookUri": "A String", + }, + }, + "tts": { + }, + "userUtterance": { + "audio": "A String", + "audioTokens": [ + 42, + ], + "text": "A String", + }, + }, + ], + "completeTime": "A String", + "endState": "A String", + "flowTraceMetadata": { + "displayName": "A String", + "flow": "A String", + }, + "inputParameters": { + "a_key": "", # Properties of the object. + }, + "outputParameters": { + "a_key": "", # Properties of the object. + }, + "playbookTraceMetadata": { + "displayName": "A String", + "playbook": "A String", + }, + "speechProcessingMetadata": { + "displayName": "A String", + }, + "startTime": "A String", + }, + ], "transcript": "A String", "triggerEvent": "A String", "triggerIntent": "A String", @@ -2556,6 +2789,7 @@

Method Details

"intent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -4850,6 +5084,7 @@

Method Details

"intent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -4885,6 +5120,7 @@

Method Details

"intent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -4952,36 +5188,267 @@

Method Details

"ssml": "A String", "text": "A String", }, - "payload": { + "payload": { + "a_key": "", # Properties of the object. + }, + "playAudio": { + "allowPlaybackInterruption": True or False, + "audioUri": "A String", + }, + "telephonyTransferCall": { + "phoneNumber": "A String", + }, + "text": { + "allowPlaybackInterruption": True or False, + "text": [ + "A String", + ], + }, + "toolCall": { + "action": "A String", + "inputParameters": { + "a_key": "", # Properties of the object. + }, + "tool": "A String", + }, + }, + ], + "sentimentAnalysisResult": { + "magnitude": 3.14, + "score": 3.14, + }, + "text": "A String", + "traceBlocks": [ + { + "actions": [ + { + "agentUtterance": { + "requireGeneration": True or False, + "text": "A String", + }, + "completeTime": "A String", + "displayName": "A String", + "event": { + "event": "A String", + "text": "A String", + }, + "flowInvocation": { + "displayName": "A String", + "flow": "A String", + "flowState": "A String", + "inputActionParameters": { + "a_key": "", # Properties of the object. + }, + "outputActionParameters": { + "a_key": "", # Properties of the object. + }, + }, + "flowStateUpdate": { + "destination": "A String", + "eventType": "A String", + "functionCall": { + "name": "A String", + }, + "pageState": { + "displayName": "A String", + "page": "A String", + "status": "A String", + }, + "updatedParameters": { + "a_key": "", # Properties of the object. + }, + }, + "flowTransition": { + "displayName": "A String", + "flow": "A String", + "inputActionParameters": { + "a_key": "", # Properties of the object. + }, + }, + "intentMatch": { + "matchedIntents": [ + { + "displayName": "A String", + "generativeFallback": { + "a_key": "", # Properties of the object. + }, + "intentId": "A String", + "score": 3.14, + }, + ], + }, + "llmCall": { + "model": "A String", + "retrievedExamples": [ + { + "exampleDisplayName": "A String", + "exampleId": "A String", + "matchedRetrievalLabel": "A String", + "retrievalStrategy": "A String", + }, + ], + "temperature": 3.14, + "tokenCount": { + "conversationContextTokenCount": "A String", + "exampleTokenCount": "A String", + "totalInputTokenCount": "A String", + "totalOutputTokenCount": "A String", + }, + }, + "playbookInvocation": { + "displayName": "A String", + "playbook": "A String", + "playbookInput": { + "actionParameters": { + "a_key": "", # Properties of the object. + }, + "precedingConversationSummary": "A String", + }, + "playbookOutput": { + "actionParameters": { + "a_key": "", # Properties of the object. + }, + "executionSummary": "A String", + "state": "A String", + }, + "playbookState": "A String", + }, + "playbookTransition": { + "displayName": "A String", + "inputActionParameters": { + "a_key": "", # Properties of the object. + }, + "playbook": "A String", + }, + "startTime": "A String", + "status": { + "exception": { + "errorMessage": "A String", + }, + }, + "stt": { + }, + "subExecutionSteps": [ + { + "completeTime": "A String", + "metrics": [ + { + "name": "A String", + "unit": "A String", + "value": "", + }, + ], + "name": "A String", + "startTime": "A String", + "tags": [ + "A String", + ], + }, + ], + "toolUse": { + "action": "A String", + "dataStoreToolTrace": { + "dataStoreConnectionSignals": { + "answer": "A String", + "answerGenerationModelCallSignals": { + "model": "A String", + "modelOutput": "A String", + "renderedPrompt": "A String", + }, + "answerParts": [ + { + "supportingIndices": [ + 42, + ], + "text": "A String", + }, + ], + "citedSnippets": [ + { + "searchSnippet": { + "documentTitle": "A String", + "documentUri": "A String", + "metadata": { + "a_key": "", # Properties of the object. + }, + "text": "A String", + }, + "snippetIndex": 42, + }, + ], + "groundingSignals": { + "decision": "A String", + "score": "A String", + }, + "rewriterModelCallSignals": { + "model": "A String", + "modelOutput": "A String", + "renderedPrompt": "A String", + }, + "rewrittenQuery": "A String", + "safetySignals": { + "bannedPhraseMatch": "A String", + "decision": "A String", + "matchedBannedPhrase": "A String", + }, + "searchSnippets": [ + { + "documentTitle": "A String", + "documentUri": "A String", + "metadata": { + "a_key": "", # Properties of the object. + }, + "text": "A String", + }, + ], + }, + }, + "displayName": "A String", + "inputActionParameters": { + "a_key": "", # Properties of the object. + }, + "outputActionParameters": { + "a_key": "", # Properties of the object. + }, + "tool": "A String", + "webhookToolTrace": { + "webhookTag": "A String", + "webhookUri": "A String", + }, + }, + "tts": { + }, + "userUtterance": { + "audio": "A String", + "audioTokens": [ + 42, + ], + "text": "A String", + }, + }, + ], + "completeTime": "A String", + "endState": "A String", + "flowTraceMetadata": { + "displayName": "A String", + "flow": "A String", + }, + "inputParameters": { "a_key": "", # Properties of the object. }, - "playAudio": { - "allowPlaybackInterruption": True or False, - "audioUri": "A String", - }, - "telephonyTransferCall": { - "phoneNumber": "A String", + "outputParameters": { + "a_key": "", # Properties of the object. }, - "text": { - "allowPlaybackInterruption": True or False, - "text": [ - "A String", - ], + "playbookTraceMetadata": { + "displayName": "A String", + "playbook": "A String", }, - "toolCall": { - "action": "A String", - "inputParameters": { - "a_key": "", # Properties of the object. - }, - "tool": "A String", + "speechProcessingMetadata": { + "displayName": "A String", }, + "startTime": "A String", }, ], - "sentimentAnalysisResult": { - "magnitude": 3.14, - "score": 3.14, - }, - "text": "A String", "transcript": "A String", "triggerEvent": "A String", "triggerIntent": "A String", @@ -6315,6 +6782,7 @@

Method Details

"intent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -8627,6 +9095,7 @@

Method Details

"intent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -8662,6 +9131,7 @@

Method Details

"intent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -8759,6 +9229,237 @@

Method Details

"score": 3.14, }, "text": "A String", + "traceBlocks": [ + { + "actions": [ + { + "agentUtterance": { + "requireGeneration": True or False, + "text": "A String", + }, + "completeTime": "A String", + "displayName": "A String", + "event": { + "event": "A String", + "text": "A String", + }, + "flowInvocation": { + "displayName": "A String", + "flow": "A String", + "flowState": "A String", + "inputActionParameters": { + "a_key": "", # Properties of the object. + }, + "outputActionParameters": { + "a_key": "", # Properties of the object. + }, + }, + "flowStateUpdate": { + "destination": "A String", + "eventType": "A String", + "functionCall": { + "name": "A String", + }, + "pageState": { + "displayName": "A String", + "page": "A String", + "status": "A String", + }, + "updatedParameters": { + "a_key": "", # Properties of the object. + }, + }, + "flowTransition": { + "displayName": "A String", + "flow": "A String", + "inputActionParameters": { + "a_key": "", # Properties of the object. + }, + }, + "intentMatch": { + "matchedIntents": [ + { + "displayName": "A String", + "generativeFallback": { + "a_key": "", # Properties of the object. + }, + "intentId": "A String", + "score": 3.14, + }, + ], + }, + "llmCall": { + "model": "A String", + "retrievedExamples": [ + { + "exampleDisplayName": "A String", + "exampleId": "A String", + "matchedRetrievalLabel": "A String", + "retrievalStrategy": "A String", + }, + ], + "temperature": 3.14, + "tokenCount": { + "conversationContextTokenCount": "A String", + "exampleTokenCount": "A String", + "totalInputTokenCount": "A String", + "totalOutputTokenCount": "A String", + }, + }, + "playbookInvocation": { + "displayName": "A String", + "playbook": "A String", + "playbookInput": { + "actionParameters": { + "a_key": "", # Properties of the object. + }, + "precedingConversationSummary": "A String", + }, + "playbookOutput": { + "actionParameters": { + "a_key": "", # Properties of the object. + }, + "executionSummary": "A String", + "state": "A String", + }, + "playbookState": "A String", + }, + "playbookTransition": { + "displayName": "A String", + "inputActionParameters": { + "a_key": "", # Properties of the object. + }, + "playbook": "A String", + }, + "startTime": "A String", + "status": { + "exception": { + "errorMessage": "A String", + }, + }, + "stt": { + }, + "subExecutionSteps": [ + { + "completeTime": "A String", + "metrics": [ + { + "name": "A String", + "unit": "A String", + "value": "", + }, + ], + "name": "A String", + "startTime": "A String", + "tags": [ + "A String", + ], + }, + ], + "toolUse": { + "action": "A String", + "dataStoreToolTrace": { + "dataStoreConnectionSignals": { + "answer": "A String", + "answerGenerationModelCallSignals": { + "model": "A String", + "modelOutput": "A String", + "renderedPrompt": "A String", + }, + "answerParts": [ + { + "supportingIndices": [ + 42, + ], + "text": "A String", + }, + ], + "citedSnippets": [ + { + "searchSnippet": { + "documentTitle": "A String", + "documentUri": "A String", + "metadata": { + "a_key": "", # Properties of the object. + }, + "text": "A String", + }, + "snippetIndex": 42, + }, + ], + "groundingSignals": { + "decision": "A String", + "score": "A String", + }, + "rewriterModelCallSignals": { + "model": "A String", + "modelOutput": "A String", + "renderedPrompt": "A String", + }, + "rewrittenQuery": "A String", + "safetySignals": { + "bannedPhraseMatch": "A String", + "decision": "A String", + "matchedBannedPhrase": "A String", + }, + "searchSnippets": [ + { + "documentTitle": "A String", + "documentUri": "A String", + "metadata": { + "a_key": "", # Properties of the object. + }, + "text": "A String", + }, + ], + }, + }, + "displayName": "A String", + "inputActionParameters": { + "a_key": "", # Properties of the object. + }, + "outputActionParameters": { + "a_key": "", # Properties of the object. + }, + "tool": "A String", + "webhookToolTrace": { + "webhookTag": "A String", + "webhookUri": "A String", + }, + }, + "tts": { + }, + "userUtterance": { + "audio": "A String", + "audioTokens": [ + 42, + ], + "text": "A String", + }, + }, + ], + "completeTime": "A String", + "endState": "A String", + "flowTraceMetadata": { + "displayName": "A String", + "flow": "A String", + }, + "inputParameters": { + "a_key": "", # Properties of the object. + }, + "outputParameters": { + "a_key": "", # Properties of the object. + }, + "playbookTraceMetadata": { + "displayName": "A String", + "playbook": "A String", + }, + "speechProcessingMetadata": { + "displayName": "A String", + }, + "startTime": "A String", + }, + ], "transcript": "A String", "triggerEvent": "A String", "triggerIntent": "A String", diff --git a/docs/dyn/dialogflow_v3beta1.projects.locations.agents.intents.html b/docs/dyn/dialogflow_v3beta1.projects.locations.agents.intents.html index e098136472..985b8da08c 100644 --- a/docs/dyn/dialogflow_v3beta1.projects.locations.agents.intents.html +++ b/docs/dyn/dialogflow_v3beta1.projects.locations.agents.intents.html @@ -119,6 +119,7 @@

Method Details

{ "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -159,6 +160,7 @@

Method Details

{ "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -271,6 +273,7 @@

Method Details

{ "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -373,6 +376,7 @@

Method Details

{ "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -431,6 +435,7 @@

Method Details

{ "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -472,6 +477,7 @@

Method Details

{ "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", diff --git a/docs/dyn/dialogflow_v3beta1.projects.locations.agents.sessions.html b/docs/dyn/dialogflow_v3beta1.projects.locations.agents.sessions.html index 1f891cd176..0ef23b5d86 100644 --- a/docs/dyn/dialogflow_v3beta1.projects.locations.agents.sessions.html +++ b/docs/dyn/dialogflow_v3beta1.projects.locations.agents.sessions.html @@ -2374,6 +2374,7 @@

Method Details

"intent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -2409,6 +2410,7 @@

Method Details

"intent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -2506,6 +2508,237 @@

Method Details

"score": 3.14, }, "text": "A String", + "traceBlocks": [ + { + "actions": [ + { + "agentUtterance": { + "requireGeneration": True or False, + "text": "A String", + }, + "completeTime": "A String", + "displayName": "A String", + "event": { + "event": "A String", + "text": "A String", + }, + "flowInvocation": { + "displayName": "A String", + "flow": "A String", + "flowState": "A String", + "inputActionParameters": { + "a_key": "", # Properties of the object. + }, + "outputActionParameters": { + "a_key": "", # Properties of the object. + }, + }, + "flowStateUpdate": { + "destination": "A String", + "eventType": "A String", + "functionCall": { + "name": "A String", + }, + "pageState": { + "displayName": "A String", + "page": "A String", + "status": "A String", + }, + "updatedParameters": { + "a_key": "", # Properties of the object. + }, + }, + "flowTransition": { + "displayName": "A String", + "flow": "A String", + "inputActionParameters": { + "a_key": "", # Properties of the object. + }, + }, + "intentMatch": { + "matchedIntents": [ + { + "displayName": "A String", + "generativeFallback": { + "a_key": "", # Properties of the object. + }, + "intentId": "A String", + "score": 3.14, + }, + ], + }, + "llmCall": { + "model": "A String", + "retrievedExamples": [ + { + "exampleDisplayName": "A String", + "exampleId": "A String", + "matchedRetrievalLabel": "A String", + "retrievalStrategy": "A String", + }, + ], + "temperature": 3.14, + "tokenCount": { + "conversationContextTokenCount": "A String", + "exampleTokenCount": "A String", + "totalInputTokenCount": "A String", + "totalOutputTokenCount": "A String", + }, + }, + "playbookInvocation": { + "displayName": "A String", + "playbook": "A String", + "playbookInput": { + "actionParameters": { + "a_key": "", # Properties of the object. + }, + "precedingConversationSummary": "A String", + }, + "playbookOutput": { + "actionParameters": { + "a_key": "", # Properties of the object. + }, + "executionSummary": "A String", + "state": "A String", + }, + "playbookState": "A String", + }, + "playbookTransition": { + "displayName": "A String", + "inputActionParameters": { + "a_key": "", # Properties of the object. + }, + "playbook": "A String", + }, + "startTime": "A String", + "status": { + "exception": { + "errorMessage": "A String", + }, + }, + "stt": { + }, + "subExecutionSteps": [ + { + "completeTime": "A String", + "metrics": [ + { + "name": "A String", + "unit": "A String", + "value": "", + }, + ], + "name": "A String", + "startTime": "A String", + "tags": [ + "A String", + ], + }, + ], + "toolUse": { + "action": "A String", + "dataStoreToolTrace": { + "dataStoreConnectionSignals": { + "answer": "A String", + "answerGenerationModelCallSignals": { + "model": "A String", + "modelOutput": "A String", + "renderedPrompt": "A String", + }, + "answerParts": [ + { + "supportingIndices": [ + 42, + ], + "text": "A String", + }, + ], + "citedSnippets": [ + { + "searchSnippet": { + "documentTitle": "A String", + "documentUri": "A String", + "metadata": { + "a_key": "", # Properties of the object. + }, + "text": "A String", + }, + "snippetIndex": 42, + }, + ], + "groundingSignals": { + "decision": "A String", + "score": "A String", + }, + "rewriterModelCallSignals": { + "model": "A String", + "modelOutput": "A String", + "renderedPrompt": "A String", + }, + "rewrittenQuery": "A String", + "safetySignals": { + "bannedPhraseMatch": "A String", + "decision": "A String", + "matchedBannedPhrase": "A String", + }, + "searchSnippets": [ + { + "documentTitle": "A String", + "documentUri": "A String", + "metadata": { + "a_key": "", # Properties of the object. + }, + "text": "A String", + }, + ], + }, + }, + "displayName": "A String", + "inputActionParameters": { + "a_key": "", # Properties of the object. + }, + "outputActionParameters": { + "a_key": "", # Properties of the object. + }, + "tool": "A String", + "webhookToolTrace": { + "webhookTag": "A String", + "webhookUri": "A String", + }, + }, + "tts": { + }, + "userUtterance": { + "audio": "A String", + "audioTokens": [ + 42, + ], + "text": "A String", + }, + }, + ], + "completeTime": "A String", + "endState": "A String", + "flowTraceMetadata": { + "displayName": "A String", + "flow": "A String", + }, + "inputParameters": { + "a_key": "", # Properties of the object. + }, + "outputParameters": { + "a_key": "", # Properties of the object. + }, + "playbookTraceMetadata": { + "displayName": "A String", + "playbook": "A String", + }, + "speechProcessingMetadata": { + "displayName": "A String", + }, + "startTime": "A String", + }, + ], "transcript": "A String", "triggerEvent": "A String", "triggerIntent": "A String", @@ -2559,6 +2792,7 @@

Method Details

"intent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -4853,6 +5087,7 @@

Method Details

"intent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -4888,6 +5123,7 @@

Method Details

"intent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -4955,36 +5191,267 @@

Method Details

"ssml": "A String", "text": "A String", }, - "payload": { + "payload": { + "a_key": "", # Properties of the object. + }, + "playAudio": { + "allowPlaybackInterruption": True or False, + "audioUri": "A String", + }, + "telephonyTransferCall": { + "phoneNumber": "A String", + }, + "text": { + "allowPlaybackInterruption": True or False, + "text": [ + "A String", + ], + }, + "toolCall": { + "action": "A String", + "inputParameters": { + "a_key": "", # Properties of the object. + }, + "tool": "A String", + }, + }, + ], + "sentimentAnalysisResult": { + "magnitude": 3.14, + "score": 3.14, + }, + "text": "A String", + "traceBlocks": [ + { + "actions": [ + { + "agentUtterance": { + "requireGeneration": True or False, + "text": "A String", + }, + "completeTime": "A String", + "displayName": "A String", + "event": { + "event": "A String", + "text": "A String", + }, + "flowInvocation": { + "displayName": "A String", + "flow": "A String", + "flowState": "A String", + "inputActionParameters": { + "a_key": "", # Properties of the object. + }, + "outputActionParameters": { + "a_key": "", # Properties of the object. + }, + }, + "flowStateUpdate": { + "destination": "A String", + "eventType": "A String", + "functionCall": { + "name": "A String", + }, + "pageState": { + "displayName": "A String", + "page": "A String", + "status": "A String", + }, + "updatedParameters": { + "a_key": "", # Properties of the object. + }, + }, + "flowTransition": { + "displayName": "A String", + "flow": "A String", + "inputActionParameters": { + "a_key": "", # Properties of the object. + }, + }, + "intentMatch": { + "matchedIntents": [ + { + "displayName": "A String", + "generativeFallback": { + "a_key": "", # Properties of the object. + }, + "intentId": "A String", + "score": 3.14, + }, + ], + }, + "llmCall": { + "model": "A String", + "retrievedExamples": [ + { + "exampleDisplayName": "A String", + "exampleId": "A String", + "matchedRetrievalLabel": "A String", + "retrievalStrategy": "A String", + }, + ], + "temperature": 3.14, + "tokenCount": { + "conversationContextTokenCount": "A String", + "exampleTokenCount": "A String", + "totalInputTokenCount": "A String", + "totalOutputTokenCount": "A String", + }, + }, + "playbookInvocation": { + "displayName": "A String", + "playbook": "A String", + "playbookInput": { + "actionParameters": { + "a_key": "", # Properties of the object. + }, + "precedingConversationSummary": "A String", + }, + "playbookOutput": { + "actionParameters": { + "a_key": "", # Properties of the object. + }, + "executionSummary": "A String", + "state": "A String", + }, + "playbookState": "A String", + }, + "playbookTransition": { + "displayName": "A String", + "inputActionParameters": { + "a_key": "", # Properties of the object. + }, + "playbook": "A String", + }, + "startTime": "A String", + "status": { + "exception": { + "errorMessage": "A String", + }, + }, + "stt": { + }, + "subExecutionSteps": [ + { + "completeTime": "A String", + "metrics": [ + { + "name": "A String", + "unit": "A String", + "value": "", + }, + ], + "name": "A String", + "startTime": "A String", + "tags": [ + "A String", + ], + }, + ], + "toolUse": { + "action": "A String", + "dataStoreToolTrace": { + "dataStoreConnectionSignals": { + "answer": "A String", + "answerGenerationModelCallSignals": { + "model": "A String", + "modelOutput": "A String", + "renderedPrompt": "A String", + }, + "answerParts": [ + { + "supportingIndices": [ + 42, + ], + "text": "A String", + }, + ], + "citedSnippets": [ + { + "searchSnippet": { + "documentTitle": "A String", + "documentUri": "A String", + "metadata": { + "a_key": "", # Properties of the object. + }, + "text": "A String", + }, + "snippetIndex": 42, + }, + ], + "groundingSignals": { + "decision": "A String", + "score": "A String", + }, + "rewriterModelCallSignals": { + "model": "A String", + "modelOutput": "A String", + "renderedPrompt": "A String", + }, + "rewrittenQuery": "A String", + "safetySignals": { + "bannedPhraseMatch": "A String", + "decision": "A String", + "matchedBannedPhrase": "A String", + }, + "searchSnippets": [ + { + "documentTitle": "A String", + "documentUri": "A String", + "metadata": { + "a_key": "", # Properties of the object. + }, + "text": "A String", + }, + ], + }, + }, + "displayName": "A String", + "inputActionParameters": { + "a_key": "", # Properties of the object. + }, + "outputActionParameters": { + "a_key": "", # Properties of the object. + }, + "tool": "A String", + "webhookToolTrace": { + "webhookTag": "A String", + "webhookUri": "A String", + }, + }, + "tts": { + }, + "userUtterance": { + "audio": "A String", + "audioTokens": [ + 42, + ], + "text": "A String", + }, + }, + ], + "completeTime": "A String", + "endState": "A String", + "flowTraceMetadata": { + "displayName": "A String", + "flow": "A String", + }, + "inputParameters": { "a_key": "", # Properties of the object. }, - "playAudio": { - "allowPlaybackInterruption": True or False, - "audioUri": "A String", - }, - "telephonyTransferCall": { - "phoneNumber": "A String", + "outputParameters": { + "a_key": "", # Properties of the object. }, - "text": { - "allowPlaybackInterruption": True or False, - "text": [ - "A String", - ], + "playbookTraceMetadata": { + "displayName": "A String", + "playbook": "A String", }, - "toolCall": { - "action": "A String", - "inputParameters": { - "a_key": "", # Properties of the object. - }, - "tool": "A String", + "speechProcessingMetadata": { + "displayName": "A String", }, + "startTime": "A String", }, ], - "sentimentAnalysisResult": { - "magnitude": 3.14, - "score": 3.14, - }, - "text": "A String", "transcript": "A String", "triggerEvent": "A String", "triggerIntent": "A String", @@ -6318,6 +6785,7 @@

Method Details

"intent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -8630,6 +9098,7 @@

Method Details

"intent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -8665,6 +9134,7 @@

Method Details

"intent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -8762,6 +9232,237 @@

Method Details

"score": 3.14, }, "text": "A String", + "traceBlocks": [ + { + "actions": [ + { + "agentUtterance": { + "requireGeneration": True or False, + "text": "A String", + }, + "completeTime": "A String", + "displayName": "A String", + "event": { + "event": "A String", + "text": "A String", + }, + "flowInvocation": { + "displayName": "A String", + "flow": "A String", + "flowState": "A String", + "inputActionParameters": { + "a_key": "", # Properties of the object. + }, + "outputActionParameters": { + "a_key": "", # Properties of the object. + }, + }, + "flowStateUpdate": { + "destination": "A String", + "eventType": "A String", + "functionCall": { + "name": "A String", + }, + "pageState": { + "displayName": "A String", + "page": "A String", + "status": "A String", + }, + "updatedParameters": { + "a_key": "", # Properties of the object. + }, + }, + "flowTransition": { + "displayName": "A String", + "flow": "A String", + "inputActionParameters": { + "a_key": "", # Properties of the object. + }, + }, + "intentMatch": { + "matchedIntents": [ + { + "displayName": "A String", + "generativeFallback": { + "a_key": "", # Properties of the object. + }, + "intentId": "A String", + "score": 3.14, + }, + ], + }, + "llmCall": { + "model": "A String", + "retrievedExamples": [ + { + "exampleDisplayName": "A String", + "exampleId": "A String", + "matchedRetrievalLabel": "A String", + "retrievalStrategy": "A String", + }, + ], + "temperature": 3.14, + "tokenCount": { + "conversationContextTokenCount": "A String", + "exampleTokenCount": "A String", + "totalInputTokenCount": "A String", + "totalOutputTokenCount": "A String", + }, + }, + "playbookInvocation": { + "displayName": "A String", + "playbook": "A String", + "playbookInput": { + "actionParameters": { + "a_key": "", # Properties of the object. + }, + "precedingConversationSummary": "A String", + }, + "playbookOutput": { + "actionParameters": { + "a_key": "", # Properties of the object. + }, + "executionSummary": "A String", + "state": "A String", + }, + "playbookState": "A String", + }, + "playbookTransition": { + "displayName": "A String", + "inputActionParameters": { + "a_key": "", # Properties of the object. + }, + "playbook": "A String", + }, + "startTime": "A String", + "status": { + "exception": { + "errorMessage": "A String", + }, + }, + "stt": { + }, + "subExecutionSteps": [ + { + "completeTime": "A String", + "metrics": [ + { + "name": "A String", + "unit": "A String", + "value": "", + }, + ], + "name": "A String", + "startTime": "A String", + "tags": [ + "A String", + ], + }, + ], + "toolUse": { + "action": "A String", + "dataStoreToolTrace": { + "dataStoreConnectionSignals": { + "answer": "A String", + "answerGenerationModelCallSignals": { + "model": "A String", + "modelOutput": "A String", + "renderedPrompt": "A String", + }, + "answerParts": [ + { + "supportingIndices": [ + 42, + ], + "text": "A String", + }, + ], + "citedSnippets": [ + { + "searchSnippet": { + "documentTitle": "A String", + "documentUri": "A String", + "metadata": { + "a_key": "", # Properties of the object. + }, + "text": "A String", + }, + "snippetIndex": 42, + }, + ], + "groundingSignals": { + "decision": "A String", + "score": "A String", + }, + "rewriterModelCallSignals": { + "model": "A String", + "modelOutput": "A String", + "renderedPrompt": "A String", + }, + "rewrittenQuery": "A String", + "safetySignals": { + "bannedPhraseMatch": "A String", + "decision": "A String", + "matchedBannedPhrase": "A String", + }, + "searchSnippets": [ + { + "documentTitle": "A String", + "documentUri": "A String", + "metadata": { + "a_key": "", # Properties of the object. + }, + "text": "A String", + }, + ], + }, + }, + "displayName": "A String", + "inputActionParameters": { + "a_key": "", # Properties of the object. + }, + "outputActionParameters": { + "a_key": "", # Properties of the object. + }, + "tool": "A String", + "webhookToolTrace": { + "webhookTag": "A String", + "webhookUri": "A String", + }, + }, + "tts": { + }, + "userUtterance": { + "audio": "A String", + "audioTokens": [ + 42, + ], + "text": "A String", + }, + }, + ], + "completeTime": "A String", + "endState": "A String", + "flowTraceMetadata": { + "displayName": "A String", + "flow": "A String", + }, + "inputParameters": { + "a_key": "", # Properties of the object. + }, + "outputParameters": { + "a_key": "", # Properties of the object. + }, + "playbookTraceMetadata": { + "displayName": "A String", + "playbook": "A String", + }, + "speechProcessingMetadata": { + "displayName": "A String", + }, + "startTime": "A String", + }, + ], "transcript": "A String", "triggerEvent": "A String", "triggerIntent": "A String", diff --git a/docs/dyn/dialogflow_v3beta1.projects.locations.agents.testCases.html b/docs/dyn/dialogflow_v3beta1.projects.locations.agents.testCases.html index af5518e07d..86c8a18661 100644 --- a/docs/dyn/dialogflow_v3beta1.projects.locations.agents.testCases.html +++ b/docs/dyn/dialogflow_v3beta1.projects.locations.agents.testCases.html @@ -5706,6 +5706,7 @@

Method Details

"triggeredIntent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -6965,6 +6966,7 @@

Method Details

"triggeredIntent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -8235,6 +8237,7 @@

Method Details

"triggeredIntent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -9494,6 +9497,7 @@

Method Details

"triggeredIntent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -10815,6 +10819,7 @@

Method Details

"triggeredIntent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -12074,6 +12079,7 @@

Method Details

"triggeredIntent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -13404,6 +13410,7 @@

Method Details

"triggeredIntent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -14663,6 +14670,7 @@

Method Details

"triggeredIntent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -15951,6 +15959,7 @@

Method Details

"triggeredIntent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -17210,6 +17219,7 @@

Method Details

"triggeredIntent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -18481,6 +18491,7 @@

Method Details

"triggeredIntent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -19740,6 +19751,7 @@

Method Details

"triggeredIntent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", diff --git a/docs/dyn/dialogflow_v3beta1.projects.locations.agents.testCases.results.html b/docs/dyn/dialogflow_v3beta1.projects.locations.agents.testCases.results.html index 56c4ae479f..4b08a26d97 100644 --- a/docs/dyn/dialogflow_v3beta1.projects.locations.agents.testCases.results.html +++ b/docs/dyn/dialogflow_v3beta1.projects.locations.agents.testCases.results.html @@ -1326,6 +1326,7 @@

Method Details

"triggeredIntent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", @@ -2603,6 +2604,7 @@

Method Details

"triggeredIntent": { "description": "A String", "displayName": "A String", + "dtmfPattern": "A String", "isFallback": True or False, "labels": { "a_key": "A String", diff --git a/docs/dyn/discoveryengine_v1.projects.locations.collections.dataStores.servingConfigs.html b/docs/dyn/discoveryengine_v1.projects.locations.collections.dataStores.servingConfigs.html index fac8b4a099..a1d90b698b 100644 --- a/docs/dyn/discoveryengine_v1.projects.locations.collections.dataStores.servingConfigs.html +++ b/docs/dyn/discoveryengine_v1.projects.locations.collections.dataStores.servingConfigs.html @@ -234,6 +234,7 @@

Method Details

"customSearchOperators": "A String", # Optional. Custom search operators which if specified will be used to filter results from workspace data stores. For more information on custom search operators, see [SearchOperators](https://support.google.com/cloudsearch/answer/6172299). "dataStore": "A String", # Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. The path must include the project number, project id is not supported for this field. "filter": "A String", # Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see [Filtering](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) + "numResults": 42, # Optional. The maximum number of results to retrieve from this data store. If not specified, it will use the SearchRequest.num_results_per_data_store if provided, otherwise there is no limit. If both this field and SearchRequest.num_results_per_data_store are specified, this field will be used. }, ], "filter": "A String", # The filter syntax consists of an expression language for constructing a predicate from one or more fields of the documents being filtered. Filter expression is case-sensitive. This will be used to filter search results which may affect the Answer response. If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. Filtering in Vertex AI Search is done by mapping the LHS filter key to a key property defined in the Vertex AI Search backend -- this mapping is defined by the customer in their schema. For example a media customers might have a field 'name' in their schema. In this case the filter would look like this: filter --> name:'ANY("king kong")' For more information about filtering including syntax and filter operators, see [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) @@ -352,9 +353,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -505,9 +503,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -1681,6 +1676,7 @@

Method Details

"customSearchOperators": "A String", # Optional. Custom search operators which if specified will be used to filter results from workspace data stores. For more information on custom search operators, see [SearchOperators](https://support.google.com/cloudsearch/answer/6172299). "dataStore": "A String", # Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. The path must include the project number, project id is not supported for this field. "filter": "A String", # Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see [Filtering](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) + "numResults": 42, # Optional. The maximum number of results to retrieve from this data store. If not specified, it will use the SearchRequest.num_results_per_data_store if provided, otherwise there is no limit. If both this field and SearchRequest.num_results_per_data_store are specified, this field will be used. }, ], "displaySpec": { # Specifies features for display, like match highlighting. # Optional. Config for display feature, like match highlighting on search results. @@ -1732,6 +1728,7 @@

Method Details

"A String", ], }, + "numResultsPerDataStore": 42, # Optional. The maximum number of results to retrieve from each data store. If not specified, it will use the SearchRequest.DataStoreSpec.num_results if provided, otherwise there is no limit. "offset": 42, # A 0-indexed integer that specifies the current offset (that is, starting result location, amongst the Documents deemed by the API as relevant) in search results. This field is only considered if page_token is unset. If this field is negative, an `INVALID_ARGUMENT` is returned. A large offset may be capped to a reasonable threshold. "oneBoxPageSize": 42, # The maximum number of results to return for OneBox. This applies to each OneBox type individually. Default number is 10. "orderBy": "A String", # The order in which documents are returned. Documents can be ordered by a field in an Document object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. For more information on ordering the website search results, see [Order web search results](https://cloud.google.com/generative-ai-app-builder/docs/order-web-search-results). For more information on ordering the healthcare search results, see [Order healthcare search results](https://cloud.google.com/generative-ai-app-builder/docs/order-hc-results). If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. @@ -2132,6 +2129,7 @@

Method Details

"customSearchOperators": "A String", # Optional. Custom search operators which if specified will be used to filter results from workspace data stores. For more information on custom search operators, see [SearchOperators](https://support.google.com/cloudsearch/answer/6172299). "dataStore": "A String", # Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. The path must include the project number, project id is not supported for this field. "filter": "A String", # Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see [Filtering](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) + "numResults": 42, # Optional. The maximum number of results to retrieve from this data store. If not specified, it will use the SearchRequest.num_results_per_data_store if provided, otherwise there is no limit. If both this field and SearchRequest.num_results_per_data_store are specified, this field will be used. }, ], "displaySpec": { # Specifies features for display, like match highlighting. # Optional. Config for display feature, like match highlighting on search results. @@ -2183,6 +2181,7 @@

Method Details

"A String", ], }, + "numResultsPerDataStore": 42, # Optional. The maximum number of results to retrieve from each data store. If not specified, it will use the SearchRequest.DataStoreSpec.num_results if provided, otherwise there is no limit. "offset": 42, # A 0-indexed integer that specifies the current offset (that is, starting result location, amongst the Documents deemed by the API as relevant) in search results. This field is only considered if page_token is unset. If this field is negative, an `INVALID_ARGUMENT` is returned. A large offset may be capped to a reasonable threshold. "oneBoxPageSize": 42, # The maximum number of results to return for OneBox. This applies to each OneBox type individually. Default number is 10. "orderBy": "A String", # The order in which documents are returned. Documents can be ordered by a field in an Document object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. For more information on ordering the website search results, see [Order web search results](https://cloud.google.com/generative-ai-app-builder/docs/order-web-search-results). For more information on ordering the healthcare search results, see [Order healthcare search results](https://cloud.google.com/generative-ai-app-builder/docs/order-hc-results). If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. @@ -2631,6 +2630,7 @@

Method Details

"customSearchOperators": "A String", # Optional. Custom search operators which if specified will be used to filter results from workspace data stores. For more information on custom search operators, see [SearchOperators](https://support.google.com/cloudsearch/answer/6172299). "dataStore": "A String", # Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. The path must include the project number, project id is not supported for this field. "filter": "A String", # Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see [Filtering](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) + "numResults": 42, # Optional. The maximum number of results to retrieve from this data store. If not specified, it will use the SearchRequest.num_results_per_data_store if provided, otherwise there is no limit. If both this field and SearchRequest.num_results_per_data_store are specified, this field will be used. }, ], "filter": "A String", # The filter syntax consists of an expression language for constructing a predicate from one or more fields of the documents being filtered. Filter expression is case-sensitive. This will be used to filter search results which may affect the Answer response. If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. Filtering in Vertex AI Search is done by mapping the LHS filter key to a key property defined in the Vertex AI Search backend -- this mapping is defined by the customer in their schema. For example a media customers might have a field 'name' in their schema. In this case the filter would look like this: filter --> name:'ANY("king kong")' For more information about filtering including syntax and filter operators, see [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) @@ -2749,9 +2749,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -2902,9 +2899,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. diff --git a/docs/dyn/discoveryengine_v1.projects.locations.collections.dataStores.sessions.answers.html b/docs/dyn/discoveryengine_v1.projects.locations.collections.dataStores.sessions.answers.html index 115c1646b6..1314f939cc 100644 --- a/docs/dyn/discoveryengine_v1.projects.locations.collections.dataStores.sessions.answers.html +++ b/docs/dyn/discoveryengine_v1.projects.locations.collections.dataStores.sessions.answers.html @@ -157,9 +157,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. diff --git a/docs/dyn/discoveryengine_v1.projects.locations.collections.dataStores.sessions.html b/docs/dyn/discoveryengine_v1.projects.locations.collections.dataStores.sessions.html index db4610270a..f23cb0db42 100644 --- a/docs/dyn/discoveryengine_v1.projects.locations.collections.dataStores.sessions.html +++ b/docs/dyn/discoveryengine_v1.projects.locations.collections.dataStores.sessions.html @@ -185,9 +185,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -456,9 +453,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -753,9 +747,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -1038,9 +1029,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -1327,9 +1315,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -1599,9 +1584,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. diff --git a/docs/dyn/discoveryengine_v1.projects.locations.collections.engines.assistants.html b/docs/dyn/discoveryengine_v1.projects.locations.collections.engines.assistants.html index 867bd1e465..fe4c01578a 100644 --- a/docs/dyn/discoveryengine_v1.projects.locations.collections.engines.assistants.html +++ b/docs/dyn/discoveryengine_v1.projects.locations.collections.engines.assistants.html @@ -514,6 +514,7 @@

Method Details

"customSearchOperators": "A String", # Optional. Custom search operators which if specified will be used to filter results from workspace data stores. For more information on custom search operators, see [SearchOperators](https://support.google.com/cloudsearch/answer/6172299). "dataStore": "A String", # Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. The path must include the project number, project id is not supported for this field. "filter": "A String", # Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see [Filtering](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) + "numResults": 42, # Optional. The maximum number of results to retrieve from this data store. If not specified, it will use the SearchRequest.num_results_per_data_store if provided, otherwise there is no limit. If both this field and SearchRequest.num_results_per_data_store are specified, this field will be used. }, ], "filter": "A String", # Optional. The filter syntax consists of an expression language for constructing a predicate from one or more fields of the documents being filtered. Filter expression is case-sensitive. If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. Filtering in Vertex AI Search is done by mapping the LHS filter key to a key property defined in the Vertex AI Search backend -- this mapping is defined by the customer in their schema. For example a media customer might have a field 'name' in their schema. In this case the filter would look like this: filter --> name:'ANY("king kong")' For more information about filtering including syntax and filter operators, see [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) diff --git a/docs/dyn/discoveryengine_v1.projects.locations.collections.engines.servingConfigs.html b/docs/dyn/discoveryengine_v1.projects.locations.collections.engines.servingConfigs.html index b66d3881a7..c4834e6d2e 100644 --- a/docs/dyn/discoveryengine_v1.projects.locations.collections.engines.servingConfigs.html +++ b/docs/dyn/discoveryengine_v1.projects.locations.collections.engines.servingConfigs.html @@ -234,6 +234,7 @@

Method Details

"customSearchOperators": "A String", # Optional. Custom search operators which if specified will be used to filter results from workspace data stores. For more information on custom search operators, see [SearchOperators](https://support.google.com/cloudsearch/answer/6172299). "dataStore": "A String", # Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. The path must include the project number, project id is not supported for this field. "filter": "A String", # Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see [Filtering](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) + "numResults": 42, # Optional. The maximum number of results to retrieve from this data store. If not specified, it will use the SearchRequest.num_results_per_data_store if provided, otherwise there is no limit. If both this field and SearchRequest.num_results_per_data_store are specified, this field will be used. }, ], "filter": "A String", # The filter syntax consists of an expression language for constructing a predicate from one or more fields of the documents being filtered. Filter expression is case-sensitive. This will be used to filter search results which may affect the Answer response. If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. Filtering in Vertex AI Search is done by mapping the LHS filter key to a key property defined in the Vertex AI Search backend -- this mapping is defined by the customer in their schema. For example a media customers might have a field 'name' in their schema. In this case the filter would look like this: filter --> name:'ANY("king kong")' For more information about filtering including syntax and filter operators, see [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) @@ -352,9 +353,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -505,9 +503,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -1681,6 +1676,7 @@

Method Details

"customSearchOperators": "A String", # Optional. Custom search operators which if specified will be used to filter results from workspace data stores. For more information on custom search operators, see [SearchOperators](https://support.google.com/cloudsearch/answer/6172299). "dataStore": "A String", # Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. The path must include the project number, project id is not supported for this field. "filter": "A String", # Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see [Filtering](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) + "numResults": 42, # Optional. The maximum number of results to retrieve from this data store. If not specified, it will use the SearchRequest.num_results_per_data_store if provided, otherwise there is no limit. If both this field and SearchRequest.num_results_per_data_store are specified, this field will be used. }, ], "displaySpec": { # Specifies features for display, like match highlighting. # Optional. Config for display feature, like match highlighting on search results. @@ -1732,6 +1728,7 @@

Method Details

"A String", ], }, + "numResultsPerDataStore": 42, # Optional. The maximum number of results to retrieve from each data store. If not specified, it will use the SearchRequest.DataStoreSpec.num_results if provided, otherwise there is no limit. "offset": 42, # A 0-indexed integer that specifies the current offset (that is, starting result location, amongst the Documents deemed by the API as relevant) in search results. This field is only considered if page_token is unset. If this field is negative, an `INVALID_ARGUMENT` is returned. A large offset may be capped to a reasonable threshold. "oneBoxPageSize": 42, # The maximum number of results to return for OneBox. This applies to each OneBox type individually. Default number is 10. "orderBy": "A String", # The order in which documents are returned. Documents can be ordered by a field in an Document object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. For more information on ordering the website search results, see [Order web search results](https://cloud.google.com/generative-ai-app-builder/docs/order-web-search-results). For more information on ordering the healthcare search results, see [Order healthcare search results](https://cloud.google.com/generative-ai-app-builder/docs/order-hc-results). If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. @@ -2132,6 +2129,7 @@

Method Details

"customSearchOperators": "A String", # Optional. Custom search operators which if specified will be used to filter results from workspace data stores. For more information on custom search operators, see [SearchOperators](https://support.google.com/cloudsearch/answer/6172299). "dataStore": "A String", # Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. The path must include the project number, project id is not supported for this field. "filter": "A String", # Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see [Filtering](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) + "numResults": 42, # Optional. The maximum number of results to retrieve from this data store. If not specified, it will use the SearchRequest.num_results_per_data_store if provided, otherwise there is no limit. If both this field and SearchRequest.num_results_per_data_store are specified, this field will be used. }, ], "displaySpec": { # Specifies features for display, like match highlighting. # Optional. Config for display feature, like match highlighting on search results. @@ -2183,6 +2181,7 @@

Method Details

"A String", ], }, + "numResultsPerDataStore": 42, # Optional. The maximum number of results to retrieve from each data store. If not specified, it will use the SearchRequest.DataStoreSpec.num_results if provided, otherwise there is no limit. "offset": 42, # A 0-indexed integer that specifies the current offset (that is, starting result location, amongst the Documents deemed by the API as relevant) in search results. This field is only considered if page_token is unset. If this field is negative, an `INVALID_ARGUMENT` is returned. A large offset may be capped to a reasonable threshold. "oneBoxPageSize": 42, # The maximum number of results to return for OneBox. This applies to each OneBox type individually. Default number is 10. "orderBy": "A String", # The order in which documents are returned. Documents can be ordered by a field in an Document object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. For more information on ordering the website search results, see [Order web search results](https://cloud.google.com/generative-ai-app-builder/docs/order-web-search-results). For more information on ordering the healthcare search results, see [Order healthcare search results](https://cloud.google.com/generative-ai-app-builder/docs/order-hc-results). If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. @@ -2631,6 +2630,7 @@

Method Details

"customSearchOperators": "A String", # Optional. Custom search operators which if specified will be used to filter results from workspace data stores. For more information on custom search operators, see [SearchOperators](https://support.google.com/cloudsearch/answer/6172299). "dataStore": "A String", # Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. The path must include the project number, project id is not supported for this field. "filter": "A String", # Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see [Filtering](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) + "numResults": 42, # Optional. The maximum number of results to retrieve from this data store. If not specified, it will use the SearchRequest.num_results_per_data_store if provided, otherwise there is no limit. If both this field and SearchRequest.num_results_per_data_store are specified, this field will be used. }, ], "filter": "A String", # The filter syntax consists of an expression language for constructing a predicate from one or more fields of the documents being filtered. Filter expression is case-sensitive. This will be used to filter search results which may affect the Answer response. If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. Filtering in Vertex AI Search is done by mapping the LHS filter key to a key property defined in the Vertex AI Search backend -- this mapping is defined by the customer in their schema. For example a media customers might have a field 'name' in their schema. In this case the filter would look like this: filter --> name:'ANY("king kong")' For more information about filtering including syntax and filter operators, see [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) @@ -2749,9 +2749,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -2902,9 +2899,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. diff --git a/docs/dyn/discoveryengine_v1.projects.locations.collections.engines.sessions.answers.html b/docs/dyn/discoveryengine_v1.projects.locations.collections.engines.sessions.answers.html index b9109946bf..040675c0a1 100644 --- a/docs/dyn/discoveryengine_v1.projects.locations.collections.engines.sessions.answers.html +++ b/docs/dyn/discoveryengine_v1.projects.locations.collections.engines.sessions.answers.html @@ -157,9 +157,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. diff --git a/docs/dyn/discoveryengine_v1.projects.locations.collections.engines.sessions.html b/docs/dyn/discoveryengine_v1.projects.locations.collections.engines.sessions.html index 66211a540f..d9ea70d05e 100644 --- a/docs/dyn/discoveryengine_v1.projects.locations.collections.engines.sessions.html +++ b/docs/dyn/discoveryengine_v1.projects.locations.collections.engines.sessions.html @@ -185,9 +185,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -456,9 +453,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -753,9 +747,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -1038,9 +1029,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -1327,9 +1315,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -1599,9 +1584,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. diff --git a/docs/dyn/discoveryengine_v1.projects.locations.collections.html b/docs/dyn/discoveryengine_v1.projects.locations.collections.html index a586a81b19..678c935082 100644 --- a/docs/dyn/discoveryengine_v1.projects.locations.collections.html +++ b/docs/dyn/discoveryengine_v1.projects.locations.collections.html @@ -152,7 +152,7 @@

Method Details

Gets the DataConnector. DataConnector is a singleton resource for each Collection.
 
 Args:
-  name: string, Required. Full resource name of DataConnector, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataConnector`. If the caller does not have permission to access the DataConnector, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested DataConnector does not exist, a NOT_FOUND error is returned. (required)
+  name: string, Required. Full resource name of DataConnector, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataConnector`. If the caller does not have permission to access the DataConnector, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the requested DataConnector does not exist, a `NOT_FOUND` error is returned. (required)
   x__xgafv: string, V1 error format.
     Allowed values
       1 - v1 error format
@@ -225,6 +225,14 @@ 

Method Details

}, }, ], + "dynamicTools": [ # Output only. The dynamic tools fetched for this connector. + { # Configuration for dynamic tools. + "description": "A String", # Optional. The description of the tool. + "displayName": "A String", # Optional. The display name of the tool. + "enabled": True or False, # Optional. Whether the tool is enabled. + "name": "A String", # Required. The name of the tool. + }, + ], "egressFqdns": [ # Output only. The list of FQDNs of the data connector can egress to. This includes both FQDN derived from the customer provided instance URL and default per connector type FQDNs. Note: This field is derived from both the DataConnector.params, and connector source spec. It should only be used for CAIS and Org Policy evaluation purposes. "A String", ], @@ -438,6 +446,14 @@

Method Details

}, }, ], + "dynamicTools": [ # Output only. The dynamic tools fetched for this connector. + { # Configuration for dynamic tools. + "description": "A String", # Optional. The description of the tool. + "displayName": "A String", # Optional. The display name of the tool. + "enabled": True or False, # Optional. Whether the tool is enabled. + "name": "A String", # Required. The name of the tool. + }, + ], "egressFqdns": [ # Output only. The list of FQDNs of the data connector can egress to. This includes both FQDN derived from the customer provided instance URL and default per connector type FQDNs. Note: This field is derived from both the DataConnector.params, and connector source spec. It should only be used for CAIS and Org Policy evaluation purposes. "A String", ], @@ -577,7 +593,7 @@

Method Details

"vpcscEnabled": True or False, # Output only. Whether the connector is created with VPC-SC enabled. This is only used for CuOP evaluation purpose. } - updateMask: string, Indicates which fields in the provided DataConnector to update. Supported field paths include: - `refresh_interval` - `params` - `auto_run_disabled` - `action_config` - `action_config.action_params` - `action_config.service_name` - `destination_configs` - `blocking_reasons` - `sync_mode` - `incremental_sync_disabled` - `incremental_refresh_interval` - `data_protection_policy` Note: Support for these fields may vary depending on the connector type. For example, not all connectors support `destination_configs`. If an unsupported or unknown field path is provided, the request will return an INVALID_ARGUMENT error. + updateMask: string, Indicates which fields in the provided DataConnector to update. Supported field paths include: - `refresh_interval` - `params` - `auto_run_disabled` - `action_config` - `action_config.action_params` - `action_config.service_name` - `destination_configs` - `blocking_reasons` - `sync_mode` - `incremental_sync_disabled` - `incremental_refresh_interval` - `data_protection_policy` Note: Support for these fields may vary depending on the connector type. For example, not all connectors support `destination_configs`. If an unsupported or unknown field path is provided, the request will return an `INVALID_ARGUMENT` error. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format @@ -650,6 +666,14 @@

Method Details

}, }, ], + "dynamicTools": [ # Output only. The dynamic tools fetched for this connector. + { # Configuration for dynamic tools. + "description": "A String", # Optional. The description of the tool. + "displayName": "A String", # Optional. The display name of the tool. + "enabled": True or False, # Optional. Whether the tool is enabled. + "name": "A String", # Required. The name of the tool. + }, + ], "egressFqdns": [ # Output only. The list of FQDNs of the data connector can egress to. This includes both FQDN derived from the customer provided instance URL and default per connector type FQDNs. Note: This field is derived from both the DataConnector.params, and connector source spec. It should only be used for CAIS and Org Policy evaluation purposes. "A String", ], diff --git a/docs/dyn/discoveryengine_v1.projects.locations.dataStores.servingConfigs.html b/docs/dyn/discoveryengine_v1.projects.locations.dataStores.servingConfigs.html index a2654650d9..9ae9c255cb 100644 --- a/docs/dyn/discoveryengine_v1.projects.locations.dataStores.servingConfigs.html +++ b/docs/dyn/discoveryengine_v1.projects.locations.dataStores.servingConfigs.html @@ -234,6 +234,7 @@

Method Details

"customSearchOperators": "A String", # Optional. Custom search operators which if specified will be used to filter results from workspace data stores. For more information on custom search operators, see [SearchOperators](https://support.google.com/cloudsearch/answer/6172299). "dataStore": "A String", # Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. The path must include the project number, project id is not supported for this field. "filter": "A String", # Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see [Filtering](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) + "numResults": 42, # Optional. The maximum number of results to retrieve from this data store. If not specified, it will use the SearchRequest.num_results_per_data_store if provided, otherwise there is no limit. If both this field and SearchRequest.num_results_per_data_store are specified, this field will be used. }, ], "filter": "A String", # The filter syntax consists of an expression language for constructing a predicate from one or more fields of the documents being filtered. Filter expression is case-sensitive. This will be used to filter search results which may affect the Answer response. If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. Filtering in Vertex AI Search is done by mapping the LHS filter key to a key property defined in the Vertex AI Search backend -- this mapping is defined by the customer in their schema. For example a media customers might have a field 'name' in their schema. In this case the filter would look like this: filter --> name:'ANY("king kong")' For more information about filtering including syntax and filter operators, see [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) @@ -352,9 +353,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -505,9 +503,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -1681,6 +1676,7 @@

Method Details

"customSearchOperators": "A String", # Optional. Custom search operators which if specified will be used to filter results from workspace data stores. For more information on custom search operators, see [SearchOperators](https://support.google.com/cloudsearch/answer/6172299). "dataStore": "A String", # Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. The path must include the project number, project id is not supported for this field. "filter": "A String", # Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see [Filtering](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) + "numResults": 42, # Optional. The maximum number of results to retrieve from this data store. If not specified, it will use the SearchRequest.num_results_per_data_store if provided, otherwise there is no limit. If both this field and SearchRequest.num_results_per_data_store are specified, this field will be used. }, ], "displaySpec": { # Specifies features for display, like match highlighting. # Optional. Config for display feature, like match highlighting on search results. @@ -1732,6 +1728,7 @@

Method Details

"A String", ], }, + "numResultsPerDataStore": 42, # Optional. The maximum number of results to retrieve from each data store. If not specified, it will use the SearchRequest.DataStoreSpec.num_results if provided, otherwise there is no limit. "offset": 42, # A 0-indexed integer that specifies the current offset (that is, starting result location, amongst the Documents deemed by the API as relevant) in search results. This field is only considered if page_token is unset. If this field is negative, an `INVALID_ARGUMENT` is returned. A large offset may be capped to a reasonable threshold. "oneBoxPageSize": 42, # The maximum number of results to return for OneBox. This applies to each OneBox type individually. Default number is 10. "orderBy": "A String", # The order in which documents are returned. Documents can be ordered by a field in an Document object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. For more information on ordering the website search results, see [Order web search results](https://cloud.google.com/generative-ai-app-builder/docs/order-web-search-results). For more information on ordering the healthcare search results, see [Order healthcare search results](https://cloud.google.com/generative-ai-app-builder/docs/order-hc-results). If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. @@ -2132,6 +2129,7 @@

Method Details

"customSearchOperators": "A String", # Optional. Custom search operators which if specified will be used to filter results from workspace data stores. For more information on custom search operators, see [SearchOperators](https://support.google.com/cloudsearch/answer/6172299). "dataStore": "A String", # Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. The path must include the project number, project id is not supported for this field. "filter": "A String", # Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see [Filtering](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) + "numResults": 42, # Optional. The maximum number of results to retrieve from this data store. If not specified, it will use the SearchRequest.num_results_per_data_store if provided, otherwise there is no limit. If both this field and SearchRequest.num_results_per_data_store are specified, this field will be used. }, ], "displaySpec": { # Specifies features for display, like match highlighting. # Optional. Config for display feature, like match highlighting on search results. @@ -2183,6 +2181,7 @@

Method Details

"A String", ], }, + "numResultsPerDataStore": 42, # Optional. The maximum number of results to retrieve from each data store. If not specified, it will use the SearchRequest.DataStoreSpec.num_results if provided, otherwise there is no limit. "offset": 42, # A 0-indexed integer that specifies the current offset (that is, starting result location, amongst the Documents deemed by the API as relevant) in search results. This field is only considered if page_token is unset. If this field is negative, an `INVALID_ARGUMENT` is returned. A large offset may be capped to a reasonable threshold. "oneBoxPageSize": 42, # The maximum number of results to return for OneBox. This applies to each OneBox type individually. Default number is 10. "orderBy": "A String", # The order in which documents are returned. Documents can be ordered by a field in an Document object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. For more information on ordering the website search results, see [Order web search results](https://cloud.google.com/generative-ai-app-builder/docs/order-web-search-results). For more information on ordering the healthcare search results, see [Order healthcare search results](https://cloud.google.com/generative-ai-app-builder/docs/order-hc-results). If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. @@ -2631,6 +2630,7 @@

Method Details

"customSearchOperators": "A String", # Optional. Custom search operators which if specified will be used to filter results from workspace data stores. For more information on custom search operators, see [SearchOperators](https://support.google.com/cloudsearch/answer/6172299). "dataStore": "A String", # Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. The path must include the project number, project id is not supported for this field. "filter": "A String", # Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see [Filtering](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) + "numResults": 42, # Optional. The maximum number of results to retrieve from this data store. If not specified, it will use the SearchRequest.num_results_per_data_store if provided, otherwise there is no limit. If both this field and SearchRequest.num_results_per_data_store are specified, this field will be used. }, ], "filter": "A String", # The filter syntax consists of an expression language for constructing a predicate from one or more fields of the documents being filtered. Filter expression is case-sensitive. This will be used to filter search results which may affect the Answer response. If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. Filtering in Vertex AI Search is done by mapping the LHS filter key to a key property defined in the Vertex AI Search backend -- this mapping is defined by the customer in their schema. For example a media customers might have a field 'name' in their schema. In this case the filter would look like this: filter --> name:'ANY("king kong")' For more information about filtering including syntax and filter operators, see [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) @@ -2749,9 +2749,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -2902,9 +2899,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. diff --git a/docs/dyn/discoveryengine_v1.projects.locations.dataStores.sessions.answers.html b/docs/dyn/discoveryengine_v1.projects.locations.dataStores.sessions.answers.html index b62961574d..8b9e07fb92 100644 --- a/docs/dyn/discoveryengine_v1.projects.locations.dataStores.sessions.answers.html +++ b/docs/dyn/discoveryengine_v1.projects.locations.dataStores.sessions.answers.html @@ -157,9 +157,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. diff --git a/docs/dyn/discoveryengine_v1.projects.locations.dataStores.sessions.html b/docs/dyn/discoveryengine_v1.projects.locations.dataStores.sessions.html index 87d91d2dbe..010b2d499d 100644 --- a/docs/dyn/discoveryengine_v1.projects.locations.dataStores.sessions.html +++ b/docs/dyn/discoveryengine_v1.projects.locations.dataStores.sessions.html @@ -185,9 +185,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -456,9 +453,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -753,9 +747,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -1038,9 +1029,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -1327,9 +1315,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -1599,9 +1584,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. diff --git a/docs/dyn/discoveryengine_v1.projects.locations.html b/docs/dyn/discoveryengine_v1.projects.locations.html index 59cf2d5368..70614d97c8 100644 --- a/docs/dyn/discoveryengine_v1.projects.locations.html +++ b/docs/dyn/discoveryengine_v1.projects.locations.html @@ -222,7 +222,7 @@

Method Details

{ # Request for DataConnectorService.SetUpDataConnector method. "collectionDisplayName": "A String", # Required. The display name of the Collection. Should be human readable, used to display collections in the Console Dashboard. UTF-8 encoded string with limit of 1024 characters. - "collectionId": "A String", # Required. The ID to use for the Collection, which will become the final component of the Collection's resource name. A new Collection is created as part of the DataConnector setup. DataConnector is a singleton resource under Collection, managing all DataStores of the Collection. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned. + "collectionId": "A String", # Required. The ID to use for the Collection, which will become the final component of the Collection's resource name. A new Collection is created as part of the DataConnector setup. DataConnector is a singleton resource under Collection, managing all DataStores of the Collection. Should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. "dataConnector": { # Manages the connection to external data sources for all data stores grouped under a Collection. It's a singleton resource of Collection. The initialization is only supported through DataConnectorService.SetUpDataConnector method, which will create a new Collection and initialize its DataConnector. # Required. The DataConnector to initialize in the newly created Collection. "aclEnabled": True or False, # Optional. Whether the connector will be created with an ACL config. Currently this field only affects Cloud Storage and BigQuery connectors. "actionConfig": { # Informations to support actions on the connector. # Optional. Action configurations to make the connector support actions. @@ -287,6 +287,14 @@

Method Details

}, }, ], + "dynamicTools": [ # Output only. The dynamic tools fetched for this connector. + { # Configuration for dynamic tools. + "description": "A String", # Optional. The description of the tool. + "displayName": "A String", # Optional. The display name of the tool. + "enabled": True or False, # Optional. Whether the tool is enabled. + "name": "A String", # Required. The name of the tool. + }, + ], "egressFqdns": [ # Output only. The list of FQDNs of the data connector can egress to. This includes both FQDN derived from the customer provided instance URL and default per connector type FQDNs. Note: This field is derived from both the DataConnector.params, and connector source spec. It should only be used for CAIS and Org Policy evaluation purposes. "A String", ], @@ -529,6 +537,14 @@

Method Details

}, }, ], + "dynamicTools": [ # Output only. The dynamic tools fetched for this connector. + { # Configuration for dynamic tools. + "description": "A String", # Optional. The description of the tool. + "displayName": "A String", # Optional. The display name of the tool. + "enabled": True or False, # Optional. Whether the tool is enabled. + "name": "A String", # Required. The name of the tool. + }, + ], "egressFqdns": [ # Output only. The list of FQDNs of the data connector can egress to. This includes both FQDN derived from the customer provided instance URL and default per connector type FQDNs. Note: This field is derived from both the DataConnector.params, and connector source spec. It should only be used for CAIS and Org Policy evaluation purposes. "A String", ], @@ -669,7 +685,7 @@

Method Details

} collectionDisplayName: string, Required. The display name of the Collection. Should be human readable, used to display collections in the Console Dashboard. UTF-8 encoded string with limit of 1024 characters. - collectionId: string, Required. The ID to use for the Collection, which will become the final component of the Collection's resource name. A new Collection is created as part of the DataConnector setup. DataConnector is a singleton resource under Collection, managing all DataStores of the Collection. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned. + collectionId: string, Required. The ID to use for the Collection, which will become the final component of the Collection's resource name. A new Collection is created as part of the DataConnector setup. DataConnector is a singleton resource under Collection, managing all DataStores of the Collection. Should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format diff --git a/docs/dyn/discoveryengine_v1.projects.locations.userStores.html b/docs/dyn/discoveryengine_v1.projects.locations.userStores.html index 8121708521..cb1490ea23 100644 --- a/docs/dyn/discoveryengine_v1.projects.locations.userStores.html +++ b/docs/dyn/discoveryengine_v1.projects.locations.userStores.html @@ -90,12 +90,6 @@

Instance Methods

close()

Close httplib2 connections.

-

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

-

Creates a new User Store.

-

- delete(name, x__xgafv=None)

-

Deletes the User Store.

get(name, x__xgafv=None)

Gets the User Store.

@@ -164,76 +158,6 @@

Method Details

Close httplib2 connections.
-
- create(parent, body=None, userStoreId=None, x__xgafv=None) -
Creates a new User Store.
-
-Args:
-  parent: string, Required. The parent collection resource name, such as `projects/{project}/locations/{location}`. (required)
-  body: object, The request body.
-    The object takes the form of:
-
-{ # Configures metadata that is used for End User entities.
-  "defaultLicenseConfig": "A String", # Optional. The default subscription LicenseConfig for the UserStore, if UserStore.enable_license_auto_register is true, new users will automatically register under the default subscription. If default LicenseConfig doesn't have remaining license seats left, new users will not be assigned with license and will be blocked for Vertex AI Search features. This is used if `license_assignment_tier_rules` is not configured.
-  "displayName": "A String", # The display name of the User Store.
-  "enableExpiredLicenseAutoUpdate": True or False, # Optional. Whether to enable license auto update for users in this User Store. If true, users with expired licenses will automatically be updated to use the default license config as long as the default license config has seats left.
-  "enableLicenseAutoRegister": True or False, # Optional. Whether to enable license auto register for users in this User Store. If true, new users will automatically register under the default license config as long as the default license config has seats left.
-  "name": "A String", # Immutable. The full resource name of the User Store, in the format of `projects/{project}/locations/{location}/userStores/{user_store}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
-}
-
-  userStoreId: string, Required. The ID of the User Store to create. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 63 characters.
-  x__xgafv: string, V1 error format.
-    Allowed values
-      1 - v1 error format
-      2 - v2 error format
-
-Returns:
-  An object of the form:
-
-    { # Configures metadata that is used for End User entities.
-  "defaultLicenseConfig": "A String", # Optional. The default subscription LicenseConfig for the UserStore, if UserStore.enable_license_auto_register is true, new users will automatically register under the default subscription. If default LicenseConfig doesn't have remaining license seats left, new users will not be assigned with license and will be blocked for Vertex AI Search features. This is used if `license_assignment_tier_rules` is not configured.
-  "displayName": "A String", # The display name of the User Store.
-  "enableExpiredLicenseAutoUpdate": True or False, # Optional. Whether to enable license auto update for users in this User Store. If true, users with expired licenses will automatically be updated to use the default license config as long as the default license config has seats left.
-  "enableLicenseAutoRegister": True or False, # Optional. Whether to enable license auto register for users in this User Store. If true, new users will automatically register under the default license config as long as the default license config has seats left.
-  "name": "A String", # Immutable. The full resource name of the User Store, in the format of `projects/{project}/locations/{location}/userStores/{user_store}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
-}
-
- -
- delete(name, x__xgafv=None) -
Deletes the User Store.
-
-Args:
-  name: string, Required. The name of the User Store to delete. Format: `projects/{project}/locations/{location}/userStores/{user_store_id}` (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.
-  },
-}
-
-
get(name, x__xgafv=None)
Gets the User Store.
diff --git a/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.dataConnector.connectorRuns.html b/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.dataConnector.connectorRuns.html
index 28a06179b7..a41e80375c 100644
--- a/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.dataConnector.connectorRuns.html
+++ b/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.dataConnector.connectorRuns.html
@@ -94,8 +94,8 @@ 

Method Details

Lists the ConnectorRuns of a DataConnector.
 
 Args:
-  parent: string, Required. The parent DataConnector resource name, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataConnector`. If the caller does not have permission to list ConnectorRuns under this DataConnector, regardless of whether or not this DataConnector exists, a PERMISSION_DENIED error is returned. (required)
-  pageSize: integer, Requested page size. Server may return fewer items than requested. If unspecified, defaults to 10. The maximum value is 50; values above 50 will be coerced to 50. If this field is negative, an INVALID_ARGUMENT error is returned.
+  parent: string, Required. The parent DataConnector resource name, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataConnector`. If the caller does not have permission to list ConnectorRuns under this DataConnector, regardless of whether or not this DataConnector exists, a `PERMISSION_DENIED` error is returned. (required)
+  pageSize: integer, Requested page size. Server may return fewer items than requested. If unspecified, defaults to 10. The maximum value is 50; values above 50 will be coerced to 50. If this field is negative, an `INVALID_ARGUMENT` error is returned.
   pageToken: string, A page token, received from a previous `ListConnectorRuns` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListConnectorRuns` must match the call that provided the page token.
   x__xgafv: string, V1 error format.
     Allowed values
diff --git a/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.dataStores.servingConfigs.html b/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.dataStores.servingConfigs.html
index 53fb54482f..84c2a7ad21 100644
--- a/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.dataStores.servingConfigs.html
+++ b/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.dataStores.servingConfigs.html
@@ -413,9 +413,6 @@ 

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -581,9 +578,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -3418,9 +3412,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -3586,9 +3577,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. diff --git a/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.dataStores.sessions.answers.html b/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.dataStores.sessions.answers.html index d9a8088c93..6542b9beea 100644 --- a/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.dataStores.sessions.answers.html +++ b/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.dataStores.sessions.answers.html @@ -169,9 +169,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. diff --git a/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.dataStores.sessions.html b/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.dataStores.sessions.html index 979b8fae2a..9242cf79e1 100644 --- a/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.dataStores.sessions.html +++ b/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.dataStores.sessions.html @@ -197,9 +197,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -516,9 +513,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -861,9 +855,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -1194,9 +1185,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -1531,9 +1519,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -1851,9 +1836,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. diff --git a/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.engines.assistants.agents.html b/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.engines.assistants.agents.html index 019fa2c659..95fb4ae6d6 100644 --- a/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.engines.assistants.agents.html +++ b/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.engines.assistants.agents.html @@ -97,7 +97,7 @@

Instance Methods

get(name, x__xgafv=None)

Gets an Agent.

- list(parent, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)

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

Lists all Agents under an Assistant which were created by the caller.

list_next()

@@ -155,6 +155,10 @@

Method Details

"managedAgentDefinition": { # Stores the definition of a Google managed agent. # Optional. The behavior of the Google managed agent. }, "name": "A String", # Identifier. Resource name of the agent. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/agents/{agent}` + "observabilityConfig": { # Observability config for a resource. # Optional. Observability config for the agent. + "observabilityEnabled": True or False, # Optional. Enables observability. If `false`, all other flags are ignored. + "sensitiveLoggingEnabled": True or False, # Optional. Enables sensitive logging. Sensitive logging includes customer core content (e.g. prompts, responses). If `false`, will sanitize all sensitive fields. + }, "rejectionReason": "A String", # Output only. The reason why the agent was rejected. Only set if the state is PRIVATE, and got there via rejection. "sharingConfig": { # Sharing related configuration. # Optional. The sharing config of the agent. "scope": "A String", # Optional. The sharing scope of the agent. @@ -212,6 +216,10 @@

Method Details

"managedAgentDefinition": { # Stores the definition of a Google managed agent. # Optional. The behavior of the Google managed agent. }, "name": "A String", # Identifier. Resource name of the agent. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/agents/{agent}` + "observabilityConfig": { # Observability config for a resource. # Optional. Observability config for the agent. + "observabilityEnabled": True or False, # Optional. Enables observability. If `false`, all other flags are ignored. + "sensitiveLoggingEnabled": True or False, # Optional. Enables sensitive logging. Sensitive logging includes customer core content (e.g. prompts, responses). If `false`, will sanitize all sensitive fields. + }, "rejectionReason": "A String", # Output only. The reason why the agent was rejected. Only set if the state is PRIVATE, and got there via rejection. "sharingConfig": { # Sharing related configuration. # Optional. The sharing config of the agent. "scope": "A String", # Optional. The sharing scope of the agent. @@ -311,6 +319,10 @@

Method Details

"managedAgentDefinition": { # Stores the definition of a Google managed agent. # Optional. The behavior of the Google managed agent. }, "name": "A String", # Identifier. Resource name of the agent. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/agents/{agent}` + "observabilityConfig": { # Observability config for a resource. # Optional. Observability config for the agent. + "observabilityEnabled": True or False, # Optional. Enables observability. If `false`, all other flags are ignored. + "sensitiveLoggingEnabled": True or False, # Optional. Enables sensitive logging. Sensitive logging includes customer core content (e.g. prompts, responses). If `false`, will sanitize all sensitive fields. + }, "rejectionReason": "A String", # Output only. The reason why the agent was rejected. Only set if the state is PRIVATE, and got there via rejection. "sharingConfig": { # Sharing related configuration. # Optional. The sharing config of the agent. "scope": "A String", # Optional. The sharing scope of the agent. @@ -327,11 +339,12 @@

Method Details

- list(parent, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None) + list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)
Lists all Agents under an Assistant which were created by the caller.
 
 Args:
   parent: string, Required. The parent resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` (required)
+  filter: string, Optional. Filters the Agents list. Supported fields: * `display_name`: display name of the agent. Supports `=`, `:`. * `id`: ID of the agent. Supports `=`. * `state`: state of the agent. Supports `=`. * `type`: type of the agent. Supports `=` (e.g., "GOOGLE_MADE", "OUR_AGENTS"). * `create_time`: timestamp when the agent was created. Supports `=`, `>`, `<`, `>=`, `<=`. * `update_time`: timestamp when the agent was last updated. Supports `=`, `>`, `<`, `>=`, `<=`. * `has_active_iam_proposals`: whether the agent has pending proposals. Supports `=`. Examples: * `display_name = "My Agent"` * `type = "GOOGLE_MADE"` * `create_time > "2023-01-01T00:00:00Z"` * `has_active_iam_proposals = true`
   orderBy: string, Optional. A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * `update_time` * `is_pinned` Example: * "update_time desc" * "is_pinned desc,update_time desc": list agents by is_pinned first, then by update_time.
   pageSize: integer, Optional. Maximum number of Agents to return. If unspecified, defaults to 100. The maximum allowed value is 1000; anything above that will be coerced down to 1000.
   pageToken: string, Optional. A page token ListAgentsResponse.next_page_token, received from a previous AgentService.ListAgents call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListAgents must match the call that provided the page token.
@@ -380,6 +393,10 @@ 

Method Details

"managedAgentDefinition": { # Stores the definition of a Google managed agent. # Optional. The behavior of the Google managed agent. }, "name": "A String", # Identifier. Resource name of the agent. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/agents/{agent}` + "observabilityConfig": { # Observability config for a resource. # Optional. Observability config for the agent. + "observabilityEnabled": True or False, # Optional. Enables observability. If `false`, all other flags are ignored. + "sensitiveLoggingEnabled": True or False, # Optional. Enables sensitive logging. Sensitive logging includes customer core content (e.g. prompts, responses). If `false`, will sanitize all sensitive fields. + }, "rejectionReason": "A String", # Output only. The reason why the agent was rejected. Only set if the state is PRIVATE, and got there via rejection. "sharingConfig": { # Sharing related configuration. # Optional. The sharing config of the agent. "scope": "A String", # Optional. The sharing scope of the agent. @@ -456,6 +473,10 @@

Method Details

"managedAgentDefinition": { # Stores the definition of a Google managed agent. # Optional. The behavior of the Google managed agent. }, "name": "A String", # Identifier. Resource name of the agent. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/agents/{agent}` + "observabilityConfig": { # Observability config for a resource. # Optional. Observability config for the agent. + "observabilityEnabled": True or False, # Optional. Enables observability. If `false`, all other flags are ignored. + "sensitiveLoggingEnabled": True or False, # Optional. Enables sensitive logging. Sensitive logging includes customer core content (e.g. prompts, responses). If `false`, will sanitize all sensitive fields. + }, "rejectionReason": "A String", # Output only. The reason why the agent was rejected. Only set if the state is PRIVATE, and got there via rejection. "sharingConfig": { # Sharing related configuration. # Optional. The sharing config of the agent. "scope": "A String", # Optional. The sharing scope of the agent. @@ -514,6 +535,10 @@

Method Details

"managedAgentDefinition": { # Stores the definition of a Google managed agent. # Optional. The behavior of the Google managed agent. }, "name": "A String", # Identifier. Resource name of the agent. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/agents/{agent}` + "observabilityConfig": { # Observability config for a resource. # Optional. Observability config for the agent. + "observabilityEnabled": True or False, # Optional. Enables observability. If `false`, all other flags are ignored. + "sensitiveLoggingEnabled": True or False, # Optional. Enables sensitive logging. Sensitive logging includes customer core content (e.g. prompts, responses). If `false`, will sanitize all sensitive fields. + }, "rejectionReason": "A String", # Output only. The reason why the agent was rejected. Only set if the state is PRIVATE, and got there via rejection. "sharingConfig": { # Sharing related configuration. # Optional. The sharing config of the agent. "scope": "A String", # Optional. The sharing scope of the agent. diff --git a/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.engines.servingConfigs.html b/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.engines.servingConfigs.html index a5fa28fe37..33ff14dde4 100644 --- a/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.engines.servingConfigs.html +++ b/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.engines.servingConfigs.html @@ -413,9 +413,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -581,9 +578,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -3418,9 +3412,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -3586,9 +3577,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. diff --git a/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.engines.sessions.answers.html b/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.engines.sessions.answers.html index 0de279815e..78ef1b7a20 100644 --- a/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.engines.sessions.answers.html +++ b/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.engines.sessions.answers.html @@ -169,9 +169,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. diff --git a/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.engines.sessions.html b/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.engines.sessions.html index 19fccc1865..c49ffefb6a 100644 --- a/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.engines.sessions.html +++ b/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.engines.sessions.html @@ -212,9 +212,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -531,9 +528,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -876,9 +870,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -1209,9 +1200,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -1546,9 +1534,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -1866,9 +1851,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. diff --git a/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.html b/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.html index dc65e02b6f..e4c5d60fe8 100644 --- a/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.html +++ b/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.html @@ -244,6 +244,14 @@

Method Details

}, }, ], + "dynamicTools": [ # Output only. The dynamic tools fetched for this connector. + { # Configuration for dynamic tools. + "description": "A String", # Optional. The description of the tool. + "displayName": "A String", # Optional. The display name of the tool. + "enabled": True or False, # Optional. Whether the tool is enabled. + "name": "A String", # Required. The name of the tool. + }, + ], "egressFqdns": [ # Output only. The list of FQDNs of the data connector can egress to. This includes both FQDN derived from the customer provided instance URL and default per connector type FQDNs. Note: This field is derived from both the DataConnector.params, and connector source spec. It should only be used for CAIS and Org Policy evaluation purposes. "A String", ], @@ -413,7 +421,7 @@

Method Details

Gets the DataConnector. DataConnector is a singleton resource for each Collection.
 
 Args:
-  name: string, Required. Full resource name of DataConnector, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataConnector`. If the caller does not have permission to access the DataConnector, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested DataConnector does not exist, a NOT_FOUND error is returned. (required)
+  name: string, Required. Full resource name of DataConnector, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataConnector`. If the caller does not have permission to access the DataConnector, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the requested DataConnector does not exist, a `NOT_FOUND` error is returned. (required)
   x__xgafv: string, V1 error format.
     Allowed values
       1 - v1 error format
@@ -491,6 +499,14 @@ 

Method Details

}, }, ], + "dynamicTools": [ # Output only. The dynamic tools fetched for this connector. + { # Configuration for dynamic tools. + "description": "A String", # Optional. The description of the tool. + "displayName": "A String", # Optional. The display name of the tool. + "enabled": True or False, # Optional. Whether the tool is enabled. + "name": "A String", # Required. The name of the tool. + }, + ], "egressFqdns": [ # Output only. The list of FQDNs of the data connector can egress to. This includes both FQDN derived from the customer provided instance URL and default per connector type FQDNs. Note: This field is derived from both the DataConnector.params, and connector source spec. It should only be used for CAIS and Org Policy evaluation purposes. "A String", ], @@ -742,6 +758,14 @@

Method Details

}, }, ], + "dynamicTools": [ # Output only. The dynamic tools fetched for this connector. + { # Configuration for dynamic tools. + "description": "A String", # Optional. The description of the tool. + "displayName": "A String", # Optional. The display name of the tool. + "enabled": True or False, # Optional. Whether the tool is enabled. + "name": "A String", # Required. The name of the tool. + }, + ], "egressFqdns": [ # Output only. The list of FQDNs of the data connector can egress to. This includes both FQDN derived from the customer provided instance URL and default per connector type FQDNs. Note: This field is derived from both the DataConnector.params, and connector source spec. It should only be used for CAIS and Org Policy evaluation purposes. "A String", ], @@ -1003,6 +1027,14 @@

Method Details

}, }, ], + "dynamicTools": [ # Output only. The dynamic tools fetched for this connector. + { # Configuration for dynamic tools. + "description": "A String", # Optional. The description of the tool. + "displayName": "A String", # Optional. The display name of the tool. + "enabled": True or False, # Optional. Whether the tool is enabled. + "name": "A String", # Required. The name of the tool. + }, + ], "egressFqdns": [ # Output only. The list of FQDNs of the data connector can egress to. This includes both FQDN derived from the customer provided instance URL and default per connector type FQDNs. Note: This field is derived from both the DataConnector.params, and connector source spec. It should only be used for CAIS and Org Policy evaluation purposes. "A String", ], @@ -1274,6 +1306,14 @@

Method Details

}, }, ], + "dynamicTools": [ # Output only. The dynamic tools fetched for this connector. + { # Configuration for dynamic tools. + "description": "A String", # Optional. The description of the tool. + "displayName": "A String", # Optional. The display name of the tool. + "enabled": True or False, # Optional. Whether the tool is enabled. + "name": "A String", # Required. The name of the tool. + }, + ], "egressFqdns": [ # Output only. The list of FQDNs of the data connector can egress to. This includes both FQDN derived from the customer provided instance URL and default per connector type FQDNs. Note: This field is derived from both the DataConnector.params, and connector source spec. It should only be used for CAIS and Org Policy evaluation purposes. "A String", ], @@ -1434,7 +1474,7 @@

Method Details

"vpcscEnabled": True or False, # Output only. Whether the connector is created with VPC-SC enabled. This is only used for CuOP evaluation purpose. } - updateMask: string, Indicates which fields in the provided DataConnector to update. Supported field paths include: - `refresh_interval` - `params` - `auto_run_disabled` - `action_config` - `action_config.action_params` - `action_config.service_name` - `destination_configs` - `blocking_reasons` - `sync_mode` - `incremental_sync_disabled` - `incremental_refresh_interval` - `data_protection_policy` Note: Support for these fields may vary depending on the connector type. For example, not all connectors support `destination_configs`. If an unsupported or unknown field path is provided, the request will return an INVALID_ARGUMENT error. + updateMask: string, Indicates which fields in the provided DataConnector to update. Supported field paths include: - `refresh_interval` - `params` - `auto_run_disabled` - `action_config` - `action_config.action_params` - `action_config.service_name` - `destination_configs` - `blocking_reasons` - `sync_mode` - `incremental_sync_disabled` - `incremental_refresh_interval` - `data_protection_policy` Note: Support for these fields may vary depending on the connector type. For example, not all connectors support `destination_configs`. If an unsupported or unknown field path is provided, the request will return an `INVALID_ARGUMENT` error. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format @@ -1512,6 +1552,14 @@

Method Details

}, }, ], + "dynamicTools": [ # Output only. The dynamic tools fetched for this connector. + { # Configuration for dynamic tools. + "description": "A String", # Optional. The description of the tool. + "displayName": "A String", # Optional. The display name of the tool. + "enabled": True or False, # Optional. Whether the tool is enabled. + "name": "A String", # Required. The name of the tool. + }, + ], "egressFqdns": [ # Output only. The list of FQDNs of the data connector can egress to. This includes both FQDN derived from the customer provided instance URL and default per connector type FQDNs. Note: This field is derived from both the DataConnector.params, and connector source spec. It should only be used for CAIS and Org Policy evaluation purposes. "A String", ], diff --git a/docs/dyn/discoveryengine_v1alpha.projects.locations.dataStores.servingConfigs.html b/docs/dyn/discoveryengine_v1alpha.projects.locations.dataStores.servingConfigs.html index 8b65a58876..bd52ddb3c6 100644 --- a/docs/dyn/discoveryengine_v1alpha.projects.locations.dataStores.servingConfigs.html +++ b/docs/dyn/discoveryengine_v1alpha.projects.locations.dataStores.servingConfigs.html @@ -413,9 +413,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -581,9 +578,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -3418,9 +3412,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -3586,9 +3577,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. diff --git a/docs/dyn/discoveryengine_v1alpha.projects.locations.dataStores.sessions.answers.html b/docs/dyn/discoveryengine_v1alpha.projects.locations.dataStores.sessions.answers.html index 943694d1db..12b3765858 100644 --- a/docs/dyn/discoveryengine_v1alpha.projects.locations.dataStores.sessions.answers.html +++ b/docs/dyn/discoveryengine_v1alpha.projects.locations.dataStores.sessions.answers.html @@ -169,9 +169,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. diff --git a/docs/dyn/discoveryengine_v1alpha.projects.locations.dataStores.sessions.html b/docs/dyn/discoveryengine_v1alpha.projects.locations.dataStores.sessions.html index 59ddfd2ee5..8888311620 100644 --- a/docs/dyn/discoveryengine_v1alpha.projects.locations.dataStores.sessions.html +++ b/docs/dyn/discoveryengine_v1alpha.projects.locations.dataStores.sessions.html @@ -197,9 +197,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -516,9 +513,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -861,9 +855,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -1194,9 +1185,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -1531,9 +1519,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -1851,9 +1836,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. diff --git a/docs/dyn/discoveryengine_v1alpha.projects.locations.html b/docs/dyn/discoveryengine_v1alpha.projects.locations.html index 4061e5bfaf..ff74df3078 100644 --- a/docs/dyn/discoveryengine_v1alpha.projects.locations.html +++ b/docs/dyn/discoveryengine_v1alpha.projects.locations.html @@ -1041,7 +1041,7 @@

Method Details

{ # Request for DataConnectorService.SetUpDataConnector method. "collectionDisplayName": "A String", # Required. The display name of the Collection. Should be human readable, used to display collections in the Console Dashboard. UTF-8 encoded string with limit of 1024 characters. - "collectionId": "A String", # Required. The ID to use for the Collection, which will become the final component of the Collection's resource name. A new Collection is created as part of the DataConnector setup. DataConnector is a singleton resource under Collection, managing all DataStores of the Collection. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned. + "collectionId": "A String", # Required. The ID to use for the Collection, which will become the final component of the Collection's resource name. A new Collection is created as part of the DataConnector setup. DataConnector is a singleton resource under Collection, managing all DataStores of the Collection. Should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. "dataConnector": { # Manages the connection to external data sources for all data stores grouped under a Collection. It's a singleton resource of Collection. The initialization is only supported through DataConnectorService.SetUpDataConnector method, which will create a new Collection and initialize its DataConnector. # Required. The DataConnector to initialize in the newly created Collection. "aclEnabled": True or False, # Optional. Whether the connector will be created with an ACL config. Currently this field only affects Cloud Storage and BigQuery connectors. "actionConfig": { # Informations to support actions on the connector. # Optional. Action configurations to make the connector support actions. @@ -1111,6 +1111,14 @@

Method Details

}, }, ], + "dynamicTools": [ # Output only. The dynamic tools fetched for this connector. + { # Configuration for dynamic tools. + "description": "A String", # Optional. The description of the tool. + "displayName": "A String", # Optional. The display name of the tool. + "enabled": True or False, # Optional. Whether the tool is enabled. + "name": "A String", # Required. The name of the tool. + }, + ], "egressFqdns": [ # Output only. The list of FQDNs of the data connector can egress to. This includes both FQDN derived from the customer provided instance URL and default per connector type FQDNs. Note: This field is derived from both the DataConnector.params, and connector source spec. It should only be used for CAIS and Org Policy evaluation purposes. "A String", ], @@ -1379,6 +1387,14 @@

Method Details

}, }, ], + "dynamicTools": [ # Output only. The dynamic tools fetched for this connector. + { # Configuration for dynamic tools. + "description": "A String", # Optional. The description of the tool. + "displayName": "A String", # Optional. The display name of the tool. + "enabled": True or False, # Optional. Whether the tool is enabled. + "name": "A String", # Required. The name of the tool. + }, + ], "egressFqdns": [ # Output only. The list of FQDNs of the data connector can egress to. This includes both FQDN derived from the customer provided instance URL and default per connector type FQDNs. Note: This field is derived from both the DataConnector.params, and connector source spec. It should only be used for CAIS and Org Policy evaluation purposes. "A String", ], @@ -1540,7 +1556,7 @@

Method Details

} collectionDisplayName: string, Required. The display name of the Collection. Should be human readable, used to display collections in the Console Dashboard. UTF-8 encoded string with limit of 1024 characters. - collectionId: string, Required. The ID to use for the Collection, which will become the final component of the Collection's resource name. A new Collection is created as part of the DataConnector setup. DataConnector is a singleton resource under Collection, managing all DataStores of the Collection. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned. + collectionId: string, Required. The ID to use for the Collection, which will become the final component of the Collection's resource name. A new Collection is created as part of the DataConnector setup. DataConnector is a singleton resource under Collection, managing all DataStores of the Collection. Should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format diff --git a/docs/dyn/discoveryengine_v1alpha.projects.locations.userStores.html b/docs/dyn/discoveryengine_v1alpha.projects.locations.userStores.html index 68ab0e950a..6702eee0a6 100644 --- a/docs/dyn/discoveryengine_v1alpha.projects.locations.userStores.html +++ b/docs/dyn/discoveryengine_v1alpha.projects.locations.userStores.html @@ -95,12 +95,6 @@

Instance Methods

close()

Close httplib2 connections.

-

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

-

Creates a new User Store.

-

- delete(name, x__xgafv=None)

-

Deletes the User Store.

get(name, x__xgafv=None)

Gets the User Store.

@@ -169,76 +163,6 @@

Method Details

Close httplib2 connections.
-
- create(parent, body=None, userStoreId=None, x__xgafv=None) -
Creates a new User Store.
-
-Args:
-  parent: string, Required. The parent collection resource name, such as `projects/{project}/locations/{location}`. (required)
-  body: object, The request body.
-    The object takes the form of:
-
-{ # Configures metadata that is used for End User entities.
-  "defaultLicenseConfig": "A String", # Optional. The default subscription LicenseConfig for the UserStore, if UserStore.enable_license_auto_register is true, new users will automatically register under the default subscription. If default LicenseConfig doesn't have remaining license seats left, new users will not be assigned with license and will be blocked for Vertex AI Search features. This is used if `license_assignment_tier_rules` is not configured.
-  "displayName": "A String", # The display name of the User Store.
-  "enableExpiredLicenseAutoUpdate": True or False, # Optional. Whether to enable license auto update for users in this User Store. If true, users with expired licenses will automatically be updated to use the default license config as long as the default license config has seats left.
-  "enableLicenseAutoRegister": True or False, # Optional. Whether to enable license auto register for users in this User Store. If true, new users will automatically register under the default license config as long as the default license config has seats left.
-  "name": "A String", # Immutable. The full resource name of the User Store, in the format of `projects/{project}/locations/{location}/userStores/{user_store}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
-}
-
-  userStoreId: string, Required. The ID of the User Store to create. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 63 characters.
-  x__xgafv: string, V1 error format.
-    Allowed values
-      1 - v1 error format
-      2 - v2 error format
-
-Returns:
-  An object of the form:
-
-    { # Configures metadata that is used for End User entities.
-  "defaultLicenseConfig": "A String", # Optional. The default subscription LicenseConfig for the UserStore, if UserStore.enable_license_auto_register is true, new users will automatically register under the default subscription. If default LicenseConfig doesn't have remaining license seats left, new users will not be assigned with license and will be blocked for Vertex AI Search features. This is used if `license_assignment_tier_rules` is not configured.
-  "displayName": "A String", # The display name of the User Store.
-  "enableExpiredLicenseAutoUpdate": True or False, # Optional. Whether to enable license auto update for users in this User Store. If true, users with expired licenses will automatically be updated to use the default license config as long as the default license config has seats left.
-  "enableLicenseAutoRegister": True or False, # Optional. Whether to enable license auto register for users in this User Store. If true, new users will automatically register under the default license config as long as the default license config has seats left.
-  "name": "A String", # Immutable. The full resource name of the User Store, in the format of `projects/{project}/locations/{location}/userStores/{user_store}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
-}
-
- -
- delete(name, x__xgafv=None) -
Deletes the User Store.
-
-Args:
-  name: string, Required. The name of the User Store to delete. Format: `projects/{project}/locations/{location}/userStores/{user_store_id}` (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.
-  },
-}
-
-
get(name, x__xgafv=None)
Gets the User Store.
diff --git a/docs/dyn/discoveryengine_v1beta.projects.locations.collections.dataStores.servingConfigs.html b/docs/dyn/discoveryengine_v1beta.projects.locations.collections.dataStores.servingConfigs.html
index 5ffce3be32..d0e6d16f1f 100644
--- a/docs/dyn/discoveryengine_v1beta.projects.locations.collections.dataStores.servingConfigs.html
+++ b/docs/dyn/discoveryengine_v1beta.projects.locations.collections.dataStores.servingConfigs.html
@@ -378,9 +378,6 @@ 

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -546,9 +543,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -3259,9 +3253,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -3427,9 +3418,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. diff --git a/docs/dyn/discoveryengine_v1beta.projects.locations.collections.dataStores.sessions.answers.html b/docs/dyn/discoveryengine_v1beta.projects.locations.collections.dataStores.sessions.answers.html index 77834ee28b..8bd3e070b8 100644 --- a/docs/dyn/discoveryengine_v1beta.projects.locations.collections.dataStores.sessions.answers.html +++ b/docs/dyn/discoveryengine_v1beta.projects.locations.collections.dataStores.sessions.answers.html @@ -169,9 +169,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. diff --git a/docs/dyn/discoveryengine_v1beta.projects.locations.collections.dataStores.sessions.html b/docs/dyn/discoveryengine_v1beta.projects.locations.collections.dataStores.sessions.html index 0b0d4c523b..a1ae9cf4b3 100644 --- a/docs/dyn/discoveryengine_v1beta.projects.locations.collections.dataStores.sessions.html +++ b/docs/dyn/discoveryengine_v1beta.projects.locations.collections.dataStores.sessions.html @@ -197,9 +197,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -483,9 +480,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -795,9 +789,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -1095,9 +1086,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -1399,9 +1387,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -1686,9 +1671,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. diff --git a/docs/dyn/discoveryengine_v1beta.projects.locations.collections.engines.servingConfigs.html b/docs/dyn/discoveryengine_v1beta.projects.locations.collections.engines.servingConfigs.html index 84ca0ef64c..318b1e626b 100644 --- a/docs/dyn/discoveryengine_v1beta.projects.locations.collections.engines.servingConfigs.html +++ b/docs/dyn/discoveryengine_v1beta.projects.locations.collections.engines.servingConfigs.html @@ -378,9 +378,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -546,9 +543,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -3259,9 +3253,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -3427,9 +3418,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. diff --git a/docs/dyn/discoveryengine_v1beta.projects.locations.collections.engines.sessions.answers.html b/docs/dyn/discoveryengine_v1beta.projects.locations.collections.engines.sessions.answers.html index b716a1b7c9..c375a56741 100644 --- a/docs/dyn/discoveryengine_v1beta.projects.locations.collections.engines.sessions.answers.html +++ b/docs/dyn/discoveryengine_v1beta.projects.locations.collections.engines.sessions.answers.html @@ -169,9 +169,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. diff --git a/docs/dyn/discoveryengine_v1beta.projects.locations.collections.engines.sessions.html b/docs/dyn/discoveryengine_v1beta.projects.locations.collections.engines.sessions.html index d4d67f7417..17b5c448b0 100644 --- a/docs/dyn/discoveryengine_v1beta.projects.locations.collections.engines.sessions.html +++ b/docs/dyn/discoveryengine_v1beta.projects.locations.collections.engines.sessions.html @@ -197,9 +197,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -483,9 +480,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -795,9 +789,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -1095,9 +1086,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -1399,9 +1387,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -1686,9 +1671,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. diff --git a/docs/dyn/discoveryengine_v1beta.projects.locations.dataStores.servingConfigs.html b/docs/dyn/discoveryengine_v1beta.projects.locations.dataStores.servingConfigs.html index b2e6890e0f..5c354c02ad 100644 --- a/docs/dyn/discoveryengine_v1beta.projects.locations.dataStores.servingConfigs.html +++ b/docs/dyn/discoveryengine_v1beta.projects.locations.dataStores.servingConfigs.html @@ -378,9 +378,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -546,9 +543,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -3259,9 +3253,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -3427,9 +3418,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. diff --git a/docs/dyn/discoveryengine_v1beta.projects.locations.dataStores.sessions.answers.html b/docs/dyn/discoveryengine_v1beta.projects.locations.dataStores.sessions.answers.html index 663d368c53..776d08a0ee 100644 --- a/docs/dyn/discoveryengine_v1beta.projects.locations.dataStores.sessions.answers.html +++ b/docs/dyn/discoveryengine_v1beta.projects.locations.dataStores.sessions.answers.html @@ -169,9 +169,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. diff --git a/docs/dyn/discoveryengine_v1beta.projects.locations.dataStores.sessions.html b/docs/dyn/discoveryengine_v1beta.projects.locations.dataStores.sessions.html index 7ad49828f9..d4df0aca81 100644 --- a/docs/dyn/discoveryengine_v1beta.projects.locations.dataStores.sessions.html +++ b/docs/dyn/discoveryengine_v1beta.projects.locations.dataStores.sessions.html @@ -197,9 +197,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -483,9 +480,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -795,9 +789,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -1095,9 +1086,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -1399,9 +1387,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. @@ -1686,9 +1671,6 @@

Method Details

}, "relevanceScore": 3.14, # The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. }, - "queries": [ # Output only. The search queries that produced this reference. - "A String", - ], "structuredDocumentInfo": { # Structured search information. # Structured document information. "document": "A String", # Document resource name. "structData": { # Structured search data. diff --git a/docs/dyn/discoveryengine_v1beta.projects.locations.userStores.html b/docs/dyn/discoveryengine_v1beta.projects.locations.userStores.html index 983a05e4bf..498416015b 100644 --- a/docs/dyn/discoveryengine_v1beta.projects.locations.userStores.html +++ b/docs/dyn/discoveryengine_v1beta.projects.locations.userStores.html @@ -90,12 +90,6 @@

Instance Methods

close()

Close httplib2 connections.

-

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

-

Creates a new User Store.

-

- delete(name, x__xgafv=None)

-

Deletes the User Store.

get(name, x__xgafv=None)

Gets the User Store.

@@ -164,76 +158,6 @@

Method Details

Close httplib2 connections.
-
- create(parent, body=None, userStoreId=None, x__xgafv=None) -
Creates a new User Store.
-
-Args:
-  parent: string, Required. The parent collection resource name, such as `projects/{project}/locations/{location}`. (required)
-  body: object, The request body.
-    The object takes the form of:
-
-{ # Configures metadata that is used for End User entities.
-  "defaultLicenseConfig": "A String", # Optional. The default subscription LicenseConfig for the UserStore, if UserStore.enable_license_auto_register is true, new users will automatically register under the default subscription. If default LicenseConfig doesn't have remaining license seats left, new users will not be assigned with license and will be blocked for Vertex AI Search features. This is used if `license_assignment_tier_rules` is not configured.
-  "displayName": "A String", # The display name of the User Store.
-  "enableExpiredLicenseAutoUpdate": True or False, # Optional. Whether to enable license auto update for users in this User Store. If true, users with expired licenses will automatically be updated to use the default license config as long as the default license config has seats left.
-  "enableLicenseAutoRegister": True or False, # Optional. Whether to enable license auto register for users in this User Store. If true, new users will automatically register under the default license config as long as the default license config has seats left.
-  "name": "A String", # Immutable. The full resource name of the User Store, in the format of `projects/{project}/locations/{location}/userStores/{user_store}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
-}
-
-  userStoreId: string, Required. The ID of the User Store to create. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 63 characters.
-  x__xgafv: string, V1 error format.
-    Allowed values
-      1 - v1 error format
-      2 - v2 error format
-
-Returns:
-  An object of the form:
-
-    { # Configures metadata that is used for End User entities.
-  "defaultLicenseConfig": "A String", # Optional. The default subscription LicenseConfig for the UserStore, if UserStore.enable_license_auto_register is true, new users will automatically register under the default subscription. If default LicenseConfig doesn't have remaining license seats left, new users will not be assigned with license and will be blocked for Vertex AI Search features. This is used if `license_assignment_tier_rules` is not configured.
-  "displayName": "A String", # The display name of the User Store.
-  "enableExpiredLicenseAutoUpdate": True or False, # Optional. Whether to enable license auto update for users in this User Store. If true, users with expired licenses will automatically be updated to use the default license config as long as the default license config has seats left.
-  "enableLicenseAutoRegister": True or False, # Optional. Whether to enable license auto register for users in this User Store. If true, new users will automatically register under the default license config as long as the default license config has seats left.
-  "name": "A String", # Immutable. The full resource name of the User Store, in the format of `projects/{project}/locations/{location}/userStores/{user_store}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
-}
-
- -
- delete(name, x__xgafv=None) -
Deletes the User Store.
-
-Args:
-  name: string, Required. The name of the User Store to delete. Format: `projects/{project}/locations/{location}/userStores/{user_store_id}` (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.
-  },
-}
-
-
get(name, x__xgafv=None)
Gets the User Store.
diff --git a/docs/dyn/documentai_v1.projects.locations.processors.processorVersions.html b/docs/dyn/documentai_v1.projects.locations.processors.processorVersions.html
index 7ea6077e13..a17c87f734 100644
--- a/docs/dyn/documentai_v1.projects.locations.processors.processorVersions.html
+++ b/docs/dyn/documentai_v1.projects.locations.processors.processorVersions.html
@@ -2995,6 +2995,7 @@ 

Method Details

}, "foundationModelTuningOptions": { # Options to control foundation model tuning of the processor. # Options to control foundation model tuning of a processor. "learningRateMultiplier": 3.14, # Optional. The multiplier to apply to the recommended learning rate. Valid values are between 0.1 and 10. If not provided, recommended learning rate will be used. + "previousFineTunedProcessorVersionName": "A String", # Optional. Resource name of a previously fine tuned version id to copy the overwritten configs from. The base_processor_version should be newer than the base processor version used to fine tune this provided processor version. Format: `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`. "trainSteps": 42, # Optional. The number of steps to run for model tuning. Valid values are between 1 and 400. If not provided, recommended steps will be used. }, "inputData": { # The input data used to train a new ProcessorVersion. # Optional. The input data used to train the ProcessorVersion. diff --git a/docs/dyn/documentai_v1beta3.projects.locations.processors.processorVersions.html b/docs/dyn/documentai_v1beta3.projects.locations.processors.processorVersions.html index 91c1b0f7e4..e2ce40fa07 100644 --- a/docs/dyn/documentai_v1beta3.projects.locations.processors.processorVersions.html +++ b/docs/dyn/documentai_v1beta3.projects.locations.processors.processorVersions.html @@ -4357,6 +4357,7 @@

Method Details

}, "foundationModelTuningOptions": { # Options to control foundation model tuning of the processor. # Options to control foundation model tuning of a processor. "learningRateMultiplier": 3.14, # Optional. The multiplier to apply to the recommended learning rate. Valid values are between 0.1 and 10. If not provided, recommended learning rate will be used. + "previousFineTunedProcessorVersionName": "A String", # Optional. Resource name of a previously fine tuned version id to copy the overwritten configs from. The base_processor_version should be newer than the base processor version used to fine tune this provided processor version. Format: `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`. "trainSteps": 42, # Optional. The number of steps to run for model tuning. Valid values are between 1 and 400. If not provided, recommended steps will be used. }, "inputData": { # The input data used to train a new ProcessorVersion. # Optional. The input data used to train the ProcessorVersion. diff --git a/docs/dyn/drive_v2.about.html b/docs/dyn/drive_v2.about.html index 59133370fc..0d1074f814 100644 --- a/docs/dyn/drive_v2.about.html +++ b/docs/dyn/drive_v2.about.html @@ -118,7 +118,7 @@

Method Details

], "canCreateDrives": True or False, # Whether the user can create shared drives. "canCreateTeamDrives": True or False, # Deprecated: Use `canCreateDrives` instead. - "domainSharingPolicy": "A String", # The domain sharing policy for the current user. Possible values are: * `allowed` * `allowedWithWarning` * `incomingOnly` * `disallowed` + "domainSharingPolicy": "A String", # Deprecated: Does not granularly represent allowlisted domains or Trust Rules. The domain sharing policy for the current user. Possible values are: * `allowed` * `allowedWithWarning` * `incomingOnly` * `disallowed` Note that if the user is enrolled in Trust Rules, `disallowed` will always be returned. If sharing is restricted to allowlisted domains, either `incomingOnly` or `allowedWithWarning` will be returned, depending on whether receiving files from outside the allowlisted domains is permitted. "driveThemes": [ # A list of themes that are supported for shared drives. { "backgroundImageLink": "A String", # A link to this theme's background image. diff --git a/docs/dyn/firebaseml_v2beta.projects.locations.publishers.models.html b/docs/dyn/firebaseml_v2beta.projects.locations.publishers.models.html index 7751c35a8b..22b0e29be8 100644 --- a/docs/dyn/firebaseml_v2beta.projects.locations.publishers.models.html +++ b/docs/dyn/firebaseml_v2beta.projects.locations.publishers.models.html @@ -204,7 +204,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -734,7 +734,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], @@ -1564,7 +1564,7 @@

Method Details

"presencePenalty": 3.14, # Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. "responseJsonSchema": "", # Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. "responseLogprobs": True or False, # Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. - "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. + "responseMimeType": "A String", # Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. "responseModalities": [ # Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. "A String", ], diff --git a/docs/dyn/gkehub_v1alpha.projects.locations.rolloutSequences.html b/docs/dyn/gkehub_v1alpha.projects.locations.rolloutSequences.html index c1c0d80cd3..a1b16c086c 100644 --- a/docs/dyn/gkehub_v1alpha.projects.locations.rolloutSequences.html +++ b/docs/dyn/gkehub_v1alpha.projects.locations.rolloutSequences.html @@ -131,6 +131,7 @@

Method Details

}, ], "state": { # State and reasons of the Rollout Sequence. # Output only. State of the Rollout Sequence as a whole. + "lastStateChangeTime": "A String", # Output only. The timestamp at which the LifecycleState was last changed. Used to track how long it has been in the current state. "lifecycleState": "A String", # Output only. Lifecycle state of the Rollout Sequence. "stateReasons": [ # Output only. StateReason represents the reason for the Rollout Sequence state. "A String", @@ -240,6 +241,7 @@

Method Details

}, ], "state": { # State and reasons of the Rollout Sequence. # Output only. State of the Rollout Sequence as a whole. + "lastStateChangeTime": "A String", # Output only. The timestamp at which the LifecycleState was last changed. Used to track how long it has been in the current state. "lifecycleState": "A String", # Output only. Lifecycle state of the Rollout Sequence. "stateReasons": [ # Output only. StateReason represents the reason for the Rollout Sequence state. "A String", @@ -291,6 +293,7 @@

Method Details

}, ], "state": { # State and reasons of the Rollout Sequence. # Output only. State of the Rollout Sequence as a whole. + "lastStateChangeTime": "A String", # Output only. The timestamp at which the LifecycleState was last changed. Used to track how long it has been in the current state. "lifecycleState": "A String", # Output only. Lifecycle state of the Rollout Sequence. "stateReasons": [ # Output only. StateReason represents the reason for the Rollout Sequence state. "A String", @@ -347,6 +350,7 @@

Method Details

}, ], "state": { # State and reasons of the Rollout Sequence. # Output only. State of the Rollout Sequence as a whole. + "lastStateChangeTime": "A String", # Output only. The timestamp at which the LifecycleState was last changed. Used to track how long it has been in the current state. "lifecycleState": "A String", # Output only. Lifecycle state of the Rollout Sequence. "stateReasons": [ # Output only. StateReason represents the reason for the Rollout Sequence state. "A String", diff --git a/docs/dyn/gkehub_v1alpha.projects.locations.rollouts.html b/docs/dyn/gkehub_v1alpha.projects.locations.rollouts.html index 1aaef26f09..25660cd410 100644 --- a/docs/dyn/gkehub_v1alpha.projects.locations.rollouts.html +++ b/docs/dyn/gkehub_v1alpha.projects.locations.rollouts.html @@ -106,7 +106,7 @@

Method Details

Returns: An object of the form: - { # Rollout contains the Rollout metadata and configuration. + { # Rollout contains the Rollout metadata and configuration. Next ID: 28 "completeTime": "A String", # Output only. The timestamp at which the Rollout was completed. "createTime": "A String", # Output only. The timestamp at which the Rollout was created. "deleteTime": "A String", # Output only. The timestamp at the Rollout was deleted. @@ -134,15 +134,16 @@

Method Details

"rolloutSequence": "A String", # Optional. Immutable. The full, unique resource name of the rollout sequence that initiatied this Rollout. In the format of `projects/{project}/locations/global/rolloutSequences/{rollout_sequence}`. "stages": [ # Output only. The stages of the Rollout. { # Stage represents a single stage in the Rollout. - "endTime": "A String", # Optional. Output only. The time at which the wave ended. - "soakDuration": "A String", # Optional. Duration to soak after this wave before starting the next wave. - "stageNumber": 42, # Output only. The wave number to which this status applies. - "startTime": "A String", # Optional. Output only. The time at which the wave started. - "state": "A String", # Output only. The state of the wave. + "endTime": "A String", # Optional. Output only. The time at which the stage ended. + "soakDuration": "A String", # Optional. Duration to soak after this stage before starting the next stage. + "stageNumber": 42, # Output only. The stage number to which this status applies. + "startTime": "A String", # Optional. Output only. The time at which the stage started. + "state": "A String", # Output only. The state of the stage. }, ], "state": "A String", # Output only. State specifies various states of the Rollout. "stateReason": "A String", # Output only. A human-readable description explaining the reason for the current state. + "stateReasonType": "A String", # Output only. StateReasonType specifies the reason type of the Rollout state. "uid": "A String", # Output only. Google-generated UUID for this resource. This is unique across all Rollout resources. If a Rollout resource is deleted and another resource with the same name is created, it gets a different uid. "updateTime": "A String", # Output only. The timestamp at which the Rollout was last updated. "versionUpgrade": { # Config for version upgrade of clusters. # Optional. Config for version upgrade of clusters. @@ -172,7 +173,7 @@

Method Details

{ # Response message for listing rollouts. "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. "rollouts": [ # The rollouts from the specified parent resource. - { # Rollout contains the Rollout metadata and configuration. + { # Rollout contains the Rollout metadata and configuration. Next ID: 28 "completeTime": "A String", # Output only. The timestamp at which the Rollout was completed. "createTime": "A String", # Output only. The timestamp at which the Rollout was created. "deleteTime": "A String", # Output only. The timestamp at the Rollout was deleted. @@ -200,15 +201,16 @@

Method Details

"rolloutSequence": "A String", # Optional. Immutable. The full, unique resource name of the rollout sequence that initiatied this Rollout. In the format of `projects/{project}/locations/global/rolloutSequences/{rollout_sequence}`. "stages": [ # Output only. The stages of the Rollout. { # Stage represents a single stage in the Rollout. - "endTime": "A String", # Optional. Output only. The time at which the wave ended. - "soakDuration": "A String", # Optional. Duration to soak after this wave before starting the next wave. - "stageNumber": 42, # Output only. The wave number to which this status applies. - "startTime": "A String", # Optional. Output only. The time at which the wave started. - "state": "A String", # Output only. The state of the wave. + "endTime": "A String", # Optional. Output only. The time at which the stage ended. + "soakDuration": "A String", # Optional. Duration to soak after this stage before starting the next stage. + "stageNumber": 42, # Output only. The stage number to which this status applies. + "startTime": "A String", # Optional. Output only. The time at which the stage started. + "state": "A String", # Output only. The state of the stage. }, ], "state": "A String", # Output only. State specifies various states of the Rollout. "stateReason": "A String", # Output only. A human-readable description explaining the reason for the current state. + "stateReasonType": "A String", # Output only. StateReasonType specifies the reason type of the Rollout state. "uid": "A String", # Output only. Google-generated UUID for this resource. This is unique across all Rollout resources. If a Rollout resource is deleted and another resource with the same name is created, it gets a different uid. "updateTime": "A String", # Output only. The timestamp at which the Rollout was last updated. "versionUpgrade": { # Config for version upgrade of clusters. # Optional. Config for version upgrade of clusters. diff --git a/docs/dyn/gkehub_v1beta.projects.locations.rolloutSequences.html b/docs/dyn/gkehub_v1beta.projects.locations.rolloutSequences.html index 55af77cf14..727c26b469 100644 --- a/docs/dyn/gkehub_v1beta.projects.locations.rolloutSequences.html +++ b/docs/dyn/gkehub_v1beta.projects.locations.rolloutSequences.html @@ -131,6 +131,7 @@

Method Details

}, ], "state": { # State and reasons of the Rollout Sequence. # Output only. State of the Rollout Sequence as a whole. + "lastStateChangeTime": "A String", # Output only. The timestamp at which the LifecycleState was last changed. Used to track how long it has been in the current state. "lifecycleState": "A String", # Output only. Lifecycle state of the Rollout Sequence. "stateReasons": [ # Output only. StateReason represents the reason for the Rollout Sequence state. "A String", @@ -240,6 +241,7 @@

Method Details

}, ], "state": { # State and reasons of the Rollout Sequence. # Output only. State of the Rollout Sequence as a whole. + "lastStateChangeTime": "A String", # Output only. The timestamp at which the LifecycleState was last changed. Used to track how long it has been in the current state. "lifecycleState": "A String", # Output only. Lifecycle state of the Rollout Sequence. "stateReasons": [ # Output only. StateReason represents the reason for the Rollout Sequence state. "A String", @@ -291,6 +293,7 @@

Method Details

}, ], "state": { # State and reasons of the Rollout Sequence. # Output only. State of the Rollout Sequence as a whole. + "lastStateChangeTime": "A String", # Output only. The timestamp at which the LifecycleState was last changed. Used to track how long it has been in the current state. "lifecycleState": "A String", # Output only. Lifecycle state of the Rollout Sequence. "stateReasons": [ # Output only. StateReason represents the reason for the Rollout Sequence state. "A String", @@ -347,6 +350,7 @@

Method Details

}, ], "state": { # State and reasons of the Rollout Sequence. # Output only. State of the Rollout Sequence as a whole. + "lastStateChangeTime": "A String", # Output only. The timestamp at which the LifecycleState was last changed. Used to track how long it has been in the current state. "lifecycleState": "A String", # Output only. Lifecycle state of the Rollout Sequence. "stateReasons": [ # Output only. StateReason represents the reason for the Rollout Sequence state. "A String", diff --git a/docs/dyn/gkehub_v1beta.projects.locations.rollouts.html b/docs/dyn/gkehub_v1beta.projects.locations.rollouts.html index 8e40eff8f5..5b85026408 100644 --- a/docs/dyn/gkehub_v1beta.projects.locations.rollouts.html +++ b/docs/dyn/gkehub_v1beta.projects.locations.rollouts.html @@ -106,7 +106,7 @@

Method Details

Returns: An object of the form: - { # Rollout contains the Rollout metadata and configuration. + { # Rollout contains the Rollout metadata and configuration. Next ID: 28 "completeTime": "A String", # Output only. The timestamp at which the Rollout was completed. "createTime": "A String", # Output only. The timestamp at which the Rollout was created. "deleteTime": "A String", # Output only. The timestamp at the Rollout was deleted. @@ -134,15 +134,16 @@

Method Details

"rolloutSequence": "A String", # Optional. Immutable. The full, unique resource name of the rollout sequence that initiatied this Rollout. In the format of `projects/{project}/locations/global/rolloutSequences/{rollout_sequence}`. "stages": [ # Output only. The stages of the Rollout. { # Stage represents a single stage in the Rollout. - "endTime": "A String", # Optional. Output only. The time at which the wave ended. - "soakDuration": "A String", # Optional. Duration to soak after this wave before starting the next wave. - "stageNumber": 42, # Output only. The wave number to which this status applies. - "startTime": "A String", # Optional. Output only. The time at which the wave started. - "state": "A String", # Output only. The state of the wave. + "endTime": "A String", # Optional. Output only. The time at which the stage ended. + "soakDuration": "A String", # Optional. Duration to soak after this stage before starting the next stage. + "stageNumber": 42, # Output only. The stage number to which this status applies. + "startTime": "A String", # Optional. Output only. The time at which the stage started. + "state": "A String", # Output only. The state of the stage. }, ], "state": "A String", # Output only. State specifies various states of the Rollout. "stateReason": "A String", # Output only. A human-readable description explaining the reason for the current state. + "stateReasonType": "A String", # Output only. StateReasonType specifies the reason type of the Rollout state. "uid": "A String", # Output only. Google-generated UUID for this resource. This is unique across all Rollout resources. If a Rollout resource is deleted and another resource with the same name is created, it gets a different uid. "updateTime": "A String", # Output only. The timestamp at which the Rollout was last updated. "versionUpgrade": { # Config for version upgrade of clusters. # Optional. Config for version upgrade of clusters. @@ -172,7 +173,7 @@

Method Details

{ # Response message for listing rollouts. "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. "rollouts": [ # The rollouts from the specified parent resource. - { # Rollout contains the Rollout metadata and configuration. + { # Rollout contains the Rollout metadata and configuration. Next ID: 28 "completeTime": "A String", # Output only. The timestamp at which the Rollout was completed. "createTime": "A String", # Output only. The timestamp at which the Rollout was created. "deleteTime": "A String", # Output only. The timestamp at the Rollout was deleted. @@ -200,15 +201,16 @@

Method Details

"rolloutSequence": "A String", # Optional. Immutable. The full, unique resource name of the rollout sequence that initiatied this Rollout. In the format of `projects/{project}/locations/global/rolloutSequences/{rollout_sequence}`. "stages": [ # Output only. The stages of the Rollout. { # Stage represents a single stage in the Rollout. - "endTime": "A String", # Optional. Output only. The time at which the wave ended. - "soakDuration": "A String", # Optional. Duration to soak after this wave before starting the next wave. - "stageNumber": 42, # Output only. The wave number to which this status applies. - "startTime": "A String", # Optional. Output only. The time at which the wave started. - "state": "A String", # Output only. The state of the wave. + "endTime": "A String", # Optional. Output only. The time at which the stage ended. + "soakDuration": "A String", # Optional. Duration to soak after this stage before starting the next stage. + "stageNumber": 42, # Output only. The stage number to which this status applies. + "startTime": "A String", # Optional. Output only. The time at which the stage started. + "state": "A String", # Output only. The state of the stage. }, ], "state": "A String", # Output only. State specifies various states of the Rollout. "stateReason": "A String", # Output only. A human-readable description explaining the reason for the current state. + "stateReasonType": "A String", # Output only. StateReasonType specifies the reason type of the Rollout state. "uid": "A String", # Output only. Google-generated UUID for this resource. This is unique across all Rollout resources. If a Rollout resource is deleted and another resource with the same name is created, it gets a different uid. "updateTime": "A String", # Output only. The timestamp at which the Rollout was last updated. "versionUpgrade": { # Config for version upgrade of clusters. # Optional. Config for version upgrade of clusters. diff --git a/docs/dyn/hypercomputecluster_v1.projects.locations.clusters.html b/docs/dyn/hypercomputecluster_v1.projects.locations.clusters.html index 8a6d38258d..d94860649f 100644 --- a/docs/dyn/hypercomputecluster_v1.projects.locations.clusters.html +++ b/docs/dyn/hypercomputecluster_v1.projects.locations.clusters.html @@ -135,7 +135,7 @@

Method Details

}, }, "createTime": "A String", # Output only. Time that the cluster was originally created. - "description": "A String", # Optional. User-provided description of the cluster. + "description": "A String", # Optional. User-provided description of the cluster. Maximum of 2048 characters. "labels": { # Optional. [Labels](https://cloud.google.com/compute/docs/labeling-resources) applied to the cluster. Labels can be used to organize clusters and to filter them in queries. "a_key": "A String", }, @@ -390,7 +390,7 @@

Method Details

}, }, "createTime": "A String", # Output only. Time that the cluster was originally created. - "description": "A String", # Optional. User-provided description of the cluster. + "description": "A String", # Optional. User-provided description of the cluster. Maximum of 2048 characters. "labels": { # Optional. [Labels](https://cloud.google.com/compute/docs/labeling-resources) applied to the cluster. Labels can be used to organize clusters and to filter them in queries. "a_key": "A String", }, @@ -585,7 +585,7 @@

Method Details

}, }, "createTime": "A String", # Output only. Time that the cluster was originally created. - "description": "A String", # Optional. User-provided description of the cluster. + "description": "A String", # Optional. User-provided description of the cluster. Maximum of 2048 characters. "labels": { # Optional. [Labels](https://cloud.google.com/compute/docs/labeling-resources) applied to the cluster. Labels can be used to organize clusters and to filter them in queries. "a_key": "A String", }, @@ -789,7 +789,7 @@

Method Details

}, }, "createTime": "A String", # Output only. Time that the cluster was originally created. - "description": "A String", # Optional. User-provided description of the cluster. + "description": "A String", # Optional. User-provided description of the cluster. Maximum of 2048 characters. "labels": { # Optional. [Labels](https://cloud.google.com/compute/docs/labeling-resources) applied to the cluster. Labels can be used to organize clusters and to filter them in queries. "a_key": "A String", }, diff --git a/docs/dyn/iam_v1.locations.workforcePools.providers.scimTenants.tokens.html b/docs/dyn/iam_v1.locations.workforcePools.providers.scimTenants.tokens.html index 91388c4a10..fdd262f632 100644 --- a/docs/dyn/iam_v1.locations.workforcePools.providers.scimTenants.tokens.html +++ b/docs/dyn/iam_v1.locations.workforcePools.providers.scimTenants.tokens.html @@ -95,9 +95,6 @@

Instance Methods

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

Gemini Enterprise only. Updates an existing WorkforcePoolProviderScimToken.

-

- undelete(name, body=None, x__xgafv=None)

-

Gemini Enterprise only. Undeletes a WorkforcePoolProviderScimToken,that was deleted fewer than 30 days ago.

Method Details

close() @@ -258,32 +255,4 @@

Method Details

}
-
- undelete(name, body=None, x__xgafv=None) -
Gemini Enterprise only. Undeletes a WorkforcePoolProviderScimToken,that was deleted fewer than 30 days ago.
-
-Args:
-  name: string, Required. Gemini Enterprise only. The name of the SCIM token to undelete. Format: `locations/{location}/workforcePools/{workforce_pool}/providers/{provider}/scimTenants/{scim_tenant}/tokens/{token}` (required)
-  body: object, The request body.
-    The object takes the form of:
-
-{ # Gemini Enterprise only. Request message for UndeleteWorkforcePoolProviderScimToken.
-}
-
-  x__xgafv: string, V1 error format.
-    Allowed values
-      1 - v1 error format
-      2 - v2 error format
-
-Returns:
-  An object of the form:
-
-    { # Gemini Enterprise only. Represents a token for the WorkforcePoolProviderScimTenant. Used for authenticating SCIM provisioning requests.
-  "displayName": "A String", # Optional. Gemini Enterprise only. The display name of the SCIM token. Cannot exceed 32 characters.
-  "name": "A String", # Identifier. Gemini Enterprise only. The resource name of the SCIM Token. Format: `locations/{location}/workforcePools/{workforce_pool}/providers/ {workforce_pool_provider}/scimTenants/{scim_tenant}/tokens/{token}`
-  "securityToken": "A String", # Output only. Gemini Enterprise only. The token string. Provide this to the IdP for authentication. Will be set only during creation.
-  "state": "A String", # Output only. Gemini Enterprise only. The state of the token.
-}
-
- \ No newline at end of file diff --git a/docs/dyn/iap_v1.v1.html b/docs/dyn/iap_v1.v1.html index 8837a57ba2..3c5ebc9e24 100644 --- a/docs/dyn/iap_v1.v1.html +++ b/docs/dyn/iap_v1.v1.html @@ -179,9 +179,9 @@

Method Details

"A String", ], "oauthSettings": { # Configuration for OAuth login&consent flow behavior as well as for OAuth Credentials. # Optional. Settings to configure IAP's OAuth behavior. - "clientId": "A String", # Optional. OAuth 2.0 client ID used in the OAuth flow to generate an access token. If this field is set, you can skip obtaining the OAuth credentials in this step: https://developers.google.com/identity/protocols/OAuth2?hl=en_US#1.-obtain-oauth-2.0-credentials-from-the-google-api-console. However, this could allow for client sharing. The risks of client sharing are outlined here: https://cloud.google.com/iap/docs/sharing-oauth-clients#risks. - "clientSecret": "A String", # Optional. Input only. OAuth secret paired with client ID - "clientSecretSha256": "A String", # Output only. OAuth secret sha256 paired with client ID + "clientId": "A String", # Optional. OAuth 2.0 client ID used in the OAuth flow. This allows for client sharing. The risks of client sharing are outlined here: https://cloud.google.com/iap/docs/sharing-oauth-clients#risks. + "clientSecret": "A String", # Optional. Input only. OAuth secret paired with client ID. + "clientSecretSha256": "A String", # Output only. OAuth secret SHA256 paired with client ID. "loginHint": "A String", # Domain hint to send as hd=? parameter in OAuth request flow. Enables redirect to primary IDP by skipping Google's login screen. https://developers.google.com/identity/protocols/OpenIDConnect#hd-param Note: IAP does not verify that the id token's hd claim matches this value since access behavior is managed by IAM policies. "programmaticClients": [ # Optional. List of client ids allowed to use IAP programmatically. "A String", @@ -386,9 +386,9 @@

Method Details

"A String", ], "oauthSettings": { # Configuration for OAuth login&consent flow behavior as well as for OAuth Credentials. # Optional. Settings to configure IAP's OAuth behavior. - "clientId": "A String", # Optional. OAuth 2.0 client ID used in the OAuth flow to generate an access token. If this field is set, you can skip obtaining the OAuth credentials in this step: https://developers.google.com/identity/protocols/OAuth2?hl=en_US#1.-obtain-oauth-2.0-credentials-from-the-google-api-console. However, this could allow for client sharing. The risks of client sharing are outlined here: https://cloud.google.com/iap/docs/sharing-oauth-clients#risks. - "clientSecret": "A String", # Optional. Input only. OAuth secret paired with client ID - "clientSecretSha256": "A String", # Output only. OAuth secret sha256 paired with client ID + "clientId": "A String", # Optional. OAuth 2.0 client ID used in the OAuth flow. This allows for client sharing. The risks of client sharing are outlined here: https://cloud.google.com/iap/docs/sharing-oauth-clients#risks. + "clientSecret": "A String", # Optional. Input only. OAuth secret paired with client ID. + "clientSecretSha256": "A String", # Output only. OAuth secret SHA256 paired with client ID. "loginHint": "A String", # Domain hint to send as hd=? parameter in OAuth request flow. Enables redirect to primary IDP by skipping Google's login screen. https://developers.google.com/identity/protocols/OpenIDConnect#hd-param Note: IAP does not verify that the id token's hd claim matches this value since access behavior is managed by IAM policies. "programmaticClients": [ # Optional. List of client ids allowed to use IAP programmatically. "A String", @@ -504,9 +504,9 @@

Method Details

"A String", ], "oauthSettings": { # Configuration for OAuth login&consent flow behavior as well as for OAuth Credentials. # Optional. Settings to configure IAP's OAuth behavior. - "clientId": "A String", # Optional. OAuth 2.0 client ID used in the OAuth flow to generate an access token. If this field is set, you can skip obtaining the OAuth credentials in this step: https://developers.google.com/identity/protocols/OAuth2?hl=en_US#1.-obtain-oauth-2.0-credentials-from-the-google-api-console. However, this could allow for client sharing. The risks of client sharing are outlined here: https://cloud.google.com/iap/docs/sharing-oauth-clients#risks. - "clientSecret": "A String", # Optional. Input only. OAuth secret paired with client ID - "clientSecretSha256": "A String", # Output only. OAuth secret sha256 paired with client ID + "clientId": "A String", # Optional. OAuth 2.0 client ID used in the OAuth flow. This allows for client sharing. The risks of client sharing are outlined here: https://cloud.google.com/iap/docs/sharing-oauth-clients#risks. + "clientSecret": "A String", # Optional. Input only. OAuth secret paired with client ID. + "clientSecretSha256": "A String", # Output only. OAuth secret SHA256 paired with client ID. "loginHint": "A String", # Domain hint to send as hd=? parameter in OAuth request flow. Enables redirect to primary IDP by skipping Google's login screen. https://developers.google.com/identity/protocols/OpenIDConnect#hd-param Note: IAP does not verify that the id token's hd claim matches this value since access behavior is managed by IAM policies. "programmaticClients": [ # Optional. List of client ids allowed to use IAP programmatically. "A String", diff --git a/docs/dyn/identitytoolkit_v1.accounts.html b/docs/dyn/identitytoolkit_v1.accounts.html index 2ab9e6a97a..a5a6585013 100644 --- a/docs/dyn/identitytoolkit_v1.accounts.html +++ b/docs/dyn/identitytoolkit_v1.accounts.html @@ -79,7 +79,7 @@

Instance Methods

Close httplib2 connections.

createAuthUri(body=None, x__xgafv=None)

-

If an email identifier is specified, checks and returns if any user account is registered with the email. If there is a registered account, fetches all providers associated with the account's email. If the provider ID of an Identity Provider (IdP) is specified, creates an authorization URI for the IdP. The user can be directed to this URI to sign in with the IdP. An [API key](https://cloud.google.com/docs/authentication/api-keys) is required in the request in order to identify the Google Cloud project.

+

If an email identifier is specified, checks and returns if any user account is registered with the email. If there is a registered account, fetches all providers associated with the account's email. If [email enumeration protection](https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection) is enabled, this method returns an empty list. If the provider ID of an Identity Provider (IdP) is specified, creates an authorization URI for the IdP. The user can be directed to this URI to sign in with the IdP. An [API key](https://cloud.google.com/docs/authentication/api-keys) is required in the request in order to identify the Google Cloud project.

delete(body=None, x__xgafv=None)

Deletes a user's account.

@@ -133,7 +133,7 @@

Method Details

createAuthUri(body=None, x__xgafv=None) -
If an email identifier is specified, checks and returns if any user account is registered with the email. If there is a registered account, fetches all providers associated with the account's email. If the provider ID of an Identity Provider (IdP) is specified, creates an authorization URI for the IdP. The user can be directed to this URI to sign in with the IdP. An [API key](https://cloud.google.com/docs/authentication/api-keys) is required in the request in order to identify the Google Cloud project.
+  
If an email identifier is specified, checks and returns if any user account is registered with the email. If there is a registered account, fetches all providers associated with the account's email. If [email enumeration protection](https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection) is enabled, this method returns an empty list. If the provider ID of an Identity Provider (IdP) is specified, creates an authorization URI for the IdP. The user can be directed to this URI to sign in with the IdP. An [API key](https://cloud.google.com/docs/authentication/api-keys) is required in the request in order to identify the Google Cloud project.
 
 Args:
   body: object, The request body.
@@ -458,7 +458,7 @@ 

Method Details

"playIntegrityToken": "A String", # Android only. Used to assert application identity in place of a recaptcha token (and safety_net_token). At least one of (`ios_receipt` and `ios_secret`), `recaptcha_token`, , or `play_integrity_token` must be specified to verify the verification code is being sent on behalf of a real app and not an emulator, if 'captcha_response' is not used (reCAPTCHA enterprise is not enabled). A Play Integrity Token can be generated via the [PlayIntegrity API](https://developer.android.com/google/play/integrity) with applying SHA256 to the `phone_number` field as the nonce. "recaptchaToken": "A String", # Recaptcha token for app verification. At least one of (`ios_receipt` and `ios_secret`), `recaptcha_token`, or `play_integrity_token` must be specified to verify the verification code is being sent on behalf of a real app and not an emulator, if 'captcha_response' is not used (reCAPTCHA enterprise is not enabled). The recaptcha should be generated by calling getRecaptchaParams and the recaptcha token will be generated on user completion of the recaptcha challenge. "recaptchaVersion": "A String", # Optional. The reCAPTCHA version of the reCAPTCHA token in the captcha_response. Required when reCAPTCHA Enterprise is enabled. - "safetyNetToken": "A String", # Android only. Safety Net has been deprecated. Please use play_integrity_token instead. + "safetyNetToken": "A String", # Android only. Safety Net has been deprecated. Use play_integrity_token instead. "tenantId": "A String", # Tenant ID of the Identity Platform tenant the user is signing in to. } diff --git a/docs/dyn/index.md b/docs/dyn/index.md index e31b75d7b5..a9d37f654d 100644 --- a/docs/dyn/index.md +++ b/docs/dyn/index.md @@ -50,6 +50,10 @@ * [v1](http://googleapis.github.io/google-api-python-client/docs/dyn/advisorynotifications_v1.html) +## agentregistry +* [v1alpha](http://googleapis.github.io/google-api-python-client/docs/dyn/agentregistry_v1alpha.html) + + ## aiplatform * [v1](http://googleapis.github.io/google-api-python-client/docs/dyn/aiplatform_v1.html) * [v1beta1](http://googleapis.github.io/google-api-python-client/docs/dyn/aiplatform_v1beta1.html) diff --git a/docs/dyn/logging_v2.entries.html b/docs/dyn/logging_v2.entries.html index e0a3f88abe..7e7c112a3b 100644 --- a/docs/dyn/logging_v2.entries.html +++ b/docs/dyn/logging_v2.entries.html @@ -82,7 +82,7 @@

Instance Methods

Copies a set of log entries from a log bucket to a Cloud Storage bucket.

list(body=None, x__xgafv=None)

-

Lists log entries. Use this method to retrieve log entries that originated from a project/folder/organization/billing account. For ways to export log entries, see Exporting Logs (https://cloud.google.com/logging/docs/export).

+

Lists log entries. Use this method to retrieve log entries that originated from a project/folder/organization/billing account. For ways to export log entries, see Routing overview (https://docs.cloud.google.com/logging/docs/routing/overview).

list_next()

Retrieves the next page of results.

@@ -143,14 +143,14 @@

Method Details

list(body=None, x__xgafv=None) -
Lists log entries. Use this method to retrieve log entries that originated from a project/folder/organization/billing account. For ways to export log entries, see Exporting Logs (https://cloud.google.com/logging/docs/export).
+  
Lists log entries. Use this method to retrieve log entries that originated from a project/folder/organization/billing account. For ways to export log entries, see Routing overview (https://docs.cloud.google.com/logging/docs/routing/overview).
 
 Args:
   body: object, The request body.
     The object takes the form of:
 
 { # The parameters to ListLogEntries.
-  "filter": "A String", # Optional. A filter that chooses which log entries to return. For more information, see Logging query language (https://{$universe.dns_names.final_documentation_domain}/logging/docs/view/logging-query-language).Only log entries that match the filter are returned. An empty filter matches all log entries in the resources listed in resource_names. Referencing a parent resource that is not listed in resource_names will cause the filter to return no results. The maximum length of a filter is 20,000 characters.To make queries faster, you can make the filter more selective by using restrictions on indexed fields (https://{$universe.dns_names.final_documentation_domain}/logging/docs/view/logging-query-language#indexed-fields) as well as limit the time range of the query by adding range restrictions on the timestamp field.
+  "filter": "A String", # Optional. A filter that chooses which log entries to return. For more information, see Logging query language (https://docs.cloud.google.com/logging/docs/view/logging-query-language).Only log entries that match the filter are returned. An empty filter matches all log entries in the resources listed in resource_names. Referencing a parent resource that is not listed in resource_names will cause the filter to return no results. The maximum length of a filter is 20,000 characters.To make queries faster, you can make the filter more selective by using restrictions on indexed fields (https://docs.cloud.google.com/logging/docs/view/logging-query-language#indexed-fields) as well as limit the time range of the query by adding range restrictions on the timestamp field.
   "orderBy": "A String", # Optional. How the results should be sorted. Presently, the only permitted values are "timestamp asc" (default) and "timestamp desc". The first option returns entries in order of increasing values of LogEntry.timestamp (oldest first), and the second option returns entries in order of decreasing timestamps (newest first). Entries with equal timestamps are returned in order of their insert_id values.We recommend setting the order_by field to "timestamp desc" when listing recently ingested log entries. If not set, the default value of "timestamp asc" may take a long time to fetch matching logs that are only recently ingested.
   "pageSize": 42, # Optional. The maximum number of results to return from this request. Default is 50. If the value is negative, the request is rejected.The presence of next_page_token in the response indicates that more results might be available.
   "pageToken": "A String", # Optional. If present, then retrieve the next batch of results from the preceding call to this method. page_token must be the value of next_page_token from the previous response. The values of other method parameters should be identical to those in the previous call.
@@ -324,7 +324,7 @@ 

Method Details

{ # The parameters to TailLogEntries. "bufferWindow": "A String", # Optional. The amount of time to buffer log entries at the server before being returned to prevent out of order results due to late arriving log entries. Valid values are between 0-60000 milliseconds. Defaults to 2000 milliseconds. - "filter": "A String", # Optional. A filter that chooses which log entries to return. For more information, see Logging query language (https://{$universe.dns_names.final_documentation_domain}/logging/docs/view/logging-query-language).Only log entries that match the filter are returned. An empty filter matches all log entries in the resources listed in resource_names. Referencing a parent resource that is not listed in resource_names will cause the filter to return no results. The maximum length of a filter is 20,000 characters. + "filter": "A String", # Optional. A filter that chooses which log entries to return. For more information, see Logging query language (https://docs.cloud.google.com/logging/docs/view/logging-query-language).Only log entries that match the filter are returned. An empty filter matches all log entries in the resources listed in resource_names. Referencing a parent resource that is not listed in resource_names will cause the filter to return no results. The maximum length of a filter is 20,000 characters. "resourceNames": [ # Required. Name of a parent resource from which to retrieve log entries: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]May alternatively be one or more views: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] "A String", ], @@ -483,7 +483,7 @@

Method Details

{ # The parameters to WriteLogEntries. "dryRun": True or False, # Optional. If true, the request should expect normal response, but the entries won't be persisted nor exported. Useful for checking whether the logging API endpoints are working properly before sending valuable data. - "entries": [ # Required. The log entries to send to Logging. The order of log entries in this list does not matter. Values supplied in this method's log_name, resource, and labels fields are copied into those log entries in this list that do not include values for their corresponding fields. For more information, see the LogEntry type.If the timestamp or insert_id fields are missing in log entries, then this method supplies the current time or a unique identifier, respectively. The supplied values are chosen so that, among the log entries that did not supply their own values, the entries earlier in the list will sort before the entries later in the list. See the entries.list method.Log entries with timestamps that are more than the logs retention period (https://cloud.google.com/logging/quotas) in the past or more than 24 hours in the future will not be available when calling entries.list. However, those log entries can still be exported with LogSinks (https://cloud.google.com/logging/docs/api/tasks/exporting-logs).To improve throughput and to avoid exceeding the quota limit (https://cloud.google.com/logging/quotas) for calls to entries.write, you should try to include several log entries in this list, rather than calling this method for each individual log entry. + "entries": [ # Required. The log entries to send to Logging. The order of log entries in this list does not matter. Values supplied in this method's log_name, resource, and labels fields are copied into those log entries in this list that do not include values for their corresponding fields. For more information, see the LogEntry type.If the timestamp or insert_id fields are missing in log entries, then this method supplies the current time or a unique identifier, respectively. The supplied values are chosen so that, among the log entries that did not supply their own values, the entries earlier in the list will sort before the entries later in the list. See the entries.list method.Log entries with timestamps that are more than the logs retention period (https://docs.cloud.google.com/logging/quotas) in the past or more than 24 hours in the future will not be available when calling entries.list. However, those log entries can still be exported with LogSinks (https://docs.cloud.google.com/logging/docs/routing/overview).To improve throughput and to avoid exceeding the quota limit (https://docs.cloud.google.com/logging/quotas) for calls to entries.write, you should try to include several log entries in this list, rather than calling this method for each individual log entry. { # An individual entry in a log. "apphub": { # Metadata associated with App Hub. # Output only. AppHub application metadata associated with this LogEntry. May be empty if there is no associated AppHub application or multiple associated applications (such as for VPC flow logs) "application": { # Resource identifiers associated with an AppHub application AppHub resources are of the form projects//locations//applications/ projects//locations//applications//services/ projects//locations//applications//workloads/ These resources can be reconstructed from the components below. # Metadata associated with the application. diff --git a/docs/dyn/meet_v2.conferenceRecords.html b/docs/dyn/meet_v2.conferenceRecords.html index 6184a5b665..520b7a4863 100644 --- a/docs/dyn/meet_v2.conferenceRecords.html +++ b/docs/dyn/meet_v2.conferenceRecords.html @@ -84,6 +84,11 @@

Instance Methods

Returns the recordings Resource.

+

+ smartNotes() +

+

Returns the smartNotes Resource.

+

transcripts()

diff --git a/docs/dyn/meet_v2.conferenceRecords.smartNotes.html b/docs/dyn/meet_v2.conferenceRecords.smartNotes.html new file mode 100644 index 0000000000..86a2e9085a --- /dev/null +++ b/docs/dyn/meet_v2.conferenceRecords.smartNotes.html @@ -0,0 +1,168 @@ + + + +

Google Meet API . conferenceRecords . smartNotes

+

Instance Methods

+

+ close()

+

Close httplib2 connections.

+

+ get(name, x__xgafv=None)

+

Gets smart notes by smart note ID.

+

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

+

Lists the set of smart notes from the conference record. By default, ordered by start time and in ascending order.

+

+ list_next()

+

Retrieves the next page of results.

+

Method Details

+
+ close() +
Close httplib2 connections.
+
+ +
+ get(name, x__xgafv=None) +
Gets smart notes by smart note ID.
+
+Args:
+  name: string, Required. Resource name of the smart note. Format: conferenceRecords/{conference_record}/smartNotes/{smart_note} (required)
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Metadata for a smart note generated from a conference. It refers to the notes generated from Take Notes with Gemini during the conference.
+  "docsDestination": { # Google Docs location where the transcript file is saved. # Output only. The Google Doc destination where the smart notes are saved.
+    "document": "A String", # Output only. The document ID for the underlying Google Docs transcript file. For example, "1kuceFZohVoCh6FulBHxwy6I15Ogpc4hP". Use the `documents.get` method of the Google Docs API (https://developers.google.com/docs/api/reference/rest/v1/documents/get) to fetch the content.
+    "exportUri": "A String", # Output only. URI for the Google Docs transcript file. Use `https://docs.google.com/document/d/{$DocumentId}/view` to browse the transcript in the browser.
+  },
+  "endTime": "A String", # Output only. Timestamp when the smart notes stopped.
+  "name": "A String", # Output only. Identifier. Resource name of the smart notes. Format: `conferenceRecords/{conference_record}/smartNotes/{smart_note}`, where `{smart_note}` is a 1:1 mapping to each unique smart notes session of the conference.
+  "startTime": "A String", # Output only. Timestamp when the smart notes started.
+  "state": "A String", # Output only. Current state.
+}
+
+ +
+ list(parent, pageSize=None, pageToken=None, x__xgafv=None) +
Lists the set of smart notes from the conference record. By default, ordered by start time and in ascending order.
+
+Args:
+  parent: string, Required. Format: `conferenceRecords/{conference_record}` (required)
+  pageSize: integer, Optional. Maximum number of smart notes to return. The service might return fewer than this value. If unspecified, at most 10 smart notes are returned. The maximum value is 100; values above 100 are coerced to 100. Maximum might change in the future.
+  pageToken: string, Optional. Page token returned from previous List Call.
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Response for ListSmartNotes method.
+  "nextPageToken": "A String", # Token to be circulated back for further List call if current List doesn't include all the smart notes. Unset if all smart notes are returned.
+  "smartNotes": [ # List of smart notes in one page.
+    { # Metadata for a smart note generated from a conference. It refers to the notes generated from Take Notes with Gemini during the conference.
+      "docsDestination": { # Google Docs location where the transcript file is saved. # Output only. The Google Doc destination where the smart notes are saved.
+        "document": "A String", # Output only. The document ID for the underlying Google Docs transcript file. For example, "1kuceFZohVoCh6FulBHxwy6I15Ogpc4hP". Use the `documents.get` method of the Google Docs API (https://developers.google.com/docs/api/reference/rest/v1/documents/get) to fetch the content.
+        "exportUri": "A String", # Output only. URI for the Google Docs transcript file. Use `https://docs.google.com/document/d/{$DocumentId}/view` to browse the transcript in the browser.
+      },
+      "endTime": "A String", # Output only. Timestamp when the smart notes stopped.
+      "name": "A String", # Output only. Identifier. Resource name of the smart notes. Format: `conferenceRecords/{conference_record}/smartNotes/{smart_note}`, where `{smart_note}` is a 1:1 mapping to each unique smart notes session of the conference.
+      "startTime": "A String", # Output only. Timestamp when the smart notes started.
+      "state": "A String", # Output only. Current state.
+    },
+  ],
+}
+
+ +
+ list_next() +
Retrieves the next page of results.
+
+        Args:
+          previous_request: The request for the previous page. (required)
+          previous_response: The response from the request for the previous page. (required)
+
+        Returns:
+          A request object that you can call 'execute()' on to request the next
+          page. Returns None if there are no more items in the collection.
+        
+
+ + \ No newline at end of file diff --git a/docs/dyn/merchantapi_accounts_v1.accounts.developerRegistration.html b/docs/dyn/merchantapi_accounts_v1.accounts.developerRegistration.html index 6fc729e756..b3d0a3303e 100644 --- a/docs/dyn/merchantapi_accounts_v1.accounts.developerRegistration.html +++ b/docs/dyn/merchantapi_accounts_v1.accounts.developerRegistration.html @@ -131,7 +131,7 @@

Method Details

"gcpIds": [ # Output only. The GCP ids attached to this developer registration "A String", ], - "name": "A String", # Identifier. The `name` (ID) of the developer registration. Generated by the Content API upon creation of a new `DeveloperRegistration`. The `account` represents the merchant ID of the merchant that owns the registration. + "name": "A String", # Identifier. The `name` (ID) of the developer registration. Generated upon creation of a new `DeveloperRegistration`. The `account` represents the merchant ID of the merchant that owns the registration. }
@@ -160,7 +160,7 @@

Method Details

"gcpIds": [ # Output only. The GCP ids attached to this developer registration "A String", ], - "name": "A String", # Identifier. The `name` (ID) of the developer registration. Generated by the Content API upon creation of a new `DeveloperRegistration`. The `account` represents the merchant ID of the merchant that owns the registration. + "name": "A String", # Identifier. The `name` (ID) of the developer registration. Generated upon creation of a new `DeveloperRegistration`. The `account` represents the merchant ID of the merchant that owns the registration. }
diff --git a/docs/dyn/merchantapi_accounts_v1.accounts.html b/docs/dyn/merchantapi_accounts_v1.accounts.html index ce9f563869..fcb3027a1d 100644 --- a/docs/dyn/merchantapi_accounts_v1.accounts.html +++ b/docs/dyn/merchantapi_accounts_v1.accounts.html @@ -170,6 +170,9 @@

Instance Methods

createAndConfigure(body=None, x__xgafv=None)

Creates a Merchant Center account with additional configuration. Adds the user that makes the request as an admin for the new account.

+

+ createTestAccount(parent, body=None, x__xgafv=None)

+

Creates a Merchant Center test account. Test accounts are intended for development and testing purposes, such as validating API integrations or new feature behavior. Key characteristics and limitations of test accounts: - Immutable Type: A test account cannot be converted into a regular (live) Merchant Center account. Likewise, a regular account cannot be converted into a test account. - Non-Serving Products: Any products, offers, or data created within a test account will not be published or made visible to end-users on any Google surfaces. They are strictly for testing environments. - Separate Environment: Test accounts operate in a sandbox-like manner, isolated from live serving and real user traffic.

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

Deletes the specified account regardless of its type: standalone, advanced account or sub-account. Deleting an advanced account leads to the deletion of all of its sub-accounts. This also deletes the account's [developer registration entity](/merchant/api/reference/rest/accounts_v1/accounts.developerRegistration) and any associated GCP project to the account. Executing this method requires admin access. The deletion succeeds only if the account does not provide services to any other account and has no processed offers. You can use the `force` parameter to override this.

@@ -279,6 +282,50 @@

Method Details

}
+
+ createTestAccount(parent, body=None, x__xgafv=None) +
Creates a Merchant Center test account. Test accounts are intended for development and testing purposes, such as validating API integrations or new feature behavior. Key characteristics and limitations of test accounts: - Immutable Type: A test account cannot be converted into a regular (live) Merchant Center account. Likewise, a regular account cannot be converted into a test account. - Non-Serving Products: Any products, offers, or data created within a test account will not be published or made visible to end-users on any Google surfaces. They are strictly for testing environments. - Separate Environment: Test accounts operate in a sandbox-like manner, isolated from live serving and real user traffic.
+
+Args:
+  parent: string, Required. The account resource name to create the test account under. Format: accounts/{account} (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # The `Account` message represents a business's account within Shopping Ads. It's the primary entity for managing product data, settings, and interactions with Google's services and external providers. Accounts can operate as standalone entities or be part of a advanced account structure. In an advanced account setup the parent account manages multiple sub-accounts. Establishing an account involves configuring attributes like the account name, time zone, and language preferences. The `Account` message is the parent entity for many other resources, for example, `AccountRelationship`, `Homepage`, `BusinessInfo` and so on.
+  "accountId": "A String", # Output only. The ID of the account.
+  "accountName": "A String", # Required. A human-readable name of the account. Don't use punctuation, capitalization, or non-alphanumeric symbols such as the "/" or "_" symbols. See [Adding a business name](https://support.google.com/merchants/answer/12159159) for more information.
+  "adultContent": True or False, # Optional. Whether this account contains adult content.
+  "languageCode": "A String", # Required. The account's [BCP-47 language code](https://tools.ietf.org/html/bcp47), such as `en-US` or `sr-Latn`.
+  "name": "A String", # Identifier. The resource name of the account. Format: `accounts/{account}`
+  "testAccount": True or False, # Output only. Whether this is a test account.
+  "timeZone": { # Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/time-zones). # Required. The time zone of the account. On writes, `time_zone` sets both the `reporting_time_zone` and the `display_time_zone`. For reads, `time_zone` always returns the `display_time_zone`. If `display_time_zone` doesn't exist for your account, `time_zone` is empty. The `version` field is not supported, won't be set in responses and will be silently ignored if specified in requests.
+    "id": "A String", # IANA Time Zone Database time zone. For example "America/New_York".
+    "version": "A String", # Optional. IANA Time Zone Database version number. For example "2019a".
+  },
+}
+
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # The `Account` message represents a business's account within Shopping Ads. It's the primary entity for managing product data, settings, and interactions with Google's services and external providers. Accounts can operate as standalone entities or be part of a advanced account structure. In an advanced account setup the parent account manages multiple sub-accounts. Establishing an account involves configuring attributes like the account name, time zone, and language preferences. The `Account` message is the parent entity for many other resources, for example, `AccountRelationship`, `Homepage`, `BusinessInfo` and so on.
+  "accountId": "A String", # Output only. The ID of the account.
+  "accountName": "A String", # Required. A human-readable name of the account. Don't use punctuation, capitalization, or non-alphanumeric symbols such as the "/" or "_" symbols. See [Adding a business name](https://support.google.com/merchants/answer/12159159) for more information.
+  "adultContent": True or False, # Optional. Whether this account contains adult content.
+  "languageCode": "A String", # Required. The account's [BCP-47 language code](https://tools.ietf.org/html/bcp47), such as `en-US` or `sr-Latn`.
+  "name": "A String", # Identifier. The resource name of the account. Format: `accounts/{account}`
+  "testAccount": True or False, # Output only. Whether this is a test account.
+  "timeZone": { # Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/time-zones). # Required. The time zone of the account. On writes, `time_zone` sets both the `reporting_time_zone` and the `display_time_zone`. For reads, `time_zone` always returns the `display_time_zone`. If `display_time_zone` doesn't exist for your account, `time_zone` is empty. The `version` field is not supported, won't be set in responses and will be silently ignored if specified in requests.
+    "id": "A String", # IANA Time Zone Database time zone. For example "America/New_York".
+    "version": "A String", # Optional. IANA Time Zone Database version number. For example "2019a".
+  },
+}
+
+
delete(name, force=None, x__xgafv=None)
Deletes the specified account regardless of its type: standalone, advanced account or sub-account. Deleting an advanced account leads to the deletion of all of its sub-accounts. This also deletes the account's [developer registration entity](/merchant/api/reference/rest/accounts_v1/accounts.developerRegistration) and any associated GCP project to the account. Executing this method requires admin access. The deletion succeeds only if the account does not provide services to any other account and has no processed offers. You can use the `force` parameter to override this.
diff --git a/docs/dyn/merchantapi_accounts_v1beta.accounts.developerRegistration.html b/docs/dyn/merchantapi_accounts_v1beta.accounts.developerRegistration.html
index 4c91ff2719..7b7b7f4ffc 100644
--- a/docs/dyn/merchantapi_accounts_v1beta.accounts.developerRegistration.html
+++ b/docs/dyn/merchantapi_accounts_v1beta.accounts.developerRegistration.html
@@ -131,7 +131,7 @@ 

Method Details

"gcpIds": [ # Output only. The GCP ids attached to this developer registration "A String", ], - "name": "A String", # Identifier. The `name` (ID) of the developer registration. Generated by the Content API upon creation of a new `DeveloperRegistration`. The `account` represents the merchant ID of the merchant that owns the registration. + "name": "A String", # Identifier. The `name` (ID) of the developer registration. Generated upon creation of a new `DeveloperRegistration`. The `account` represents the merchant ID of the merchant that owns the registration. }
@@ -160,7 +160,7 @@

Method Details

"gcpIds": [ # Output only. The GCP ids attached to this developer registration "A String", ], - "name": "A String", # Identifier. The `name` (ID) of the developer registration. Generated by the Content API upon creation of a new `DeveloperRegistration`. The `account` represents the merchant ID of the merchant that owns the registration. + "name": "A String", # Identifier. The `name` (ID) of the developer registration. Generated upon creation of a new `DeveloperRegistration`. The `account` represents the merchant ID of the merchant that owns the registration. } diff --git a/docs/dyn/merchantapi_accounts_v1beta.accounts.html b/docs/dyn/merchantapi_accounts_v1beta.accounts.html index 7dd9b00037..e68ea836ce 100644 --- a/docs/dyn/merchantapi_accounts_v1beta.accounts.html +++ b/docs/dyn/merchantapi_accounts_v1beta.accounts.html @@ -170,6 +170,9 @@

Instance Methods

createAndConfigure(body=None, x__xgafv=None)

Creates a Merchant Center account with additional configuration. Adds the user that makes the request as an admin for the new account.

+

+ createTestAccount(parent, body=None, x__xgafv=None)

+

Creates a Merchant Center test account. Test accounts are intended for development and testing purposes, such as validating API integrations or new feature behavior. Key characteristics and limitations of test accounts: - Immutable Type: A test account cannot be converted into a regular (live) Merchant Center account. Likewise, a regular account cannot be converted into a test account. - Non-Serving Products: Any products, offers, or data created within a test account will not be published or made visible to end-users on any Google surfaces. They are strictly for testing environments. - Separate Environment: Test accounts operate in a sandbox-like manner, isolated from live serving and real user traffic.

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

Deletes the specified account regardless of its type: standalone, advanced account or sub-account. Deleting an advanced account leads to the deletion of all of its sub-accounts. This also deletes the account's [developer registration entity](/merchant/api/reference/rest/accounts_v1beta/accounts.developerRegistration) and any associated GCP project to the account. Executing this method requires admin access. The deletion succeeds only if the account does not provide services to any other account and has no processed offers. You can use the `force` parameter to override this.

@@ -292,6 +295,50 @@

Method Details

} +
+ createTestAccount(parent, body=None, x__xgafv=None) +
Creates a Merchant Center test account. Test accounts are intended for development and testing purposes, such as validating API integrations or new feature behavior. Key characteristics and limitations of test accounts: - Immutable Type: A test account cannot be converted into a regular (live) Merchant Center account. Likewise, a regular account cannot be converted into a test account. - Non-Serving Products: Any products, offers, or data created within a test account will not be published or made visible to end-users on any Google surfaces. They are strictly for testing environments. - Separate Environment: Test accounts operate in a sandbox-like manner, isolated from live serving and real user traffic.
+
+Args:
+  parent: string, Required. The account resource name to create the test account under. Format: accounts/{account} (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # The `Account` message represents a business's account within Shopping Ads. It's the primary entity for managing product data, settings, and interactions with Google's services and external providers. Accounts can operate as standalone entities or be part of a advanced account structure. In an advanced account setup the parent account manages multiple sub-accounts. Establishing an account involves configuring attributes like the account name, time zone, and language preferences. The `Account` message is the parent entity for many other resources, for example, `AccountRelationship`, `Homepage`, `BusinessInfo` and so on.
+  "accountId": "A String", # Output only. The ID of the account.
+  "accountName": "A String", # Required. A human-readable name of the account. Don't use punctuation, capitalization, or non-alphanumeric symbols such as the "/" or "_" symbols. See [Adding a business name](https://support.google.com/merchants/answer/12159159) for more information.
+  "adultContent": True or False, # Optional. Whether this account contains adult content.
+  "languageCode": "A String", # Required. The account's [BCP-47 language code](https://tools.ietf.org/html/bcp47), such as `en-US` or `sr-Latn`.
+  "name": "A String", # Identifier. The resource name of the account. Format: `accounts/{account}`
+  "testAccount": True or False, # Output only. Whether this is a test account.
+  "timeZone": { # Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/time-zones). # Required. The time zone of the account. On writes, `time_zone` sets both the `reporting_time_zone` and the `display_time_zone`. For reads, `time_zone` always returns the `display_time_zone`. If `display_time_zone` doesn't exist for your account, `time_zone` is empty. The `version` field is not supported, won't be set in responses and will be silently ignored if specified in requests.
+    "id": "A String", # IANA Time Zone Database time zone. For example "America/New_York".
+    "version": "A String", # Optional. IANA Time Zone Database version number. For example "2019a".
+  },
+}
+
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # The `Account` message represents a business's account within Shopping Ads. It's the primary entity for managing product data, settings, and interactions with Google's services and external providers. Accounts can operate as standalone entities or be part of a advanced account structure. In an advanced account setup the parent account manages multiple sub-accounts. Establishing an account involves configuring attributes like the account name, time zone, and language preferences. The `Account` message is the parent entity for many other resources, for example, `AccountRelationship`, `Homepage`, `BusinessInfo` and so on.
+  "accountId": "A String", # Output only. The ID of the account.
+  "accountName": "A String", # Required. A human-readable name of the account. Don't use punctuation, capitalization, or non-alphanumeric symbols such as the "/" or "_" symbols. See [Adding a business name](https://support.google.com/merchants/answer/12159159) for more information.
+  "adultContent": True or False, # Optional. Whether this account contains adult content.
+  "languageCode": "A String", # Required. The account's [BCP-47 language code](https://tools.ietf.org/html/bcp47), such as `en-US` or `sr-Latn`.
+  "name": "A String", # Identifier. The resource name of the account. Format: `accounts/{account}`
+  "testAccount": True or False, # Output only. Whether this is a test account.
+  "timeZone": { # Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/time-zones). # Required. The time zone of the account. On writes, `time_zone` sets both the `reporting_time_zone` and the `display_time_zone`. For reads, `time_zone` always returns the `display_time_zone`. If `display_time_zone` doesn't exist for your account, `time_zone` is empty. The `version` field is not supported, won't be set in responses and will be silently ignored if specified in requests.
+    "id": "A String", # IANA Time Zone Database time zone. For example "America/New_York".
+    "version": "A String", # Optional. IANA Time Zone Database version number. For example "2019a".
+  },
+}
+
+
delete(name, force=None, x__xgafv=None)
Deletes the specified account regardless of its type: standalone, advanced account or sub-account. Deleting an advanced account leads to the deletion of all of its sub-accounts. This also deletes the account's [developer registration entity](/merchant/api/reference/rest/accounts_v1beta/accounts.developerRegistration) and any associated GCP project to the account. Executing this method requires admin access. The deletion succeeds only if the account does not provide services to any other account and has no processed offers. You can use the `force` parameter to override this.
diff --git a/docs/dyn/merchantapi_products_v1.accounts.productInputs.html b/docs/dyn/merchantapi_products_v1.accounts.productInputs.html
index dabf25bd74..a815bd4ebf 100644
--- a/docs/dyn/merchantapi_products_v1.accounts.productInputs.html
+++ b/docs/dyn/merchantapi_products_v1.accounts.productInputs.html
@@ -354,6 +354,7 @@ 

Method Details

"promotionIds": [ # The unique ID of a promotion. "A String", ], + "returnPolicyLabel": "A String", # The return label of the product, used to group products in account-level return policies. Max. 100 characters. For more information, see [Return policy label](https://support.google.com/merchants/answer/9445425). "salePrice": { # The price represented as a number and currency. # Advertised sale price of the item. "amountMicros": "A String", # The price represented as a number in micros (1 million micros is an equivalent to one's currency standard unit, for example, 1 USD = 1000000 micros). "currencyCode": "A String", # The currency of the price using three-letter acronyms according to [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217). @@ -393,7 +394,7 @@

Method Details

"unit": "A String", # The unit of value. "value": 3.14, # The dimension of the product used to calculate the shipping cost of the item. }, - "shippingLabel": "A String", # The shipping label of the product, used to group product in account-level shipping rules. + "shippingLabel": "A String", # The shipping label of the product, used to group products in account-level shipping rules. Max. 100 characters. For more information, see [Shipping label](https://support.google.com/merchants/answer/6324504). "shippingLength": { # The ShippingDimension of the product. # Length of the item for shipping. "unit": "A String", # The unit of value. "value": 3.14, # The dimension of the product used to calculate the shipping cost of the item. @@ -704,6 +705,7 @@

Method Details

"promotionIds": [ # The unique ID of a promotion. "A String", ], + "returnPolicyLabel": "A String", # The return label of the product, used to group products in account-level return policies. Max. 100 characters. For more information, see [Return policy label](https://support.google.com/merchants/answer/9445425). "salePrice": { # The price represented as a number and currency. # Advertised sale price of the item. "amountMicros": "A String", # The price represented as a number in micros (1 million micros is an equivalent to one's currency standard unit, for example, 1 USD = 1000000 micros). "currencyCode": "A String", # The currency of the price using three-letter acronyms according to [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217). @@ -743,7 +745,7 @@

Method Details

"unit": "A String", # The unit of value. "value": 3.14, # The dimension of the product used to calculate the shipping cost of the item. }, - "shippingLabel": "A String", # The shipping label of the product, used to group product in account-level shipping rules. + "shippingLabel": "A String", # The shipping label of the product, used to group products in account-level shipping rules. Max. 100 characters. For more information, see [Shipping label](https://support.google.com/merchants/answer/6324504). "shippingLength": { # The ShippingDimension of the product. # Length of the item for shipping. "unit": "A String", # The unit of value. "value": 3.14, # The dimension of the product used to calculate the shipping cost of the item. @@ -1055,6 +1057,7 @@

Method Details

"promotionIds": [ # The unique ID of a promotion. "A String", ], + "returnPolicyLabel": "A String", # The return label of the product, used to group products in account-level return policies. Max. 100 characters. For more information, see [Return policy label](https://support.google.com/merchants/answer/9445425). "salePrice": { # The price represented as a number and currency. # Advertised sale price of the item. "amountMicros": "A String", # The price represented as a number in micros (1 million micros is an equivalent to one's currency standard unit, for example, 1 USD = 1000000 micros). "currencyCode": "A String", # The currency of the price using three-letter acronyms according to [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217). @@ -1094,7 +1097,7 @@

Method Details

"unit": "A String", # The unit of value. "value": 3.14, # The dimension of the product used to calculate the shipping cost of the item. }, - "shippingLabel": "A String", # The shipping label of the product, used to group product in account-level shipping rules. + "shippingLabel": "A String", # The shipping label of the product, used to group products in account-level shipping rules. Max. 100 characters. For more information, see [Shipping label](https://support.google.com/merchants/answer/6324504). "shippingLength": { # The ShippingDimension of the product. # Length of the item for shipping. "unit": "A String", # The unit of value. "value": 3.14, # The dimension of the product used to calculate the shipping cost of the item. @@ -1406,6 +1409,7 @@

Method Details

"promotionIds": [ # The unique ID of a promotion. "A String", ], + "returnPolicyLabel": "A String", # The return label of the product, used to group products in account-level return policies. Max. 100 characters. For more information, see [Return policy label](https://support.google.com/merchants/answer/9445425). "salePrice": { # The price represented as a number and currency. # Advertised sale price of the item. "amountMicros": "A String", # The price represented as a number in micros (1 million micros is an equivalent to one's currency standard unit, for example, 1 USD = 1000000 micros). "currencyCode": "A String", # The currency of the price using three-letter acronyms according to [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217). @@ -1445,7 +1449,7 @@

Method Details

"unit": "A String", # The unit of value. "value": 3.14, # The dimension of the product used to calculate the shipping cost of the item. }, - "shippingLabel": "A String", # The shipping label of the product, used to group product in account-level shipping rules. + "shippingLabel": "A String", # The shipping label of the product, used to group products in account-level shipping rules. Max. 100 characters. For more information, see [Shipping label](https://support.google.com/merchants/answer/6324504). "shippingLength": { # The ShippingDimension of the product. # Length of the item for shipping. "unit": "A String", # The unit of value. "value": 3.14, # The dimension of the product used to calculate the shipping cost of the item. diff --git a/docs/dyn/merchantapi_products_v1.accounts.products.html b/docs/dyn/merchantapi_products_v1.accounts.products.html index 4313a2b001..d25308fc65 100644 --- a/docs/dyn/merchantapi_products_v1.accounts.products.html +++ b/docs/dyn/merchantapi_products_v1.accounts.products.html @@ -354,6 +354,7 @@

Method Details

"promotionIds": [ # The unique ID of a promotion. "A String", ], + "returnPolicyLabel": "A String", # The return label of the product, used to group products in account-level return policies. Max. 100 characters. For more information, see [Return policy label](https://support.google.com/merchants/answer/9445425). "salePrice": { # The price represented as a number and currency. # Advertised sale price of the item. "amountMicros": "A String", # The price represented as a number in micros (1 million micros is an equivalent to one's currency standard unit, for example, 1 USD = 1000000 micros). "currencyCode": "A String", # The currency of the price using three-letter acronyms according to [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217). @@ -393,7 +394,7 @@

Method Details

"unit": "A String", # The unit of value. "value": 3.14, # The dimension of the product used to calculate the shipping cost of the item. }, - "shippingLabel": "A String", # The shipping label of the product, used to group product in account-level shipping rules. + "shippingLabel": "A String", # The shipping label of the product, used to group products in account-level shipping rules. Max. 100 characters. For more information, see [Shipping label](https://support.google.com/merchants/answer/6324504). "shippingLength": { # The ShippingDimension of the product. # Length of the item for shipping. "unit": "A String", # The unit of value. "value": 3.14, # The dimension of the product used to calculate the shipping cost of the item. @@ -763,6 +764,7 @@

Method Details

"promotionIds": [ # The unique ID of a promotion. "A String", ], + "returnPolicyLabel": "A String", # The return label of the product, used to group products in account-level return policies. Max. 100 characters. For more information, see [Return policy label](https://support.google.com/merchants/answer/9445425). "salePrice": { # The price represented as a number and currency. # Advertised sale price of the item. "amountMicros": "A String", # The price represented as a number in micros (1 million micros is an equivalent to one's currency standard unit, for example, 1 USD = 1000000 micros). "currencyCode": "A String", # The currency of the price using three-letter acronyms according to [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217). @@ -802,7 +804,7 @@

Method Details

"unit": "A String", # The unit of value. "value": 3.14, # The dimension of the product used to calculate the shipping cost of the item. }, - "shippingLabel": "A String", # The shipping label of the product, used to group product in account-level shipping rules. + "shippingLabel": "A String", # The shipping label of the product, used to group products in account-level shipping rules. Max. 100 characters. For more information, see [Shipping label](https://support.google.com/merchants/answer/6324504). "shippingLength": { # The ShippingDimension of the product. # Length of the item for shipping. "unit": "A String", # The unit of value. "value": 3.14, # The dimension of the product used to calculate the shipping cost of the item. diff --git a/docs/dyn/metastore_v1.projects.locations.services.html b/docs/dyn/metastore_v1.projects.locations.services.html index 36c4ba5a51..0c97bd1304 100644 --- a/docs/dyn/metastore_v1.projects.locations.services.html +++ b/docs/dyn/metastore_v1.projects.locations.services.html @@ -1319,7 +1319,7 @@

Method Details

{ # Request message for DataprocMetastore.StartMigration. "migrationExecution": { # The details of a migration execution resource. # Required. The configuration details for the migration. - "cloudSqlMigrationConfig": { # Configuration information for migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore. # Configuration information specific to migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore. + "cloudSqlMigrationConfig": { # Deprecated: Migrations to Dataproc Metastore are no longer supported. Use BigLake Metastore migration instead. Configuration information for migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore. # Deprecated: Migrations to Dataproc Metastore are no longer supported. Use BigLake Metastore migration instead. Configuration information specific to migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore. "cdcConfig": { # Configuration information to start the Change Data Capture (CDC) streams from customer database to backend database of Dataproc Metastore. # Required. Configuration information to start the Change Data Capture (CDC) streams from customer database to backend database of Dataproc Metastore. Dataproc Metastore switches to using its backend database after the cutover phase of migration. "bucket": "A String", # Optional. The bucket to write the intermediate stream event data in. The bucket name must be without any prefix like "gs://". See the bucket naming requirements (https://cloud.google.com/storage/docs/buckets#naming). This field is optional. If not set, the Artifacts Cloud Storage bucket will be used. "password": "A String", # Required. Input only. The password for the user that Datastream service should use for the MySQL connection. This field is not returned on request. @@ -1343,7 +1343,7 @@

Method Details

"createTime": "A String", # Output only. The time when the migration execution was started. "endTime": "A String", # Output only. The time when the migration execution finished. "name": "A String", # Output only. The relative resource name of the migration execution, in the following form: projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions/{migration_execution_id} - "phase": "A String", # Output only. The current phase of the migration execution. + "phase": "A String", # Output only. Deprecated: Phase was designed for incoming migrations to Dataproc Metastore, not applicable when migrating away from it. The current phase of the migration execution. "state": "A String", # Output only. The current state of the migration execution. "stateMessage": "A String", # Output only. Additional information about the current state of the migration execution. }, diff --git a/docs/dyn/metastore_v1.projects.locations.services.migrationExecutions.html b/docs/dyn/metastore_v1.projects.locations.services.migrationExecutions.html index b09bb01188..60f9747448 100644 --- a/docs/dyn/metastore_v1.projects.locations.services.migrationExecutions.html +++ b/docs/dyn/metastore_v1.projects.locations.services.migrationExecutions.html @@ -146,7 +146,7 @@

Method Details

An object of the form: { # The details of a migration execution resource. - "cloudSqlMigrationConfig": { # Configuration information for migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore. # Configuration information specific to migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore. + "cloudSqlMigrationConfig": { # Deprecated: Migrations to Dataproc Metastore are no longer supported. Use BigLake Metastore migration instead. Configuration information for migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore. # Deprecated: Migrations to Dataproc Metastore are no longer supported. Use BigLake Metastore migration instead. Configuration information specific to migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore. "cdcConfig": { # Configuration information to start the Change Data Capture (CDC) streams from customer database to backend database of Dataproc Metastore. # Required. Configuration information to start the Change Data Capture (CDC) streams from customer database to backend database of Dataproc Metastore. Dataproc Metastore switches to using its backend database after the cutover phase of migration. "bucket": "A String", # Optional. The bucket to write the intermediate stream event data in. The bucket name must be without any prefix like "gs://". See the bucket naming requirements (https://cloud.google.com/storage/docs/buckets#naming). This field is optional. If not set, the Artifacts Cloud Storage bucket will be used. "password": "A String", # Required. Input only. The password for the user that Datastream service should use for the MySQL connection. This field is not returned on request. @@ -170,7 +170,7 @@

Method Details

"createTime": "A String", # Output only. The time when the migration execution was started. "endTime": "A String", # Output only. The time when the migration execution finished. "name": "A String", # Output only. The relative resource name of the migration execution, in the following form: projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions/{migration_execution_id} - "phase": "A String", # Output only. The current phase of the migration execution. + "phase": "A String", # Output only. Deprecated: Phase was designed for incoming migrations to Dataproc Metastore, not applicable when migrating away from it. The current phase of the migration execution. "state": "A String", # Output only. The current state of the migration execution. "stateMessage": "A String", # Output only. Additional information about the current state of the migration execution. }
@@ -197,7 +197,7 @@

Method Details

{ # Response message for DataprocMetastore.ListMigrationExecutions. "migrationExecutions": [ # The migration executions on the specified service. { # The details of a migration execution resource. - "cloudSqlMigrationConfig": { # Configuration information for migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore. # Configuration information specific to migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore. + "cloudSqlMigrationConfig": { # Deprecated: Migrations to Dataproc Metastore are no longer supported. Use BigLake Metastore migration instead. Configuration information for migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore. # Deprecated: Migrations to Dataproc Metastore are no longer supported. Use BigLake Metastore migration instead. Configuration information specific to migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore. "cdcConfig": { # Configuration information to start the Change Data Capture (CDC) streams from customer database to backend database of Dataproc Metastore. # Required. Configuration information to start the Change Data Capture (CDC) streams from customer database to backend database of Dataproc Metastore. Dataproc Metastore switches to using its backend database after the cutover phase of migration. "bucket": "A String", # Optional. The bucket to write the intermediate stream event data in. The bucket name must be without any prefix like "gs://". See the bucket naming requirements (https://cloud.google.com/storage/docs/buckets#naming). This field is optional. If not set, the Artifacts Cloud Storage bucket will be used. "password": "A String", # Required. Input only. The password for the user that Datastream service should use for the MySQL connection. This field is not returned on request. @@ -221,7 +221,7 @@

Method Details

"createTime": "A String", # Output only. The time when the migration execution was started. "endTime": "A String", # Output only. The time when the migration execution finished. "name": "A String", # Output only. The relative resource name of the migration execution, in the following form: projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions/{migration_execution_id} - "phase": "A String", # Output only. The current phase of the migration execution. + "phase": "A String", # Output only. Deprecated: Phase was designed for incoming migrations to Dataproc Metastore, not applicable when migrating away from it. The current phase of the migration execution. "state": "A String", # Output only. The current state of the migration execution. "stateMessage": "A String", # Output only. Additional information about the current state of the migration execution. }, diff --git a/docs/dyn/metastore_v1alpha.projects.locations.services.html b/docs/dyn/metastore_v1alpha.projects.locations.services.html index 3c63069837..30c016921b 100644 --- a/docs/dyn/metastore_v1alpha.projects.locations.services.html +++ b/docs/dyn/metastore_v1alpha.projects.locations.services.html @@ -1460,7 +1460,7 @@

Method Details

{ # Request message for DataprocMetastore.StartMigration. "migrationExecution": { # The details of a migration execution resource. # Required. The configuration details for the migration. - "cloudSqlMigrationConfig": { # Configuration information for migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore. # Configuration information specific to migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore. + "cloudSqlMigrationConfig": { # Deprecated: Migrations to Dataproc Metastore are no longer supported. Use BigLake Metastore migration instead. Configuration information for migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore. # Deprecated: Migrations to Dataproc Metastore are no longer supported. Use BigLake Metastore migration instead. Configuration information specific to migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore. "cdcConfig": { # Configuration information to start the Change Data Capture (CDC) streams from customer database to backend database of Dataproc Metastore. # Required. Configuration information to start the Change Data Capture (CDC) streams from customer database to backend database of Dataproc Metastore. Dataproc Metastore switches to using its backend database after the cutover phase of migration. "bucket": "A String", # Optional. The bucket to write the intermediate stream event data in. The bucket name must be without any prefix like "gs://". See the bucket naming requirements (https://cloud.google.com/storage/docs/buckets#naming). This field is optional. If not set, the Artifacts Cloud Storage bucket will be used. "password": "A String", # Required. Input only. The password for the user that Datastream service should use for the MySQL connection. This field is not returned on request. @@ -1484,7 +1484,7 @@

Method Details

"createTime": "A String", # Output only. The time when the migration execution was started. "endTime": "A String", # Output only. The time when the migration execution finished. "name": "A String", # Output only. The relative resource name of the migration execution, in the following form: projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions/{migration_execution_id} - "phase": "A String", # Output only. The current phase of the migration execution. + "phase": "A String", # Output only. Deprecated: Phase was designed for incoming migrations to Dataproc Metastore, not applicable when migrating away from it. The current phase of the migration execution. "state": "A String", # Output only. The current state of the migration execution. "stateMessage": "A String", # Output only. Additional information about the current state of the migration execution. }, diff --git a/docs/dyn/metastore_v1alpha.projects.locations.services.migrationExecutions.html b/docs/dyn/metastore_v1alpha.projects.locations.services.migrationExecutions.html index ffde21fe59..5fb32e7777 100644 --- a/docs/dyn/metastore_v1alpha.projects.locations.services.migrationExecutions.html +++ b/docs/dyn/metastore_v1alpha.projects.locations.services.migrationExecutions.html @@ -146,7 +146,7 @@

Method Details

An object of the form: { # The details of a migration execution resource. - "cloudSqlMigrationConfig": { # Configuration information for migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore. # Configuration information specific to migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore. + "cloudSqlMigrationConfig": { # Deprecated: Migrations to Dataproc Metastore are no longer supported. Use BigLake Metastore migration instead. Configuration information for migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore. # Deprecated: Migrations to Dataproc Metastore are no longer supported. Use BigLake Metastore migration instead. Configuration information specific to migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore. "cdcConfig": { # Configuration information to start the Change Data Capture (CDC) streams from customer database to backend database of Dataproc Metastore. # Required. Configuration information to start the Change Data Capture (CDC) streams from customer database to backend database of Dataproc Metastore. Dataproc Metastore switches to using its backend database after the cutover phase of migration. "bucket": "A String", # Optional. The bucket to write the intermediate stream event data in. The bucket name must be without any prefix like "gs://". See the bucket naming requirements (https://cloud.google.com/storage/docs/buckets#naming). This field is optional. If not set, the Artifacts Cloud Storage bucket will be used. "password": "A String", # Required. Input only. The password for the user that Datastream service should use for the MySQL connection. This field is not returned on request. @@ -170,7 +170,7 @@

Method Details

"createTime": "A String", # Output only. The time when the migration execution was started. "endTime": "A String", # Output only. The time when the migration execution finished. "name": "A String", # Output only. The relative resource name of the migration execution, in the following form: projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions/{migration_execution_id} - "phase": "A String", # Output only. The current phase of the migration execution. + "phase": "A String", # Output only. Deprecated: Phase was designed for incoming migrations to Dataproc Metastore, not applicable when migrating away from it. The current phase of the migration execution. "state": "A String", # Output only. The current state of the migration execution. "stateMessage": "A String", # Output only. Additional information about the current state of the migration execution. } @@ -197,7 +197,7 @@

Method Details

{ # Response message for DataprocMetastore.ListMigrationExecutions. "migrationExecutions": [ # The migration executions on the specified service. { # The details of a migration execution resource. - "cloudSqlMigrationConfig": { # Configuration information for migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore. # Configuration information specific to migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore. + "cloudSqlMigrationConfig": { # Deprecated: Migrations to Dataproc Metastore are no longer supported. Use BigLake Metastore migration instead. Configuration information for migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore. # Deprecated: Migrations to Dataproc Metastore are no longer supported. Use BigLake Metastore migration instead. Configuration information specific to migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore. "cdcConfig": { # Configuration information to start the Change Data Capture (CDC) streams from customer database to backend database of Dataproc Metastore. # Required. Configuration information to start the Change Data Capture (CDC) streams from customer database to backend database of Dataproc Metastore. Dataproc Metastore switches to using its backend database after the cutover phase of migration. "bucket": "A String", # Optional. The bucket to write the intermediate stream event data in. The bucket name must be without any prefix like "gs://". See the bucket naming requirements (https://cloud.google.com/storage/docs/buckets#naming). This field is optional. If not set, the Artifacts Cloud Storage bucket will be used. "password": "A String", # Required. Input only. The password for the user that Datastream service should use for the MySQL connection. This field is not returned on request. @@ -221,7 +221,7 @@

Method Details

"createTime": "A String", # Output only. The time when the migration execution was started. "endTime": "A String", # Output only. The time when the migration execution finished. "name": "A String", # Output only. The relative resource name of the migration execution, in the following form: projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions/{migration_execution_id} - "phase": "A String", # Output only. The current phase of the migration execution. + "phase": "A String", # Output only. Deprecated: Phase was designed for incoming migrations to Dataproc Metastore, not applicable when migrating away from it. The current phase of the migration execution. "state": "A String", # Output only. The current state of the migration execution. "stateMessage": "A String", # Output only. Additional information about the current state of the migration execution. }, diff --git a/docs/dyn/metastore_v1beta.projects.locations.services.html b/docs/dyn/metastore_v1beta.projects.locations.services.html index 4735139391..f1bf71276f 100644 --- a/docs/dyn/metastore_v1beta.projects.locations.services.html +++ b/docs/dyn/metastore_v1beta.projects.locations.services.html @@ -1460,7 +1460,7 @@

Method Details

{ # Request message for DataprocMetastore.StartMigration. "migrationExecution": { # The details of a migration execution resource. # Required. The configuration details for the migration. - "cloudSqlMigrationConfig": { # Configuration information for migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore. # Configuration information specific to migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore. + "cloudSqlMigrationConfig": { # Deprecated: Migrations to Dataproc Metastore are no longer supported. Use BigLake Metastore migration instead. Configuration information for migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore. # Deprecated: Migrations to Dataproc Metastore are no longer supported. Use BigLake Metastore migration instead. Configuration information specific to migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore. "cdcConfig": { # Configuration information to start the Change Data Capture (CDC) streams from customer database to backend database of Dataproc Metastore. # Required. Configuration information to start the Change Data Capture (CDC) streams from customer database to backend database of Dataproc Metastore. Dataproc Metastore switches to using its backend database after the cutover phase of migration. "bucket": "A String", # Optional. The bucket to write the intermediate stream event data in. The bucket name must be without any prefix like "gs://". See the bucket naming requirements (https://cloud.google.com/storage/docs/buckets#naming). This field is optional. If not set, the Artifacts Cloud Storage bucket will be used. "password": "A String", # Required. Input only. The password for the user that Datastream service should use for the MySQL connection. This field is not returned on request. @@ -1484,7 +1484,7 @@

Method Details

"createTime": "A String", # Output only. The time when the migration execution was started. "endTime": "A String", # Output only. The time when the migration execution finished. "name": "A String", # Output only. The relative resource name of the migration execution, in the following form: projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions/{migration_execution_id} - "phase": "A String", # Output only. The current phase of the migration execution. + "phase": "A String", # Output only. Deprecated: Phase was designed for incoming migrations to Dataproc Metastore, not applicable when migrating away from it. The current phase of the migration execution. "state": "A String", # Output only. The current state of the migration execution. "stateMessage": "A String", # Output only. Additional information about the current state of the migration execution. }, diff --git a/docs/dyn/metastore_v1beta.projects.locations.services.migrationExecutions.html b/docs/dyn/metastore_v1beta.projects.locations.services.migrationExecutions.html index ad40ad94a0..0d6b125f96 100644 --- a/docs/dyn/metastore_v1beta.projects.locations.services.migrationExecutions.html +++ b/docs/dyn/metastore_v1beta.projects.locations.services.migrationExecutions.html @@ -146,7 +146,7 @@

Method Details

An object of the form: { # The details of a migration execution resource. - "cloudSqlMigrationConfig": { # Configuration information for migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore. # Configuration information specific to migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore. + "cloudSqlMigrationConfig": { # Deprecated: Migrations to Dataproc Metastore are no longer supported. Use BigLake Metastore migration instead. Configuration information for migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore. # Deprecated: Migrations to Dataproc Metastore are no longer supported. Use BigLake Metastore migration instead. Configuration information specific to migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore. "cdcConfig": { # Configuration information to start the Change Data Capture (CDC) streams from customer database to backend database of Dataproc Metastore. # Required. Configuration information to start the Change Data Capture (CDC) streams from customer database to backend database of Dataproc Metastore. Dataproc Metastore switches to using its backend database after the cutover phase of migration. "bucket": "A String", # Optional. The bucket to write the intermediate stream event data in. The bucket name must be without any prefix like "gs://". See the bucket naming requirements (https://cloud.google.com/storage/docs/buckets#naming). This field is optional. If not set, the Artifacts Cloud Storage bucket will be used. "password": "A String", # Required. Input only. The password for the user that Datastream service should use for the MySQL connection. This field is not returned on request. @@ -170,7 +170,7 @@

Method Details

"createTime": "A String", # Output only. The time when the migration execution was started. "endTime": "A String", # Output only. The time when the migration execution finished. "name": "A String", # Output only. The relative resource name of the migration execution, in the following form: projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions/{migration_execution_id} - "phase": "A String", # Output only. The current phase of the migration execution. + "phase": "A String", # Output only. Deprecated: Phase was designed for incoming migrations to Dataproc Metastore, not applicable when migrating away from it. The current phase of the migration execution. "state": "A String", # Output only. The current state of the migration execution. "stateMessage": "A String", # Output only. Additional information about the current state of the migration execution. } @@ -197,7 +197,7 @@

Method Details

{ # Response message for DataprocMetastore.ListMigrationExecutions. "migrationExecutions": [ # The migration executions on the specified service. { # The details of a migration execution resource. - "cloudSqlMigrationConfig": { # Configuration information for migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore. # Configuration information specific to migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore. + "cloudSqlMigrationConfig": { # Deprecated: Migrations to Dataproc Metastore are no longer supported. Use BigLake Metastore migration instead. Configuration information for migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore. # Deprecated: Migrations to Dataproc Metastore are no longer supported. Use BigLake Metastore migration instead. Configuration information specific to migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore. "cdcConfig": { # Configuration information to start the Change Data Capture (CDC) streams from customer database to backend database of Dataproc Metastore. # Required. Configuration information to start the Change Data Capture (CDC) streams from customer database to backend database of Dataproc Metastore. Dataproc Metastore switches to using its backend database after the cutover phase of migration. "bucket": "A String", # Optional. The bucket to write the intermediate stream event data in. The bucket name must be without any prefix like "gs://". See the bucket naming requirements (https://cloud.google.com/storage/docs/buckets#naming). This field is optional. If not set, the Artifacts Cloud Storage bucket will be used. "password": "A String", # Required. Input only. The password for the user that Datastream service should use for the MySQL connection. This field is not returned on request. @@ -221,7 +221,7 @@

Method Details

"createTime": "A String", # Output only. The time when the migration execution was started. "endTime": "A String", # Output only. The time when the migration execution finished. "name": "A String", # Output only. The relative resource name of the migration execution, in the following form: projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions/{migration_execution_id} - "phase": "A String", # Output only. The current phase of the migration execution. + "phase": "A String", # Output only. Deprecated: Phase was designed for incoming migrations to Dataproc Metastore, not applicable when migrating away from it. The current phase of the migration execution. "state": "A String", # Output only. The current state of the migration execution. "stateMessage": "A String", # Output only. Additional information about the current state of the migration execution. }, diff --git a/docs/dyn/netapp_v1.projects.locations.backupVaults.backups.html b/docs/dyn/netapp_v1.projects.locations.backupVaults.backups.html index a255065a8c..c439d83478 100644 --- a/docs/dyn/netapp_v1.projects.locations.backupVaults.backups.html +++ b/docs/dyn/netapp_v1.projects.locations.backupVaults.backups.html @@ -124,7 +124,7 @@

Method Details

"satisfiesPzi": True or False, # Output only. Reserved for future use "satisfiesPzs": True or False, # Output only. Reserved for future use "sourceSnapshot": "A String", # If specified, backup will be created from the given snapshot. If not specified, there will be a new snapshot taken to initiate the backup creation. Format: `projects/{project_id}/locations/{location}/volumes/{volume_id}/snapshots/{snapshot_id}` - "sourceVolume": "A String", # Volume full name of this backup belongs to. Format: `projects/{projects_id}/locations/{location}/volumes/{volume_id}` + "sourceVolume": "A String", # Volume full name of this backup belongs to. Either source_volume or ontap_source should be provided. Format: `projects/{projects_id}/locations/{location}/volumes/{volume_id}` "state": "A String", # Output only. The backup state. "volumeRegion": "A String", # Output only. Region of the volume from which the backup was created. Format: `projects/{project_id}/locations/{location}` "volumeUsageBytes": "A String", # Output only. Size of the file system when the backup was created. When creating a new volume from the backup, the volume capacity will have to be at least as big. @@ -223,7 +223,7 @@

Method Details

"satisfiesPzi": True or False, # Output only. Reserved for future use "satisfiesPzs": True or False, # Output only. Reserved for future use "sourceSnapshot": "A String", # If specified, backup will be created from the given snapshot. If not specified, there will be a new snapshot taken to initiate the backup creation. Format: `projects/{project_id}/locations/{location}/volumes/{volume_id}/snapshots/{snapshot_id}` - "sourceVolume": "A String", # Volume full name of this backup belongs to. Format: `projects/{projects_id}/locations/{location}/volumes/{volume_id}` + "sourceVolume": "A String", # Volume full name of this backup belongs to. Either source_volume or ontap_source should be provided. Format: `projects/{projects_id}/locations/{location}/volumes/{volume_id}` "state": "A String", # Output only. The backup state. "volumeRegion": "A String", # Output only. Region of the volume from which the backup was created. Format: `projects/{project_id}/locations/{location}` "volumeUsageBytes": "A String", # Output only. Size of the file system when the backup was created. When creating a new volume from the backup, the volume capacity will have to be at least as big. @@ -264,7 +264,7 @@

Method Details

"satisfiesPzi": True or False, # Output only. Reserved for future use "satisfiesPzs": True or False, # Output only. Reserved for future use "sourceSnapshot": "A String", # If specified, backup will be created from the given snapshot. If not specified, there will be a new snapshot taken to initiate the backup creation. Format: `projects/{project_id}/locations/{location}/volumes/{volume_id}/snapshots/{snapshot_id}` - "sourceVolume": "A String", # Volume full name of this backup belongs to. Format: `projects/{projects_id}/locations/{location}/volumes/{volume_id}` + "sourceVolume": "A String", # Volume full name of this backup belongs to. Either source_volume or ontap_source should be provided. Format: `projects/{projects_id}/locations/{location}/volumes/{volume_id}` "state": "A String", # Output only. The backup state. "volumeRegion": "A String", # Output only. Region of the volume from which the backup was created. Format: `projects/{project_id}/locations/{location}` "volumeUsageBytes": "A String", # Output only. Size of the file system when the backup was created. When creating a new volume from the backup, the volume capacity will have to be at least as big. @@ -314,7 +314,7 @@

Method Details

"satisfiesPzi": True or False, # Output only. Reserved for future use "satisfiesPzs": True or False, # Output only. Reserved for future use "sourceSnapshot": "A String", # If specified, backup will be created from the given snapshot. If not specified, there will be a new snapshot taken to initiate the backup creation. Format: `projects/{project_id}/locations/{location}/volumes/{volume_id}/snapshots/{snapshot_id}` - "sourceVolume": "A String", # Volume full name of this backup belongs to. Format: `projects/{projects_id}/locations/{location}/volumes/{volume_id}` + "sourceVolume": "A String", # Volume full name of this backup belongs to. Either source_volume or ontap_source should be provided. Format: `projects/{projects_id}/locations/{location}/volumes/{volume_id}` "state": "A String", # Output only. The backup state. "volumeRegion": "A String", # Output only. Region of the volume from which the backup was created. Format: `projects/{project_id}/locations/{location}` "volumeUsageBytes": "A String", # Output only. Size of the file system when the backup was created. When creating a new volume from the backup, the volume capacity will have to be at least as big. diff --git a/docs/dyn/netapp_v1.projects.locations.storagePools.html b/docs/dyn/netapp_v1.projects.locations.storagePools.html index 6a7cadc524..e9500ed533 100644 --- a/docs/dyn/netapp_v1.projects.locations.storagePools.html +++ b/docs/dyn/netapp_v1.projects.locations.storagePools.html @@ -74,6 +74,11 @@

NetApp API . projects . locations . storagePools

Instance Methods

+

+ ontap() +

+

Returns the ontap Resource.

+

close()

Close httplib2 connections.

@@ -135,6 +140,7 @@

Method Details

"a_key": "A String", }, "ldapEnabled": True or False, # Optional. Flag indicating if the pool is NFS LDAP enabled or not. + "mode": "A String", # Optional. Mode of the storage pool. This field is used to control whether the user can perform the ONTAP operations on the storage pool using the GCNV ONTAP Mode APIs. If not specified during creation, it defaults to `DEFAULT`. "name": "A String", # Identifier. Name of the storage pool "network": "A String", # Required. VPC Network name. Format: projects/{project}/global/networks/{network} "psaRange": "A String", # Optional. This field is not implemented. The values provided in this field are ignored. @@ -142,12 +148,13 @@

Method Details

"replicaZone": "A String", # Optional. Specifies the replica zone for regional storagePool. "satisfiesPzi": True or False, # Output only. Reserved for future use "satisfiesPzs": True or False, # Output only. Reserved for future use + "scaleTier": "A String", # Optional. The effective scale tier of the storage pool. If `scale_tier` is not specified during creation, this defaults to `SCALE_TIER_STANDARD`. "serviceLevel": "A String", # Required. Service level of the storage pool "state": "A String", # Output only. State of the storage pool "stateDetails": "A String", # Output only. State details of the storage pool "totalIops": "A String", # Optional. Custom Performance Total IOPS of the pool if not provided, it will be calculated based on the total_throughput_mibps "totalThroughputMibps": "A String", # Optional. Custom Performance Total Throughput of the pool (in MiBps) - "type": "A String", # Optional. Type of the storage pool. This field is used to control whether the pool supports `FILE` based volumes only or `UNIFIED` (both `FILE` and `BLOCK`) volumes or `UNIFIED_LARGE_CAPACITY` (both `FILE` and `BLOCK`) volumes with large capacity. If not specified during creation, it defaults to `FILE`. + "type": "A String", # Optional. Type of the storage pool. This field is used to control whether the pool supports `FILE` based volumes only or `UNIFIED` (both `FILE` and `BLOCK`) volumes. If not specified during creation, it defaults to `FILE`. "volumeCapacityGib": "A String", # Output only. Allocated size of all volumes in GIB in the storage pool "volumeCount": 42, # Output only. Volume count of the storage pool "zone": "A String", # Optional. Specifies the active zone for regional storagePool. @@ -251,6 +258,7 @@

Method Details

"a_key": "A String", }, "ldapEnabled": True or False, # Optional. Flag indicating if the pool is NFS LDAP enabled or not. + "mode": "A String", # Optional. Mode of the storage pool. This field is used to control whether the user can perform the ONTAP operations on the storage pool using the GCNV ONTAP Mode APIs. If not specified during creation, it defaults to `DEFAULT`. "name": "A String", # Identifier. Name of the storage pool "network": "A String", # Required. VPC Network name. Format: projects/{project}/global/networks/{network} "psaRange": "A String", # Optional. This field is not implemented. The values provided in this field are ignored. @@ -258,12 +266,13 @@

Method Details

"replicaZone": "A String", # Optional. Specifies the replica zone for regional storagePool. "satisfiesPzi": True or False, # Output only. Reserved for future use "satisfiesPzs": True or False, # Output only. Reserved for future use + "scaleTier": "A String", # Optional. The effective scale tier of the storage pool. If `scale_tier` is not specified during creation, this defaults to `SCALE_TIER_STANDARD`. "serviceLevel": "A String", # Required. Service level of the storage pool "state": "A String", # Output only. State of the storage pool "stateDetails": "A String", # Output only. State details of the storage pool "totalIops": "A String", # Optional. Custom Performance Total IOPS of the pool if not provided, it will be calculated based on the total_throughput_mibps "totalThroughputMibps": "A String", # Optional. Custom Performance Total Throughput of the pool (in MiBps) - "type": "A String", # Optional. Type of the storage pool. This field is used to control whether the pool supports `FILE` based volumes only or `UNIFIED` (both `FILE` and `BLOCK`) volumes or `UNIFIED_LARGE_CAPACITY` (both `FILE` and `BLOCK`) volumes with large capacity. If not specified during creation, it defaults to `FILE`. + "type": "A String", # Optional. Type of the storage pool. This field is used to control whether the pool supports `FILE` based volumes only or `UNIFIED` (both `FILE` and `BLOCK`) volumes. If not specified during creation, it defaults to `FILE`. "volumeCapacityGib": "A String", # Output only. Allocated size of all volumes in GIB in the storage pool "volumeCount": 42, # Output only. Volume count of the storage pool "zone": "A String", # Optional. Specifies the active zone for regional storagePool. @@ -310,6 +319,7 @@

Method Details

"a_key": "A String", }, "ldapEnabled": True or False, # Optional. Flag indicating if the pool is NFS LDAP enabled or not. + "mode": "A String", # Optional. Mode of the storage pool. This field is used to control whether the user can perform the ONTAP operations on the storage pool using the GCNV ONTAP Mode APIs. If not specified during creation, it defaults to `DEFAULT`. "name": "A String", # Identifier. Name of the storage pool "network": "A String", # Required. VPC Network name. Format: projects/{project}/global/networks/{network} "psaRange": "A String", # Optional. This field is not implemented. The values provided in this field are ignored. @@ -317,12 +327,13 @@

Method Details

"replicaZone": "A String", # Optional. Specifies the replica zone for regional storagePool. "satisfiesPzi": True or False, # Output only. Reserved for future use "satisfiesPzs": True or False, # Output only. Reserved for future use + "scaleTier": "A String", # Optional. The effective scale tier of the storage pool. If `scale_tier` is not specified during creation, this defaults to `SCALE_TIER_STANDARD`. "serviceLevel": "A String", # Required. Service level of the storage pool "state": "A String", # Output only. State of the storage pool "stateDetails": "A String", # Output only. State details of the storage pool "totalIops": "A String", # Optional. Custom Performance Total IOPS of the pool if not provided, it will be calculated based on the total_throughput_mibps "totalThroughputMibps": "A String", # Optional. Custom Performance Total Throughput of the pool (in MiBps) - "type": "A String", # Optional. Type of the storage pool. This field is used to control whether the pool supports `FILE` based volumes only or `UNIFIED` (both `FILE` and `BLOCK`) volumes or `UNIFIED_LARGE_CAPACITY` (both `FILE` and `BLOCK`) volumes with large capacity. If not specified during creation, it defaults to `FILE`. + "type": "A String", # Optional. Type of the storage pool. This field is used to control whether the pool supports `FILE` based volumes only or `UNIFIED` (both `FILE` and `BLOCK`) volumes. If not specified during creation, it defaults to `FILE`. "volumeCapacityGib": "A String", # Output only. Allocated size of all volumes in GIB in the storage pool "volumeCount": 42, # Output only. Volume count of the storage pool "zone": "A String", # Optional. Specifies the active zone for regional storagePool. @@ -376,6 +387,7 @@

Method Details

"a_key": "A String", }, "ldapEnabled": True or False, # Optional. Flag indicating if the pool is NFS LDAP enabled or not. + "mode": "A String", # Optional. Mode of the storage pool. This field is used to control whether the user can perform the ONTAP operations on the storage pool using the GCNV ONTAP Mode APIs. If not specified during creation, it defaults to `DEFAULT`. "name": "A String", # Identifier. Name of the storage pool "network": "A String", # Required. VPC Network name. Format: projects/{project}/global/networks/{network} "psaRange": "A String", # Optional. This field is not implemented. The values provided in this field are ignored. @@ -383,12 +395,13 @@

Method Details

"replicaZone": "A String", # Optional. Specifies the replica zone for regional storagePool. "satisfiesPzi": True or False, # Output only. Reserved for future use "satisfiesPzs": True or False, # Output only. Reserved for future use + "scaleTier": "A String", # Optional. The effective scale tier of the storage pool. If `scale_tier` is not specified during creation, this defaults to `SCALE_TIER_STANDARD`. "serviceLevel": "A String", # Required. Service level of the storage pool "state": "A String", # Output only. State of the storage pool "stateDetails": "A String", # Output only. State details of the storage pool "totalIops": "A String", # Optional. Custom Performance Total IOPS of the pool if not provided, it will be calculated based on the total_throughput_mibps "totalThroughputMibps": "A String", # Optional. Custom Performance Total Throughput of the pool (in MiBps) - "type": "A String", # Optional. Type of the storage pool. This field is used to control whether the pool supports `FILE` based volumes only or `UNIFIED` (both `FILE` and `BLOCK`) volumes or `UNIFIED_LARGE_CAPACITY` (both `FILE` and `BLOCK`) volumes with large capacity. If not specified during creation, it defaults to `FILE`. + "type": "A String", # Optional. Type of the storage pool. This field is used to control whether the pool supports `FILE` based volumes only or `UNIFIED` (both `FILE` and `BLOCK`) volumes. If not specified during creation, it defaults to `FILE`. "volumeCapacityGib": "A String", # Output only. Allocated size of all volumes in GIB in the storage pool "volumeCount": 42, # Output only. Volume count of the storage pool "zone": "A String", # Optional. Specifies the active zone for regional storagePool. diff --git a/docs/dyn/netapp_v1.projects.locations.storagePools.ontap.html b/docs/dyn/netapp_v1.projects.locations.storagePools.ontap.html new file mode 100644 index 0000000000..25de0498e8 --- /dev/null +++ b/docs/dyn/netapp_v1.projects.locations.storagePools.ontap.html @@ -0,0 +1,200 @@ + + + +

NetApp API . projects . locations . storagePools . ontap

+

Instance Methods

+

+ close()

+

Close httplib2 connections.

+

+ executeOntapDelete(ontapPath, x__xgafv=None)

+

`ExecuteOntapDelete` dispatches the ONTAP `DELETE` request to the `StoragePool` cluster.

+

+ executeOntapGet(ontapPath, x__xgafv=None)

+

`ExecuteOntapGet` dispatches the ONTAP `GET` request to the `StoragePool` cluster.

+

+ executeOntapPatch(ontapPath, body=None, x__xgafv=None)

+

`ExecuteOntapPatch` dispatches the ONTAP `PATCH` request to the `StoragePool` cluster.

+

+ executeOntapPost(ontapPath, body=None, x__xgafv=None)

+

`ExecuteOntapPost` dispatches the ONTAP `POST` request to the `StoragePool` cluster.

+

Method Details

+
+ close() +
Close httplib2 connections.
+
+ +
+ executeOntapDelete(ontapPath, x__xgafv=None) +
`ExecuteOntapDelete` dispatches the ONTAP `DELETE` request to the `StoragePool` cluster.
+
+Args:
+  ontapPath: string, Required. The resource path of the ONTAP resource. Format: `projects/{project_number}/locations/{location_id}/storagePools/{storage_pool_id}/ontap/{ontap_resource_path}`. For example: `projects/123456789/locations/us-central1/storagePools/my-storage-pool/ontap/api/storage/volumes`. (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 `ExecuteOntapDelete` API.
+  "body": { # The raw `JSON` body of the response.
+    "a_key": "", # Properties of the object.
+  },
+}
+
+ +
+ executeOntapGet(ontapPath, x__xgafv=None) +
`ExecuteOntapGet` dispatches the ONTAP `GET` request to the `StoragePool` cluster.
+
+Args:
+  ontapPath: string, Required. The resource path of the ONTAP resource. Format: `projects/{project_number}/locations/{location_id}/storagePools/{storage_pool_id}/ontap/{ontap_resource_path}`. For example: `projects/123456789/locations/us-central1/storagePools/my-storage-pool/ontap/api/storage/volumes`. (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 `ExecuteOntapGet` API.
+  "body": { # The raw `JSON` body of the response.
+    "a_key": "", # Properties of the object.
+  },
+}
+
+ +
+ executeOntapPatch(ontapPath, body=None, x__xgafv=None) +
`ExecuteOntapPatch` dispatches the ONTAP `PATCH` request to the `StoragePool` cluster.
+
+Args:
+  ontapPath: string, Required. The resource path of the ONTAP resource. Format: `projects/{project_number}/locations/{location_id}/storagePools/{storage_pool_id}/ontap/{ontap_resource_path}`. For example: `projects/123456789/locations/us-central1/storagePools/my-storage-pool/ontap/api/storage/volumes`. (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # Request message for `ExecuteOntapPatch` API.
+  "body": { # Required. The raw `JSON` body of the request. The body should be in the format of the ONTAP resource. For example: ``` { "body": { "field1": "value1", "field2": "value2", } } ```
+    "a_key": "", # Properties of the object.
+  },
+}
+
+  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 `ExecuteOntapPatch` API.
+  "body": { # The raw `JSON` body of the response.
+    "a_key": "", # Properties of the object.
+  },
+}
+
+ +
+ executeOntapPost(ontapPath, body=None, x__xgafv=None) +
`ExecuteOntapPost` dispatches the ONTAP `POST` request to the `StoragePool` cluster.
+
+Args:
+  ontapPath: string, Required. The resource path of the ONTAP resource. Format: `projects/{project_number}/locations/{location_id}/storagePools/{storage_pool_id}/ontap/{ontap_resource_path}`. For example: `projects/123456789/locations/us-central1/storagePools/my-storage-pool/ontap/api/storage/volumes`. (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # Request message for `ExecuteOntapPost` API.
+  "body": { # Required. The raw `JSON` body of the request. The body should be in the format of the ONTAP resource. For example: ``` { "body": { "field1": "value1", "field2": "value2", } } ```
+    "a_key": "", # Properties of the object.
+  },
+}
+
+  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 `ExecuteOntapPost` API.
+  "body": { # The raw `JSON` body of the response.
+    "a_key": "", # Properties of the object.
+  },
+}
+
+ + \ No newline at end of file diff --git a/docs/dyn/netapp_v1.projects.locations.volumes.html b/docs/dyn/netapp_v1.projects.locations.volumes.html index 808c955408..53c07e01bd 100644 --- a/docs/dyn/netapp_v1.projects.locations.volumes.html +++ b/docs/dyn/netapp_v1.projects.locations.volumes.html @@ -237,6 +237,9 @@

Method Details

"a_key": "A String", }, "largeCapacity": True or False, # Optional. Flag indicating if the volume will be a large capacity volume or a regular volume. + "largeCapacityConfig": { # Configuration for a Large Capacity Volume. A Large Capacity Volume supports sizes ranging from 12 TiB to 20 PiB, it is composed of multiple internal constituents, and must be created in a large capacity pool. # Optional. Large capacity config for the volume. + "constituentCount": 42, # Optional. The number of internal constituents (e.g., FlexVols) for this large volume. The minimum number of constituents is 2. + }, "ldapEnabled": True or False, # Output only. Flag indicating if the volume is NFS LDAP enabled or not. "mountOptions": [ # Output only. Mount options of this volume { # View only mount options for a volume. @@ -256,7 +259,7 @@

Method Details

"psaRange": "A String", # Output only. This field is not implemented. The values provided in this field are ignored. "replicaZone": "A String", # Output only. Specifies the replica zone for regional volume. "restoreParameters": { # The RestoreParameters if volume is created from a snapshot or backup. # Optional. Specifies the source of the volume to be created from. - "sourceBackup": "A String", # Full name of the backup resource. Format: projects/{project}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id} + "sourceBackup": "A String", # Full name of the backup resource. Format for standard backup: projects/{project}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id} Format for BackupDR backup: projects/{project}/locations/{location}/backupVaults/{backup_vault}/dataSources/{data_source}/backups/{backup} "sourceSnapshot": "A String", # Full name of the snapshot resource. Format: projects/{project}/locations/{location}/volumes/{volume}/snapshots/{snapshot} }, "restrictedActions": [ # Optional. List of actions that are restricted on this volume. @@ -538,6 +541,9 @@

Method Details

"a_key": "A String", }, "largeCapacity": True or False, # Optional. Flag indicating if the volume will be a large capacity volume or a regular volume. + "largeCapacityConfig": { # Configuration for a Large Capacity Volume. A Large Capacity Volume supports sizes ranging from 12 TiB to 20 PiB, it is composed of multiple internal constituents, and must be created in a large capacity pool. # Optional. Large capacity config for the volume. + "constituentCount": 42, # Optional. The number of internal constituents (e.g., FlexVols) for this large volume. The minimum number of constituents is 2. + }, "ldapEnabled": True or False, # Output only. Flag indicating if the volume is NFS LDAP enabled or not. "mountOptions": [ # Output only. Mount options of this volume { # View only mount options for a volume. @@ -557,7 +563,7 @@

Method Details

"psaRange": "A String", # Output only. This field is not implemented. The values provided in this field are ignored. "replicaZone": "A String", # Output only. Specifies the replica zone for regional volume. "restoreParameters": { # The RestoreParameters if volume is created from a snapshot or backup. # Optional. Specifies the source of the volume to be created from. - "sourceBackup": "A String", # Full name of the backup resource. Format: projects/{project}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id} + "sourceBackup": "A String", # Full name of the backup resource. Format for standard backup: projects/{project}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id} Format for BackupDR backup: projects/{project}/locations/{location}/backupVaults/{backup_vault}/dataSources/{data_source}/backups/{backup} "sourceSnapshot": "A String", # Full name of the snapshot resource. Format: projects/{project}/locations/{location}/volumes/{volume}/snapshots/{snapshot} }, "restrictedActions": [ # Optional. List of actions that are restricted on this volume. @@ -737,6 +743,9 @@

Method Details

"a_key": "A String", }, "largeCapacity": True or False, # Optional. Flag indicating if the volume will be a large capacity volume or a regular volume. + "largeCapacityConfig": { # Configuration for a Large Capacity Volume. A Large Capacity Volume supports sizes ranging from 12 TiB to 20 PiB, it is composed of multiple internal constituents, and must be created in a large capacity pool. # Optional. Large capacity config for the volume. + "constituentCount": 42, # Optional. The number of internal constituents (e.g., FlexVols) for this large volume. The minimum number of constituents is 2. + }, "ldapEnabled": True or False, # Output only. Flag indicating if the volume is NFS LDAP enabled or not. "mountOptions": [ # Output only. Mount options of this volume { # View only mount options for a volume. @@ -756,7 +765,7 @@

Method Details

"psaRange": "A String", # Output only. This field is not implemented. The values provided in this field are ignored. "replicaZone": "A String", # Output only. Specifies the replica zone for regional volume. "restoreParameters": { # The RestoreParameters if volume is created from a snapshot or backup. # Optional. Specifies the source of the volume to be created from. - "sourceBackup": "A String", # Full name of the backup resource. Format: projects/{project}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id} + "sourceBackup": "A String", # Full name of the backup resource. Format for standard backup: projects/{project}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id} Format for BackupDR backup: projects/{project}/locations/{location}/backupVaults/{backup_vault}/dataSources/{data_source}/backups/{backup} "sourceSnapshot": "A String", # Full name of the snapshot resource. Format: projects/{project}/locations/{location}/volumes/{volume}/snapshots/{snapshot} }, "restrictedActions": [ # Optional. List of actions that are restricted on this volume. @@ -937,6 +946,9 @@

Method Details

"a_key": "A String", }, "largeCapacity": True or False, # Optional. Flag indicating if the volume will be a large capacity volume or a regular volume. + "largeCapacityConfig": { # Configuration for a Large Capacity Volume. A Large Capacity Volume supports sizes ranging from 12 TiB to 20 PiB, it is composed of multiple internal constituents, and must be created in a large capacity pool. # Optional. Large capacity config for the volume. + "constituentCount": 42, # Optional. The number of internal constituents (e.g., FlexVols) for this large volume. The minimum number of constituents is 2. + }, "ldapEnabled": True or False, # Output only. Flag indicating if the volume is NFS LDAP enabled or not. "mountOptions": [ # Output only. Mount options of this volume { # View only mount options for a volume. @@ -956,7 +968,7 @@

Method Details

"psaRange": "A String", # Output only. This field is not implemented. The values provided in this field are ignored. "replicaZone": "A String", # Output only. Specifies the replica zone for regional volume. "restoreParameters": { # The RestoreParameters if volume is created from a snapshot or backup. # Optional. Specifies the source of the volume to be created from. - "sourceBackup": "A String", # Full name of the backup resource. Format: projects/{project}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id} + "sourceBackup": "A String", # Full name of the backup resource. Format for standard backup: projects/{project}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id} Format for BackupDR backup: projects/{project}/locations/{location}/backupVaults/{backup_vault}/dataSources/{data_source}/backups/{backup} "sourceSnapshot": "A String", # Full name of the snapshot resource. Format: projects/{project}/locations/{location}/volumes/{volume}/snapshots/{snapshot} }, "restrictedActions": [ # Optional. List of actions that are restricted on this volume. diff --git a/docs/dyn/netapp_v1beta1.projects.locations.backupVaults.backups.html b/docs/dyn/netapp_v1beta1.projects.locations.backupVaults.backups.html index f47472f176..2f817a6108 100644 --- a/docs/dyn/netapp_v1beta1.projects.locations.backupVaults.backups.html +++ b/docs/dyn/netapp_v1beta1.projects.locations.backupVaults.backups.html @@ -124,7 +124,7 @@

Method Details

"satisfiesPzi": True or False, # Output only. Reserved for future use "satisfiesPzs": True or False, # Output only. Reserved for future use "sourceSnapshot": "A String", # If specified, backup will be created from the given snapshot. If not specified, there will be a new snapshot taken to initiate the backup creation. Format: `projects/{project_id}/locations/{location}/volumes/{volume_id}/snapshots/{snapshot_id}` - "sourceVolume": "A String", # Volume full name of this backup belongs to. Format: `projects/{projects_id}/locations/{location}/volumes/{volume_id}` + "sourceVolume": "A String", # Volume full name of this backup belongs to. Either source_volume or ontap_source should be provided. Format: `projects/{projects_id}/locations/{location}/volumes/{volume_id}` "state": "A String", # Output only. The backup state. "volumeRegion": "A String", # Output only. Region of the volume from which the backup was created. Format: `projects/{project_id}/locations/{location}` "volumeUsageBytes": "A String", # Output only. Size of the file system when the backup was created. When creating a new volume from the backup, the volume capacity will have to be at least as big. @@ -223,7 +223,7 @@

Method Details

"satisfiesPzi": True or False, # Output only. Reserved for future use "satisfiesPzs": True or False, # Output only. Reserved for future use "sourceSnapshot": "A String", # If specified, backup will be created from the given snapshot. If not specified, there will be a new snapshot taken to initiate the backup creation. Format: `projects/{project_id}/locations/{location}/volumes/{volume_id}/snapshots/{snapshot_id}` - "sourceVolume": "A String", # Volume full name of this backup belongs to. Format: `projects/{projects_id}/locations/{location}/volumes/{volume_id}` + "sourceVolume": "A String", # Volume full name of this backup belongs to. Either source_volume or ontap_source should be provided. Format: `projects/{projects_id}/locations/{location}/volumes/{volume_id}` "state": "A String", # Output only. The backup state. "volumeRegion": "A String", # Output only. Region of the volume from which the backup was created. Format: `projects/{project_id}/locations/{location}` "volumeUsageBytes": "A String", # Output only. Size of the file system when the backup was created. When creating a new volume from the backup, the volume capacity will have to be at least as big. @@ -264,7 +264,7 @@

Method Details

"satisfiesPzi": True or False, # Output only. Reserved for future use "satisfiesPzs": True or False, # Output only. Reserved for future use "sourceSnapshot": "A String", # If specified, backup will be created from the given snapshot. If not specified, there will be a new snapshot taken to initiate the backup creation. Format: `projects/{project_id}/locations/{location}/volumes/{volume_id}/snapshots/{snapshot_id}` - "sourceVolume": "A String", # Volume full name of this backup belongs to. Format: `projects/{projects_id}/locations/{location}/volumes/{volume_id}` + "sourceVolume": "A String", # Volume full name of this backup belongs to. Either source_volume or ontap_source should be provided. Format: `projects/{projects_id}/locations/{location}/volumes/{volume_id}` "state": "A String", # Output only. The backup state. "volumeRegion": "A String", # Output only. Region of the volume from which the backup was created. Format: `projects/{project_id}/locations/{location}` "volumeUsageBytes": "A String", # Output only. Size of the file system when the backup was created. When creating a new volume from the backup, the volume capacity will have to be at least as big. @@ -314,7 +314,7 @@

Method Details

"satisfiesPzi": True or False, # Output only. Reserved for future use "satisfiesPzs": True or False, # Output only. Reserved for future use "sourceSnapshot": "A String", # If specified, backup will be created from the given snapshot. If not specified, there will be a new snapshot taken to initiate the backup creation. Format: `projects/{project_id}/locations/{location}/volumes/{volume_id}/snapshots/{snapshot_id}` - "sourceVolume": "A String", # Volume full name of this backup belongs to. Format: `projects/{projects_id}/locations/{location}/volumes/{volume_id}` + "sourceVolume": "A String", # Volume full name of this backup belongs to. Either source_volume or ontap_source should be provided. Format: `projects/{projects_id}/locations/{location}/volumes/{volume_id}` "state": "A String", # Output only. The backup state. "volumeRegion": "A String", # Output only. Region of the volume from which the backup was created. Format: `projects/{project_id}/locations/{location}` "volumeUsageBytes": "A String", # Output only. Size of the file system when the backup was created. When creating a new volume from the backup, the volume capacity will have to be at least as big. diff --git a/docs/dyn/netapp_v1beta1.projects.locations.backupVaults.html b/docs/dyn/netapp_v1beta1.projects.locations.backupVaults.html index 1d0c247730..88b259638c 100644 --- a/docs/dyn/netapp_v1beta1.projects.locations.backupVaults.html +++ b/docs/dyn/netapp_v1beta1.projects.locations.backupVaults.html @@ -127,6 +127,7 @@

Method Details

"backupVaultType": "A String", # Optional. Type of backup vault to be created. Default is IN_REGION. "backupsCryptoKeyVersion": "A String", # Output only. The crypto key version used to encrypt the backup vault. Format: `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}` "createTime": "A String", # Output only. Create time of the backup vault. + "crossProjectVault": True or False, # Optional. Indicates if the backup vault is a cross project vault. "description": "A String", # Description of the backup vault. "destinationBackupVault": "A String", # Output only. Name of the Backup vault created in backup region. Format: `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}` "encryptionState": "A String", # Output only. Field indicating encryption state of CMEK backups. @@ -231,6 +232,7 @@

Method Details

"backupVaultType": "A String", # Optional. Type of backup vault to be created. Default is IN_REGION. "backupsCryptoKeyVersion": "A String", # Output only. The crypto key version used to encrypt the backup vault. Format: `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}` "createTime": "A String", # Output only. Create time of the backup vault. + "crossProjectVault": True or False, # Optional. Indicates if the backup vault is a cross project vault. "description": "A String", # Description of the backup vault. "destinationBackupVault": "A String", # Output only. Name of the Backup vault created in backup region. Format: `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}` "encryptionState": "A String", # Output only. Field indicating encryption state of CMEK backups. @@ -277,6 +279,7 @@

Method Details

"backupVaultType": "A String", # Optional. Type of backup vault to be created. Default is IN_REGION. "backupsCryptoKeyVersion": "A String", # Output only. The crypto key version used to encrypt the backup vault. Format: `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}` "createTime": "A String", # Output only. Create time of the backup vault. + "crossProjectVault": True or False, # Optional. Indicates if the backup vault is a cross project vault. "description": "A String", # Description of the backup vault. "destinationBackupVault": "A String", # Output only. Name of the Backup vault created in backup region. Format: `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}` "encryptionState": "A String", # Output only. Field indicating encryption state of CMEK backups. @@ -332,6 +335,7 @@

Method Details

"backupVaultType": "A String", # Optional. Type of backup vault to be created. Default is IN_REGION. "backupsCryptoKeyVersion": "A String", # Output only. The crypto key version used to encrypt the backup vault. Format: `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}` "createTime": "A String", # Output only. Create time of the backup vault. + "crossProjectVault": True or False, # Optional. Indicates if the backup vault is a cross project vault. "description": "A String", # Description of the backup vault. "destinationBackupVault": "A String", # Output only. Name of the Backup vault created in backup region. Format: `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}` "encryptionState": "A String", # Output only. Field indicating encryption state of CMEK backups. diff --git a/docs/dyn/netapp_v1beta1.projects.locations.storagePools.html b/docs/dyn/netapp_v1beta1.projects.locations.storagePools.html index 162f2a0826..9e757110bc 100644 --- a/docs/dyn/netapp_v1beta1.projects.locations.storagePools.html +++ b/docs/dyn/netapp_v1beta1.projects.locations.storagePools.html @@ -154,7 +154,7 @@

Method Details

"stateDetails": "A String", # Output only. State details of the storage pool "totalIops": "A String", # Optional. Custom Performance Total IOPS of the pool if not provided, it will be calculated based on the total_throughput_mibps "totalThroughputMibps": "A String", # Optional. Custom Performance Total Throughput of the pool (in MiBps) - "type": "A String", # Optional. Type of the storage pool. This field is used to control whether the pool supports `FILE` based volumes only or `UNIFIED` (both `FILE` and `BLOCK`) volumes or `UNIFIED_LARGE_CAPACITY` (both `FILE` and `BLOCK`) volumes with large capacity. If not specified during creation, it defaults to `FILE`. + "type": "A String", # Optional. Type of the storage pool. This field is used to control whether the pool supports `FILE` based volumes only or `UNIFIED` (both `FILE` and `BLOCK`) volumes. If not specified during creation, it defaults to `FILE`. "volumeCapacityGib": "A String", # Output only. Allocated size of all volumes in GIB in the storage pool "volumeCount": 42, # Output only. Volume count of the storage pool "zone": "A String", # Optional. Specifies the active zone for regional storagePool. @@ -272,7 +272,7 @@

Method Details

"stateDetails": "A String", # Output only. State details of the storage pool "totalIops": "A String", # Optional. Custom Performance Total IOPS of the pool if not provided, it will be calculated based on the total_throughput_mibps "totalThroughputMibps": "A String", # Optional. Custom Performance Total Throughput of the pool (in MiBps) - "type": "A String", # Optional. Type of the storage pool. This field is used to control whether the pool supports `FILE` based volumes only or `UNIFIED` (both `FILE` and `BLOCK`) volumes or `UNIFIED_LARGE_CAPACITY` (both `FILE` and `BLOCK`) volumes with large capacity. If not specified during creation, it defaults to `FILE`. + "type": "A String", # Optional. Type of the storage pool. This field is used to control whether the pool supports `FILE` based volumes only or `UNIFIED` (both `FILE` and `BLOCK`) volumes. If not specified during creation, it defaults to `FILE`. "volumeCapacityGib": "A String", # Output only. Allocated size of all volumes in GIB in the storage pool "volumeCount": 42, # Output only. Volume count of the storage pool "zone": "A String", # Optional. Specifies the active zone for regional storagePool. @@ -333,7 +333,7 @@

Method Details

"stateDetails": "A String", # Output only. State details of the storage pool "totalIops": "A String", # Optional. Custom Performance Total IOPS of the pool if not provided, it will be calculated based on the total_throughput_mibps "totalThroughputMibps": "A String", # Optional. Custom Performance Total Throughput of the pool (in MiBps) - "type": "A String", # Optional. Type of the storage pool. This field is used to control whether the pool supports `FILE` based volumes only or `UNIFIED` (both `FILE` and `BLOCK`) volumes or `UNIFIED_LARGE_CAPACITY` (both `FILE` and `BLOCK`) volumes with large capacity. If not specified during creation, it defaults to `FILE`. + "type": "A String", # Optional. Type of the storage pool. This field is used to control whether the pool supports `FILE` based volumes only or `UNIFIED` (both `FILE` and `BLOCK`) volumes. If not specified during creation, it defaults to `FILE`. "volumeCapacityGib": "A String", # Output only. Allocated size of all volumes in GIB in the storage pool "volumeCount": 42, # Output only. Volume count of the storage pool "zone": "A String", # Optional. Specifies the active zone for regional storagePool. @@ -401,7 +401,7 @@

Method Details

"stateDetails": "A String", # Output only. State details of the storage pool "totalIops": "A String", # Optional. Custom Performance Total IOPS of the pool if not provided, it will be calculated based on the total_throughput_mibps "totalThroughputMibps": "A String", # Optional. Custom Performance Total Throughput of the pool (in MiBps) - "type": "A String", # Optional. Type of the storage pool. This field is used to control whether the pool supports `FILE` based volumes only or `UNIFIED` (both `FILE` and `BLOCK`) volumes or `UNIFIED_LARGE_CAPACITY` (both `FILE` and `BLOCK`) volumes with large capacity. If not specified during creation, it defaults to `FILE`. + "type": "A String", # Optional. Type of the storage pool. This field is used to control whether the pool supports `FILE` based volumes only or `UNIFIED` (both `FILE` and `BLOCK`) volumes. If not specified during creation, it defaults to `FILE`. "volumeCapacityGib": "A String", # Output only. Allocated size of all volumes in GIB in the storage pool "volumeCount": 42, # Output only. Volume count of the storage pool "zone": "A String", # Optional. Specifies the active zone for regional storagePool. diff --git a/docs/dyn/netapp_v1beta1.projects.locations.volumes.html b/docs/dyn/netapp_v1beta1.projects.locations.volumes.html index e4e6379055..31e5943513 100644 --- a/docs/dyn/netapp_v1beta1.projects.locations.volumes.html +++ b/docs/dyn/netapp_v1beta1.projects.locations.volumes.html @@ -259,7 +259,7 @@

Method Details

"psaRange": "A String", # Output only. This field is not implemented. The values provided in this field are ignored. "replicaZone": "A String", # Output only. Specifies the replica zone for regional volume. "restoreParameters": { # The RestoreParameters if volume is created from a snapshot or backup. # Optional. Specifies the source of the volume to be created from. - "sourceBackup": "A String", # Full name of the backup resource. Format: projects/{project}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id} + "sourceBackup": "A String", # Full name of the backup resource. Format for standard backup: projects/{project}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id} Format for BackupDR backup: projects/{project}/locations/{location}/backupVaults/{backup_vault}/dataSources/{data_source}/backups/{backup} "sourceSnapshot": "A String", # Full name of the snapshot resource. Format: projects/{project}/locations/{location}/volumes/{volume}/snapshots/{snapshot} }, "restrictedActions": [ # Optional. List of actions that are restricted on this volume. @@ -563,7 +563,7 @@

Method Details

"psaRange": "A String", # Output only. This field is not implemented. The values provided in this field are ignored. "replicaZone": "A String", # Output only. Specifies the replica zone for regional volume. "restoreParameters": { # The RestoreParameters if volume is created from a snapshot or backup. # Optional. Specifies the source of the volume to be created from. - "sourceBackup": "A String", # Full name of the backup resource. Format: projects/{project}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id} + "sourceBackup": "A String", # Full name of the backup resource. Format for standard backup: projects/{project}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id} Format for BackupDR backup: projects/{project}/locations/{location}/backupVaults/{backup_vault}/dataSources/{data_source}/backups/{backup} "sourceSnapshot": "A String", # Full name of the snapshot resource. Format: projects/{project}/locations/{location}/volumes/{volume}/snapshots/{snapshot} }, "restrictedActions": [ # Optional. List of actions that are restricted on this volume. @@ -765,7 +765,7 @@

Method Details

"psaRange": "A String", # Output only. This field is not implemented. The values provided in this field are ignored. "replicaZone": "A String", # Output only. Specifies the replica zone for regional volume. "restoreParameters": { # The RestoreParameters if volume is created from a snapshot or backup. # Optional. Specifies the source of the volume to be created from. - "sourceBackup": "A String", # Full name of the backup resource. Format: projects/{project}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id} + "sourceBackup": "A String", # Full name of the backup resource. Format for standard backup: projects/{project}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id} Format for BackupDR backup: projects/{project}/locations/{location}/backupVaults/{backup_vault}/dataSources/{data_source}/backups/{backup} "sourceSnapshot": "A String", # Full name of the snapshot resource. Format: projects/{project}/locations/{location}/volumes/{volume}/snapshots/{snapshot} }, "restrictedActions": [ # Optional. List of actions that are restricted on this volume. @@ -968,7 +968,7 @@

Method Details

"psaRange": "A String", # Output only. This field is not implemented. The values provided in this field are ignored. "replicaZone": "A String", # Output only. Specifies the replica zone for regional volume. "restoreParameters": { # The RestoreParameters if volume is created from a snapshot or backup. # Optional. Specifies the source of the volume to be created from. - "sourceBackup": "A String", # Full name of the backup resource. Format: projects/{project}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id} + "sourceBackup": "A String", # Full name of the backup resource. Format for standard backup: projects/{project}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id} Format for BackupDR backup: projects/{project}/locations/{location}/backupVaults/{backup_vault}/dataSources/{data_source}/backups/{backup} "sourceSnapshot": "A String", # Full name of the snapshot resource. Format: projects/{project}/locations/{location}/volumes/{volume}/snapshots/{snapshot} }, "restrictedActions": [ # Optional. List of actions that are restricted on this volume. diff --git a/docs/dyn/networkservices_v1.projects.locations.authzExtensions.html b/docs/dyn/networkservices_v1.projects.locations.authzExtensions.html index 0c96919962..bea3172d90 100644 --- a/docs/dyn/networkservices_v1.projects.locations.authzExtensions.html +++ b/docs/dyn/networkservices_v1.projects.locations.authzExtensions.html @@ -111,7 +111,7 @@

Method Details

The object takes the form of: { # `AuthzExtension` is a resource that allows traffic forwarding to a callout backend service to make an authorization decision. - "authority": "A String", # Required. The `:authority` header in the gRPC request sent from Envoy to the extension service. + "authority": "A String", # Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. It is required when the `service` field points to a backend service or a wasm plugin. "createTime": "A String", # Output only. The timestamp when the resource was created. "description": "A String", # Optional. A human-readable description of the resource. "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. @@ -217,7 +217,7 @@

Method Details

An object of the form: { # `AuthzExtension` is a resource that allows traffic forwarding to a callout backend service to make an authorization decision. - "authority": "A String", # Required. The `:authority` header in the gRPC request sent from Envoy to the extension service. + "authority": "A String", # Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. It is required when the `service` field points to a backend service or a wasm plugin. "createTime": "A String", # Output only. The timestamp when the resource was created. "description": "A String", # Optional. A human-readable description of the resource. "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. @@ -263,7 +263,7 @@

Method Details

{ # Message for response to listing `AuthzExtension` resources. "authzExtensions": [ # The list of `AuthzExtension` resources. { # `AuthzExtension` is a resource that allows traffic forwarding to a callout backend service to make an authorization decision. - "authority": "A String", # Required. The `:authority` header in the gRPC request sent from Envoy to the extension service. + "authority": "A String", # Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. It is required when the `service` field points to a backend service or a wasm plugin. "createTime": "A String", # Output only. The timestamp when the resource was created. "description": "A String", # Optional. A human-readable description of the resource. "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. @@ -318,7 +318,7 @@

Method Details

The object takes the form of: { # `AuthzExtension` is a resource that allows traffic forwarding to a callout backend service to make an authorization decision. - "authority": "A String", # Required. The `:authority` header in the gRPC request sent from Envoy to the extension service. + "authority": "A String", # Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. It is required when the `service` field points to a backend service or a wasm plugin. "createTime": "A String", # Output only. The timestamp when the resource was created. "description": "A String", # Optional. A human-readable description of the resource. "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. diff --git a/docs/dyn/networkservices_v1.projects.locations.gateways.html b/docs/dyn/networkservices_v1.projects.locations.gateways.html index 9ca69c22dd..b5e3ca3cc8 100644 --- a/docs/dyn/networkservices_v1.projects.locations.gateways.html +++ b/docs/dyn/networkservices_v1.projects.locations.gateways.html @@ -119,6 +119,7 @@

Method Details

"addresses": [ # Optional. Zero or one IPv4 or IPv6 address on which the Gateway will receive the traffic. When no address is provided, an IP from the subnetwork is allocated This field only applies to gateways of type 'SECURE_WEB_GATEWAY'. Gateways of type 'OPEN_MESH' listen on 0.0.0.0 for IPv4 and :: for IPv6. "A String", ], + "allowGlobalAccess": True or False, # Optional. If true, the gateway will allow traffic from clients outside of the region where the gateway is located. This field is configurable only for gateways of type SECURE_WEB_GATEWAY. "certificateUrls": [ # Optional. A fully-qualified Certificates URL reference. The proxy presents a Certificate (selected based on SNI) when establishing a TLS connection. This feature only applies to gateways of type 'SECURE_WEB_GATEWAY'. "A String", ], @@ -227,6 +228,7 @@

Method Details

"addresses": [ # Optional. Zero or one IPv4 or IPv6 address on which the Gateway will receive the traffic. When no address is provided, an IP from the subnetwork is allocated This field only applies to gateways of type 'SECURE_WEB_GATEWAY'. Gateways of type 'OPEN_MESH' listen on 0.0.0.0 for IPv4 and :: for IPv6. "A String", ], + "allowGlobalAccess": True or False, # Optional. If true, the gateway will allow traffic from clients outside of the region where the gateway is located. This field is configurable only for gateways of type SECURE_WEB_GATEWAY. "certificateUrls": [ # Optional. A fully-qualified Certificates URL reference. The proxy presents a Certificate (selected based on SNI) when establishing a TLS connection. This feature only applies to gateways of type 'SECURE_WEB_GATEWAY'. "A String", ], @@ -275,6 +277,7 @@

Method Details

"addresses": [ # Optional. Zero or one IPv4 or IPv6 address on which the Gateway will receive the traffic. When no address is provided, an IP from the subnetwork is allocated This field only applies to gateways of type 'SECURE_WEB_GATEWAY'. Gateways of type 'OPEN_MESH' listen on 0.0.0.0 for IPv4 and :: for IPv6. "A String", ], + "allowGlobalAccess": True or False, # Optional. If true, the gateway will allow traffic from clients outside of the region where the gateway is located. This field is configurable only for gateways of type SECURE_WEB_GATEWAY. "certificateUrls": [ # Optional. A fully-qualified Certificates URL reference. The proxy presents a Certificate (selected based on SNI) when establishing a TLS connection. This feature only applies to gateways of type 'SECURE_WEB_GATEWAY'. "A String", ], @@ -334,6 +337,7 @@

Method Details

"addresses": [ # Optional. Zero or one IPv4 or IPv6 address on which the Gateway will receive the traffic. When no address is provided, an IP from the subnetwork is allocated This field only applies to gateways of type 'SECURE_WEB_GATEWAY'. Gateways of type 'OPEN_MESH' listen on 0.0.0.0 for IPv4 and :: for IPv6. "A String", ], + "allowGlobalAccess": True or False, # Optional. If true, the gateway will allow traffic from clients outside of the region where the gateway is located. This field is configurable only for gateways of type SECURE_WEB_GATEWAY. "certificateUrls": [ # Optional. A fully-qualified Certificates URL reference. The proxy presents a Certificate (selected based on SNI) when establishing a TLS connection. This feature only applies to gateways of type 'SECURE_WEB_GATEWAY'. "A String", ], diff --git a/docs/dyn/networkservices_v1.projects.locations.lbEdgeExtensions.html b/docs/dyn/networkservices_v1.projects.locations.lbEdgeExtensions.html index 0c93df9946..3ff2800969 100644 --- a/docs/dyn/networkservices_v1.projects.locations.lbEdgeExtensions.html +++ b/docs/dyn/networkservices_v1.projects.locations.lbEdgeExtensions.html @@ -129,7 +129,7 @@

Method Details

"a_key": "", # Properties of the object. }, "name": "A String", # Optional. The name for this extension. The name is logged as part of the HTTP request logs. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number. This field is required except for AuthzExtension. - "observabilityMode": True or False, # Optional. When set to `TRUE`, enables `observability_mode` on the `ext_proc` filter. This makes `ext_proc` calls asynchronous. Envoy doesn't check for the response from `ext_proc` calls. For more information about the filter, see: https://www.envoyproxy.io/docs/envoy/v1.32.3/api-v3/extensions/filters/http/ext_proc/v3/ext_proc.proto#extensions-filters-http-ext-proc-v3-externalprocessor This field is helpful when you want to try out the extension in async log-only mode. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. Only `STREAMED` (default) body processing mode is supported. + "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. @@ -256,7 +256,7 @@

Method Details

"a_key": "", # Properties of the object. }, "name": "A String", # Optional. The name for this extension. The name is logged as part of the HTTP request logs. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number. This field is required except for AuthzExtension. - "observabilityMode": True or False, # Optional. When set to `TRUE`, enables `observability_mode` on the `ext_proc` filter. This makes `ext_proc` calls asynchronous. Envoy doesn't check for the response from `ext_proc` calls. For more information about the filter, see: https://www.envoyproxy.io/docs/envoy/v1.32.3/api-v3/extensions/filters/http/ext_proc/v3/ext_proc.proto#extensions-filters-http-ext-proc-v3-externalprocessor This field is helpful when you want to try out the extension in async log-only mode. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. Only `STREAMED` (default) body processing mode is supported. + "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. @@ -323,7 +323,7 @@

Method Details

"a_key": "", # Properties of the object. }, "name": "A String", # Optional. The name for this extension. The name is logged as part of the HTTP request logs. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number. This field is required except for AuthzExtension. - "observabilityMode": True or False, # Optional. When set to `TRUE`, enables `observability_mode` on the `ext_proc` filter. This makes `ext_proc` calls asynchronous. Envoy doesn't check for the response from `ext_proc` calls. For more information about the filter, see: https://www.envoyproxy.io/docs/envoy/v1.32.3/api-v3/extensions/filters/http/ext_proc/v3/ext_proc.proto#extensions-filters-http-ext-proc-v3-externalprocessor This field is helpful when you want to try out the extension in async log-only mode. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. Only `STREAMED` (default) body processing mode is supported. + "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. @@ -399,7 +399,7 @@

Method Details

"a_key": "", # Properties of the object. }, "name": "A String", # Optional. The name for this extension. The name is logged as part of the HTTP request logs. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number. This field is required except for AuthzExtension. - "observabilityMode": True or False, # Optional. When set to `TRUE`, enables `observability_mode` on the `ext_proc` filter. This makes `ext_proc` calls asynchronous. Envoy doesn't check for the response from `ext_proc` calls. For more information about the filter, see: https://www.envoyproxy.io/docs/envoy/v1.32.3/api-v3/extensions/filters/http/ext_proc/v3/ext_proc.proto#extensions-filters-http-ext-proc-v3-externalprocessor This field is helpful when you want to try out the extension in async log-only mode. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. Only `STREAMED` (default) body processing mode is supported. + "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. diff --git a/docs/dyn/networkservices_v1.projects.locations.lbRouteExtensions.html b/docs/dyn/networkservices_v1.projects.locations.lbRouteExtensions.html index 09cee11199..81f9064590 100644 --- a/docs/dyn/networkservices_v1.projects.locations.lbRouteExtensions.html +++ b/docs/dyn/networkservices_v1.projects.locations.lbRouteExtensions.html @@ -129,7 +129,7 @@

Method Details

"a_key": "", # Properties of the object. }, "name": "A String", # Optional. The name for this extension. The name is logged as part of the HTTP request logs. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number. This field is required except for AuthzExtension. - "observabilityMode": True or False, # Optional. When set to `TRUE`, enables `observability_mode` on the `ext_proc` filter. This makes `ext_proc` calls asynchronous. Envoy doesn't check for the response from `ext_proc` calls. For more information about the filter, see: https://www.envoyproxy.io/docs/envoy/v1.32.3/api-v3/extensions/filters/http/ext_proc/v3/ext_proc.proto#extensions-filters-http-ext-proc-v3-externalprocessor This field is helpful when you want to try out the extension in async log-only mode. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. Only `STREAMED` (default) body processing mode is supported. + "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. @@ -259,7 +259,7 @@

Method Details

"a_key": "", # Properties of the object. }, "name": "A String", # Optional. The name for this extension. The name is logged as part of the HTTP request logs. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number. This field is required except for AuthzExtension. - "observabilityMode": True or False, # Optional. When set to `TRUE`, enables `observability_mode` on the `ext_proc` filter. This makes `ext_proc` calls asynchronous. Envoy doesn't check for the response from `ext_proc` calls. For more information about the filter, see: https://www.envoyproxy.io/docs/envoy/v1.32.3/api-v3/extensions/filters/http/ext_proc/v3/ext_proc.proto#extensions-filters-http-ext-proc-v3-externalprocessor This field is helpful when you want to try out the extension in async log-only mode. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. Only `STREAMED` (default) body processing mode is supported. + "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. @@ -329,7 +329,7 @@

Method Details

"a_key": "", # Properties of the object. }, "name": "A String", # Optional. The name for this extension. The name is logged as part of the HTTP request logs. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number. This field is required except for AuthzExtension. - "observabilityMode": True or False, # Optional. When set to `TRUE`, enables `observability_mode` on the `ext_proc` filter. This makes `ext_proc` calls asynchronous. Envoy doesn't check for the response from `ext_proc` calls. For more information about the filter, see: https://www.envoyproxy.io/docs/envoy/v1.32.3/api-v3/extensions/filters/http/ext_proc/v3/ext_proc.proto#extensions-filters-http-ext-proc-v3-externalprocessor This field is helpful when you want to try out the extension in async log-only mode. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. Only `STREAMED` (default) body processing mode is supported. + "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. @@ -408,7 +408,7 @@

Method Details

"a_key": "", # Properties of the object. }, "name": "A String", # Optional. The name for this extension. The name is logged as part of the HTTP request logs. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number. This field is required except for AuthzExtension. - "observabilityMode": True or False, # Optional. When set to `TRUE`, enables `observability_mode` on the `ext_proc` filter. This makes `ext_proc` calls asynchronous. Envoy doesn't check for the response from `ext_proc` calls. For more information about the filter, see: https://www.envoyproxy.io/docs/envoy/v1.32.3/api-v3/extensions/filters/http/ext_proc/v3/ext_proc.proto#extensions-filters-http-ext-proc-v3-externalprocessor This field is helpful when you want to try out the extension in async log-only mode. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. Only `STREAMED` (default) body processing mode is supported. + "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. diff --git a/docs/dyn/networkservices_v1.projects.locations.lbTrafficExtensions.html b/docs/dyn/networkservices_v1.projects.locations.lbTrafficExtensions.html index b31c7aa35e..eb1607262b 100644 --- a/docs/dyn/networkservices_v1.projects.locations.lbTrafficExtensions.html +++ b/docs/dyn/networkservices_v1.projects.locations.lbTrafficExtensions.html @@ -129,7 +129,7 @@

Method Details

"a_key": "", # Properties of the object. }, "name": "A String", # Optional. The name for this extension. The name is logged as part of the HTTP request logs. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number. This field is required except for AuthzExtension. - "observabilityMode": True or False, # Optional. When set to `TRUE`, enables `observability_mode` on the `ext_proc` filter. This makes `ext_proc` calls asynchronous. Envoy doesn't check for the response from `ext_proc` calls. For more information about the filter, see: https://www.envoyproxy.io/docs/envoy/v1.32.3/api-v3/extensions/filters/http/ext_proc/v3/ext_proc.proto#extensions-filters-http-ext-proc-v3-externalprocessor This field is helpful when you want to try out the extension in async log-only mode. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. Only `STREAMED` (default) body processing mode is supported. + "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. @@ -259,7 +259,7 @@

Method Details

"a_key": "", # Properties of the object. }, "name": "A String", # Optional. The name for this extension. The name is logged as part of the HTTP request logs. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number. This field is required except for AuthzExtension. - "observabilityMode": True or False, # Optional. When set to `TRUE`, enables `observability_mode` on the `ext_proc` filter. This makes `ext_proc` calls asynchronous. Envoy doesn't check for the response from `ext_proc` calls. For more information about the filter, see: https://www.envoyproxy.io/docs/envoy/v1.32.3/api-v3/extensions/filters/http/ext_proc/v3/ext_proc.proto#extensions-filters-http-ext-proc-v3-externalprocessor This field is helpful when you want to try out the extension in async log-only mode. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. Only `STREAMED` (default) body processing mode is supported. + "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. @@ -329,7 +329,7 @@

Method Details

"a_key": "", # Properties of the object. }, "name": "A String", # Optional. The name for this extension. The name is logged as part of the HTTP request logs. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number. This field is required except for AuthzExtension. - "observabilityMode": True or False, # Optional. When set to `TRUE`, enables `observability_mode` on the `ext_proc` filter. This makes `ext_proc` calls asynchronous. Envoy doesn't check for the response from `ext_proc` calls. For more information about the filter, see: https://www.envoyproxy.io/docs/envoy/v1.32.3/api-v3/extensions/filters/http/ext_proc/v3/ext_proc.proto#extensions-filters-http-ext-proc-v3-externalprocessor This field is helpful when you want to try out the extension in async log-only mode. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. Only `STREAMED` (default) body processing mode is supported. + "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. @@ -408,7 +408,7 @@

Method Details

"a_key": "", # Properties of the object. }, "name": "A String", # Optional. The name for this extension. The name is logged as part of the HTTP request logs. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number. This field is required except for AuthzExtension. - "observabilityMode": True or False, # Optional. When set to `TRUE`, enables `observability_mode` on the `ext_proc` filter. This makes `ext_proc` calls asynchronous. Envoy doesn't check for the response from `ext_proc` calls. For more information about the filter, see: https://www.envoyproxy.io/docs/envoy/v1.32.3/api-v3/extensions/filters/http/ext_proc/v3/ext_proc.proto#extensions-filters-http-ext-proc-v3-externalprocessor This field is helpful when you want to try out the extension in async log-only mode. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. Only `STREAMED` (default) body processing mode is supported. + "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. diff --git a/docs/dyn/networkservices_v1beta1.projects.locations.authzExtensions.html b/docs/dyn/networkservices_v1beta1.projects.locations.authzExtensions.html index e411b97673..e731610f30 100644 --- a/docs/dyn/networkservices_v1beta1.projects.locations.authzExtensions.html +++ b/docs/dyn/networkservices_v1beta1.projects.locations.authzExtensions.html @@ -111,7 +111,7 @@

Method Details

The object takes the form of: { # `AuthzExtension` is a resource that allows traffic forwarding to a callout backend service to make an authorization decision. - "authority": "A String", # Required. The `:authority` header in the gRPC request sent from Envoy to the extension service. + "authority": "A String", # Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. It is required when the `service` field points to a backend service or a wasm plugin. "createTime": "A String", # Output only. The timestamp when the resource was created. "description": "A String", # Optional. A human-readable description of the resource. "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. @@ -217,7 +217,7 @@

Method Details

An object of the form: { # `AuthzExtension` is a resource that allows traffic forwarding to a callout backend service to make an authorization decision. - "authority": "A String", # Required. The `:authority` header in the gRPC request sent from Envoy to the extension service. + "authority": "A String", # Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. It is required when the `service` field points to a backend service or a wasm plugin. "createTime": "A String", # Output only. The timestamp when the resource was created. "description": "A String", # Optional. A human-readable description of the resource. "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. @@ -263,7 +263,7 @@

Method Details

{ # Message for response to listing `AuthzExtension` resources. "authzExtensions": [ # The list of `AuthzExtension` resources. { # `AuthzExtension` is a resource that allows traffic forwarding to a callout backend service to make an authorization decision. - "authority": "A String", # Required. The `:authority` header in the gRPC request sent from Envoy to the extension service. + "authority": "A String", # Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. It is required when the `service` field points to a backend service or a wasm plugin. "createTime": "A String", # Output only. The timestamp when the resource was created. "description": "A String", # Optional. A human-readable description of the resource. "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. @@ -318,7 +318,7 @@

Method Details

The object takes the form of: { # `AuthzExtension` is a resource that allows traffic forwarding to a callout backend service to make an authorization decision. - "authority": "A String", # Required. The `:authority` header in the gRPC request sent from Envoy to the extension service. + "authority": "A String", # Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. It is required when the `service` field points to a backend service or a wasm plugin. "createTime": "A String", # Output only. The timestamp when the resource was created. "description": "A String", # Optional. A human-readable description of the resource. "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. diff --git a/docs/dyn/networkservices_v1beta1.projects.locations.gateways.html b/docs/dyn/networkservices_v1beta1.projects.locations.gateways.html index 938f300f8f..fb80e0acad 100644 --- a/docs/dyn/networkservices_v1beta1.projects.locations.gateways.html +++ b/docs/dyn/networkservices_v1beta1.projects.locations.gateways.html @@ -119,6 +119,7 @@

Method Details

"addresses": [ # Optional. Zero or one IPv4 or IPv6 address on which the Gateway will receive the traffic. When no address is provided, an IP from the subnetwork is allocated This field only applies to gateways of type 'SECURE_WEB_GATEWAY'. Gateways of type 'OPEN_MESH' listen on 0.0.0.0 for IPv4 and :: for IPv6. "A String", ], + "allowGlobalAccess": True or False, # Optional. If true, the gateway will allow traffic from clients outside of the region where the gateway is located. This field is configurable only for gateways of type SECURE_WEB_GATEWAY. "certificateUrls": [ # Optional. A fully-qualified Certificates URL reference. The proxy presents a Certificate (selected based on SNI) when establishing a TLS connection. This feature only applies to gateways of type 'SECURE_WEB_GATEWAY'. "A String", ], @@ -227,6 +228,7 @@

Method Details

"addresses": [ # Optional. Zero or one IPv4 or IPv6 address on which the Gateway will receive the traffic. When no address is provided, an IP from the subnetwork is allocated This field only applies to gateways of type 'SECURE_WEB_GATEWAY'. Gateways of type 'OPEN_MESH' listen on 0.0.0.0 for IPv4 and :: for IPv6. "A String", ], + "allowGlobalAccess": True or False, # Optional. If true, the gateway will allow traffic from clients outside of the region where the gateway is located. This field is configurable only for gateways of type SECURE_WEB_GATEWAY. "certificateUrls": [ # Optional. A fully-qualified Certificates URL reference. The proxy presents a Certificate (selected based on SNI) when establishing a TLS connection. This feature only applies to gateways of type 'SECURE_WEB_GATEWAY'. "A String", ], @@ -275,6 +277,7 @@

Method Details

"addresses": [ # Optional. Zero or one IPv4 or IPv6 address on which the Gateway will receive the traffic. When no address is provided, an IP from the subnetwork is allocated This field only applies to gateways of type 'SECURE_WEB_GATEWAY'. Gateways of type 'OPEN_MESH' listen on 0.0.0.0 for IPv4 and :: for IPv6. "A String", ], + "allowGlobalAccess": True or False, # Optional. If true, the gateway will allow traffic from clients outside of the region where the gateway is located. This field is configurable only for gateways of type SECURE_WEB_GATEWAY. "certificateUrls": [ # Optional. A fully-qualified Certificates URL reference. The proxy presents a Certificate (selected based on SNI) when establishing a TLS connection. This feature only applies to gateways of type 'SECURE_WEB_GATEWAY'. "A String", ], @@ -334,6 +337,7 @@

Method Details

"addresses": [ # Optional. Zero or one IPv4 or IPv6 address on which the Gateway will receive the traffic. When no address is provided, an IP from the subnetwork is allocated This field only applies to gateways of type 'SECURE_WEB_GATEWAY'. Gateways of type 'OPEN_MESH' listen on 0.0.0.0 for IPv4 and :: for IPv6. "A String", ], + "allowGlobalAccess": True or False, # Optional. If true, the gateway will allow traffic from clients outside of the region where the gateway is located. This field is configurable only for gateways of type SECURE_WEB_GATEWAY. "certificateUrls": [ # Optional. A fully-qualified Certificates URL reference. The proxy presents a Certificate (selected based on SNI) when establishing a TLS connection. This feature only applies to gateways of type 'SECURE_WEB_GATEWAY'. "A String", ], diff --git a/docs/dyn/networkservices_v1beta1.projects.locations.lbEdgeExtensions.html b/docs/dyn/networkservices_v1beta1.projects.locations.lbEdgeExtensions.html index 248f9724b8..3c6ee3ba34 100644 --- a/docs/dyn/networkservices_v1beta1.projects.locations.lbEdgeExtensions.html +++ b/docs/dyn/networkservices_v1beta1.projects.locations.lbEdgeExtensions.html @@ -130,7 +130,7 @@

Method Details

"a_key": "", # Properties of the object. }, "name": "A String", # Optional. The name for this extension. The name is logged as part of the HTTP request logs. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number. This field is required except for AuthzExtension. - "observabilityMode": True or False, # Optional. When set to `TRUE`, enables `observability_mode` on the `ext_proc` filter. This makes `ext_proc` calls asynchronous. Envoy doesn't check for the response from `ext_proc` calls. For more information about the filter, see: https://www.envoyproxy.io/docs/envoy/v1.32.3/api-v3/extensions/filters/http/ext_proc/v3/ext_proc.proto#extensions-filters-http-ext-proc-v3-externalprocessor This field is helpful when you want to try out the extension in async log-only mode. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. Only `STREAMED` (default) body processing mode is supported. + "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. @@ -258,7 +258,7 @@

Method Details

"a_key": "", # Properties of the object. }, "name": "A String", # Optional. The name for this extension. The name is logged as part of the HTTP request logs. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number. This field is required except for AuthzExtension. - "observabilityMode": True or False, # Optional. When set to `TRUE`, enables `observability_mode` on the `ext_proc` filter. This makes `ext_proc` calls asynchronous. Envoy doesn't check for the response from `ext_proc` calls. For more information about the filter, see: https://www.envoyproxy.io/docs/envoy/v1.32.3/api-v3/extensions/filters/http/ext_proc/v3/ext_proc.proto#extensions-filters-http-ext-proc-v3-externalprocessor This field is helpful when you want to try out the extension in async log-only mode. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. Only `STREAMED` (default) body processing mode is supported. + "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. @@ -326,7 +326,7 @@

Method Details

"a_key": "", # Properties of the object. }, "name": "A String", # Optional. The name for this extension. The name is logged as part of the HTTP request logs. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number. This field is required except for AuthzExtension. - "observabilityMode": True or False, # Optional. When set to `TRUE`, enables `observability_mode` on the `ext_proc` filter. This makes `ext_proc` calls asynchronous. Envoy doesn't check for the response from `ext_proc` calls. For more information about the filter, see: https://www.envoyproxy.io/docs/envoy/v1.32.3/api-v3/extensions/filters/http/ext_proc/v3/ext_proc.proto#extensions-filters-http-ext-proc-v3-externalprocessor This field is helpful when you want to try out the extension in async log-only mode. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. Only `STREAMED` (default) body processing mode is supported. + "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. @@ -403,7 +403,7 @@

Method Details

"a_key": "", # Properties of the object. }, "name": "A String", # Optional. The name for this extension. The name is logged as part of the HTTP request logs. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number. This field is required except for AuthzExtension. - "observabilityMode": True or False, # Optional. When set to `TRUE`, enables `observability_mode` on the `ext_proc` filter. This makes `ext_proc` calls asynchronous. Envoy doesn't check for the response from `ext_proc` calls. For more information about the filter, see: https://www.envoyproxy.io/docs/envoy/v1.32.3/api-v3/extensions/filters/http/ext_proc/v3/ext_proc.proto#extensions-filters-http-ext-proc-v3-externalprocessor This field is helpful when you want to try out the extension in async log-only mode. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. Only `STREAMED` (default) body processing mode is supported. + "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. diff --git a/docs/dyn/networkservices_v1beta1.projects.locations.lbRouteExtensions.html b/docs/dyn/networkservices_v1beta1.projects.locations.lbRouteExtensions.html index 618b6a2f49..b5c275cc15 100644 --- a/docs/dyn/networkservices_v1beta1.projects.locations.lbRouteExtensions.html +++ b/docs/dyn/networkservices_v1beta1.projects.locations.lbRouteExtensions.html @@ -130,7 +130,7 @@

Method Details

"a_key": "", # Properties of the object. }, "name": "A String", # Optional. The name for this extension. The name is logged as part of the HTTP request logs. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number. This field is required except for AuthzExtension. - "observabilityMode": True or False, # Optional. When set to `TRUE`, enables `observability_mode` on the `ext_proc` filter. This makes `ext_proc` calls asynchronous. Envoy doesn't check for the response from `ext_proc` calls. For more information about the filter, see: https://www.envoyproxy.io/docs/envoy/v1.32.3/api-v3/extensions/filters/http/ext_proc/v3/ext_proc.proto#extensions-filters-http-ext-proc-v3-externalprocessor This field is helpful when you want to try out the extension in async log-only mode. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. Only `STREAMED` (default) body processing mode is supported. + "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. @@ -261,7 +261,7 @@

Method Details

"a_key": "", # Properties of the object. }, "name": "A String", # Optional. The name for this extension. The name is logged as part of the HTTP request logs. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number. This field is required except for AuthzExtension. - "observabilityMode": True or False, # Optional. When set to `TRUE`, enables `observability_mode` on the `ext_proc` filter. This makes `ext_proc` calls asynchronous. Envoy doesn't check for the response from `ext_proc` calls. For more information about the filter, see: https://www.envoyproxy.io/docs/envoy/v1.32.3/api-v3/extensions/filters/http/ext_proc/v3/ext_proc.proto#extensions-filters-http-ext-proc-v3-externalprocessor This field is helpful when you want to try out the extension in async log-only mode. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. Only `STREAMED` (default) body processing mode is supported. + "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. @@ -332,7 +332,7 @@

Method Details

"a_key": "", # Properties of the object. }, "name": "A String", # Optional. The name for this extension. The name is logged as part of the HTTP request logs. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number. This field is required except for AuthzExtension. - "observabilityMode": True or False, # Optional. When set to `TRUE`, enables `observability_mode` on the `ext_proc` filter. This makes `ext_proc` calls asynchronous. Envoy doesn't check for the response from `ext_proc` calls. For more information about the filter, see: https://www.envoyproxy.io/docs/envoy/v1.32.3/api-v3/extensions/filters/http/ext_proc/v3/ext_proc.proto#extensions-filters-http-ext-proc-v3-externalprocessor This field is helpful when you want to try out the extension in async log-only mode. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. Only `STREAMED` (default) body processing mode is supported. + "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. @@ -412,7 +412,7 @@

Method Details

"a_key": "", # Properties of the object. }, "name": "A String", # Optional. The name for this extension. The name is logged as part of the HTTP request logs. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number. This field is required except for AuthzExtension. - "observabilityMode": True or False, # Optional. When set to `TRUE`, enables `observability_mode` on the `ext_proc` filter. This makes `ext_proc` calls asynchronous. Envoy doesn't check for the response from `ext_proc` calls. For more information about the filter, see: https://www.envoyproxy.io/docs/envoy/v1.32.3/api-v3/extensions/filters/http/ext_proc/v3/ext_proc.proto#extensions-filters-http-ext-proc-v3-externalprocessor This field is helpful when you want to try out the extension in async log-only mode. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. Only `STREAMED` (default) body processing mode is supported. + "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. diff --git a/docs/dyn/networkservices_v1beta1.projects.locations.lbTcpExtensions.html b/docs/dyn/networkservices_v1beta1.projects.locations.lbTcpExtensions.html index 7f2cfeb9c0..ff2626d004 100644 --- a/docs/dyn/networkservices_v1beta1.projects.locations.lbTcpExtensions.html +++ b/docs/dyn/networkservices_v1beta1.projects.locations.lbTcpExtensions.html @@ -130,7 +130,7 @@

Method Details

"a_key": "", # Properties of the object. }, "name": "A String", # Optional. The name for this extension. The name is logged as part of the HTTP request logs. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number. This field is required except for AuthzExtension. - "observabilityMode": True or False, # Optional. When set to `TRUE`, enables `observability_mode` on the `ext_proc` filter. This makes `ext_proc` calls asynchronous. Envoy doesn't check for the response from `ext_proc` calls. For more information about the filter, see: https://www.envoyproxy.io/docs/envoy/v1.32.3/api-v3/extensions/filters/http/ext_proc/v3/ext_proc.proto#extensions-filters-http-ext-proc-v3-externalprocessor This field is helpful when you want to try out the extension in async log-only mode. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. Only `STREAMED` (default) body processing mode is supported. + "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. @@ -258,7 +258,7 @@

Method Details

"a_key": "", # Properties of the object. }, "name": "A String", # Optional. The name for this extension. The name is logged as part of the HTTP request logs. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number. This field is required except for AuthzExtension. - "observabilityMode": True or False, # Optional. When set to `TRUE`, enables `observability_mode` on the `ext_proc` filter. This makes `ext_proc` calls asynchronous. Envoy doesn't check for the response from `ext_proc` calls. For more information about the filter, see: https://www.envoyproxy.io/docs/envoy/v1.32.3/api-v3/extensions/filters/http/ext_proc/v3/ext_proc.proto#extensions-filters-http-ext-proc-v3-externalprocessor This field is helpful when you want to try out the extension in async log-only mode. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. Only `STREAMED` (default) body processing mode is supported. + "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. @@ -326,7 +326,7 @@

Method Details

"a_key": "", # Properties of the object. }, "name": "A String", # Optional. The name for this extension. The name is logged as part of the HTTP request logs. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number. This field is required except for AuthzExtension. - "observabilityMode": True or False, # Optional. When set to `TRUE`, enables `observability_mode` on the `ext_proc` filter. This makes `ext_proc` calls asynchronous. Envoy doesn't check for the response from `ext_proc` calls. For more information about the filter, see: https://www.envoyproxy.io/docs/envoy/v1.32.3/api-v3/extensions/filters/http/ext_proc/v3/ext_proc.proto#extensions-filters-http-ext-proc-v3-externalprocessor This field is helpful when you want to try out the extension in async log-only mode. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. Only `STREAMED` (default) body processing mode is supported. + "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. @@ -403,7 +403,7 @@

Method Details

"a_key": "", # Properties of the object. }, "name": "A String", # Optional. The name for this extension. The name is logged as part of the HTTP request logs. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number. This field is required except for AuthzExtension. - "observabilityMode": True or False, # Optional. When set to `TRUE`, enables `observability_mode` on the `ext_proc` filter. This makes `ext_proc` calls asynchronous. Envoy doesn't check for the response from `ext_proc` calls. For more information about the filter, see: https://www.envoyproxy.io/docs/envoy/v1.32.3/api-v3/extensions/filters/http/ext_proc/v3/ext_proc.proto#extensions-filters-http-ext-proc-v3-externalprocessor This field is helpful when you want to try out the extension in async log-only mode. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. Only `STREAMED` (default) body processing mode is supported. + "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. diff --git a/docs/dyn/networkservices_v1beta1.projects.locations.lbTrafficExtensions.html b/docs/dyn/networkservices_v1beta1.projects.locations.lbTrafficExtensions.html index 8f50ed1fa9..07d2b57dcf 100644 --- a/docs/dyn/networkservices_v1beta1.projects.locations.lbTrafficExtensions.html +++ b/docs/dyn/networkservices_v1beta1.projects.locations.lbTrafficExtensions.html @@ -130,7 +130,7 @@

Method Details

"a_key": "", # Properties of the object. }, "name": "A String", # Optional. The name for this extension. The name is logged as part of the HTTP request logs. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number. This field is required except for AuthzExtension. - "observabilityMode": True or False, # Optional. When set to `TRUE`, enables `observability_mode` on the `ext_proc` filter. This makes `ext_proc` calls asynchronous. Envoy doesn't check for the response from `ext_proc` calls. For more information about the filter, see: https://www.envoyproxy.io/docs/envoy/v1.32.3/api-v3/extensions/filters/http/ext_proc/v3/ext_proc.proto#extensions-filters-http-ext-proc-v3-externalprocessor This field is helpful when you want to try out the extension in async log-only mode. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. Only `STREAMED` (default) body processing mode is supported. + "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. @@ -261,7 +261,7 @@

Method Details

"a_key": "", # Properties of the object. }, "name": "A String", # Optional. The name for this extension. The name is logged as part of the HTTP request logs. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number. This field is required except for AuthzExtension. - "observabilityMode": True or False, # Optional. When set to `TRUE`, enables `observability_mode` on the `ext_proc` filter. This makes `ext_proc` calls asynchronous. Envoy doesn't check for the response from `ext_proc` calls. For more information about the filter, see: https://www.envoyproxy.io/docs/envoy/v1.32.3/api-v3/extensions/filters/http/ext_proc/v3/ext_proc.proto#extensions-filters-http-ext-proc-v3-externalprocessor This field is helpful when you want to try out the extension in async log-only mode. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. Only `STREAMED` (default) body processing mode is supported. + "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. @@ -332,7 +332,7 @@

Method Details

"a_key": "", # Properties of the object. }, "name": "A String", # Optional. The name for this extension. The name is logged as part of the HTTP request logs. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number. This field is required except for AuthzExtension. - "observabilityMode": True or False, # Optional. When set to `TRUE`, enables `observability_mode` on the `ext_proc` filter. This makes `ext_proc` calls asynchronous. Envoy doesn't check for the response from `ext_proc` calls. For more information about the filter, see: https://www.envoyproxy.io/docs/envoy/v1.32.3/api-v3/extensions/filters/http/ext_proc/v3/ext_proc.proto#extensions-filters-http-ext-proc-v3-externalprocessor This field is helpful when you want to try out the extension in async log-only mode. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. Only `STREAMED` (default) body processing mode is supported. + "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. @@ -412,7 +412,7 @@

Method Details

"a_key": "", # Properties of the object. }, "name": "A String", # Optional. The name for this extension. The name is logged as part of the HTTP request logs. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number. This field is required except for AuthzExtension. - "observabilityMode": True or False, # Optional. When set to `TRUE`, enables `observability_mode` on the `ext_proc` filter. This makes `ext_proc` calls asynchronous. Envoy doesn't check for the response from `ext_proc` calls. For more information about the filter, see: https://www.envoyproxy.io/docs/envoy/v1.32.3/api-v3/extensions/filters/http/ext_proc/v3/ext_proc.proto#extensions-filters-http-ext-proc-v3-externalprocessor This field is helpful when you want to try out the extension in async log-only mode. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. Only `STREAMED` (default) body processing mode is supported. + "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. diff --git a/docs/dyn/ondemandscanning_v1.projects.locations.scans.vulnerabilities.html b/docs/dyn/ondemandscanning_v1.projects.locations.scans.vulnerabilities.html index fcc856911c..bec51da01a 100644 --- a/docs/dyn/ondemandscanning_v1.projects.locations.scans.vulnerabilities.html +++ b/docs/dyn/ondemandscanning_v1.projects.locations.scans.vulnerabilities.html @@ -804,6 +804,7 @@

Method Details

"diffId": "A String", # The diff ID (typically a sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package was found. Optional field that only applies to source repository scanning. }, }, ], @@ -919,6 +920,7 @@

Method Details

"diffId": "A String", # The diff ID (typically a sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package was found. Optional field that only applies to source repository scanning. }, ], "fixAvailable": True or False, # Output only. Whether a fix is available for this package. diff --git a/docs/dyn/ondemandscanning_v1beta1.projects.locations.scans.vulnerabilities.html b/docs/dyn/ondemandscanning_v1beta1.projects.locations.scans.vulnerabilities.html index eed2e5bb37..61a438109d 100644 --- a/docs/dyn/ondemandscanning_v1beta1.projects.locations.scans.vulnerabilities.html +++ b/docs/dyn/ondemandscanning_v1beta1.projects.locations.scans.vulnerabilities.html @@ -804,6 +804,7 @@

Method Details

"diffId": "A String", # The diff ID (typically a sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package was found. Optional field that only applies to source repository scanning. }, }, ], @@ -919,6 +920,7 @@

Method Details

"diffId": "A String", # The diff ID (typically a sha256 hash) of the layer in the container image. "index": 42, # The index of the layer in the container image. }, + "lineNumber": 42, # Line number in the file where the package was found. Optional field that only applies to source repository scanning. }, ], "fixAvailable": True or False, # Output only. Whether a fix is available for this package. diff --git a/docs/dyn/orgpolicy_v2.folders.constraints.html b/docs/dyn/orgpolicy_v2.folders.constraints.html index c2363ca686..04a2ab29c1 100644 --- a/docs/dyn/orgpolicy_v2.folders.constraints.html +++ b/docs/dyn/orgpolicy_v2.folders.constraints.html @@ -107,7 +107,7 @@

Method Details

{ # The response returned from the ListConstraints method. "constraints": [ # The collection of constraints that are available on the targeted resource. - { # A constraint describes a way to restrict resource's configuration. For example, you could enforce a constraint that controls which Google Cloud services can be activated across an organization, or whether a Compute Engine instance can have serial port connections established. Constraints can be configured by the organization policy administrator to fit the needs of the organization by setting a policy that includes constraints at different locations in the organization's resource hierarchy. Policies are inherited down the resource hierarchy from higher levels, but can also be overridden. For details about the inheritance rules, see `Policy`. Constraints have a default behavior determined by the `constraint_default` field, which is the enforcement behavior that is used in the absence of a policy being defined or inherited for the resource in question. + { # A constraint describes a way to restrict a resource's configuration. For example, you could enforce a constraint that controls which Google Cloud services can be activated across an organization, or whether a Compute Engine instance can have serial port connections established. Constraints can be configured by the organization policy administrator to fit the needs of the organization by setting a policy that includes constraints at different locations in the organization's resource hierarchy. Policies are inherited down the resource hierarchy from higher levels, but can also be overridden. For details about the inheritance rules, see `Policy`. Constraints have a default behavior determined by the `constraint_default` field, which is the enforcement behavior that is used in the absence of a policy being defined or inherited for the resource in question. "booleanConstraint": { # A constraint type is enforced or not enforced, which is configured in the `PolicyRule`. If `customConstraintDefinition` is defined, this constraint is a managed constraint. # Defines this constraint as being a boolean constraint. "customConstraintDefinition": { # Custom constraint definition. Defines this as a managed constraint. # Custom constraint definition. Defines this as a managed constraint. "actionType": "A String", # Allow or deny type. @@ -120,13 +120,13 @@

Method Details

"defaultValue": "", # Sets the value of the parameter in an assignment if no value is given. "item": "A String", # Determines the parameter's value structure. For example, `LIST` can be specified by defining `type: LIST`, and `item: STRING`. "metadata": { # Defines Metadata structure. # Defines subproperties primarily used by the UI to display user-friendly information. - "description": "A String", # Detailed description of what this `parameter` is and use of it. Mutable. + "description": "A String", # Detailed description of what this `parameter` is and its use. Mutable. }, "type": "A String", # Type of the parameter. - "validValuesExpr": "A String", # Provides a CEL expression to specify the acceptable parameter values during assignment. For example, parameterName in ("parameterValue1", "parameterValue2") + "validValuesExpr": "A String", # Provides a CEL expression to specify the acceptable parameter values during assignment. For example, parameterName in ("parameterValue1", "parameterValue2"). }, }, - "resourceTypes": [ # The resource instance type on which this policy applies. Format will be of the form : `/` Example: * `compute.googleapis.com/Instance`. + "resourceTypes": [ # The resource instance type that this policy applies to, in the format `/`. Example: * `compute.googleapis.com/Instance`. "A String", ], }, @@ -134,7 +134,7 @@

Method Details

"constraintDefault": "A String", # The evaluation behavior of this constraint in the absence of a policy. "description": "A String", # Detailed description of what this constraint controls as well as how and where it is enforced. Mutable. "displayName": "A String", # The human readable name. Mutable. - "equivalentConstraint": "A String", # Managed constraint and canned constraint sometimes can have equivalents. This field is used to store the equivalent constraint name. + "equivalentConstraint": "A String", # Defines the equivalent constraint name, if it exists. Managed constraints can have an equivalent legacy managed constraint, and legacy managed constraints can have an equivalent managed constraint. For example, "constraints/iam.disableServiceAccountKeyUpload" is equivalent to "constraints/iam.managed.disableServiceAccountKeyUpload". "listConstraint": { # A constraint type that allows or disallows a list of string values, which are configured in the `PolicyRule`. # Defines this constraint as being a list constraint. "supportsIn": True or False, # Indicates whether values grouped into categories can be used in `Policy.allowed_values` and `Policy.denied_values`. For example, `"in:Python"` would match any value in the 'Python' group. "supportsUnder": True or False, # Indicates whether subtrees of the Resource Manager resource hierarchy can be used in `Policy.allowed_values` and `Policy.denied_values`. For example, `"under:folders/123"` would match any resource under the 'folders/123' folder. diff --git a/docs/dyn/orgpolicy_v2.folders.policies.html b/docs/dyn/orgpolicy_v2.folders.policies.html index e13d74cedb..107a6c4fd1 100644 --- a/docs/dyn/orgpolicy_v2.folders.policies.html +++ b/docs/dyn/orgpolicy_v2.folders.policies.html @@ -85,10 +85,10 @@

Instance Methods

Deletes a policy. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the constraint or organization policy does not exist.

get(name, x__xgafv=None)

-

Gets a policy on a resource. If no policy is set on the resource, `NOT_FOUND` is returned. The `etag` value can be used with `UpdatePolicy()` to update a policy during read-modify-write.

+

Gets a policy on a resource. If no policy is set on the resource, `NOT_FOUND` is returned. The entity tag (ETag) can be used with `UpdatePolicy()` to update a policy during read-modify-write.

getEffectivePolicy(name, x__xgafv=None)

-

Gets the effective policy on a resource. This is the result of merging policies in the resource hierarchy and evaluating conditions. The returned policy will not have an `etag` or `condition` set because it is an evaluated policy across multiple resources. Subtrees of Resource Manager resource hierarchy with 'under:' prefix will not be expanded.

+

Gets the effective policy on a resource. This is the result of merging policies in the resource hierarchy and evaluating conditions. The returned policy will not have an ETag or `condition` set because it is an evaluated policy across multiple resources. Subtrees of Resource Manager resource hierarchy with 'under:' prefix will not be expanded.

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

Retrieves all of the policies that exist on a particular resource.

@@ -97,7 +97,7 @@

Instance Methods

Retrieves the next page of results.

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

-

Updates a policy. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the constraint or the policy do not exist. Returns a `google.rpc.Status` with `google.rpc.Code.ABORTED` if the etag supplied in the request does not match the persisted etag of the policy Note: the supplied policy will perform a full overwrite of all fields.

+

Updates a policy. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the constraint or the policy doesn't exist. Returns a `google.rpc.Status` with `google.rpc.Code.ABORTED` if the ETag supplied in the request doesn't match the persisted ETag of the policy. Note: the supplied policy will perform a full overwrite of all fields.

Method Details

close() @@ -113,14 +113,14 @@

Method Details

body: object, The request body. The object takes the form of: -{ # Defines an organization policy which is used to specify constraints for configurations of Google Cloud resources. +{ # Defines an organization policy that is used to specify constraints for configurations of Google Cloud resources. "alternate": { # Similar to PolicySpec but with an extra 'launch' field for launch reference. The PolicySpec here is specific for dry-run. # Deprecated. "launch": "A String", # Reference to the launch that will be used while audit logging and to control the launch. Should be set only in the alternate policy. - "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -147,11 +147,11 @@

Method Details

"updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, }, - "dryRunSpec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "dryRunSpec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -177,13 +177,13 @@

Method Details

], "updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, - "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This 'etag' 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. - "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint which this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. - "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This entity tag (ETag) 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. + "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint that this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. + "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -219,14 +219,14 @@

Method Details

Returns: An object of the form: - { # Defines an organization policy which is used to specify constraints for configurations of Google Cloud resources. + { # Defines an organization policy that is used to specify constraints for configurations of Google Cloud resources. "alternate": { # Similar to PolicySpec but with an extra 'launch' field for launch reference. The PolicySpec here is specific for dry-run. # Deprecated. "launch": "A String", # Reference to the launch that will be used while audit logging and to control the launch. Should be set only in the alternate policy. - "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -253,11 +253,11 @@

Method Details

"updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, }, - "dryRunSpec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "dryRunSpec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -283,13 +283,13 @@

Method Details

], "updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, - "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This 'etag' 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. - "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint which this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. - "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This entity tag (ETag) 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. + "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint that this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. + "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -324,7 +324,7 @@

Method Details

Args: name: string, Required. Name of the policy to delete. See the policy entry for naming rules. (required) - etag: string, Optional. The current etag of policy. If an etag is provided and does not match the current etag of the policy, deletion will be blocked and an ABORTED error will be returned. + etag: string, Optional. The current entity tag (ETag) of the organization policy. If an ETag is provided and doesn't match the current ETag of the policy, deletion of the policy will be blocked and an `ABORTED` error will be returned. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format @@ -339,7 +339,7 @@

Method Details

get(name, x__xgafv=None) -
Gets a policy on a resource. If no policy is set on the resource, `NOT_FOUND` is returned. The `etag` value can be used with `UpdatePolicy()` to update a policy during read-modify-write.
+  
Gets a policy on a resource. If no policy is set on the resource, `NOT_FOUND` is returned. The entity tag (ETag) can be used with `UpdatePolicy()` to update a policy during read-modify-write.
 
 Args:
   name: string, Required. Resource name of the policy. See Policy for naming requirements. (required)
@@ -351,14 +351,14 @@ 

Method Details

Returns: An object of the form: - { # Defines an organization policy which is used to specify constraints for configurations of Google Cloud resources. + { # Defines an organization policy that is used to specify constraints for configurations of Google Cloud resources. "alternate": { # Similar to PolicySpec but with an extra 'launch' field for launch reference. The PolicySpec here is specific for dry-run. # Deprecated. "launch": "A String", # Reference to the launch that will be used while audit logging and to control the launch. Should be set only in the alternate policy. - "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -385,11 +385,11 @@

Method Details

"updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, }, - "dryRunSpec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "dryRunSpec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -415,13 +415,13 @@

Method Details

], "updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, - "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This 'etag' 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. - "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint which this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. - "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This entity tag (ETag) 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. + "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint that this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. + "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -452,7 +452,7 @@

Method Details

getEffectivePolicy(name, x__xgafv=None) -
Gets the effective policy on a resource. This is the result of merging policies in the resource hierarchy and evaluating conditions. The returned policy will not have an `etag` or `condition` set because it is an evaluated policy across multiple resources. Subtrees of Resource Manager resource hierarchy with 'under:' prefix will not be expanded.
+  
Gets the effective policy on a resource. This is the result of merging policies in the resource hierarchy and evaluating conditions. The returned policy will not have an ETag or `condition` set because it is an evaluated policy across multiple resources. Subtrees of Resource Manager resource hierarchy with 'under:' prefix will not be expanded.
 
 Args:
   name: string, Required. The effective policy to compute. See Policy for naming requirements. (required)
@@ -464,14 +464,14 @@ 

Method Details

Returns: An object of the form: - { # Defines an organization policy which is used to specify constraints for configurations of Google Cloud resources. + { # Defines an organization policy that is used to specify constraints for configurations of Google Cloud resources. "alternate": { # Similar to PolicySpec but with an extra 'launch' field for launch reference. The PolicySpec here is specific for dry-run. # Deprecated. "launch": "A String", # Reference to the launch that will be used while audit logging and to control the launch. Should be set only in the alternate policy. - "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -498,11 +498,11 @@

Method Details

"updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, }, - "dryRunSpec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "dryRunSpec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -528,13 +528,13 @@

Method Details

], "updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, - "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This 'etag' 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. - "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint which this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. - "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This entity tag (ETag) 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. + "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint that this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. + "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -582,14 +582,14 @@

Method Details

{ # The response returned from the ListPolicies method. It will be empty if no policies are set on the resource. "nextPageToken": "A String", # Page token used to retrieve the next page. This is currently not used, but the server may at any point start supplying a valid token. "policies": [ # All policies that exist on the resource. It will be empty if no policies are set. - { # Defines an organization policy which is used to specify constraints for configurations of Google Cloud resources. + { # Defines an organization policy that is used to specify constraints for configurations of Google Cloud resources. "alternate": { # Similar to PolicySpec but with an extra 'launch' field for launch reference. The PolicySpec here is specific for dry-run. # Deprecated. "launch": "A String", # Reference to the launch that will be used while audit logging and to control the launch. Should be set only in the alternate policy. - "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -616,11 +616,11 @@

Method Details

"updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, }, - "dryRunSpec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "dryRunSpec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -646,13 +646,13 @@

Method Details

], "updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, - "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This 'etag' 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. - "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint which this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. - "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This entity tag (ETag) 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. + "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint that this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. + "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -699,21 +699,21 @@

Method Details

patch(name, body=None, updateMask=None, x__xgafv=None) -
Updates a policy. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the constraint or the policy do not exist. Returns a `google.rpc.Status` with `google.rpc.Code.ABORTED` if the etag supplied in the request does not match the persisted etag of the policy Note: the supplied policy will perform a full overwrite of all fields.
+  
Updates a policy. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the constraint or the policy doesn't exist. Returns a `google.rpc.Status` with `google.rpc.Code.ABORTED` if the ETag supplied in the request doesn't match the persisted ETag of the policy. Note: the supplied policy will perform a full overwrite of all fields.
 
 Args:
-  name: string, Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint which this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. (required)
+  name: string, Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint that this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. (required)
   body: object, The request body.
     The object takes the form of:
 
-{ # Defines an organization policy which is used to specify constraints for configurations of Google Cloud resources.
+{ # Defines an organization policy that is used to specify constraints for configurations of Google Cloud resources.
   "alternate": { # Similar to PolicySpec but with an extra 'launch' field for launch reference. The PolicySpec here is specific for dry-run. # Deprecated.
     "launch": "A String", # Reference to the launch that will be used while audit logging and to control the launch. Should be set only in the alternate policy.
-    "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources.
-      "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset.
-      "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints.
+    "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources.
+      "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset.
+      "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints.
       "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false.
-      "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence.
+      "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence.
         { # A rule used to express this policy.
           "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints.
           "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')`
@@ -740,11 +740,11 @@ 

Method Details

"updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, }, - "dryRunSpec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "dryRunSpec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -770,13 +770,13 @@

Method Details

], "updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, - "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This 'etag' 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. - "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint which this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. - "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This entity tag (ETag) 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. + "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint that this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. + "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -804,7 +804,7 @@

Method Details

}, } - updateMask: string, Field mask used to specify the fields to be overwritten in the policy by the set. The fields specified in the update_mask are relative to the policy, not the full request. + updateMask: string, Field mask used to specify the fields to be overwritten in the policy. The fields specified in the update_mask are relative to the policy, not the full request. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format @@ -813,14 +813,14 @@

Method Details

Returns: An object of the form: - { # Defines an organization policy which is used to specify constraints for configurations of Google Cloud resources. + { # Defines an organization policy that is used to specify constraints for configurations of Google Cloud resources. "alternate": { # Similar to PolicySpec but with an extra 'launch' field for launch reference. The PolicySpec here is specific for dry-run. # Deprecated. "launch": "A String", # Reference to the launch that will be used while audit logging and to control the launch. Should be set only in the alternate policy. - "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -847,11 +847,11 @@

Method Details

"updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, }, - "dryRunSpec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "dryRunSpec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -877,13 +877,13 @@

Method Details

], "updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, - "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This 'etag' 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. - "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint which this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. - "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This entity tag (ETag) 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. + "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint that this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. + "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` diff --git a/docs/dyn/orgpolicy_v2.organizations.constraints.html b/docs/dyn/orgpolicy_v2.organizations.constraints.html index 964896a651..c51d4d3eb2 100644 --- a/docs/dyn/orgpolicy_v2.organizations.constraints.html +++ b/docs/dyn/orgpolicy_v2.organizations.constraints.html @@ -107,7 +107,7 @@

Method Details

{ # The response returned from the ListConstraints method. "constraints": [ # The collection of constraints that are available on the targeted resource. - { # A constraint describes a way to restrict resource's configuration. For example, you could enforce a constraint that controls which Google Cloud services can be activated across an organization, or whether a Compute Engine instance can have serial port connections established. Constraints can be configured by the organization policy administrator to fit the needs of the organization by setting a policy that includes constraints at different locations in the organization's resource hierarchy. Policies are inherited down the resource hierarchy from higher levels, but can also be overridden. For details about the inheritance rules, see `Policy`. Constraints have a default behavior determined by the `constraint_default` field, which is the enforcement behavior that is used in the absence of a policy being defined or inherited for the resource in question. + { # A constraint describes a way to restrict a resource's configuration. For example, you could enforce a constraint that controls which Google Cloud services can be activated across an organization, or whether a Compute Engine instance can have serial port connections established. Constraints can be configured by the organization policy administrator to fit the needs of the organization by setting a policy that includes constraints at different locations in the organization's resource hierarchy. Policies are inherited down the resource hierarchy from higher levels, but can also be overridden. For details about the inheritance rules, see `Policy`. Constraints have a default behavior determined by the `constraint_default` field, which is the enforcement behavior that is used in the absence of a policy being defined or inherited for the resource in question. "booleanConstraint": { # A constraint type is enforced or not enforced, which is configured in the `PolicyRule`. If `customConstraintDefinition` is defined, this constraint is a managed constraint. # Defines this constraint as being a boolean constraint. "customConstraintDefinition": { # Custom constraint definition. Defines this as a managed constraint. # Custom constraint definition. Defines this as a managed constraint. "actionType": "A String", # Allow or deny type. @@ -120,13 +120,13 @@

Method Details

"defaultValue": "", # Sets the value of the parameter in an assignment if no value is given. "item": "A String", # Determines the parameter's value structure. For example, `LIST` can be specified by defining `type: LIST`, and `item: STRING`. "metadata": { # Defines Metadata structure. # Defines subproperties primarily used by the UI to display user-friendly information. - "description": "A String", # Detailed description of what this `parameter` is and use of it. Mutable. + "description": "A String", # Detailed description of what this `parameter` is and its use. Mutable. }, "type": "A String", # Type of the parameter. - "validValuesExpr": "A String", # Provides a CEL expression to specify the acceptable parameter values during assignment. For example, parameterName in ("parameterValue1", "parameterValue2") + "validValuesExpr": "A String", # Provides a CEL expression to specify the acceptable parameter values during assignment. For example, parameterName in ("parameterValue1", "parameterValue2"). }, }, - "resourceTypes": [ # The resource instance type on which this policy applies. Format will be of the form : `/` Example: * `compute.googleapis.com/Instance`. + "resourceTypes": [ # The resource instance type that this policy applies to, in the format `/`. Example: * `compute.googleapis.com/Instance`. "A String", ], }, @@ -134,7 +134,7 @@

Method Details

"constraintDefault": "A String", # The evaluation behavior of this constraint in the absence of a policy. "description": "A String", # Detailed description of what this constraint controls as well as how and where it is enforced. Mutable. "displayName": "A String", # The human readable name. Mutable. - "equivalentConstraint": "A String", # Managed constraint and canned constraint sometimes can have equivalents. This field is used to store the equivalent constraint name. + "equivalentConstraint": "A String", # Defines the equivalent constraint name, if it exists. Managed constraints can have an equivalent legacy managed constraint, and legacy managed constraints can have an equivalent managed constraint. For example, "constraints/iam.disableServiceAccountKeyUpload" is equivalent to "constraints/iam.managed.disableServiceAccountKeyUpload". "listConstraint": { # A constraint type that allows or disallows a list of string values, which are configured in the `PolicyRule`. # Defines this constraint as being a list constraint. "supportsIn": True or False, # Indicates whether values grouped into categories can be used in `Policy.allowed_values` and `Policy.denied_values`. For example, `"in:Python"` would match any value in the 'Python' group. "supportsUnder": True or False, # Indicates whether subtrees of the Resource Manager resource hierarchy can be used in `Policy.allowed_values` and `Policy.denied_values`. For example, `"under:folders/123"` would match any resource under the 'folders/123' folder. diff --git a/docs/dyn/orgpolicy_v2.organizations.policies.html b/docs/dyn/orgpolicy_v2.organizations.policies.html index a72b96105d..9a53cc62fb 100644 --- a/docs/dyn/orgpolicy_v2.organizations.policies.html +++ b/docs/dyn/orgpolicy_v2.organizations.policies.html @@ -85,10 +85,10 @@

Instance Methods

Deletes a policy. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the constraint or organization policy does not exist.

get(name, x__xgafv=None)

-

Gets a policy on a resource. If no policy is set on the resource, `NOT_FOUND` is returned. The `etag` value can be used with `UpdatePolicy()` to update a policy during read-modify-write.

+

Gets a policy on a resource. If no policy is set on the resource, `NOT_FOUND` is returned. The entity tag (ETag) can be used with `UpdatePolicy()` to update a policy during read-modify-write.

getEffectivePolicy(name, x__xgafv=None)

-

Gets the effective policy on a resource. This is the result of merging policies in the resource hierarchy and evaluating conditions. The returned policy will not have an `etag` or `condition` set because it is an evaluated policy across multiple resources. Subtrees of Resource Manager resource hierarchy with 'under:' prefix will not be expanded.

+

Gets the effective policy on a resource. This is the result of merging policies in the resource hierarchy and evaluating conditions. The returned policy will not have an ETag or `condition` set because it is an evaluated policy across multiple resources. Subtrees of Resource Manager resource hierarchy with 'under:' prefix will not be expanded.

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

Retrieves all of the policies that exist on a particular resource.

@@ -97,7 +97,7 @@

Instance Methods

Retrieves the next page of results.

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

-

Updates a policy. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the constraint or the policy do not exist. Returns a `google.rpc.Status` with `google.rpc.Code.ABORTED` if the etag supplied in the request does not match the persisted etag of the policy Note: the supplied policy will perform a full overwrite of all fields.

+

Updates a policy. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the constraint or the policy doesn't exist. Returns a `google.rpc.Status` with `google.rpc.Code.ABORTED` if the ETag supplied in the request doesn't match the persisted ETag of the policy. Note: the supplied policy will perform a full overwrite of all fields.

Method Details

close() @@ -113,14 +113,14 @@

Method Details

body: object, The request body. The object takes the form of: -{ # Defines an organization policy which is used to specify constraints for configurations of Google Cloud resources. +{ # Defines an organization policy that is used to specify constraints for configurations of Google Cloud resources. "alternate": { # Similar to PolicySpec but with an extra 'launch' field for launch reference. The PolicySpec here is specific for dry-run. # Deprecated. "launch": "A String", # Reference to the launch that will be used while audit logging and to control the launch. Should be set only in the alternate policy. - "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -147,11 +147,11 @@

Method Details

"updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, }, - "dryRunSpec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "dryRunSpec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -177,13 +177,13 @@

Method Details

], "updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, - "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This 'etag' 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. - "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint which this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. - "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This entity tag (ETag) 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. + "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint that this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. + "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -219,14 +219,14 @@

Method Details

Returns: An object of the form: - { # Defines an organization policy which is used to specify constraints for configurations of Google Cloud resources. + { # Defines an organization policy that is used to specify constraints for configurations of Google Cloud resources. "alternate": { # Similar to PolicySpec but with an extra 'launch' field for launch reference. The PolicySpec here is specific for dry-run. # Deprecated. "launch": "A String", # Reference to the launch that will be used while audit logging and to control the launch. Should be set only in the alternate policy. - "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -253,11 +253,11 @@

Method Details

"updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, }, - "dryRunSpec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "dryRunSpec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -283,13 +283,13 @@

Method Details

], "updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, - "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This 'etag' 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. - "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint which this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. - "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This entity tag (ETag) 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. + "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint that this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. + "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -324,7 +324,7 @@

Method Details

Args: name: string, Required. Name of the policy to delete. See the policy entry for naming rules. (required) - etag: string, Optional. The current etag of policy. If an etag is provided and does not match the current etag of the policy, deletion will be blocked and an ABORTED error will be returned. + etag: string, Optional. The current entity tag (ETag) of the organization policy. If an ETag is provided and doesn't match the current ETag of the policy, deletion of the policy will be blocked and an `ABORTED` error will be returned. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format @@ -339,7 +339,7 @@

Method Details

get(name, x__xgafv=None) -
Gets a policy on a resource. If no policy is set on the resource, `NOT_FOUND` is returned. The `etag` value can be used with `UpdatePolicy()` to update a policy during read-modify-write.
+  
Gets a policy on a resource. If no policy is set on the resource, `NOT_FOUND` is returned. The entity tag (ETag) can be used with `UpdatePolicy()` to update a policy during read-modify-write.
 
 Args:
   name: string, Required. Resource name of the policy. See Policy for naming requirements. (required)
@@ -351,14 +351,14 @@ 

Method Details

Returns: An object of the form: - { # Defines an organization policy which is used to specify constraints for configurations of Google Cloud resources. + { # Defines an organization policy that is used to specify constraints for configurations of Google Cloud resources. "alternate": { # Similar to PolicySpec but with an extra 'launch' field for launch reference. The PolicySpec here is specific for dry-run. # Deprecated. "launch": "A String", # Reference to the launch that will be used while audit logging and to control the launch. Should be set only in the alternate policy. - "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -385,11 +385,11 @@

Method Details

"updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, }, - "dryRunSpec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "dryRunSpec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -415,13 +415,13 @@

Method Details

], "updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, - "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This 'etag' 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. - "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint which this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. - "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This entity tag (ETag) 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. + "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint that this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. + "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -452,7 +452,7 @@

Method Details

getEffectivePolicy(name, x__xgafv=None) -
Gets the effective policy on a resource. This is the result of merging policies in the resource hierarchy and evaluating conditions. The returned policy will not have an `etag` or `condition` set because it is an evaluated policy across multiple resources. Subtrees of Resource Manager resource hierarchy with 'under:' prefix will not be expanded.
+  
Gets the effective policy on a resource. This is the result of merging policies in the resource hierarchy and evaluating conditions. The returned policy will not have an ETag or `condition` set because it is an evaluated policy across multiple resources. Subtrees of Resource Manager resource hierarchy with 'under:' prefix will not be expanded.
 
 Args:
   name: string, Required. The effective policy to compute. See Policy for naming requirements. (required)
@@ -464,14 +464,14 @@ 

Method Details

Returns: An object of the form: - { # Defines an organization policy which is used to specify constraints for configurations of Google Cloud resources. + { # Defines an organization policy that is used to specify constraints for configurations of Google Cloud resources. "alternate": { # Similar to PolicySpec but with an extra 'launch' field for launch reference. The PolicySpec here is specific for dry-run. # Deprecated. "launch": "A String", # Reference to the launch that will be used while audit logging and to control the launch. Should be set only in the alternate policy. - "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -498,11 +498,11 @@

Method Details

"updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, }, - "dryRunSpec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "dryRunSpec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -528,13 +528,13 @@

Method Details

], "updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, - "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This 'etag' 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. - "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint which this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. - "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This entity tag (ETag) 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. + "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint that this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. + "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -582,14 +582,14 @@

Method Details

{ # The response returned from the ListPolicies method. It will be empty if no policies are set on the resource. "nextPageToken": "A String", # Page token used to retrieve the next page. This is currently not used, but the server may at any point start supplying a valid token. "policies": [ # All policies that exist on the resource. It will be empty if no policies are set. - { # Defines an organization policy which is used to specify constraints for configurations of Google Cloud resources. + { # Defines an organization policy that is used to specify constraints for configurations of Google Cloud resources. "alternate": { # Similar to PolicySpec but with an extra 'launch' field for launch reference. The PolicySpec here is specific for dry-run. # Deprecated. "launch": "A String", # Reference to the launch that will be used while audit logging and to control the launch. Should be set only in the alternate policy. - "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -616,11 +616,11 @@

Method Details

"updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, }, - "dryRunSpec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "dryRunSpec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -646,13 +646,13 @@

Method Details

], "updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, - "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This 'etag' 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. - "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint which this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. - "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This entity tag (ETag) 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. + "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint that this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. + "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -699,21 +699,21 @@

Method Details

patch(name, body=None, updateMask=None, x__xgafv=None) -
Updates a policy. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the constraint or the policy do not exist. Returns a `google.rpc.Status` with `google.rpc.Code.ABORTED` if the etag supplied in the request does not match the persisted etag of the policy Note: the supplied policy will perform a full overwrite of all fields.
+  
Updates a policy. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the constraint or the policy doesn't exist. Returns a `google.rpc.Status` with `google.rpc.Code.ABORTED` if the ETag supplied in the request doesn't match the persisted ETag of the policy. Note: the supplied policy will perform a full overwrite of all fields.
 
 Args:
-  name: string, Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint which this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. (required)
+  name: string, Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint that this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. (required)
   body: object, The request body.
     The object takes the form of:
 
-{ # Defines an organization policy which is used to specify constraints for configurations of Google Cloud resources.
+{ # Defines an organization policy that is used to specify constraints for configurations of Google Cloud resources.
   "alternate": { # Similar to PolicySpec but with an extra 'launch' field for launch reference. The PolicySpec here is specific for dry-run. # Deprecated.
     "launch": "A String", # Reference to the launch that will be used while audit logging and to control the launch. Should be set only in the alternate policy.
-    "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources.
-      "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset.
-      "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints.
+    "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources.
+      "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset.
+      "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints.
       "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false.
-      "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence.
+      "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence.
         { # A rule used to express this policy.
           "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints.
           "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')`
@@ -740,11 +740,11 @@ 

Method Details

"updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, }, - "dryRunSpec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "dryRunSpec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -770,13 +770,13 @@

Method Details

], "updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, - "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This 'etag' 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. - "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint which this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. - "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This entity tag (ETag) 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. + "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint that this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. + "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -804,7 +804,7 @@

Method Details

}, } - updateMask: string, Field mask used to specify the fields to be overwritten in the policy by the set. The fields specified in the update_mask are relative to the policy, not the full request. + updateMask: string, Field mask used to specify the fields to be overwritten in the policy. The fields specified in the update_mask are relative to the policy, not the full request. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format @@ -813,14 +813,14 @@

Method Details

Returns: An object of the form: - { # Defines an organization policy which is used to specify constraints for configurations of Google Cloud resources. + { # Defines an organization policy that is used to specify constraints for configurations of Google Cloud resources. "alternate": { # Similar to PolicySpec but with an extra 'launch' field for launch reference. The PolicySpec here is specific for dry-run. # Deprecated. "launch": "A String", # Reference to the launch that will be used while audit logging and to control the launch. Should be set only in the alternate policy. - "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -847,11 +847,11 @@

Method Details

"updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, }, - "dryRunSpec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "dryRunSpec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -877,13 +877,13 @@

Method Details

], "updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, - "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This 'etag' 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. - "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint which this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. - "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This entity tag (ETag) 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. + "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint that this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. + "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` diff --git a/docs/dyn/orgpolicy_v2.projects.constraints.html b/docs/dyn/orgpolicy_v2.projects.constraints.html index 2e0cc0fe6c..e43f86d84c 100644 --- a/docs/dyn/orgpolicy_v2.projects.constraints.html +++ b/docs/dyn/orgpolicy_v2.projects.constraints.html @@ -107,7 +107,7 @@

Method Details

{ # The response returned from the ListConstraints method. "constraints": [ # The collection of constraints that are available on the targeted resource. - { # A constraint describes a way to restrict resource's configuration. For example, you could enforce a constraint that controls which Google Cloud services can be activated across an organization, or whether a Compute Engine instance can have serial port connections established. Constraints can be configured by the organization policy administrator to fit the needs of the organization by setting a policy that includes constraints at different locations in the organization's resource hierarchy. Policies are inherited down the resource hierarchy from higher levels, but can also be overridden. For details about the inheritance rules, see `Policy`. Constraints have a default behavior determined by the `constraint_default` field, which is the enforcement behavior that is used in the absence of a policy being defined or inherited for the resource in question. + { # A constraint describes a way to restrict a resource's configuration. For example, you could enforce a constraint that controls which Google Cloud services can be activated across an organization, or whether a Compute Engine instance can have serial port connections established. Constraints can be configured by the organization policy administrator to fit the needs of the organization by setting a policy that includes constraints at different locations in the organization's resource hierarchy. Policies are inherited down the resource hierarchy from higher levels, but can also be overridden. For details about the inheritance rules, see `Policy`. Constraints have a default behavior determined by the `constraint_default` field, which is the enforcement behavior that is used in the absence of a policy being defined or inherited for the resource in question. "booleanConstraint": { # A constraint type is enforced or not enforced, which is configured in the `PolicyRule`. If `customConstraintDefinition` is defined, this constraint is a managed constraint. # Defines this constraint as being a boolean constraint. "customConstraintDefinition": { # Custom constraint definition. Defines this as a managed constraint. # Custom constraint definition. Defines this as a managed constraint. "actionType": "A String", # Allow or deny type. @@ -120,13 +120,13 @@

Method Details

"defaultValue": "", # Sets the value of the parameter in an assignment if no value is given. "item": "A String", # Determines the parameter's value structure. For example, `LIST` can be specified by defining `type: LIST`, and `item: STRING`. "metadata": { # Defines Metadata structure. # Defines subproperties primarily used by the UI to display user-friendly information. - "description": "A String", # Detailed description of what this `parameter` is and use of it. Mutable. + "description": "A String", # Detailed description of what this `parameter` is and its use. Mutable. }, "type": "A String", # Type of the parameter. - "validValuesExpr": "A String", # Provides a CEL expression to specify the acceptable parameter values during assignment. For example, parameterName in ("parameterValue1", "parameterValue2") + "validValuesExpr": "A String", # Provides a CEL expression to specify the acceptable parameter values during assignment. For example, parameterName in ("parameterValue1", "parameterValue2"). }, }, - "resourceTypes": [ # The resource instance type on which this policy applies. Format will be of the form : `/` Example: * `compute.googleapis.com/Instance`. + "resourceTypes": [ # The resource instance type that this policy applies to, in the format `/`. Example: * `compute.googleapis.com/Instance`. "A String", ], }, @@ -134,7 +134,7 @@

Method Details

"constraintDefault": "A String", # The evaluation behavior of this constraint in the absence of a policy. "description": "A String", # Detailed description of what this constraint controls as well as how and where it is enforced. Mutable. "displayName": "A String", # The human readable name. Mutable. - "equivalentConstraint": "A String", # Managed constraint and canned constraint sometimes can have equivalents. This field is used to store the equivalent constraint name. + "equivalentConstraint": "A String", # Defines the equivalent constraint name, if it exists. Managed constraints can have an equivalent legacy managed constraint, and legacy managed constraints can have an equivalent managed constraint. For example, "constraints/iam.disableServiceAccountKeyUpload" is equivalent to "constraints/iam.managed.disableServiceAccountKeyUpload". "listConstraint": { # A constraint type that allows or disallows a list of string values, which are configured in the `PolicyRule`. # Defines this constraint as being a list constraint. "supportsIn": True or False, # Indicates whether values grouped into categories can be used in `Policy.allowed_values` and `Policy.denied_values`. For example, `"in:Python"` would match any value in the 'Python' group. "supportsUnder": True or False, # Indicates whether subtrees of the Resource Manager resource hierarchy can be used in `Policy.allowed_values` and `Policy.denied_values`. For example, `"under:folders/123"` would match any resource under the 'folders/123' folder. diff --git a/docs/dyn/orgpolicy_v2.projects.policies.html b/docs/dyn/orgpolicy_v2.projects.policies.html index 7130e3ec91..30d5c82b2d 100644 --- a/docs/dyn/orgpolicy_v2.projects.policies.html +++ b/docs/dyn/orgpolicy_v2.projects.policies.html @@ -85,10 +85,10 @@

Instance Methods

Deletes a policy. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the constraint or organization policy does not exist.

get(name, x__xgafv=None)

-

Gets a policy on a resource. If no policy is set on the resource, `NOT_FOUND` is returned. The `etag` value can be used with `UpdatePolicy()` to update a policy during read-modify-write.

+

Gets a policy on a resource. If no policy is set on the resource, `NOT_FOUND` is returned. The entity tag (ETag) can be used with `UpdatePolicy()` to update a policy during read-modify-write.

getEffectivePolicy(name, x__xgafv=None)

-

Gets the effective policy on a resource. This is the result of merging policies in the resource hierarchy and evaluating conditions. The returned policy will not have an `etag` or `condition` set because it is an evaluated policy across multiple resources. Subtrees of Resource Manager resource hierarchy with 'under:' prefix will not be expanded.

+

Gets the effective policy on a resource. This is the result of merging policies in the resource hierarchy and evaluating conditions. The returned policy will not have an ETag or `condition` set because it is an evaluated policy across multiple resources. Subtrees of Resource Manager resource hierarchy with 'under:' prefix will not be expanded.

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

Retrieves all of the policies that exist on a particular resource.

@@ -97,7 +97,7 @@

Instance Methods

Retrieves the next page of results.

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

-

Updates a policy. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the constraint or the policy do not exist. Returns a `google.rpc.Status` with `google.rpc.Code.ABORTED` if the etag supplied in the request does not match the persisted etag of the policy Note: the supplied policy will perform a full overwrite of all fields.

+

Updates a policy. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the constraint or the policy doesn't exist. Returns a `google.rpc.Status` with `google.rpc.Code.ABORTED` if the ETag supplied in the request doesn't match the persisted ETag of the policy. Note: the supplied policy will perform a full overwrite of all fields.

Method Details

close() @@ -113,14 +113,14 @@

Method Details

body: object, The request body. The object takes the form of: -{ # Defines an organization policy which is used to specify constraints for configurations of Google Cloud resources. +{ # Defines an organization policy that is used to specify constraints for configurations of Google Cloud resources. "alternate": { # Similar to PolicySpec but with an extra 'launch' field for launch reference. The PolicySpec here is specific for dry-run. # Deprecated. "launch": "A String", # Reference to the launch that will be used while audit logging and to control the launch. Should be set only in the alternate policy. - "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -147,11 +147,11 @@

Method Details

"updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, }, - "dryRunSpec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "dryRunSpec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -177,13 +177,13 @@

Method Details

], "updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, - "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This 'etag' 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. - "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint which this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. - "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This entity tag (ETag) 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. + "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint that this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. + "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -219,14 +219,14 @@

Method Details

Returns: An object of the form: - { # Defines an organization policy which is used to specify constraints for configurations of Google Cloud resources. + { # Defines an organization policy that is used to specify constraints for configurations of Google Cloud resources. "alternate": { # Similar to PolicySpec but with an extra 'launch' field for launch reference. The PolicySpec here is specific for dry-run. # Deprecated. "launch": "A String", # Reference to the launch that will be used while audit logging and to control the launch. Should be set only in the alternate policy. - "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -253,11 +253,11 @@

Method Details

"updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, }, - "dryRunSpec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "dryRunSpec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -283,13 +283,13 @@

Method Details

], "updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, - "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This 'etag' 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. - "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint which this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. - "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This entity tag (ETag) 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. + "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint that this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. + "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -324,7 +324,7 @@

Method Details

Args: name: string, Required. Name of the policy to delete. See the policy entry for naming rules. (required) - etag: string, Optional. The current etag of policy. If an etag is provided and does not match the current etag of the policy, deletion will be blocked and an ABORTED error will be returned. + etag: string, Optional. The current entity tag (ETag) of the organization policy. If an ETag is provided and doesn't match the current ETag of the policy, deletion of the policy will be blocked and an `ABORTED` error will be returned. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format @@ -339,7 +339,7 @@

Method Details

get(name, x__xgafv=None) -
Gets a policy on a resource. If no policy is set on the resource, `NOT_FOUND` is returned. The `etag` value can be used with `UpdatePolicy()` to update a policy during read-modify-write.
+  
Gets a policy on a resource. If no policy is set on the resource, `NOT_FOUND` is returned. The entity tag (ETag) can be used with `UpdatePolicy()` to update a policy during read-modify-write.
 
 Args:
   name: string, Required. Resource name of the policy. See Policy for naming requirements. (required)
@@ -351,14 +351,14 @@ 

Method Details

Returns: An object of the form: - { # Defines an organization policy which is used to specify constraints for configurations of Google Cloud resources. + { # Defines an organization policy that is used to specify constraints for configurations of Google Cloud resources. "alternate": { # Similar to PolicySpec but with an extra 'launch' field for launch reference. The PolicySpec here is specific for dry-run. # Deprecated. "launch": "A String", # Reference to the launch that will be used while audit logging and to control the launch. Should be set only in the alternate policy. - "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -385,11 +385,11 @@

Method Details

"updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, }, - "dryRunSpec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "dryRunSpec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -415,13 +415,13 @@

Method Details

], "updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, - "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This 'etag' 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. - "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint which this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. - "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This entity tag (ETag) 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. + "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint that this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. + "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -452,7 +452,7 @@

Method Details

getEffectivePolicy(name, x__xgafv=None) -
Gets the effective policy on a resource. This is the result of merging policies in the resource hierarchy and evaluating conditions. The returned policy will not have an `etag` or `condition` set because it is an evaluated policy across multiple resources. Subtrees of Resource Manager resource hierarchy with 'under:' prefix will not be expanded.
+  
Gets the effective policy on a resource. This is the result of merging policies in the resource hierarchy and evaluating conditions. The returned policy will not have an ETag or `condition` set because it is an evaluated policy across multiple resources. Subtrees of Resource Manager resource hierarchy with 'under:' prefix will not be expanded.
 
 Args:
   name: string, Required. The effective policy to compute. See Policy for naming requirements. (required)
@@ -464,14 +464,14 @@ 

Method Details

Returns: An object of the form: - { # Defines an organization policy which is used to specify constraints for configurations of Google Cloud resources. + { # Defines an organization policy that is used to specify constraints for configurations of Google Cloud resources. "alternate": { # Similar to PolicySpec but with an extra 'launch' field for launch reference. The PolicySpec here is specific for dry-run. # Deprecated. "launch": "A String", # Reference to the launch that will be used while audit logging and to control the launch. Should be set only in the alternate policy. - "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -498,11 +498,11 @@

Method Details

"updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, }, - "dryRunSpec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "dryRunSpec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -528,13 +528,13 @@

Method Details

], "updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, - "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This 'etag' 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. - "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint which this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. - "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This entity tag (ETag) 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. + "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint that this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. + "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -582,14 +582,14 @@

Method Details

{ # The response returned from the ListPolicies method. It will be empty if no policies are set on the resource. "nextPageToken": "A String", # Page token used to retrieve the next page. This is currently not used, but the server may at any point start supplying a valid token. "policies": [ # All policies that exist on the resource. It will be empty if no policies are set. - { # Defines an organization policy which is used to specify constraints for configurations of Google Cloud resources. + { # Defines an organization policy that is used to specify constraints for configurations of Google Cloud resources. "alternate": { # Similar to PolicySpec but with an extra 'launch' field for launch reference. The PolicySpec here is specific for dry-run. # Deprecated. "launch": "A String", # Reference to the launch that will be used while audit logging and to control the launch. Should be set only in the alternate policy. - "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -616,11 +616,11 @@

Method Details

"updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, }, - "dryRunSpec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "dryRunSpec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -646,13 +646,13 @@

Method Details

], "updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, - "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This 'etag' 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. - "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint which this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. - "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This entity tag (ETag) 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. + "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint that this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. + "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -699,21 +699,21 @@

Method Details

patch(name, body=None, updateMask=None, x__xgafv=None) -
Updates a policy. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the constraint or the policy do not exist. Returns a `google.rpc.Status` with `google.rpc.Code.ABORTED` if the etag supplied in the request does not match the persisted etag of the policy Note: the supplied policy will perform a full overwrite of all fields.
+  
Updates a policy. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the constraint or the policy doesn't exist. Returns a `google.rpc.Status` with `google.rpc.Code.ABORTED` if the ETag supplied in the request doesn't match the persisted ETag of the policy. Note: the supplied policy will perform a full overwrite of all fields.
 
 Args:
-  name: string, Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint which this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. (required)
+  name: string, Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint that this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. (required)
   body: object, The request body.
     The object takes the form of:
 
-{ # Defines an organization policy which is used to specify constraints for configurations of Google Cloud resources.
+{ # Defines an organization policy that is used to specify constraints for configurations of Google Cloud resources.
   "alternate": { # Similar to PolicySpec but with an extra 'launch' field for launch reference. The PolicySpec here is specific for dry-run. # Deprecated.
     "launch": "A String", # Reference to the launch that will be used while audit logging and to control the launch. Should be set only in the alternate policy.
-    "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources.
-      "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset.
-      "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints.
+    "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources.
+      "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset.
+      "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints.
       "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false.
-      "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence.
+      "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence.
         { # A rule used to express this policy.
           "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints.
           "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')`
@@ -740,11 +740,11 @@ 

Method Details

"updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, }, - "dryRunSpec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "dryRunSpec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -770,13 +770,13 @@

Method Details

], "updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, - "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This 'etag' 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. - "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint which this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. - "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This entity tag (ETag) 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. + "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint that this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. + "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -804,7 +804,7 @@

Method Details

}, } - updateMask: string, Field mask used to specify the fields to be overwritten in the policy by the set. The fields specified in the update_mask are relative to the policy, not the full request. + updateMask: string, Field mask used to specify the fields to be overwritten in the policy. The fields specified in the update_mask are relative to the policy, not the full request. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format @@ -813,14 +813,14 @@

Method Details

Returns: An object of the form: - { # Defines an organization policy which is used to specify constraints for configurations of Google Cloud resources. + { # Defines an organization policy that is used to specify constraints for configurations of Google Cloud resources. "alternate": { # Similar to PolicySpec but with an extra 'launch' field for launch reference. The PolicySpec here is specific for dry-run. # Deprecated. "launch": "A String", # Reference to the launch that will be used while audit logging and to control the launch. Should be set only in the alternate policy. - "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -847,11 +847,11 @@

Method Details

"updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, }, - "dryRunSpec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "dryRunSpec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -877,13 +877,13 @@

Method Details

], "updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, - "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This 'etag' 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. - "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint which this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. - "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This entity tag (ETag) 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. + "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint that this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. + "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` diff --git a/docs/dyn/policysimulator_v1.organizations.locations.orgPolicyViolationsPreviews.html b/docs/dyn/policysimulator_v1.organizations.locations.orgPolicyViolationsPreviews.html index 4dc612f35f..5a03754574 100644 --- a/docs/dyn/policysimulator_v1.organizations.locations.orgPolicyViolationsPreviews.html +++ b/docs/dyn/policysimulator_v1.organizations.locations.orgPolicyViolationsPreviews.html @@ -142,14 +142,14 @@

Method Details

], "policies": [ # Optional. The OrgPolicy changes to preview violations for. Any existing OrgPolicies with the same name will be overridden in the simulation. That is, violations will be determined as if all policies in the overlay were created or updated. { # A change to an OrgPolicy. - "policy": { # Defines an organization policy which is used to specify constraints for configurations of Google Cloud resources. # Optional. The new or updated OrgPolicy. + "policy": { # Defines an organization policy that is used to specify constraints for configurations of Google Cloud resources. # Optional. The new or updated OrgPolicy. "alternate": { # Similar to PolicySpec but with an extra 'launch' field for launch reference. The PolicySpec here is specific for dry-run. # Deprecated. "launch": "A String", # Reference to the launch that will be used while audit logging and to control the launch. Should be set only in the alternate policy. - "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -176,11 +176,11 @@

Method Details

"updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, }, - "dryRunSpec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "dryRunSpec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -206,13 +206,13 @@

Method Details

], "updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, - "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This 'etag' 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. - "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint which this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. - "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This entity tag (ETag) 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. + "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint that this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. + "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -326,14 +326,14 @@

Method Details

], "policies": [ # Optional. The OrgPolicy changes to preview violations for. Any existing OrgPolicies with the same name will be overridden in the simulation. That is, violations will be determined as if all policies in the overlay were created or updated. { # A change to an OrgPolicy. - "policy": { # Defines an organization policy which is used to specify constraints for configurations of Google Cloud resources. # Optional. The new or updated OrgPolicy. + "policy": { # Defines an organization policy that is used to specify constraints for configurations of Google Cloud resources. # Optional. The new or updated OrgPolicy. "alternate": { # Similar to PolicySpec but with an extra 'launch' field for launch reference. The PolicySpec here is specific for dry-run. # Deprecated. "launch": "A String", # Reference to the launch that will be used while audit logging and to control the launch. Should be set only in the alternate policy. - "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -360,11 +360,11 @@

Method Details

"updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, }, - "dryRunSpec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "dryRunSpec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -390,13 +390,13 @@

Method Details

], "updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, - "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This 'etag' 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. - "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint which this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. - "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This entity tag (ETag) 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. + "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint that this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. + "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -486,14 +486,14 @@

Method Details

], "policies": [ # Optional. The OrgPolicy changes to preview violations for. Any existing OrgPolicies with the same name will be overridden in the simulation. That is, violations will be determined as if all policies in the overlay were created or updated. { # A change to an OrgPolicy. - "policy": { # Defines an organization policy which is used to specify constraints for configurations of Google Cloud resources. # Optional. The new or updated OrgPolicy. + "policy": { # Defines an organization policy that is used to specify constraints for configurations of Google Cloud resources. # Optional. The new or updated OrgPolicy. "alternate": { # Similar to PolicySpec but with an extra 'launch' field for launch reference. The PolicySpec here is specific for dry-run. # Deprecated. "launch": "A String", # Reference to the launch that will be used while audit logging and to control the launch. Should be set only in the alternate policy. - "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -520,11 +520,11 @@

Method Details

"updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, }, - "dryRunSpec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "dryRunSpec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -550,13 +550,13 @@

Method Details

], "updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, - "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This 'etag' 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. - "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint which this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. - "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This entity tag (ETag) 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. + "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint that this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. + "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` diff --git a/docs/dyn/policysimulator_v1beta.organizations.locations.orgPolicyViolationsPreviews.html b/docs/dyn/policysimulator_v1beta.organizations.locations.orgPolicyViolationsPreviews.html index 13c03d6289..cce9f98d57 100644 --- a/docs/dyn/policysimulator_v1beta.organizations.locations.orgPolicyViolationsPreviews.html +++ b/docs/dyn/policysimulator_v1beta.organizations.locations.orgPolicyViolationsPreviews.html @@ -145,14 +145,14 @@

Method Details

], "policies": [ # Optional. The OrgPolicy changes to preview violations for. Any existing OrgPolicies with the same name will be overridden in the simulation. That is, violations will be determined as if all policies in the overlay were created or updated. { # A change to an OrgPolicy. - "policy": { # Defines an organization policy which is used to specify constraints for configurations of Google Cloud resources. # Optional. The new or updated OrgPolicy. + "policy": { # Defines an organization policy that is used to specify constraints for configurations of Google Cloud resources. # Optional. The new or updated OrgPolicy. "alternate": { # Similar to PolicySpec but with an extra 'launch' field for launch reference. The PolicySpec here is specific for dry-run. # Deprecated. "launch": "A String", # Reference to the launch that will be used while audit logging and to control the launch. Should be set only in the alternate policy. - "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -179,11 +179,11 @@

Method Details

"updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, }, - "dryRunSpec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "dryRunSpec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -209,13 +209,13 @@

Method Details

], "updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, - "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This 'etag' 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. - "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint which this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. - "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This entity tag (ETag) 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. + "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint that this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. + "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -324,14 +324,14 @@

Method Details

], "policies": [ # Optional. The OrgPolicy changes to preview violations for. Any existing OrgPolicies with the same name will be overridden in the simulation. That is, violations will be determined as if all policies in the overlay were created or updated. { # A change to an OrgPolicy. - "policy": { # Defines an organization policy which is used to specify constraints for configurations of Google Cloud resources. # Optional. The new or updated OrgPolicy. + "policy": { # Defines an organization policy that is used to specify constraints for configurations of Google Cloud resources. # Optional. The new or updated OrgPolicy. "alternate": { # Similar to PolicySpec but with an extra 'launch' field for launch reference. The PolicySpec here is specific for dry-run. # Deprecated. "launch": "A String", # Reference to the launch that will be used while audit logging and to control the launch. Should be set only in the alternate policy. - "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -358,11 +358,11 @@

Method Details

"updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, }, - "dryRunSpec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "dryRunSpec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -388,13 +388,13 @@

Method Details

], "updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, - "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This 'etag' 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. - "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint which this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. - "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This entity tag (ETag) 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. + "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint that this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. + "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -507,14 +507,14 @@

Method Details

], "policies": [ # Optional. The OrgPolicy changes to preview violations for. Any existing OrgPolicies with the same name will be overridden in the simulation. That is, violations will be determined as if all policies in the overlay were created or updated. { # A change to an OrgPolicy. - "policy": { # Defines an organization policy which is used to specify constraints for configurations of Google Cloud resources. # Optional. The new or updated OrgPolicy. + "policy": { # Defines an organization policy that is used to specify constraints for configurations of Google Cloud resources. # Optional. The new or updated OrgPolicy. "alternate": { # Similar to PolicySpec but with an extra 'launch' field for launch reference. The PolicySpec here is specific for dry-run. # Deprecated. "launch": "A String", # Reference to the launch that will be used while audit logging and to control the launch. Should be set only in the alternate policy. - "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -541,11 +541,11 @@

Method Details

"updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, }, - "dryRunSpec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "dryRunSpec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -571,13 +571,13 @@

Method Details

], "updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, - "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This 'etag' 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. - "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint which this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. - "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This entity tag (ETag) 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. + "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint that this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. + "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -667,14 +667,14 @@

Method Details

], "policies": [ # Optional. The OrgPolicy changes to preview violations for. Any existing OrgPolicies with the same name will be overridden in the simulation. That is, violations will be determined as if all policies in the overlay were created or updated. { # A change to an OrgPolicy. - "policy": { # Defines an organization policy which is used to specify constraints for configurations of Google Cloud resources. # Optional. The new or updated OrgPolicy. + "policy": { # Defines an organization policy that is used to specify constraints for configurations of Google Cloud resources. # Optional. The new or updated OrgPolicy. "alternate": { # Similar to PolicySpec but with an extra 'launch' field for launch reference. The PolicySpec here is specific for dry-run. # Deprecated. "launch": "A String", # Reference to the launch that will be used while audit logging and to control the launch. Should be set only in the alternate policy. - "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Specify constraint for configurations of Google Cloud resources. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -701,11 +701,11 @@

Method Details

"updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, }, - "dryRunSpec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "dryRunSpec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` @@ -731,13 +731,13 @@

Method Details

], "updateTime": "A String", # Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy. }, - "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This 'etag' 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. - "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint which this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. - "spec": { # Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. - "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset. - "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. + "etag": "A String", # Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This entity tag (ETag) 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. + "name": "A String", # Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint that this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number. + "spec": { # Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources. # Basic information about the organization policy. + "etag": "A String", # An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset. + "inheritFromParent": True or False, # Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints. "reset": True or False, # Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false. - "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. + "rules": [ # In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence. { # A rule used to express this policy. "allowAll": True or False, # Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')` diff --git a/docs/dyn/pubsub_v1.projects.subscriptions.html b/docs/dyn/pubsub_v1.projects.subscriptions.html index e4cea4586d..68687ac196 100644 --- a/docs/dyn/pubsub_v1.projects.subscriptions.html +++ b/docs/dyn/pubsub_v1.projects.subscriptions.html @@ -179,6 +179,13 @@

Method Details

"useTopicSchema": True or False, # Optional. When true, use the topic's schema as the columns to write to in BigQuery, if it exists. `use_topic_schema` and `use_table_schema` cannot be enabled at the same time. "writeMetadata": True or False, # Optional. When true, write the subscription name, message_id, publish_time, attributes, and ordering_key to additional columns in the table. The subscription name, message_id, and publish_time fields are put in their own columns while all other message properties (other than data) are written to a JSON object in the attributes column. }, + "bigtableConfig": { # Configuration for a Bigtable subscription. The Pub/Sub message will be written to a Bigtable row as follows: - row key: subscription name and message ID delimited by #. - columns: message bytes written to a single column family "data" with an empty-string column qualifier. - cell timestamp: the message publish timestamp. # Optional. If delivery to Bigtable is used with this subscription, this field is used to configure it. + "appProfileId": "A String", # Optional. The app profile to use for the Bigtable writes. If not specified, the "default" application profile will be used. The app profile must use single-cluster routing. + "serviceAccountEmail": "A String", # Optional. The service account to use to write to Bigtable. The subscription creator or updater that specifies this field must have `iam.serviceAccounts.actAs` permission on the service account. If not specified, the Pub/Sub [service agent](https://cloud.google.com/iam/docs/service-agents), service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used. + "state": "A String", # Output only. An output-only field that indicates whether or not the subscription can receive messages. + "table": "A String", # Optional. The unique name of the table to write messages to. Values are of the form `projects//instances//tables/`. + "writeMetadata": True or False, # Optional. When true, write the subscription name, message_id, publish_time, attributes, and ordering_key to additional columns in the table under the pubsub_metadata column family. The subscription name, message_id, and publish_time fields are put in their own columns while all other message properties (other than data) are written to a JSON object in the attributes column. + }, "cloudStorageConfig": { # Configuration for a Cloud Storage subscription. # Optional. If delivery to Google Cloud Storage is used with this subscription, this field is used to configure it. "avroConfig": { # Configuration for writing message data in Avro format. Message payloads and metadata will be written to files as an Avro binary. # Optional. If set, message data will be written to Cloud Storage in Avro format. "useTopicSchema": True or False, # Optional. When true, the output Cloud Storage file will be serialized using the topic schema, if it exists. @@ -282,6 +289,13 @@

Method Details

"useTopicSchema": True or False, # Optional. When true, use the topic's schema as the columns to write to in BigQuery, if it exists. `use_topic_schema` and `use_table_schema` cannot be enabled at the same time. "writeMetadata": True or False, # Optional. When true, write the subscription name, message_id, publish_time, attributes, and ordering_key to additional columns in the table. The subscription name, message_id, and publish_time fields are put in their own columns while all other message properties (other than data) are written to a JSON object in the attributes column. }, + "bigtableConfig": { # Configuration for a Bigtable subscription. The Pub/Sub message will be written to a Bigtable row as follows: - row key: subscription name and message ID delimited by #. - columns: message bytes written to a single column family "data" with an empty-string column qualifier. - cell timestamp: the message publish timestamp. # Optional. If delivery to Bigtable is used with this subscription, this field is used to configure it. + "appProfileId": "A String", # Optional. The app profile to use for the Bigtable writes. If not specified, the "default" application profile will be used. The app profile must use single-cluster routing. + "serviceAccountEmail": "A String", # Optional. The service account to use to write to Bigtable. The subscription creator or updater that specifies this field must have `iam.serviceAccounts.actAs` permission on the service account. If not specified, the Pub/Sub [service agent](https://cloud.google.com/iam/docs/service-agents), service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used. + "state": "A String", # Output only. An output-only field that indicates whether or not the subscription can receive messages. + "table": "A String", # Optional. The unique name of the table to write messages to. Values are of the form `projects//instances//tables/`. + "writeMetadata": True or False, # Optional. When true, write the subscription name, message_id, publish_time, attributes, and ordering_key to additional columns in the table under the pubsub_metadata column family. The subscription name, message_id, and publish_time fields are put in their own columns while all other message properties (other than data) are written to a JSON object in the attributes column. + }, "cloudStorageConfig": { # Configuration for a Cloud Storage subscription. # Optional. If delivery to Google Cloud Storage is used with this subscription, this field is used to configure it. "avroConfig": { # Configuration for writing message data in Avro format. Message payloads and metadata will be written to files as an Avro binary. # Optional. If set, message data will be written to Cloud Storage in Avro format. "useTopicSchema": True or False, # Optional. When true, the output Cloud Storage file will be serialized using the topic schema, if it exists. @@ -428,6 +442,13 @@

Method Details

"useTopicSchema": True or False, # Optional. When true, use the topic's schema as the columns to write to in BigQuery, if it exists. `use_topic_schema` and `use_table_schema` cannot be enabled at the same time. "writeMetadata": True or False, # Optional. When true, write the subscription name, message_id, publish_time, attributes, and ordering_key to additional columns in the table. The subscription name, message_id, and publish_time fields are put in their own columns while all other message properties (other than data) are written to a JSON object in the attributes column. }, + "bigtableConfig": { # Configuration for a Bigtable subscription. The Pub/Sub message will be written to a Bigtable row as follows: - row key: subscription name and message ID delimited by #. - columns: message bytes written to a single column family "data" with an empty-string column qualifier. - cell timestamp: the message publish timestamp. # Optional. If delivery to Bigtable is used with this subscription, this field is used to configure it. + "appProfileId": "A String", # Optional. The app profile to use for the Bigtable writes. If not specified, the "default" application profile will be used. The app profile must use single-cluster routing. + "serviceAccountEmail": "A String", # Optional. The service account to use to write to Bigtable. The subscription creator or updater that specifies this field must have `iam.serviceAccounts.actAs` permission on the service account. If not specified, the Pub/Sub [service agent](https://cloud.google.com/iam/docs/service-agents), service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used. + "state": "A String", # Output only. An output-only field that indicates whether or not the subscription can receive messages. + "table": "A String", # Optional. The unique name of the table to write messages to. Values are of the form `projects//instances//tables/`. + "writeMetadata": True or False, # Optional. When true, write the subscription name, message_id, publish_time, attributes, and ordering_key to additional columns in the table under the pubsub_metadata column family. The subscription name, message_id, and publish_time fields are put in their own columns while all other message properties (other than data) are written to a JSON object in the attributes column. + }, "cloudStorageConfig": { # Configuration for a Cloud Storage subscription. # Optional. If delivery to Google Cloud Storage is used with this subscription, this field is used to configure it. "avroConfig": { # Configuration for writing message data in Avro format. Message payloads and metadata will be written to files as an Avro binary. # Optional. If set, message data will be written to Cloud Storage in Avro format. "useTopicSchema": True or False, # Optional. When true, the output Cloud Storage file will be serialized using the topic schema, if it exists. @@ -578,6 +599,13 @@

Method Details

"useTopicSchema": True or False, # Optional. When true, use the topic's schema as the columns to write to in BigQuery, if it exists. `use_topic_schema` and `use_table_schema` cannot be enabled at the same time. "writeMetadata": True or False, # Optional. When true, write the subscription name, message_id, publish_time, attributes, and ordering_key to additional columns in the table. The subscription name, message_id, and publish_time fields are put in their own columns while all other message properties (other than data) are written to a JSON object in the attributes column. }, + "bigtableConfig": { # Configuration for a Bigtable subscription. The Pub/Sub message will be written to a Bigtable row as follows: - row key: subscription name and message ID delimited by #. - columns: message bytes written to a single column family "data" with an empty-string column qualifier. - cell timestamp: the message publish timestamp. # Optional. If delivery to Bigtable is used with this subscription, this field is used to configure it. + "appProfileId": "A String", # Optional. The app profile to use for the Bigtable writes. If not specified, the "default" application profile will be used. The app profile must use single-cluster routing. + "serviceAccountEmail": "A String", # Optional. The service account to use to write to Bigtable. The subscription creator or updater that specifies this field must have `iam.serviceAccounts.actAs` permission on the service account. If not specified, the Pub/Sub [service agent](https://cloud.google.com/iam/docs/service-agents), service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used. + "state": "A String", # Output only. An output-only field that indicates whether or not the subscription can receive messages. + "table": "A String", # Optional. The unique name of the table to write messages to. Values are of the form `projects//instances//tables/`. + "writeMetadata": True or False, # Optional. When true, write the subscription name, message_id, publish_time, attributes, and ordering_key to additional columns in the table under the pubsub_metadata column family. The subscription name, message_id, and publish_time fields are put in their own columns while all other message properties (other than data) are written to a JSON object in the attributes column. + }, "cloudStorageConfig": { # Configuration for a Cloud Storage subscription. # Optional. If delivery to Google Cloud Storage is used with this subscription, this field is used to configure it. "avroConfig": { # Configuration for writing message data in Avro format. Message payloads and metadata will be written to files as an Avro binary. # Optional. If set, message data will be written to Cloud Storage in Avro format. "useTopicSchema": True or False, # Optional. When true, the output Cloud Storage file will be serialized using the topic schema, if it exists. @@ -767,6 +795,13 @@

Method Details

"useTopicSchema": True or False, # Optional. When true, use the topic's schema as the columns to write to in BigQuery, if it exists. `use_topic_schema` and `use_table_schema` cannot be enabled at the same time. "writeMetadata": True or False, # Optional. When true, write the subscription name, message_id, publish_time, attributes, and ordering_key to additional columns in the table. The subscription name, message_id, and publish_time fields are put in their own columns while all other message properties (other than data) are written to a JSON object in the attributes column. }, + "bigtableConfig": { # Configuration for a Bigtable subscription. The Pub/Sub message will be written to a Bigtable row as follows: - row key: subscription name and message ID delimited by #. - columns: message bytes written to a single column family "data" with an empty-string column qualifier. - cell timestamp: the message publish timestamp. # Optional. If delivery to Bigtable is used with this subscription, this field is used to configure it. + "appProfileId": "A String", # Optional. The app profile to use for the Bigtable writes. If not specified, the "default" application profile will be used. The app profile must use single-cluster routing. + "serviceAccountEmail": "A String", # Optional. The service account to use to write to Bigtable. The subscription creator or updater that specifies this field must have `iam.serviceAccounts.actAs` permission on the service account. If not specified, the Pub/Sub [service agent](https://cloud.google.com/iam/docs/service-agents), service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used. + "state": "A String", # Output only. An output-only field that indicates whether or not the subscription can receive messages. + "table": "A String", # Optional. The unique name of the table to write messages to. Values are of the form `projects//instances//tables/`. + "writeMetadata": True or False, # Optional. When true, write the subscription name, message_id, publish_time, attributes, and ordering_key to additional columns in the table under the pubsub_metadata column family. The subscription name, message_id, and publish_time fields are put in their own columns while all other message properties (other than data) are written to a JSON object in the attributes column. + }, "cloudStorageConfig": { # Configuration for a Cloud Storage subscription. # Optional. If delivery to Google Cloud Storage is used with this subscription, this field is used to configure it. "avroConfig": { # Configuration for writing message data in Avro format. Message payloads and metadata will be written to files as an Avro binary. # Optional. If set, message data will be written to Cloud Storage in Avro format. "useTopicSchema": True or False, # Optional. When true, the output Cloud Storage file will be serialized using the topic schema, if it exists. @@ -872,6 +907,13 @@

Method Details

"useTopicSchema": True or False, # Optional. When true, use the topic's schema as the columns to write to in BigQuery, if it exists. `use_topic_schema` and `use_table_schema` cannot be enabled at the same time. "writeMetadata": True or False, # Optional. When true, write the subscription name, message_id, publish_time, attributes, and ordering_key to additional columns in the table. The subscription name, message_id, and publish_time fields are put in their own columns while all other message properties (other than data) are written to a JSON object in the attributes column. }, + "bigtableConfig": { # Configuration for a Bigtable subscription. The Pub/Sub message will be written to a Bigtable row as follows: - row key: subscription name and message ID delimited by #. - columns: message bytes written to a single column family "data" with an empty-string column qualifier. - cell timestamp: the message publish timestamp. # Optional. If delivery to Bigtable is used with this subscription, this field is used to configure it. + "appProfileId": "A String", # Optional. The app profile to use for the Bigtable writes. If not specified, the "default" application profile will be used. The app profile must use single-cluster routing. + "serviceAccountEmail": "A String", # Optional. The service account to use to write to Bigtable. The subscription creator or updater that specifies this field must have `iam.serviceAccounts.actAs` permission on the service account. If not specified, the Pub/Sub [service agent](https://cloud.google.com/iam/docs/service-agents), service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used. + "state": "A String", # Output only. An output-only field that indicates whether or not the subscription can receive messages. + "table": "A String", # Optional. The unique name of the table to write messages to. Values are of the form `projects//instances//tables/`. + "writeMetadata": True or False, # Optional. When true, write the subscription name, message_id, publish_time, attributes, and ordering_key to additional columns in the table under the pubsub_metadata column family. The subscription name, message_id, and publish_time fields are put in their own columns while all other message properties (other than data) are written to a JSON object in the attributes column. + }, "cloudStorageConfig": { # Configuration for a Cloud Storage subscription. # Optional. If delivery to Google Cloud Storage is used with this subscription, this field is used to configure it. "avroConfig": { # Configuration for writing message data in Avro format. Message payloads and metadata will be written to files as an Avro binary. # Optional. If set, message data will be written to Cloud Storage in Avro format. "useTopicSchema": True or False, # Optional. When true, the output Cloud Storage file will be serialized using the topic schema, if it exists. diff --git a/docs/dyn/run_v2.projects.locations.instances.html b/docs/dyn/run_v2.projects.locations.instances.html index 03d1e22d4b..7f549dd3d1 100644 --- a/docs/dyn/run_v2.projects.locations.instances.html +++ b/docs/dyn/run_v2.projects.locations.instances.html @@ -240,7 +240,7 @@

Method Details

"inlinedSource": { # Inlined source. # Optional. Input only. Source code inlined in the request. Cloud Run will store the inlined_source to Cloud Storage and replace the field with cloud_storage_source. "sources": [ # Required. Input only. The source code. { # Source file. - "content": "A String", # Required. Input only. The source code as raw text. + "content": "A String", # Required. Input only. Represents the exact, literal, and complete source code of the file. Placeholders like `...` or comments such as `# [rest of code]` should NEVER be used as omission. Every character in this field will be built into the final container. Any omission will result in a broken application. "filename": "A String", # Required. Input only. The file name for the source code. e.g., `"index.js"` or `"node_modules/dependency.js"`. The filename must be less than 255 characters and cannot contain `..`, `./`, `//`, or end with a `/`. Cloud Run will place the files in the container subdirectories, please use relative path to access the file. }, ], @@ -584,7 +584,7 @@

Method Details

"inlinedSource": { # Inlined source. # Optional. Input only. Source code inlined in the request. Cloud Run will store the inlined_source to Cloud Storage and replace the field with cloud_storage_source. "sources": [ # Required. Input only. The source code. { # Source file. - "content": "A String", # Required. Input only. The source code as raw text. + "content": "A String", # Required. Input only. Represents the exact, literal, and complete source code of the file. Placeholders like `...` or comments such as `# [rest of code]` should NEVER be used as omission. Every character in this field will be built into the final container. Any omission will result in a broken application. "filename": "A String", # Required. Input only. The file name for the source code. e.g., `"index.js"` or `"node_modules/dependency.js"`. The filename must be less than 255 characters and cannot contain `..`, `./`, `//`, or end with a `/`. Cloud Run will place the files in the container subdirectories, please use relative path to access the file. }, ], @@ -866,7 +866,7 @@

Method Details

"inlinedSource": { # Inlined source. # Optional. Input only. Source code inlined in the request. Cloud Run will store the inlined_source to Cloud Storage and replace the field with cloud_storage_source. "sources": [ # Required. Input only. The source code. { # Source file. - "content": "A String", # Required. Input only. The source code as raw text. + "content": "A String", # Required. Input only. Represents the exact, literal, and complete source code of the file. Placeholders like `...` or comments such as `# [rest of code]` should NEVER be used as omission. Every character in this field will be built into the final container. Any omission will result in a broken application. "filename": "A String", # Required. Input only. The file name for the source code. e.g., `"index.js"` or `"node_modules/dependency.js"`. The filename must be less than 255 characters and cannot contain `..`, `./`, `//`, or end with a `/`. Cloud Run will place the files in the container subdirectories, please use relative path to access the file. }, ], diff --git a/docs/dyn/run_v2.projects.locations.jobs.executions.html b/docs/dyn/run_v2.projects.locations.jobs.executions.html index 47b528ffaf..c546d30bf3 100644 --- a/docs/dyn/run_v2.projects.locations.jobs.executions.html +++ b/docs/dyn/run_v2.projects.locations.jobs.executions.html @@ -378,7 +378,7 @@

Method Details

"inlinedSource": { # Inlined source. # Optional. Input only. Source code inlined in the request. Cloud Run will store the inlined_source to Cloud Storage and replace the field with cloud_storage_source. "sources": [ # Required. Input only. The source code. { # Source file. - "content": "A String", # Required. Input only. The source code as raw text. + "content": "A String", # Required. Input only. Represents the exact, literal, and complete source code of the file. Placeholders like `...` or comments such as `# [rest of code]` should NEVER be used as omission. Every character in this field will be built into the final container. Any omission will result in a broken application. "filename": "A String", # Required. Input only. The file name for the source code. e.g., `"index.js"` or `"node_modules/dependency.js"`. The filename must be less than 255 characters and cannot contain `..`, `./`, `//`, or end with a `/`. Cloud Run will place the files in the container subdirectories, please use relative path to access the file. }, ], @@ -643,7 +643,7 @@

Method Details

"inlinedSource": { # Inlined source. # Optional. Input only. Source code inlined in the request. Cloud Run will store the inlined_source to Cloud Storage and replace the field with cloud_storage_source. "sources": [ # Required. Input only. The source code. { # Source file. - "content": "A String", # Required. Input only. The source code as raw text. + "content": "A String", # Required. Input only. Represents the exact, literal, and complete source code of the file. Placeholders like `...` or comments such as `# [rest of code]` should NEVER be used as omission. Every character in this field will be built into the final container. Any omission will result in a broken application. "filename": "A String", # Required. Input only. The file name for the source code. e.g., `"index.js"` or `"node_modules/dependency.js"`. The filename must be less than 255 characters and cannot contain `..`, `./`, `//`, or end with a `/`. Cloud Run will place the files in the container subdirectories, please use relative path to access the file. }, ], 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 11e6522fc0..0f495727e5 100644 --- a/docs/dyn/run_v2.projects.locations.jobs.executions.tasks.html +++ b/docs/dyn/run_v2.projects.locations.jobs.executions.tasks.html @@ -221,7 +221,7 @@

Method Details

"inlinedSource": { # Inlined source. # Optional. Input only. Source code inlined in the request. Cloud Run will store the inlined_source to Cloud Storage and replace the field with cloud_storage_source. "sources": [ # Required. Input only. The source code. { # Source file. - "content": "A String", # Required. Input only. The source code as raw text. + "content": "A String", # Required. Input only. Represents the exact, literal, and complete source code of the file. Placeholders like `...` or comments such as `# [rest of code]` should NEVER be used as omission. Every character in this field will be built into the final container. Any omission will result in a broken application. "filename": "A String", # Required. Input only. The file name for the source code. e.g., `"index.js"` or `"node_modules/dependency.js"`. The filename must be less than 255 characters and cannot contain `..`, `./`, `//`, or end with a `/`. Cloud Run will place the files in the container subdirectories, please use relative path to access the file. }, ], @@ -491,7 +491,7 @@

Method Details

"inlinedSource": { # Inlined source. # Optional. Input only. Source code inlined in the request. Cloud Run will store the inlined_source to Cloud Storage and replace the field with cloud_storage_source. "sources": [ # Required. Input only. The source code. { # Source file. - "content": "A String", # Required. Input only. The source code as raw text. + "content": "A String", # Required. Input only. Represents the exact, literal, and complete source code of the file. Placeholders like `...` or comments such as `# [rest of code]` should NEVER be used as omission. Every character in this field will be built into the final container. Any omission will result in a broken application. "filename": "A String", # Required. Input only. The file name for the source code. e.g., `"index.js"` or `"node_modules/dependency.js"`. The filename must be less than 255 characters and cannot contain `..`, `./`, `//`, or end with a `/`. Cloud Run will place the files in the container subdirectories, please use relative path to access the file. }, ], diff --git a/docs/dyn/run_v2.projects.locations.jobs.html b/docs/dyn/run_v2.projects.locations.jobs.html index fe7ad552a5..d542f3064e 100644 --- a/docs/dyn/run_v2.projects.locations.jobs.html +++ b/docs/dyn/run_v2.projects.locations.jobs.html @@ -285,7 +285,7 @@

Method Details

"inlinedSource": { # Inlined source. # Optional. Input only. Source code inlined in the request. Cloud Run will store the inlined_source to Cloud Storage and replace the field with cloud_storage_source. "sources": [ # Required. Input only. The source code. { # Source file. - "content": "A String", # Required. Input only. The source code as raw text. + "content": "A String", # Required. Input only. Represents the exact, literal, and complete source code of the file. Placeholders like `...` or comments such as `# [rest of code]` should NEVER be used as omission. Every character in this field will be built into the final container. Any omission will result in a broken application. "filename": "A String", # Required. Input only. The file name for the source code. e.g., `"index.js"` or `"node_modules/dependency.js"`. The filename must be less than 255 characters and cannot contain `..`, `./`, `//`, or end with a `/`. Cloud Run will place the files in the container subdirectories, please use relative path to access the file. }, ], @@ -639,7 +639,7 @@

Method Details

"inlinedSource": { # Inlined source. # Optional. Input only. Source code inlined in the request. Cloud Run will store the inlined_source to Cloud Storage and replace the field with cloud_storage_source. "sources": [ # Required. Input only. The source code. { # Source file. - "content": "A String", # Required. Input only. The source code as raw text. + "content": "A String", # Required. Input only. Represents the exact, literal, and complete source code of the file. Placeholders like `...` or comments such as `# [rest of code]` should NEVER be used as omission. Every character in this field will be built into the final container. Any omission will result in a broken application. "filename": "A String", # Required. Input only. The file name for the source code. e.g., `"index.js"` or `"node_modules/dependency.js"`. The filename must be less than 255 characters and cannot contain `..`, `./`, `//`, or end with a `/`. Cloud Run will place the files in the container subdirectories, please use relative path to access the file. }, ], @@ -979,7 +979,7 @@

Method Details

"inlinedSource": { # Inlined source. # Optional. Input only. Source code inlined in the request. Cloud Run will store the inlined_source to Cloud Storage and replace the field with cloud_storage_source. "sources": [ # Required. Input only. The source code. { # Source file. - "content": "A String", # Required. Input only. The source code as raw text. + "content": "A String", # Required. Input only. Represents the exact, literal, and complete source code of the file. Placeholders like `...` or comments such as `# [rest of code]` should NEVER be used as omission. Every character in this field will be built into the final container. Any omission will result in a broken application. "filename": "A String", # Required. Input only. The file name for the source code. e.g., `"index.js"` or `"node_modules/dependency.js"`. The filename must be less than 255 characters and cannot contain `..`, `./`, `//`, or end with a `/`. Cloud Run will place the files in the container subdirectories, please use relative path to access the file. }, ], @@ -1278,7 +1278,7 @@

Method Details

"inlinedSource": { # Inlined source. # Optional. Input only. Source code inlined in the request. Cloud Run will store the inlined_source to Cloud Storage and replace the field with cloud_storage_source. "sources": [ # Required. Input only. The source code. { # Source file. - "content": "A String", # Required. Input only. The source code as raw text. + "content": "A String", # Required. Input only. Represents the exact, literal, and complete source code of the file. Placeholders like `...` or comments such as `# [rest of code]` should NEVER be used as omission. Every character in this field will be built into the final container. Any omission will result in a broken application. "filename": "A String", # Required. Input only. The file name for the source code. e.g., `"index.js"` or `"node_modules/dependency.js"`. The filename must be less than 255 characters and cannot contain `..`, `./`, `//`, or end with a `/`. Cloud Run will place the files in the container subdirectories, please use relative path to access the file. }, ], diff --git a/docs/dyn/run_v2.projects.locations.services.html b/docs/dyn/run_v2.projects.locations.services.html index d8b93269bb..5e047e6b23 100644 --- a/docs/dyn/run_v2.projects.locations.services.html +++ b/docs/dyn/run_v2.projects.locations.services.html @@ -301,7 +301,7 @@

Method Details

"inlinedSource": { # Inlined source. # Optional. Input only. Source code inlined in the request. Cloud Run will store the inlined_source to Cloud Storage and replace the field with cloud_storage_source. "sources": [ # Required. Input only. The source code. { # Source file. - "content": "A String", # Required. Input only. The source code as raw text. + "content": "A String", # Required. Input only. Represents the exact, literal, and complete source code of the file. Placeholders like `...` or comments such as `# [rest of code]` should NEVER be used as omission. Every character in this field will be built into the final container. Any omission will result in a broken application. "filename": "A String", # Required. Input only. The file name for the source code. e.g., `"index.js"` or `"node_modules/dependency.js"`. The filename must be less than 255 characters and cannot contain `..`, `./`, `//`, or end with a `/`. Cloud Run will place the files in the container subdirectories, please use relative path to access the file. }, ], @@ -712,7 +712,7 @@

Method Details

"inlinedSource": { # Inlined source. # Optional. Input only. Source code inlined in the request. Cloud Run will store the inlined_source to Cloud Storage and replace the field with cloud_storage_source. "sources": [ # Required. Input only. The source code. { # Source file. - "content": "A String", # Required. Input only. The source code as raw text. + "content": "A String", # Required. Input only. Represents the exact, literal, and complete source code of the file. Placeholders like `...` or comments such as `# [rest of code]` should NEVER be used as omission. Every character in this field will be built into the final container. Any omission will result in a broken application. "filename": "A String", # Required. Input only. The file name for the source code. e.g., `"index.js"` or `"node_modules/dependency.js"`. The filename must be less than 255 characters and cannot contain `..`, `./`, `//`, or end with a `/`. Cloud Run will place the files in the container subdirectories, please use relative path to access the file. }, ], @@ -1110,7 +1110,7 @@

Method Details

"inlinedSource": { # Inlined source. # Optional. Input only. Source code inlined in the request. Cloud Run will store the inlined_source to Cloud Storage and replace the field with cloud_storage_source. "sources": [ # Required. Input only. The source code. { # Source file. - "content": "A String", # Required. Input only. The source code as raw text. + "content": "A String", # Required. Input only. Represents the exact, literal, and complete source code of the file. Placeholders like `...` or comments such as `# [rest of code]` should NEVER be used as omission. Every character in this field will be built into the final container. Any omission will result in a broken application. "filename": "A String", # Required. Input only. The file name for the source code. e.g., `"index.js"` or `"node_modules/dependency.js"`. The filename must be less than 255 characters and cannot contain `..`, `./`, `//`, or end with a `/`. Cloud Run will place the files in the container subdirectories, please use relative path to access the file. }, ], @@ -1468,7 +1468,7 @@

Method Details

"inlinedSource": { # Inlined source. # Optional. Input only. Source code inlined in the request. Cloud Run will store the inlined_source to Cloud Storage and replace the field with cloud_storage_source. "sources": [ # Required. Input only. The source code. { # Source file. - "content": "A String", # Required. Input only. The source code as raw text. + "content": "A String", # Required. Input only. Represents the exact, literal, and complete source code of the file. Placeholders like `...` or comments such as `# [rest of code]` should NEVER be used as omission. Every character in this field will be built into the final container. Any omission will result in a broken application. "filename": "A String", # Required. Input only. The file name for the source code. e.g., `"index.js"` or `"node_modules/dependency.js"`. The filename must be less than 255 characters and cannot contain `..`, `./`, `//`, or end with a `/`. Cloud Run will place the files in the container subdirectories, please use relative path to access the file. }, ], diff --git a/docs/dyn/run_v2.projects.locations.services.revisions.html b/docs/dyn/run_v2.projects.locations.services.revisions.html index a7849ced99..7000b173b5 100644 --- a/docs/dyn/run_v2.projects.locations.services.revisions.html +++ b/docs/dyn/run_v2.projects.locations.services.revisions.html @@ -301,7 +301,7 @@

Method Details

"inlinedSource": { # Inlined source. # Optional. Input only. Source code inlined in the request. Cloud Run will store the inlined_source to Cloud Storage and replace the field with cloud_storage_source. "sources": [ # Required. Input only. The source code. { # Source file. - "content": "A String", # Required. Input only. The source code as raw text. + "content": "A String", # Required. Input only. Represents the exact, literal, and complete source code of the file. Placeholders like `...` or comments such as `# [rest of code]` should NEVER be used as omission. Every character in this field will be built into the final container. Any omission will result in a broken application. "filename": "A String", # Required. Input only. The file name for the source code. e.g., `"index.js"` or `"node_modules/dependency.js"`. The filename must be less than 255 characters and cannot contain `..`, `./`, `//`, or end with a `/`. Cloud Run will place the files in the container subdirectories, please use relative path to access the file. }, ], @@ -571,7 +571,7 @@

Method Details

"inlinedSource": { # Inlined source. # Optional. Input only. Source code inlined in the request. Cloud Run will store the inlined_source to Cloud Storage and replace the field with cloud_storage_source. "sources": [ # Required. Input only. The source code. { # Source file. - "content": "A String", # Required. Input only. The source code as raw text. + "content": "A String", # Required. Input only. Represents the exact, literal, and complete source code of the file. Placeholders like `...` or comments such as `# [rest of code]` should NEVER be used as omission. Every character in this field will be built into the final container. Any omission will result in a broken application. "filename": "A String", # Required. Input only. The file name for the source code. e.g., `"index.js"` or `"node_modules/dependency.js"`. The filename must be less than 255 characters and cannot contain `..`, `./`, `//`, or end with a `/`. Cloud Run will place the files in the container subdirectories, please use relative path to access the file. }, ], diff --git a/docs/dyn/run_v2.projects.locations.workerPools.html b/docs/dyn/run_v2.projects.locations.workerPools.html index 156a1d0733..559428afae 100644 --- a/docs/dyn/run_v2.projects.locations.workerPools.html +++ b/docs/dyn/run_v2.projects.locations.workerPools.html @@ -289,7 +289,7 @@

Method Details

"inlinedSource": { # Inlined source. # Optional. Input only. Source code inlined in the request. Cloud Run will store the inlined_source to Cloud Storage and replace the field with cloud_storage_source. "sources": [ # Required. Input only. The source code. { # Source file. - "content": "A String", # Required. Input only. The source code as raw text. + "content": "A String", # Required. Input only. Represents the exact, literal, and complete source code of the file. Placeholders like `...` or comments such as `# [rest of code]` should NEVER be used as omission. Every character in this field will be built into the final container. Any omission will result in a broken application. "filename": "A String", # Required. Input only. The file name for the source code. e.g., `"index.js"` or `"node_modules/dependency.js"`. The filename must be less than 255 characters and cannot contain `..`, `./`, `//`, or end with a `/`. Cloud Run will place the files in the container subdirectories, please use relative path to access the file. }, ], @@ -656,7 +656,7 @@

Method Details

"inlinedSource": { # Inlined source. # Optional. Input only. Source code inlined in the request. Cloud Run will store the inlined_source to Cloud Storage and replace the field with cloud_storage_source. "sources": [ # Required. Input only. The source code. { # Source file. - "content": "A String", # Required. Input only. The source code as raw text. + "content": "A String", # Required. Input only. Represents the exact, literal, and complete source code of the file. Placeholders like `...` or comments such as `# [rest of code]` should NEVER be used as omission. Every character in this field will be built into the final container. Any omission will result in a broken application. "filename": "A String", # Required. Input only. The file name for the source code. e.g., `"index.js"` or `"node_modules/dependency.js"`. The filename must be less than 255 characters and cannot contain `..`, `./`, `//`, or end with a `/`. Cloud Run will place the files in the container subdirectories, please use relative path to access the file. }, ], @@ -1010,7 +1010,7 @@

Method Details

"inlinedSource": { # Inlined source. # Optional. Input only. Source code inlined in the request. Cloud Run will store the inlined_source to Cloud Storage and replace the field with cloud_storage_source. "sources": [ # Required. Input only. The source code. { # Source file. - "content": "A String", # Required. Input only. The source code as raw text. + "content": "A String", # Required. Input only. Represents the exact, literal, and complete source code of the file. Placeholders like `...` or comments such as `# [rest of code]` should NEVER be used as omission. Every character in this field will be built into the final container. Any omission will result in a broken application. "filename": "A String", # Required. Input only. The file name for the source code. e.g., `"index.js"` or `"node_modules/dependency.js"`. The filename must be less than 255 characters and cannot contain `..`, `./`, `//`, or end with a `/`. Cloud Run will place the files in the container subdirectories, please use relative path to access the file. }, ], @@ -1321,7 +1321,7 @@

Method Details

"inlinedSource": { # Inlined source. # Optional. Input only. Source code inlined in the request. Cloud Run will store the inlined_source to Cloud Storage and replace the field with cloud_storage_source. "sources": [ # Required. Input only. The source code. { # Source file. - "content": "A String", # Required. Input only. The source code as raw text. + "content": "A String", # Required. Input only. Represents the exact, literal, and complete source code of the file. Placeholders like `...` or comments such as `# [rest of code]` should NEVER be used as omission. Every character in this field will be built into the final container. Any omission will result in a broken application. "filename": "A String", # Required. Input only. The file name for the source code. e.g., `"index.js"` or `"node_modules/dependency.js"`. The filename must be less than 255 characters and cannot contain `..`, `./`, `//`, or end with a `/`. Cloud Run will place the files in the container subdirectories, please use relative path to access the file. }, ], diff --git a/docs/dyn/run_v2.projects.locations.workerPools.revisions.html b/docs/dyn/run_v2.projects.locations.workerPools.revisions.html index 45e7277fde..c649ff6837 100644 --- a/docs/dyn/run_v2.projects.locations.workerPools.revisions.html +++ b/docs/dyn/run_v2.projects.locations.workerPools.revisions.html @@ -262,7 +262,7 @@

Method Details

"inlinedSource": { # Inlined source. # Optional. Input only. Source code inlined in the request. Cloud Run will store the inlined_source to Cloud Storage and replace the field with cloud_storage_source. "sources": [ # Required. Input only. The source code. { # Source file. - "content": "A String", # Required. Input only. The source code as raw text. + "content": "A String", # Required. Input only. Represents the exact, literal, and complete source code of the file. Placeholders like `...` or comments such as `# [rest of code]` should NEVER be used as omission. Every character in this field will be built into the final container. Any omission will result in a broken application. "filename": "A String", # Required. Input only. The file name for the source code. e.g., `"index.js"` or `"node_modules/dependency.js"`. The filename must be less than 255 characters and cannot contain `..`, `./`, `//`, or end with a `/`. Cloud Run will place the files in the container subdirectories, please use relative path to access the file. }, ], @@ -532,7 +532,7 @@

Method Details

"inlinedSource": { # Inlined source. # Optional. Input only. Source code inlined in the request. Cloud Run will store the inlined_source to Cloud Storage and replace the field with cloud_storage_source. "sources": [ # Required. Input only. The source code. { # Source file. - "content": "A String", # Required. Input only. The source code as raw text. + "content": "A String", # Required. Input only. Represents the exact, literal, and complete source code of the file. Placeholders like `...` or comments such as `# [rest of code]` should NEVER be used as omission. Every character in this field will be built into the final container. Any omission will result in a broken application. "filename": "A String", # Required. Input only. The file name for the source code. e.g., `"index.js"` or `"node_modules/dependency.js"`. The filename must be less than 255 characters and cannot contain `..`, `./`, `//`, or end with a `/`. Cloud Run will place the files in the container subdirectories, please use relative path to access the file. }, ], diff --git a/docs/dyn/toolresults_v1beta3.projects.html b/docs/dyn/toolresults_v1beta3.projects.html index f9afae584c..76085f11e0 100644 --- a/docs/dyn/toolresults_v1beta3.projects.html +++ b/docs/dyn/toolresults_v1beta3.projects.html @@ -87,7 +87,7 @@

Instance Methods

Gets the Tool Results settings for a project. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read from project

initializeSettings(projectId, x__xgafv=None)

-

Creates resources for settings which have not yet been set. Currently, this creates a single resource: a Google Cloud Storage bucket, to be used as the default bucket for this project. The bucket is created in an FTL-own storage project. Except for in rare cases, calling this method in parallel from multiple clients will only create a single bucket. In order to avoid unnecessary storage charges, the bucket is configured to automatically delete objects older than 90 days. The bucket is created with the following permissions: - Owner access for owners of central storage project (FTL-owned) - Writer access for owners/editors of customer project - Reader access for viewers of customer project The default ACL on objects created in the bucket is: - Owner access for owners of central storage project - Reader access for owners/editors/viewers of customer project See Google Cloud Storage documentation for more details. If there is already a default bucket set and the project can access the bucket, this call does nothing. However, if the project doesn't have the permission to access the bucket or the bucket is deleted, a new bucket will be created. May return any canonical error codes, including the following: - PERMISSION_DENIED - if the user is not authorized to write to project - Any error code raised by Google Cloud Storage

+

Creates resources for settings which have not yet been set. Currently, this creates a single resource: a Google Cloud Storage bucket, to be used as the default bucket for this project. The bucket is created in an FTL-own storage project. Except for in rare cases, calling this method in parallel from multiple clients will only create a single bucket. In order to avoid unnecessary storage charges, the bucket is configured to automatically delete objects older than 60 days. The bucket is created with the following permissions: - Owner access for owners of central storage project (FTL-owned) - Writer access for owners/editors of customer project - Reader access for viewers of customer project The default ACL on objects created in the bucket is: - Owner access for owners of central storage project - Reader access for owners/editors/viewers of customer project See Google Cloud Storage documentation for more details. If there is already a default bucket set and the project can access the bucket, this call does nothing. However, if the project doesn't have the permission to access the bucket or the bucket is deleted, a new bucket will be created. May return any canonical error codes, including the following: - PERMISSION_DENIED - if the user is not authorized to write to project - Any error code raised by Google Cloud Storage

Method Details

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

Method Details

initializeSettings(projectId, x__xgafv=None) -
Creates resources for settings which have not yet been set. Currently, this creates a single resource: a Google Cloud Storage bucket, to be used as the default bucket for this project. The bucket is created in an FTL-own storage project. Except for in rare cases, calling this method in parallel from multiple clients will only create a single bucket. In order to avoid unnecessary storage charges, the bucket is configured to automatically delete objects older than 90 days. The bucket is created with the following permissions: - Owner access for owners of central storage project (FTL-owned) - Writer access for owners/editors of customer project - Reader access for viewers of customer project The default ACL on objects created in the bucket is: - Owner access for owners of central storage project - Reader access for owners/editors/viewers of customer project See Google Cloud Storage documentation for more details. If there is already a default bucket set and the project can access the bucket, this call does nothing. However, if the project doesn't have the permission to access the bucket or the bucket is deleted, a new bucket will be created. May return any canonical error codes, including the following: - PERMISSION_DENIED - if the user is not authorized to write to project - Any error code raised by Google Cloud Storage
+  
Creates resources for settings which have not yet been set. Currently, this creates a single resource: a Google Cloud Storage bucket, to be used as the default bucket for this project. The bucket is created in an FTL-own storage project. Except for in rare cases, calling this method in parallel from multiple clients will only create a single bucket. In order to avoid unnecessary storage charges, the bucket is configured to automatically delete objects older than 60 days. The bucket is created with the following permissions: - Owner access for owners of central storage project (FTL-owned) - Writer access for owners/editors of customer project - Reader access for viewers of customer project The default ACL on objects created in the bucket is: - Owner access for owners of central storage project - Reader access for owners/editors/viewers of customer project See Google Cloud Storage documentation for more details. If there is already a default bucket set and the project can access the bucket, this call does nothing. However, if the project doesn't have the permission to access the bucket or the bucket is deleted, a new bucket will be created. May return any canonical error codes, including the following: - PERMISSION_DENIED - if the user is not authorized to write to project - Any error code raised by Google Cloud Storage
 
 Args:
   projectId: string, A Project id. Required. (required)
diff --git a/docs/dyn/youtube_v3.liveChatMessages.html b/docs/dyn/youtube_v3.liveChatMessages.html
index c9f8ba0e62..aeadfa4674 100644
--- a/docs/dyn/youtube_v3.liveChatMessages.html
+++ b/docs/dyn/youtube_v3.liveChatMessages.html
@@ -150,7 +150,7 @@ 

Method Details

"giftName": "A String", # The name of the gift. "giftUrl": "A String", # The URL of the gift image. "hasVisualEffect": True or False, # Whether the gift involves a visual effect. - "jewelsCount": 42, # The cost of the gift in jewels. + "jewelsAmount": 42, # The value of the gift in jewels. "language": "A String", # The BCP-47 language code of the gift. }, "giftMembershipReceivedDetails": { # Details about the Gift Membership Received event, this is only set if the type is 'giftMembershipReceivedEvent'. @@ -265,7 +265,7 @@

Method Details

"giftName": "A String", # The name of the gift. "giftUrl": "A String", # The URL of the gift image. "hasVisualEffect": True or False, # Whether the gift involves a visual effect. - "jewelsCount": 42, # The cost of the gift in jewels. + "jewelsAmount": 42, # The value of the gift in jewels. "language": "A String", # The BCP-47 language code of the gift. }, "giftMembershipReceivedDetails": { # Details about the Gift Membership Received event, this is only set if the type is 'giftMembershipReceivedEvent'. @@ -393,7 +393,7 @@

Method Details

"giftName": "A String", # The name of the gift. "giftUrl": "A String", # The URL of the gift image. "hasVisualEffect": True or False, # Whether the gift involves a visual effect. - "jewelsCount": 42, # The cost of the gift in jewels. + "jewelsAmount": 42, # The value of the gift in jewels. "language": "A String", # The BCP-47 language code of the gift. }, "giftMembershipReceivedDetails": { # Details about the Gift Membership Received event, this is only set if the type is 'giftMembershipReceivedEvent'. @@ -502,7 +502,7 @@

Method Details

"giftName": "A String", # The name of the gift. "giftUrl": "A String", # The URL of the gift image. "hasVisualEffect": True or False, # Whether the gift involves a visual effect. - "jewelsCount": 42, # The cost of the gift in jewels. + "jewelsAmount": 42, # The value of the gift in jewels. "language": "A String", # The BCP-47 language code of the gift. }, "giftMembershipReceivedDetails": { # Details about the Gift Membership Received event, this is only set if the type is 'giftMembershipReceivedEvent'. @@ -655,7 +655,7 @@

Method Details

"giftName": "A String", # The name of the gift. "giftUrl": "A String", # The URL of the gift image. "hasVisualEffect": True or False, # Whether the gift involves a visual effect. - "jewelsCount": 42, # The cost of the gift in jewels. + "jewelsAmount": 42, # The value of the gift in jewels. "language": "A String", # The BCP-47 language code of the gift. }, "giftMembershipReceivedDetails": { # Details about the Gift Membership Received event, this is only set if the type is 'giftMembershipReceivedEvent'. diff --git a/docs/dyn/youtube_v3.youtube.v3.liveChat.messages.html b/docs/dyn/youtube_v3.youtube.v3.liveChat.messages.html index c232605912..490d91db56 100644 --- a/docs/dyn/youtube_v3.youtube.v3.liveChat.messages.html +++ b/docs/dyn/youtube_v3.youtube.v3.liveChat.messages.html @@ -139,7 +139,7 @@

Method Details

"giftName": "A String", # The name of the gift. "giftUrl": "A String", # The URL of the gift image. "hasVisualEffect": True or False, # Whether the gift involves a visual effect. - "jewelsCount": 42, # The cost of the gift in jewels. + "jewelsAmount": 42, # The value of the gift in jewels. "language": "A String", # The BCP-47 language code of the gift. }, "giftMembershipReceivedDetails": { # Details about the Gift Membership Received event, this is only set if the type is 'giftMembershipReceivedEvent'. @@ -248,7 +248,7 @@

Method Details

"giftName": "A String", # The name of the gift. "giftUrl": "A String", # The URL of the gift image. "hasVisualEffect": True or False, # Whether the gift involves a visual effect. - "jewelsCount": 42, # The cost of the gift in jewels. + "jewelsAmount": 42, # The value of the gift in jewels. "language": "A String", # The BCP-47 language code of the gift. }, "giftMembershipReceivedDetails": { # Details about the Gift Membership Received event, this is only set if the type is 'giftMembershipReceivedEvent'. diff --git a/googleapiclient/discovery_cache/documents/adexchangebuyer2.v2beta1.json b/googleapiclient/discovery_cache/documents/adexchangebuyer2.v2beta1.json index 6d4c9901ca..e54e7c467b 100644 --- a/googleapiclient/discovery_cache/documents/adexchangebuyer2.v2beta1.json +++ b/googleapiclient/discovery_cache/documents/adexchangebuyer2.v2beta1.json @@ -12,7 +12,7 @@ "baseUrl": "https://adexchangebuyer.googleapis.com/", "batchPath": "batch", "canonicalName": "AdExchangeBuyerII", -"description": "Accesses the latest features for managing Authorized Buyers accounts, Real-Time Bidding configurations and auction metrics, and Marketplace programmatic deals.", +"description": "Access the latest features for managing Authorized Buyers accounts, Real-Time Bidding configurations and auction metrics, and Marketplace programmatic deals.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/authorized-buyers/apis/reference/rest/", "icons": { @@ -3115,7 +3115,7 @@ } } }, -"revision": "20251203", +"revision": "20260319", "rootUrl": "https://adexchangebuyer.googleapis.com/", "schemas": { "AbsoluteDateRange": { diff --git a/googleapiclient/discovery_cache/documents/admin.reports_v1.json b/googleapiclient/discovery_cache/documents/admin.reports_v1.json index caf7d6c7bb..e2b6dd6505 100644 --- a/googleapiclient/discovery_cache/documents/admin.reports_v1.json +++ b/googleapiclient/discovery_cache/documents/admin.reports_v1.json @@ -247,6 +247,11 @@ "pattern": "(id:[a-z0-9]+(,id:[a-z0-9]+)*)", "type": "string" }, +"includeSensitiveData": { +"description": "Optional. When set to `true`, this field allows sensitive user-generated content to be included in the returned audit logs. This parameter is supported only for Rules (DLP) and Chat applications; using it with any other application will result in a permission error.", +"location": "query", +"type": "boolean" +}, "maxResults": { "default": "1000", "description": "Determines how many activity records are shown on each response page. For example, if the request sets `maxResults=1` and the report has two activities, the report has two pages. The response's `nextPageToken` property has the token to the second page. The `maxResults` query string is optional in the request. The default value is 1000.", @@ -681,7 +686,7 @@ } } }, -"revision": "20260311", +"revision": "20260317", "rootUrl": "https://admin.googleapis.com/", "schemas": { "Activities": { @@ -844,6 +849,76 @@ }, "type": "array" }, +"sensitiveParameters": { +"description": "Includes sensitive parameter value pairs for various applications.", +"items": { +"properties": { +"boolValue": { +"description": "Boolean value of the parameter.", +"type": "boolean" +}, +"intValue": { +"description": "Integer value of the parameter.", +"format": "int64", +"type": "string" +}, +"messageValue": { +"description": "Nested parameter value pairs associated with this parameter. Complex value type for a parameter are returned as a list of parameter values. For example, the address parameter may have a value as `[{parameter: [{name: city, value: abc}]}]`", +"properties": { +"parameter": { +"description": "Parameter values", +"items": { +"$ref": "NestedParameter" +}, +"type": "array" +} +}, +"type": "object" +}, +"multiIntValue": { +"description": "Integer values of the parameter.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"multiMessageValue": { +"description": "List of `messageValue` objects.", +"items": { +"properties": { +"parameter": { +"description": "Parameter values", +"items": { +"$ref": "NestedParameter" +}, +"type": "array" +} +}, +"type": "object" +}, +"type": "array" +}, +"multiValue": { +"description": "String values of the parameter.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "The name of the parameter.", +"type": "string" +}, +"value": { +"description": "String value of the parameter.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, "status": { "$ref": "ActivityEventsStatus", "description": "Status of the event. Note: Not all events have status." diff --git a/googleapiclient/discovery_cache/documents/agentregistry.v1alpha.json b/googleapiclient/discovery_cache/documents/agentregistry.v1alpha.json new file mode 100644 index 0000000000..7fda64e027 --- /dev/null +++ b/googleapiclient/discovery_cache/documents/agentregistry.v1alpha.json @@ -0,0 +1,1560 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/agentregistry.read-only": { +"description": "See your Google Cloud Agent Registry data and the email address of your Google Account" +}, +"https://www.googleapis.com/auth/agentregistry.read-write": { +"description": "See, edit, configure, and delete your Google Cloud Agent Registry data and see the email address for your Google Account" +}, +"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/cloud-platform.read-only": { +"description": "View your data across Google Cloud services and see the email address of your Google Account" +} +} +} +}, +"basePath": "", +"baseUrl": "https://agentregistry.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Agent Registry", +"description": "Agent Registry is a centralized, unified catalog that lets you store, discover, and govern Model Context Protocol (MCP) servers, tools, and AI agents within Google Cloud.", +"discoveryVersion": "v1", +"documentationLink": "https://docs.cloud.google.com/agent-registry/overview", +"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": "agentregistry:v1alpha", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://agentregistry.mtls.googleapis.com/", +"name": "agentregistry", +"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": "v1alpha/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "agentregistry.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/agentregistry.read-write", +"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": "v1alpha/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "agentregistry.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored 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": "v1alpha/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/agentregistry.read-write", +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"agents": { +"methods": { +"get": { +"description": "Gets details of a single Agent.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}", +"httpMethod": "GET", +"id": "agentregistry.projects.locations.agents.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "Agent" +}, +"scopes": [ +"https://www.googleapis.com/auth/agentregistry.read-only", +"https://www.googleapis.com/auth/agentregistry.read-write", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"list": { +"description": "Lists Agents in a given project and location.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/agents", +"httpMethod": "GET", +"id": "agentregistry.projects.locations.agents.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filtering results", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Hint for how to order the results", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent value for ListAgentsRequest", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/agents", +"response": { +"$ref": "ListAgentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/agentregistry.read-only", +"https://www.googleapis.com/auth/agentregistry.read-write", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +} +} +}, +"endpoints": { +"methods": { +"get": { +"description": "Gets details of a single Endpoint.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/endpoints/{endpointsId}", +"httpMethod": "GET", +"id": "agentregistry.projects.locations.endpoints.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the endpoint to retrieve. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/endpoints/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "Endpoint" +}, +"scopes": [ +"https://www.googleapis.com/auth/agentregistry.read-only", +"https://www.googleapis.com/auth/agentregistry.read-write", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"list": { +"description": "Lists Endpoints in a given project and location.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/endpoints", +"httpMethod": "GET", +"id": "agentregistry.projects.locations.endpoints.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. A query string used to filter the list of endpoints returned. The filter expression must follow AIP-160 syntax. Filtering is supported on the `name`, `display_name`, `description`, `version`, and `interfaces` fields. Some examples: * `name = \"projects/p1/locations/l1/endpoints/e1\"` * `display_name = \"my-endpoint\"` * `description = \"my-endpoint-description\"` * `version = \"v1\"` * `interfaces.transport = \"HTTP_JSON\"`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The project and location to list endpoints in. Expected format: `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/endpoints", +"response": { +"$ref": "ListEndpointsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/agentregistry.read-only", +"https://www.googleapis.com/auth/agentregistry.read-write", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +} +} +}, +"mcpServers": { +"methods": { +"get": { +"description": "Gets details of a single McpServer.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/mcpServers/{mcpServersId}", +"httpMethod": "GET", +"id": "agentregistry.projects.locations.mcpServers.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/mcpServers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "McpServer" +}, +"scopes": [ +"https://www.googleapis.com/auth/agentregistry.read-only", +"https://www.googleapis.com/auth/agentregistry.read-write", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"list": { +"description": "Lists McpServers in a given project and location.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/mcpServers", +"httpMethod": "GET", +"id": "agentregistry.projects.locations.mcpServers.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filtering results", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Hint for how to order the results", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent value for ListMcpServersRequest. Format: `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/mcpServers", +"response": { +"$ref": "ListMcpServersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/agentregistry.read-only", +"https://www.googleapis.com/auth/agentregistry.read-write", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +} +} +}, +"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": "v1alpha/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "agentregistry.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": "v1alpha/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/agentregistry.read-write", +"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": "v1alpha/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "agentregistry.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": "v1alpha/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/agentregistry.read-write", +"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": "v1alpha/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "agentregistry.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": "v1alpha/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/agentregistry.read-write", +"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": "v1alpha/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "agentregistry.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": "v1alpha/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/agentregistry.read-write", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"services": { +"methods": { +"create": { +"description": "Creates a new Service in a given project and location.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/services", +"httpMethod": "POST", +"id": "agentregistry.projects.locations.services.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The project and location to create the Service in. Expected format: `projects/{project}/locations/{location}`.", +"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" +}, +"serviceId": { +"description": "Required. The ID to use for the service, which will become the final component of the service's resource name. This value should be 4-63 characters, and valid characters are `/a-z-/`.", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+parent}/services", +"request": { +"$ref": "Service" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/agentregistry.read-write", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single Service.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/services/{servicesId}", +"httpMethod": "DELETE", +"id": "agentregistry.projects.locations.services.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Service. Format: `projects/{project}/locations/{location}/services/{service}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"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 after 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" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/agentregistry.read-write", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single Service.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/services/{servicesId}", +"httpMethod": "GET", +"id": "agentregistry.projects.locations.services.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Service. Format: `projects/{project}/locations/{location}/services/{service}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "Service" +}, +"scopes": [ +"https://www.googleapis.com/auth/agentregistry.read-only", +"https://www.googleapis.com/auth/agentregistry.read-write", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"list": { +"description": "Lists Services in a given project and location.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/services", +"httpMethod": "GET", +"id": "agentregistry.projects.locations.services.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. A query string used to filter the list of services returned. The filter expression must follow AIP-160 syntax. Filtering is supported on the `name`, `display_name`, `description`, and `labels` fields. Some examples: * `name = \"projects/p1/locations/l1/services/s1\"` * `display_name = \"my-service\"` * `description : \"myservice description\"` * `labels.env = \"prod\"`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The project and location to list services in. Expected format: `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/services", +"response": { +"$ref": "ListServicesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/agentregistry.read-only", +"https://www.googleapis.com/auth/agentregistry.read-write", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"patch": { +"description": "Updates the parameters of a single Service.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/services/{servicesId}", +"httpMethod": "PATCH", +"id": "agentregistry.projects.locations.services.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the Service. Format: `projects/{project}/locations/{location}/services/{service}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"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 Service 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 present in the request will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"request": { +"$ref": "Service" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/agentregistry.read-write", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20260318", +"rootUrl": "https://agentregistry.googleapis.com/", +"schemas": { +"Agent": { +"description": "Represents an Agent. \"A2A\" below refers to the Agent-to-Agent protocol.", +"id": "Agent", +"properties": { +"agentId": { +"description": "Output only. A stable, globally unique identifier for agents.", +"readOnly": true, +"type": "string" +}, +"attributes": { +"additionalProperties": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"description": "Output only. Attributes of the Agent. Valid values: * `agentregistry.googleapis.com/system/Framework`: {\"framework\": \"google-adk\"} - the agent framework used to develop the Agent. Example values: \"google-adk\", \"langchain\", \"custom\". * `agentregistry.googleapis.com/system/RuntimeIdentity`: {\"principal\": \"principal://...\"} - the runtime identity associated with the Agent. * `agentregistry.googleapis.com/system/RuntimeReference`: {\"uri\": \"//...\"} - the URI of the underlying resource hosting the Agent, for example, the Reasoning Engine URI.", +"readOnly": true, +"type": "object" +}, +"card": { +"$ref": "Card", +"description": "Output only. Full Agent Card payload, when available.", +"readOnly": true +}, +"createTime": { +"description": "Output only. Create time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Output only. The description of the Agent, often obtained from the A2A Agent Card. Empty if Agent Card has no description.", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Output only. The display name of the agent, often obtained from the A2A Agent Card.", +"readOnly": true, +"type": "string" +}, +"location": { +"description": "Output only. The location where agent is hosted. The value is defined by the hosting environment (i.e. cloud provider).", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of an Agent. Format: `projects/{project}/locations/{location}/agents/{agent}`.", +"type": "string" +}, +"protocols": { +"description": "Output only. The connection details for the Agent.", +"items": { +"$ref": "Protocol" +}, +"readOnly": true, +"type": "array" +}, +"skills": { +"description": "Output only. Skills the agent possesses, often obtained from the A2A Agent Card.", +"items": { +"$ref": "Skill" +}, +"readOnly": true, +"type": "array" +}, +"uid": { +"description": "Output only. A universally unique identifier for the Agent.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Update time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"version": { +"description": "Output only. The version of the Agent, often obtained from the A2A Agent Card. Empty if Agent Card has no version or agent is not an A2A Agent.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"AgentSpec": { +"description": "The spec of the agent.", +"id": "AgentSpec", +"properties": { +"content": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. The content of the Agent spec in the JSON format. This payload is validated against the schema for the specified type. The content size is limited to `10KB`.", +"type": "object" +}, +"type": { +"description": "Required. The type of the agent spec content.", +"enum": [ +"TYPE_UNSPECIFIED", +"NO_SPEC", +"A2A_AGENT_CARD" +], +"enumDescriptions": [ +"Unspecified type.", +"There is no spec for the Agent. The `content` field must be empty.", +"The content is an A2A Agent Card following the A2A specification. The `interfaces` field must be empty." +], +"type": "string" +} +}, +"type": "object" +}, +"Annotations": { +"description": "Annotations describing the characteristics and behavior of a tool or operation.", +"id": "Annotations", +"properties": { +"destructiveHint": { +"description": "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", +"readOnly": true, +"type": "boolean" +}, +"idempotentHint": { +"description": "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", +"readOnly": true, +"type": "boolean" +}, +"openWorldHint": { +"description": "Output only. If true, this tool may interact with an \"open world\" of external entities. If false, the tool's domain of interaction is closed. For example, the world of a web search tool is open, whereas that of a memory tool is not. Default: true", +"readOnly": true, +"type": "boolean" +}, +"readOnlyHint": { +"description": "Output only. If true, the tool does not modify its environment. Default: false", +"readOnly": true, +"type": "boolean" +}, +"title": { +"description": "Output only. A human-readable title for the tool.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"Card": { +"description": "Full Agent Card payload, often obtained from the A2A Agent Card.", +"id": "Card", +"properties": { +"content": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Output only. The content of the agent card.", +"readOnly": true, +"type": "object" +}, +"type": { +"description": "Output only. The type of agent card.", +"enum": [ +"TYPE_UNSPECIFIED", +"A2A_AGENT_CARD" +], +"enumDescriptions": [ +"Unspecified type.", +"Indicates that the card is an A2A Agent Card." +], +"readOnly": true, +"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" +}, +"Endpoint": { +"description": "Represents an Endpoint.", +"id": "Endpoint", +"properties": { +"attributes": { +"additionalProperties": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"description": "Output only. Attributes of the Endpoint. Valid values: * `agentregistry.googleapis.com/system/RuntimeReference`: {\"uri\": \"//...\"} - the URI of the underlying resource hosting the Endpoint, for example, the GKE Deployment.", +"readOnly": true, +"type": "object" +}, +"createTime": { +"description": "Output only. Create time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Output only. Description of an Endpoint.", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Output only. Display name for the Endpoint.", +"readOnly": true, +"type": "string" +}, +"endpointId": { +"description": "Output only. A stable, globally unique identifier for Endpoint.", +"readOnly": true, +"type": "string" +}, +"interfaces": { +"description": "Required. The connection details for the Endpoint.", +"items": { +"$ref": "Interface" +}, +"type": "array" +}, +"name": { +"description": "Identifier. The resource name of the Endpoint. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`.", +"type": "string" +}, +"updateTime": { +"description": "Output only. Update time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"EndpointSpec": { +"description": "The spec of the endpoint.", +"id": "EndpointSpec", +"properties": { +"content": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. The content of the endpoint spec. Reserved for future use.", +"type": "object" +}, +"type": { +"description": "Required. The type of the endpoint spec content.", +"enum": [ +"TYPE_UNSPECIFIED", +"NO_SPEC" +], +"enumDescriptions": [ +"Unspecified type.", +"There is no spec for the Endpoint. The `content` field must be empty." +], +"type": "string" +} +}, +"type": "object" +}, +"Interface": { +"description": "Represents the connection details for an Agent or MCP Server.", +"id": "Interface", +"properties": { +"protocolBinding": { +"description": "Required. The protocol binding of the interface.", +"enum": [ +"PROTOCOL_BINDING_UNSPECIFIED", +"JSONRPC", +"GRPC", +"HTTP_JSON" +], +"enumDescriptions": [ +"Unspecified transport protocol.", +"JSON-RPC specification.", +"gRPC specification.", +"HTTP+JSON specification." +], +"type": "string" +}, +"url": { +"description": "Required. The destination URL.", +"type": "string" +} +}, +"type": "object" +}, +"ListAgentsResponse": { +"description": "Message for response to listing Agents", +"id": "ListAgentsResponse", +"properties": { +"agents": { +"description": "The list of Agents.", +"items": { +"$ref": "Agent" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying a page of results the server should return.", +"type": "string" +} +}, +"type": "object" +}, +"ListEndpointsResponse": { +"description": "Message for response to listing Endpoints", +"id": "ListEndpointsResponse", +"properties": { +"endpoints": { +"description": "The list of Endpoint resources matching the parent and filter criteria in the request. Each Endpoint resource follows the format: `projects/{project}/locations/{location}/endpoints/{endpoint}`.", +"items": { +"$ref": "Endpoint" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying a page of results the server should return. Used in page_token.", +"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" +}, +"ListMcpServersResponse": { +"description": "Message for response to listing McpServers", +"id": "ListMcpServersResponse", +"properties": { +"mcpServers": { +"description": "The list of McpServers.", +"items": { +"$ref": "McpServer" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying a page of results the server should return.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"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": "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.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListServicesResponse": { +"description": "Message for response to listing Services", +"id": "ListServicesResponse", +"properties": { +"nextPageToken": { +"description": "A token identifying a page of results the server should return. Used in page_token.", +"type": "string" +}, +"services": { +"description": "The list of Service resources matching the parent and filter criteria in the request. Each Service resource follows the format: `projects/{project}/locations/{location}/services/{service}`.", +"items": { +"$ref": "Service" +}, +"type": "array" +} +}, +"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" +}, +"McpServer": { +"description": "Represents an MCP (Model Context Protocol) Server.", +"id": "McpServer", +"properties": { +"attributes": { +"additionalProperties": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"description": "Output only. Attributes of the MCP Server. Valid values: * `agentregistry.googleapis.com/system/RuntimeIdentity`: {\"principal\": \"principal://...\"} - the runtime identity associated with the MCP Server. * `agentregistry.googleapis.com/system/RuntimeReference`: {\"uri\": \"//...\"} - the URI of the underlying resource hosting the MCP Server, for example, the GKE Deployment.", +"readOnly": true, +"type": "object" +}, +"createTime": { +"description": "Output only. Create time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Output only. The description of the MCP Server.", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Output only. The display name of the MCP Server.", +"readOnly": true, +"type": "string" +}, +"interfaces": { +"description": "Output only. The connection details for the MCP Server.", +"items": { +"$ref": "Interface" +}, +"readOnly": true, +"type": "array" +}, +"mcpServerId": { +"description": "Output only. A stable, globally unique identifier for MCP Servers.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the MCP Server. Format: `projects/{project}/locations/{location}/mcpServers/{mcp_server}`.", +"type": "string" +}, +"tools": { +"description": "Output only. Tools provided by the MCP Server.", +"items": { +"$ref": "Tool" +}, +"readOnly": true, +"type": "array" +}, +"updateTime": { +"description": "Output only. Update time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"McpServerSpec": { +"description": "The spec of the MCP Server.", +"id": "McpServerSpec", +"properties": { +"content": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. The content of the MCP Server spec. This payload is validated against the schema for the specified type. The content size is limited to `10KB`.", +"type": "object" +}, +"type": { +"description": "Required. The type of the MCP Server spec content.", +"enum": [ +"TYPE_UNSPECIFIED", +"NO_SPEC", +"TOOL_SPEC" +], +"enumDescriptions": [ +"Unspecified type.", +"There is no spec for the MCP Server. The `content` field must be empty.", +"The content is a MCP Tool Spec following the One MCP specification. The payload is the same as the `tools/list` response." +], +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"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": "Status", +"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" +}, +"OperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have google.longrunning.Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Protocol": { +"description": "Represents the protocol of an Agent.", +"id": "Protocol", +"properties": { +"interfaces": { +"description": "Output only. The connection details for the Agent.", +"items": { +"$ref": "Interface" +}, +"readOnly": true, +"type": "array" +}, +"protocolVersion": { +"description": "Output only. The version of the protocol, for example, the A2A Agent Card version.", +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Output only. The type of the protocol.", +"enum": [ +"TYPE_UNSPECIFIED", +"A2A_AGENT", +"CUSTOM" +], +"enumDescriptions": [ +"Unspecified type.", +"The interfaces point to an A2A Agent following the A2A specification.", +"Agent does not follow any standard protocol." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Service": { +"description": "Represents a user-defined Service.", +"id": "Service", +"properties": { +"agentSpec": { +"$ref": "AgentSpec", +"description": "Optional. The spec of the Agent. When `agent_spec` is set, the type of the service is Agent." +}, +"createTime": { +"description": "Output only. Create time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. User-defined description of an Service. Can have a maximum length of `2048` characters.", +"type": "string" +}, +"displayName": { +"description": "Optional. User-defined display name for the Service. Can have a maximum length of `63` characters.", +"type": "string" +}, +"endpointSpec": { +"$ref": "EndpointSpec", +"description": "Optional. The spec of the Endpoint. When `endpoint_spec` is set, the type of the service is Endpoint." +}, +"interfaces": { +"description": "Optional. The connection details for the Service.", +"items": { +"$ref": "Interface" +}, +"type": "array" +}, +"mcpServerSpec": { +"$ref": "McpServerSpec", +"description": "Optional. The spec of the MCP Server. When `mcp_server_spec` is set, the type of the service is MCP Server." +}, +"name": { +"description": "Identifier. The resource name of the Service. Format: `projects/{project}/locations/{location}/services/{service}`.", +"type": "string" +}, +"updateTime": { +"description": "Output only. Update time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Skill": { +"description": "Represents the skills of an Agent.", +"id": "Skill", +"properties": { +"description": { +"description": "Output only. A more detailed description of the skill.", +"readOnly": true, +"type": "string" +}, +"examples": { +"description": "Output only. Example prompts or scenarios this skill can handle.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"id": { +"description": "Output only. A unique identifier for the agent's skill.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. A human-readable name for the agent's skill.", +"readOnly": true, +"type": "string" +}, +"tags": { +"description": "Output only. Keywords describing the skill.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"Status": { +"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": "Status", +"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" +}, +"Tool": { +"description": "Represents a single tool provided by an MCP Server.", +"id": "Tool", +"properties": { +"annotations": { +"$ref": "Annotations", +"description": "Output only. Annotations associated with the tool.", +"readOnly": true +}, +"description": { +"description": "Output only. Description of what the tool does.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. Human-readable name of the tool.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Agent Registry API", +"version": "v1alpha", +"version_module": true +} \ No newline at end of file diff --git a/googleapiclient/discovery_cache/documents/aiplatform.v1.json b/googleapiclient/discovery_cache/documents/aiplatform.v1.json index 6943474ec1..3c530bb25a 100644 --- a/googleapiclient/discovery_cache/documents/aiplatform.v1.json +++ b/googleapiclient/discovery_cache/documents/aiplatform.v1.json @@ -6567,6 +6567,34 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, +"generateUserScenarios": { +"description": "Generates user scenarios for agent evaluation.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}:generateUserScenarios", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.generateUserScenarios", +"parameterOrder": [ +"location" +], +"parameters": { +"location": { +"description": "Required. The resource name of the Location to run the job. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+location}:generateUserScenarios", +"request": { +"$ref": "GoogleCloudAiplatformV1GenerateUserScenariosRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1GenerateUserScenariosResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, "get": { "description": "Gets information about a location.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}", @@ -18179,7 +18207,7 @@ ], "parameters": { "name": { -"description": "The resource name of the Model.", +"description": "Identifier. The resource name of the Model.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/models/[^/]+$", "required": true, @@ -23492,7 +23520,7 @@ "type": "string" }, "sessionId": { -"description": "Optional. The user defined ID to use for session, which will become the final component of the session resource name. If not provided, Vertex AI will generate a value for this ID. This value may be up to 63 characters, and valid characters are `[a-z0-9-]`. The first character must be a letter, and the last character must be a letter or number.", +"description": "Optional. The user defined ID to use for session, which will become the final component of the session resource name. If not provided, Vertex AI will generate a value for this ID. This value may be up to 63 characters, and valid characters are `[a-z0-9-]`. The first and last characters must be a letter or number.", "location": "query", "type": "string" } @@ -30865,7 +30893,7 @@ } } }, -"revision": "20260309", +"revision": "20260317", "rootUrl": "https://aiplatform.googleapis.com/", "schemas": { "CloudAiLargeModelsVisionGenerateVideoExperiments": { @@ -31490,6 +31518,43 @@ }, "type": "object" }, +"GoogleCloudAiplatformV1AgentConfig": { +"description": "Represents configuration for an Agent.", +"id": "GoogleCloudAiplatformV1AgentConfig", +"properties": { +"agentId": { +"description": "Required. Unique identifier of the agent. This ID is used to refer to this agent, e.g., in AgentEvent.author, or in the `sub_agents` field. It must be unique within the `agents` map.", +"type": "string" +}, +"agentType": { +"description": "Optional. The type or class of the agent (e.g., \"LlmAgent\", \"RouterAgent\", \"ToolUseAgent\"). Useful for the autorater to understand the expected behavior of the agent.", +"type": "string" +}, +"description": { +"description": "Optional. A high-level description of the agent's role and responsibilities. Critical for evaluating if the agent is routing tasks correctly.", +"type": "string" +}, +"instruction": { +"description": "Optional. Provides instructions for the LLM model, guiding the agent's behavior. Can be static or dynamic. Dynamic instructions can contain placeholders like {variable_name} that will be resolved at runtime using the `AgentEvent.state_delta` field.", +"type": "string" +}, +"subAgents": { +"description": "Optional. The list of valid agent IDs that this agent can delegate to. This defines the directed edges in the multi-agent system graph topology.", +"items": { +"type": "string" +}, +"type": "array" +}, +"tools": { +"description": "Optional. The list of tools available to this agent.", +"items": { +"$ref": "GoogleCloudAiplatformV1Tool" +}, +"type": "array" +} +}, +"type": "object" +}, "GoogleCloudAiplatformV1AggregationOutput": { "description": "The aggregation result for the entire dataset and all metrics.", "id": "GoogleCloudAiplatformV1AggregationOutput", @@ -35071,6 +35136,10 @@ "description": "Defines a custom dataset-level aggregation.", "id": "GoogleCloudAiplatformV1DatasetCustomMetric", "properties": { +"aggregationFunction": { +"description": "Required. The Python code string containing the aggregation function. Expected function signature: `def aggregate(instances: list[dict[str, Any]]) -> dict[str, float]:` The `instances` argument is a list of dictionaries, where each dictionary represents a single evaluation result item. The structure of each dictionary corresponds to the fields in the `EvaluationResult` message. This includes: - `\"request\"`: Contains the original input data and model inputs (from `EvaluationResult.EvaluationRequest`). - `\"candidate_results\"`: Contains the results of any instance-level metrics (from `EvaluationResult.CandidateResults`). Example of a single item in the `instances` list: { \"request\": { \"prompt\": {\"text\": \"What is the capital of France?\"}, \"golden_response\": {\"text\": \"Paris\"}, \"candidate_responses\": [{\"candidate\": \"model-v1\", \"text\": \"Paris\"}] }, \"candidate_results\": [ {\"metric\": \"exact_match\", \"score\": 1.0}, {\"metric\": \"bleu\", \"score\": 0.9} ] }", +"type": "string" +}, "displayName": { "description": "Optional. A display name for this custom summary metric. Used to prefix keys in the output summaryMetrics map. If not provided, a default name like \"dataset_custom_metric_1\", \"dataset_custom_metric_2\", etc., will be generated based on the order in the repeated field.", "type": "string" @@ -36716,6 +36785,13 @@ "description": "Required. The resource name of the Location to evaluate the instances. Format: `projects/{project}/locations/{location}`", "type": "string" }, +"metricSources": { +"description": "Optional. The metrics (either inline or registered) used for evaluation. Currently, we only support evaluating a single metric. If multiple metrics are provided, only the first one will be evaluated.", +"items": { +"$ref": "GoogleCloudAiplatformV1MetricSource" +}, +"type": "array" +}, "metrics": { "description": "The metrics used for evaluation. Currently, we only support evaluating a single metric. If multiple metrics are provided, only the first one will be evaluated.", "items": { @@ -37055,6 +37131,13 @@ "$ref": "GoogleCloudAiplatformV1AutoraterConfig", "description": "Optional. Autorater config for evaluation." }, +"datasetCustomMetrics": { +"description": "Optional. Specifications for custom dataset-level aggregations.", +"items": { +"$ref": "GoogleCloudAiplatformV1DatasetCustomMetric" +}, +"type": "array" +}, "inferenceGenerationConfig": { "$ref": "GoogleCloudAiplatformV1GenerationConfig", "description": "Optional. Configuration options for inference generation and outputs. If not set, default generation parameters are used." @@ -37744,15 +37827,84 @@ "type": "object" }, "GoogleCloudAiplatformV1EvaluationRunInferenceConfig": { -"description": "An inference config used for model inference during the evaluation run.", +"description": "Defines the configuration for a candidate model or agent being evaluated. `InferenceConfig` encapsulates all the necessary information to invoke or scrape the candidate during the evaluation run. This includes direct model inference parameters, agent execution settings, and multi-turn scraping configurations (such as user simulators). It serves as the primary representation of the candidate across different stages of the evaluation process.", "id": "GoogleCloudAiplatformV1EvaluationRunInferenceConfig", "properties": { +"agentRunConfig": { +"$ref": "GoogleCloudAiplatformV1EvaluationRunInferenceConfigAgentRunConfig", +"description": "Optional. Agent run config." +}, "generationConfig": { "$ref": "GoogleCloudAiplatformV1GenerationConfig", "description": "Optional. Generation config." }, "model": { -"description": "Optional. The fully qualified name of the publisher model or endpoint to use. Anthropic and Llama third-party models are also supported through Model Garden. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Third-party model format: `projects/{project}/locations/{location}/publishers/anthropic/models/{model}` `projects/{project}/locations/{location}/publishers/llama/models/{model}` Endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}`", +"description": "Optional. The fully qualified name of the publisher model or endpoint to use. Anthropic and Llama third-party models are also supported through Model Garden. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Third-party model formats: `projects/{project}/locations/{location}/publishers/anthropic/models/{model}` or `projects/{project}/locations/{location}/publishers/llama/models/{model}` Endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1EvaluationRunInferenceConfigAgentRunConfig": { +"description": "Configuration for Agent Run.", +"id": "GoogleCloudAiplatformV1EvaluationRunInferenceConfigAgentRunConfig", +"properties": { +"agentEngine": { +"description": "Optional. The resource name of the Agent Engine. Format: projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine} For example: projects/123/locations/us-central1/reasoningEngines/456", +"type": "string" +}, +"sessionInput": { +"$ref": "GoogleCloudAiplatformV1EvaluationRunInferenceConfigSessionInput", +"description": "Optional. The session input to get agent running results." +}, +"userSimulatorConfig": { +"$ref": "GoogleCloudAiplatformV1EvaluationRunInferenceConfigAgentRunConfigUserSimulatorConfig", +"description": "The configuration for a user simulator that uses an LLM to generate messages on behalf of the user." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1EvaluationRunInferenceConfigAgentRunConfigUserSimulatorConfig": { +"description": "Used for multi-turn agent scraping. Contains configuration for a user simulator that uses an LLM to generate messages on behalf of the user.", +"id": "GoogleCloudAiplatformV1EvaluationRunInferenceConfigAgentRunConfigUserSimulatorConfig", +"properties": { +"maxTurn": { +"description": "Maximum number of invocations allowed by the multi-turn agent scraping. This property allows us to stop a run-off conversation, where the agent and the user simulator get into a never ending loop. The initial fixed prompt is also counted as an invocation.", +"format": "int32", +"type": "integer" +}, +"modelConfig": { +"$ref": "GoogleCloudAiplatformV1GenerationConfig", +"description": "The configuration for the model." +}, +"modelName": { +"description": "The model name to use for multi-turn agent scraping to get next user message, e.g. \"gemini-3-flash-preview\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1EvaluationRunInferenceConfigSessionInput": { +"description": "Session input to run an Agent.", +"id": "GoogleCloudAiplatformV1EvaluationRunInferenceConfigSessionInput", +"properties": { +"parameters": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Additional parameters for the session, like app_name, etc. For example, {\"app_name\": \"my-app\"}.", +"type": "object" +}, +"sessionState": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. Session specific memory which stores key conversation points.", +"type": "object" +}, +"userId": { +"description": "Optional. The user id for the agent session. The ID can be up to 128 characters long.", "type": "string" } }, @@ -37778,6 +37930,10 @@ "$ref": "GoogleCloudAiplatformV1Metric", "description": "The metric config." }, +"metricResourceName": { +"description": "Optional. The resource name of the metric definition.", +"type": "string" +}, "predefinedMetricSpec": { "$ref": "GoogleCloudAiplatformV1EvaluationRunMetricPredefinedMetricSpec", "description": "Spec for a pre-defined metric." @@ -37923,6 +38079,10 @@ "description": "Specification for how rubrics should be generated.", "id": "GoogleCloudAiplatformV1EvaluationRunMetricRubricGenerationSpec", "properties": { +"metricResourceName": { +"description": "Optional. Resource name of the metric definition.", +"type": "string" +}, "modelConfig": { "$ref": "GoogleCloudAiplatformV1EvaluationRunEvaluationConfigAutoraterConfig", "description": "Optional. Configuration for the model used in rubric generation. Configs including sampling count and base model can be specified here. Flipping is not supported for rubric generation." @@ -41521,6 +41681,10 @@ "description": "Required. The resource name of the Location to generate rubrics from. Format: `projects/{project}/locations/{location}`", "type": "string" }, +"metricResourceName": { +"description": "Optional. The resource name of a registered metric. Rubric generation using predefined metric spec or LLMBasedMetricSpec is supported. If this field is set, the configuration provided in this field is used for rubric generation. The `predefined_rubric_generation_spec` and `rubric_generation_spec` fields will be ignored.", +"type": "string" +}, "predefinedRubricGenerationSpec": { "$ref": "GoogleCloudAiplatformV1PredefinedMetricSpec", "description": "Optional. Specification for using the rubric generation configs of a pre-defined metric, e.g. \"generic_quality_v1\" and \"instruction_following_v1\". Some of the configs may be only used in rubric generation and not supporting evaluation, e.g. \"fully_customized_generic_quality_v1\". If this field is set, the `rubric_generation_spec` field will be ignored." @@ -41743,6 +41907,42 @@ }, "type": "object" }, +"GoogleCloudAiplatformV1GenerateUserScenariosRequest": { +"description": "Request message for DataFoundryService.GenerateUserScenarios.", +"id": "GoogleCloudAiplatformV1GenerateUserScenariosRequest", +"properties": { +"agents": { +"additionalProperties": { +"$ref": "GoogleCloudAiplatformV1AgentConfig" +}, +"description": "Required. A map containing the static configurations for each agent in the system. Key: agent_id (matches the `author` field in events). Value: The static configuration of the agent.", +"type": "object" +}, +"rootAgentId": { +"description": "Required. The agent id to identify the root agent.", +"type": "string" +}, +"userScenarioGenerationConfig": { +"$ref": "GoogleCloudAiplatformV1UserScenarioGenerationConfig", +"description": "Required. Configuration for generating user scenarios." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1GenerateUserScenariosResponse": { +"description": "Response message for DataFoundryService.GenerateUserScenarios.", +"id": "GoogleCloudAiplatformV1GenerateUserScenariosResponse", +"properties": { +"userScenarios": { +"description": "The generated user scenarios used to simulate multi-turn agent running results and agent evaluation.", +"items": { +"$ref": "GoogleCloudAiplatformV1UserScenario" +}, +"type": "array" +} +}, +"type": "object" +}, "GoogleCloudAiplatformV1GenerateVideoResponse": { "description": "Generate video response.", "id": "GoogleCloudAiplatformV1GenerateVideoResponse", @@ -41862,7 +42062,7 @@ "type": "boolean" }, "responseMimeType": { -"description": "Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature.", +"description": "Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined.", "type": "string" }, "responseModalities": { @@ -45516,6 +45716,10 @@ false "$ref": "GoogleCloudAiplatformV1LLMBasedMetricSpec", "description": "Spec for an LLM based metric." }, +"metadata": { +"$ref": "GoogleCloudAiplatformV1MetricMetadata", +"description": "Optional. Metadata about the metric, used for visualization and organization." +}, "pairwiseMetricSpec": { "$ref": "GoogleCloudAiplatformV1PairwiseMetricSpec", "description": "Spec for pairwise metric." @@ -45535,6 +45739,55 @@ false }, "type": "object" }, +"GoogleCloudAiplatformV1MetricMetadata": { +"description": "Metadata about the metric, used for visualization and organization.", +"id": "GoogleCloudAiplatformV1MetricMetadata", +"properties": { +"otherMetadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. Flexible metadata for user-defined attributes.", +"type": "object" +}, +"scoreRange": { +"$ref": "GoogleCloudAiplatformV1MetricMetadataScoreRange", +"description": "Optional. The range of possible scores for this metric, used for plotting." +}, +"title": { +"description": "Optional. The user-friendly name for the metric. If not set for a registered metric, it will default to the metric's display name.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1MetricMetadataScoreRange": { +"description": "The range of possible scores for this metric, used for plotting.", +"id": "GoogleCloudAiplatformV1MetricMetadataScoreRange", +"properties": { +"description": { +"description": "Optional. The description of the score explaining the directionality etc.", +"type": "string" +}, +"max": { +"description": "Required. The maximum value of the score range (inclusive).", +"format": "double", +"type": "number" +}, +"min": { +"description": "Required. The minimum value of the score range (inclusive).", +"format": "double", +"type": "number" +}, +"step": { +"description": "Optional. The distance between discrete steps in the range. If unset, the range is assumed to be continuous.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, "GoogleCloudAiplatformV1MetricResult": { "description": "Result for a single metric on a single instance.", "id": "GoogleCloudAiplatformV1MetricResult", @@ -45566,6 +45819,21 @@ false }, "type": "object" }, +"GoogleCloudAiplatformV1MetricSource": { +"description": "The metric source used for evaluation.", +"id": "GoogleCloudAiplatformV1MetricSource", +"properties": { +"metric": { +"$ref": "GoogleCloudAiplatformV1Metric", +"description": "Inline metric config." +}, +"metricResourceName": { +"description": "Resource name for registered metric.", +"type": "string" +} +}, +"type": "object" +}, "GoogleCloudAiplatformV1MetricxInput": { "description": "Input for MetricX metric.", "id": "GoogleCloudAiplatformV1MetricxInput", @@ -46014,7 +46282,7 @@ false "readOnly": true }, "name": { -"description": "The resource name of the Model.", +"description": "Identifier. The resource name of the Model.", "type": "string" }, "originalModelInfo": { @@ -49800,6 +50068,13 @@ false }, "type": "array" }, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels with user-defined metadata for the request. It is used for billing and reporting only. Label keys and values can be no longer than 63 characters (Unicode codepoints) and can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.", +"type": "object" +}, "parameters": { "description": "Optional. The parameters that govern the prediction. The schema of the parameters may be specified via Endpoint's DeployedModels' Model's PredictSchemata's parameters_schema_uri.", "type": "any" @@ -52317,6 +52592,10 @@ false }, "type": "array" }, +"containerSpec": { +"$ref": "GoogleCloudAiplatformV1ReasoningEngineSpecContainerSpec", +"description": "Deploy from a container image with a defined entrypoint and commands." +}, "deploymentSpec": { "$ref": "GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec", "description": "Optional. The specification of a Reasoning Engine deployment." @@ -52355,6 +52634,17 @@ false }, "type": "object" }, +"GoogleCloudAiplatformV1ReasoningEngineSpecContainerSpec": { +"description": "Specification for deploying from a container image.", +"id": "GoogleCloudAiplatformV1ReasoningEngineSpecContainerSpec", +"properties": { +"imageUri": { +"description": "Required. The Artifact Registry Docker image URI (e.g., us-central1-docker.pkg.dev/my-project/my-repo/my-image:tag) of the container image that is to be run on each worker replica.", +"type": "string" +} +}, +"type": "object" +}, "GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec": { "description": "The specification of a Reasoning Engine deployment.", "id": "GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec", @@ -62783,6 +63073,45 @@ false }, "type": "object" }, +"GoogleCloudAiplatformV1UserScenario": { +"description": "Output of user scenario generation.", +"id": "GoogleCloudAiplatformV1UserScenario", +"properties": { +"conversationPlan": { +"description": "Conversation plan to drive multi-turn agent run and get simulated agent eval dataset.", +"type": "string" +}, +"startingPrompt": { +"description": "Starting prompt for the conversation between simulated user and agent under the test.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1UserScenarioGenerationConfig": { +"description": "User scenario generation configuration.", +"id": "GoogleCloudAiplatformV1UserScenarioGenerationConfig", +"properties": { +"environmentData": { +"description": "Optional. Environment data in string type.", +"type": "string" +}, +"modelName": { +"description": "Optional. The model name to use for generation. It can be model name, e.g. \"gemini-3-pro-preview\". or the fully qualified name of the publisher model or endpoint. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}`", +"type": "string" +}, +"simulationInstruction": { +"description": "Optional. Simulation instruction to guide the user scenario generation.", +"type": "string" +}, +"userScenarioCount": { +"description": "Required. The number of user scenarios to generate. The maximum number of scenarios that can be generated is 100.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, "GoogleCloudAiplatformV1Value": { "description": "Value is the value of the field.", "id": "GoogleCloudAiplatformV1Value", diff --git a/googleapiclient/discovery_cache/documents/aiplatform.v1beta1.json b/googleapiclient/discovery_cache/documents/aiplatform.v1beta1.json index 087b972b08..313cc0db96 100644 --- a/googleapiclient/discovery_cache/documents/aiplatform.v1beta1.json +++ b/googleapiclient/discovery_cache/documents/aiplatform.v1beta1.json @@ -8549,6 +8549,34 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, +"generateUserScenarios": { +"description": "Generates user scenarios for agent evaluation.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}:generateUserScenarios", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.generateUserScenarios", +"parameterOrder": [ +"location" +], +"parameters": { +"location": { +"description": "Required. The resource name of the Location to run the job. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+location}:generateUserScenarios", +"request": { +"$ref": "GoogleCloudAiplatformV1beta1GenerateUserScenariosRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1beta1GenerateUserScenariosResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, "get": { "description": "Gets information about a location.", "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}", @@ -13633,6 +13661,137 @@ } }, "evaluationMetrics": { +"methods": { +"create": { +"description": "Creates an EvaluationMetric.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/evaluationMetrics", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.evaluationMetrics.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"evaluationMetricId": { +"description": "Optional. The ID to use for the EvaluationMetric, which will become the final component of the EvaluationMetric's resource name. This value should be 1-63 characters, and valid characters are /a-z-/. The first character must be a lowercase letter, and the last character must be a lowercase letter or number.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the Location to create the EvaluationMetric in. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/evaluationMetrics", +"request": { +"$ref": "GoogleCloudAiplatformV1beta1EvaluationMetric" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1beta1EvaluationMetric" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an EvaluationMetric.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/evaluationMetrics/{evaluationMetricsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.evaluationMetrics.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the EvaluationMetric resource to be deleted. Format: `projects/{project}/locations/{location}/evaluationMetrics/{evaluation_metric}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/evaluationMetrics/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets an EvaluationMetric.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/evaluationMetrics/{evaluationMetricsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.evaluationMetrics.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the EvaluationMetric resource. Format: `projects/{project}/locations/{location}/evaluationMetrics/{evaluation_metric}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/evaluationMetrics/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1beta1EvaluationMetric" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists EvaluationMetrics.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/evaluationMetrics", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.evaluationMetrics.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter expression that matches a subset of the EvaluationMetrics to show. For field names both snake_case and camelCase are supported. For more information about filter syntax, see [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. A comma-separated list of fields to order by, sorted in ascending order by default. Use `desc` after a field name for descending.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of EvaluationMetrics to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListEvaluationMetrics` call. Provide this to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the Location from which to list the EvaluationMetrics. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/evaluationMetrics", +"response": { +"$ref": "GoogleCloudAiplatformV1beta1ListEvaluationMetricsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, "resources": { "operations": { "methods": { @@ -23453,7 +23612,7 @@ ], "parameters": { "name": { -"description": "The resource name of the Model.", +"description": "Identifier. The resource name of the Model.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/models/[^/]+$", "required": true, @@ -28418,14 +28577,12 @@ }, "resources": { "a2a": { -"resources": { -"v1": { "methods": { "card": { "description": "Get request for reasoning engine instance via the A2A get protocol apis.", -"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/a2a/v1/card", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/a2a/card", "httpMethod": "GET", -"id": "aiplatform.projects.locations.reasoningEngines.a2a.v1.card", +"id": "aiplatform.projects.locations.reasoningEngines.a2a.card", "parameterOrder": [ "name", "a2aEndpoint" @@ -28434,7 +28591,7 @@ "a2aEndpoint": { "description": "Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123`", "location": "path", -"pattern": "^v1/card$", +"pattern": "^card$", "required": true, "type": "string" }, @@ -28462,104 +28619,54 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] -} }, -"resources": { -"message": { -"methods": { -"send": { -"description": "Send post request for reasoning engine instance via the A2A post protocol apis.", -"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/a2a/v1/message:send", -"httpMethod": "POST", -"id": "aiplatform.projects.locations.reasoningEngines.a2a.v1.message.send", +"extendedAgentCard": { +"description": "Get request for reasoning engine instance via the A2A get protocol apis.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/a2a/extendedAgentCard", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.reasoningEngines.a2a.extendedAgentCard", "parameterOrder": [ "name", "a2aEndpoint" ], "parameters": { "a2aEndpoint": { -"description": "Required. The a2a endpoint path, captured from the URL. e.g., v1/message:send", -"location": "path", -"pattern": "^v1/message$", -"required": true, -"type": "string" -}, -"name": { -"description": "Required. The full resource path of the reasoning engine, captured from the URL.", +"description": "Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123`", "location": "path", -"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+$", +"pattern": "^extendedAgentCard$", "required": true, "type": "string" -} }, -"path": "v1beta1/{+name}/a2a/{+a2aEndpoint}:send", -"request": { -"additionalProperties": { -"description": "Properties of the object.", -"type": "any" -}, -"type": "object" -}, -"response": { -"additionalProperties": { -"description": "Properties of the object.", -"type": "any" -}, -"type": "object" -}, -"scopes": [ -"https://www.googleapis.com/auth/cloud-platform" -] -}, -"stream": { -"description": "Streams queries using a reasoning engine instance via the A2A streaming protocol apis.", -"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/a2a/v1/message:stream", -"httpMethod": "POST", -"id": "aiplatform.projects.locations.reasoningEngines.a2a.v1.message.stream", -"parameterOrder": [ -"name", -"a2aEndpoint" -], -"parameters": { -"a2aEndpoint": { -"description": "Required. The http endpoint extracted from the URL path. e.g., v1/message:stream.", -"location": "path", -"pattern": "^v1/message$", -"required": true, +"historyLength": { +"description": "Optional. The optional query parameter for the getTask endpoint. Mapped from \"?history_length=\". This indicates how many turns of history to return. If not set, the default value is 0, which means all the history will be returned.", +"location": "query", "type": "string" }, "name": { -"description": "Required. The full resource path of the reasoning engine, captured from the URL.", +"description": "Required. The full resource path of the reasoning engine, captured from the URL. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+$", "required": true, "type": "string" } }, -"path": "v1beta1/{+name}/a2a/{+a2aEndpoint}:stream", -"request": { +"path": "v1beta1/{+name}/a2a/{+a2aEndpoint}", +"response": { "additionalProperties": { "description": "Properties of the object.", "type": "any" }, "type": "object" }, -"response": { -"$ref": "GoogleApiHttpBody" -}, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] -} -} }, "tasks": { -"methods": { -"a2aGetReasoningEngine": { "description": "Get request for reasoning engine instance via the A2A get protocol apis.", -"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/a2a/v1/tasks/{tasksId}", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/a2a/tasks", "httpMethod": "GET", -"id": "aiplatform.projects.locations.reasoningEngines.a2a.v1.tasks.a2aGetReasoningEngine", +"id": "aiplatform.projects.locations.reasoningEngines.a2a.tasks", "parameterOrder": [ "name", "a2aEndpoint" @@ -28568,7 +28675,7 @@ "a2aEndpoint": { "description": "Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123`", "location": "path", -"pattern": "^v1/tasks/[^/]+$", +"pattern": "^tasks$", "required": true, "type": "string" }, @@ -28596,12 +28703,16 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] +} }, -"cancel": { +"resources": { +"message": { +"methods": { +"send": { "description": "Send post request for reasoning engine instance via the A2A post protocol apis.", -"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/a2a/v1/tasks/{tasksId}:cancel", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/a2a/message:send", "httpMethod": "POST", -"id": "aiplatform.projects.locations.reasoningEngines.a2a.v1.tasks.cancel", +"id": "aiplatform.projects.locations.reasoningEngines.a2a.message.send", "parameterOrder": [ "name", "a2aEndpoint" @@ -28610,7 +28721,7 @@ "a2aEndpoint": { "description": "Required. The a2a endpoint path, captured from the URL. e.g., v1/message:send", "location": "path", -"pattern": "^v1/tasks/[^/]+$", +"pattern": "^message$", "required": true, "type": "string" }, @@ -28622,7 +28733,7 @@ "type": "string" } }, -"path": "v1beta1/{+name}/a2a/{+a2aEndpoint}:cancel", +"path": "v1beta1/{+name}/a2a/{+a2aEndpoint}:send", "request": { "additionalProperties": { "description": "Properties of the object.", @@ -28641,74 +28752,39 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, -"pushNotificationConfigs": { -"description": "Get request for reasoning engine instance via the A2A get protocol apis.", -"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/a2a/v1/tasks/{tasksId}/pushNotificationConfigs", -"httpMethod": "GET", -"id": "aiplatform.projects.locations.reasoningEngines.a2a.v1.tasks.pushNotificationConfigs", +"stream": { +"description": "Streams queries using a reasoning engine instance via the A2A streaming protocol apis.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/a2a/message:stream", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.reasoningEngines.a2a.message.stream", "parameterOrder": [ "name", "a2aEndpoint" ], "parameters": { "a2aEndpoint": { -"description": "Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123`", +"description": "Required. The http endpoint extracted from the URL path. e.g., v1/message:stream.", "location": "path", -"pattern": "^v1/tasks/[^/]+/pushNotificationConfigs$", +"pattern": "^message$", "required": true, "type": "string" }, -"historyLength": { -"description": "Optional. The optional query parameter for the getTask endpoint. Mapped from \"?history_length=\". This indicates how many turns of history to return. If not set, the default value is 0, which means all the history will be returned.", -"location": "query", -"type": "string" -}, "name": { -"description": "Required. The full resource path of the reasoning engine, captured from the URL. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", +"description": "Required. The full resource path of the reasoning engine, captured from the URL.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+$", "required": true, "type": "string" } }, -"path": "v1beta1/{+name}/a2a/{+a2aEndpoint}", -"response": { +"path": "v1beta1/{+name}/a2a/{+a2aEndpoint}:stream", +"request": { "additionalProperties": { "description": "Properties of the object.", "type": "any" }, "type": "object" }, -"scopes": [ -"https://www.googleapis.com/auth/cloud-platform" -] -}, -"subscribe": { -"description": "Stream get request for reasoning engine instance via the A2A stream get protocol apis.", -"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/a2a/v1/tasks/{tasksId}:subscribe", -"httpMethod": "GET", -"id": "aiplatform.projects.locations.reasoningEngines.a2a.v1.tasks.subscribe", -"parameterOrder": [ -"name", -"a2aEndpoint" -], -"parameters": { -"a2aEndpoint": { -"description": "Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123:subscribe`.", -"location": "path", -"pattern": "^v1/tasks/[^/]+$", -"required": true, -"type": "string" -}, -"name": { -"description": "Required. The full resource path of the reasoning engine, captured from the URL.", -"location": "path", -"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+$", -"required": true, -"type": "string" -} -}, -"path": "v1beta1/{+name}/a2a/{+a2aEndpoint}:subscribe", "response": { "$ref": "GoogleApiHttpBody" }, @@ -28716,15 +28792,15 @@ "https://www.googleapis.com/auth/cloud-platform" ] } +} }, -"resources": { -"pushNotificationConfigs": { +"tasks": { "methods": { "a2aGetReasoningEngine": { "description": "Get request for reasoning engine instance via the A2A get protocol apis.", -"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/a2a/v1/tasks/{tasksId}/pushNotificationConfigs/{pushNotificationConfigsId}", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/a2a/tasks/{tasksId}", "httpMethod": "GET", -"id": "aiplatform.projects.locations.reasoningEngines.a2a.v1.tasks.pushNotificationConfigs.a2aGetReasoningEngine", +"id": "aiplatform.projects.locations.reasoningEngines.a2a.tasks.a2aGetReasoningEngine", "parameterOrder": [ "name", "a2aEndpoint" @@ -28733,7 +28809,7 @@ "a2aEndpoint": { "description": "Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123`", "location": "path", -"pattern": "^v1/tasks/[^/]+/pushNotificationConfigs/[^/]+$", +"pattern": "^tasks/[^/]+$", "required": true, "type": "string" }, @@ -28761,10 +28837,794 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] +}, +"cancel": { +"description": "Send post request for reasoning engine instance via the A2A post protocol apis.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/a2a/tasks/{tasksId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.reasoningEngines.a2a.tasks.cancel", +"parameterOrder": [ +"name", +"a2aEndpoint" +], +"parameters": { +"a2aEndpoint": { +"description": "Required. The a2a endpoint path, captured from the URL. e.g., v1/message:send", +"location": "path", +"pattern": "^tasks/[^/]+$", +"required": true, +"type": "string" +}, +"name": { +"description": "Required. The full resource path of the reasoning engine, captured from the URL.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}/a2a/{+a2aEndpoint}:cancel", +"request": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"pushNotificationConfigs": { +"description": "Get request for reasoning engine instance via the A2A get protocol apis.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/a2a/tasks/{tasksId}/pushNotificationConfigs", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.reasoningEngines.a2a.tasks.pushNotificationConfigs", +"parameterOrder": [ +"name", +"a2aEndpoint" +], +"parameters": { +"a2aEndpoint": { +"description": "Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123`", +"location": "path", +"pattern": "^tasks/[^/]+/pushNotificationConfigs$", +"required": true, +"type": "string" +}, +"historyLength": { +"description": "Optional. The optional query parameter for the getTask endpoint. Mapped from \"?history_length=\". This indicates how many turns of history to return. If not set, the default value is 0, which means all the history will be returned.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The full resource path of the reasoning engine, captured from the URL. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}/a2a/{+a2aEndpoint}", +"response": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"subscribe": { +"description": "Stream get request for reasoning engine instance via the A2A stream get protocol apis.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/a2a/tasks/{tasksId}:subscribe", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.reasoningEngines.a2a.tasks.subscribe", +"parameterOrder": [ +"name", +"a2aEndpoint" +], +"parameters": { +"a2aEndpoint": { +"description": "Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123:subscribe`.", +"location": "path", +"pattern": "^tasks/[^/]+$", +"required": true, +"type": "string" +}, +"name": { +"description": "Required. The full resource path of the reasoning engine, captured from the URL.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}/a2a/{+a2aEndpoint}:subscribe", +"response": { +"$ref": "GoogleApiHttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"pushNotificationConfigs": { +"methods": { +"a2aGetReasoningEngine": { +"description": "Get request for reasoning engine instance via the A2A get protocol apis.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/a2a/tasks/{tasksId}/pushNotificationConfigs/{pushNotificationConfigsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.reasoningEngines.a2a.tasks.pushNotificationConfigs.a2aGetReasoningEngine", +"parameterOrder": [ +"name", +"a2aEndpoint" +], +"parameters": { +"a2aEndpoint": { +"description": "Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123`", +"location": "path", +"pattern": "^tasks/[^/]+/pushNotificationConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"historyLength": { +"description": "Optional. The optional query parameter for the getTask endpoint. Mapped from \"?history_length=\". This indicates how many turns of history to return. If not set, the default value is 0, which means all the history will be returned.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The full resource path of the reasoning engine, captured from the URL. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}/a2a/{+a2aEndpoint}", +"response": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"v1": { +"methods": { +"card": { +"description": "Get request for reasoning engine instance via the A2A get protocol apis.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/a2a/v1/card", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.reasoningEngines.a2a.v1.card", +"parameterOrder": [ +"name", +"a2aEndpoint" +], +"parameters": { +"a2aEndpoint": { +"description": "Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123`", +"location": "path", +"pattern": "^v1/card$", +"required": true, +"type": "string" +}, +"historyLength": { +"description": "Optional. The optional query parameter for the getTask endpoint. Mapped from \"?history_length=\". This indicates how many turns of history to return. If not set, the default value is 0, which means all the history will be returned.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The full resource path of the reasoning engine, captured from the URL. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}/a2a/{+a2aEndpoint}", +"response": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"extendedAgentCard": { +"description": "Get request for reasoning engine instance via the A2A get protocol apis.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/a2a/v1/extendedAgentCard", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.reasoningEngines.a2a.v1.extendedAgentCard", +"parameterOrder": [ +"name", +"a2aEndpoint" +], +"parameters": { +"a2aEndpoint": { +"description": "Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123`", +"location": "path", +"pattern": "^v1/extendedAgentCard$", +"required": true, +"type": "string" +}, +"historyLength": { +"description": "Optional. The optional query parameter for the getTask endpoint. Mapped from \"?history_length=\". This indicates how many turns of history to return. If not set, the default value is 0, which means all the history will be returned.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The full resource path of the reasoning engine, captured from the URL. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}/a2a/{+a2aEndpoint}", +"response": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"tasks": { +"description": "Get request for reasoning engine instance via the A2A get protocol apis.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/a2a/v1/tasks", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.reasoningEngines.a2a.v1.tasks", +"parameterOrder": [ +"name", +"a2aEndpoint" +], +"parameters": { +"a2aEndpoint": { +"description": "Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123`", +"location": "path", +"pattern": "^v1/tasks$", +"required": true, +"type": "string" +}, +"historyLength": { +"description": "Optional. The optional query parameter for the getTask endpoint. Mapped from \"?history_length=\". This indicates how many turns of history to return. If not set, the default value is 0, which means all the history will be returned.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The full resource path of the reasoning engine, captured from the URL. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}/a2a/{+a2aEndpoint}", +"response": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"message": { +"methods": { +"send": { +"description": "Send post request for reasoning engine instance via the A2A post protocol apis.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/a2a/v1/message:send", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.reasoningEngines.a2a.v1.message.send", +"parameterOrder": [ +"name", +"a2aEndpoint" +], +"parameters": { +"a2aEndpoint": { +"description": "Required. The a2a endpoint path, captured from the URL. e.g., v1/message:send", +"location": "path", +"pattern": "^v1/message$", +"required": true, +"type": "string" +}, +"name": { +"description": "Required. The full resource path of the reasoning engine, captured from the URL.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}/a2a/{+a2aEndpoint}:send", +"request": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"stream": { +"description": "Streams queries using a reasoning engine instance via the A2A streaming protocol apis.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/a2a/v1/message:stream", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.reasoningEngines.a2a.v1.message.stream", +"parameterOrder": [ +"name", +"a2aEndpoint" +], +"parameters": { +"a2aEndpoint": { +"description": "Required. The http endpoint extracted from the URL path. e.g., v1/message:stream.", +"location": "path", +"pattern": "^v1/message$", +"required": true, +"type": "string" +}, +"name": { +"description": "Required. The full resource path of the reasoning engine, captured from the URL.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}/a2a/{+a2aEndpoint}:stream", +"request": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"response": { +"$ref": "GoogleApiHttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"tasks": { +"methods": { +"a2aGetReasoningEngine": { +"description": "Get request for reasoning engine instance via the A2A get protocol apis.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/a2a/v1/tasks/{tasksId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.reasoningEngines.a2a.v1.tasks.a2aGetReasoningEngine", +"parameterOrder": [ +"name", +"a2aEndpoint" +], +"parameters": { +"a2aEndpoint": { +"description": "Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123`", +"location": "path", +"pattern": "^v1/tasks/[^/]+$", +"required": true, +"type": "string" +}, +"historyLength": { +"description": "Optional. The optional query parameter for the getTask endpoint. Mapped from \"?history_length=\". This indicates how many turns of history to return. If not set, the default value is 0, which means all the history will be returned.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The full resource path of the reasoning engine, captured from the URL. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}/a2a/{+a2aEndpoint}", +"response": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"cancel": { +"description": "Send post request for reasoning engine instance via the A2A post protocol apis.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/a2a/v1/tasks/{tasksId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.reasoningEngines.a2a.v1.tasks.cancel", +"parameterOrder": [ +"name", +"a2aEndpoint" +], +"parameters": { +"a2aEndpoint": { +"description": "Required. The a2a endpoint path, captured from the URL. e.g., v1/message:send", +"location": "path", +"pattern": "^v1/tasks/[^/]+$", +"required": true, +"type": "string" +}, +"name": { +"description": "Required. The full resource path of the reasoning engine, captured from the URL.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}/a2a/{+a2aEndpoint}:cancel", +"request": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"pushNotificationConfigs": { +"description": "Get request for reasoning engine instance via the A2A get protocol apis.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/a2a/v1/tasks/{tasksId}/pushNotificationConfigs", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.reasoningEngines.a2a.v1.tasks.pushNotificationConfigs", +"parameterOrder": [ +"name", +"a2aEndpoint" +], +"parameters": { +"a2aEndpoint": { +"description": "Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123`", +"location": "path", +"pattern": "^v1/tasks/[^/]+/pushNotificationConfigs$", +"required": true, +"type": "string" +}, +"historyLength": { +"description": "Optional. The optional query parameter for the getTask endpoint. Mapped from \"?history_length=\". This indicates how many turns of history to return. If not set, the default value is 0, which means all the history will be returned.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The full resource path of the reasoning engine, captured from the URL. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}/a2a/{+a2aEndpoint}", +"response": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"subscribe": { +"description": "Stream get request for reasoning engine instance via the A2A stream get protocol apis.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/a2a/v1/tasks/{tasksId}:subscribe", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.reasoningEngines.a2a.v1.tasks.subscribe", +"parameterOrder": [ +"name", +"a2aEndpoint" +], +"parameters": { +"a2aEndpoint": { +"description": "Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123:subscribe`.", +"location": "path", +"pattern": "^v1/tasks/[^/]+$", +"required": true, +"type": "string" +}, +"name": { +"description": "Required. The full resource path of the reasoning engine, captured from the URL.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}/a2a/{+a2aEndpoint}:subscribe", +"response": { +"$ref": "GoogleApiHttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"pushNotificationConfigs": { +"methods": { +"a2aGetReasoningEngine": { +"description": "Get request for reasoning engine instance via the A2A get protocol apis.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/a2a/v1/tasks/{tasksId}/pushNotificationConfigs/{pushNotificationConfigsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.reasoningEngines.a2a.v1.tasks.pushNotificationConfigs.a2aGetReasoningEngine", +"parameterOrder": [ +"name", +"a2aEndpoint" +], +"parameters": { +"a2aEndpoint": { +"description": "Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123`", +"location": "path", +"pattern": "^v1/tasks/[^/]+/pushNotificationConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"historyLength": { +"description": "Optional. The optional query parameter for the getTask endpoint. Mapped from \"?history_length=\". This indicates how many turns of history to return. If not set, the default value is 0, which means all the history will be returned.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The full resource path of the reasoning engine, captured from the URL. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}/a2a/{+a2aEndpoint}", +"response": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +}, +"a2aTasks": { +"methods": { +"appendEvents": { +"description": "Appends TaskEvents to an A2aTask.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/a2aTasks/{a2aTasksId}:appendEvents", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.reasoningEngines.a2aTasks.appendEvents", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the A2aTask to append events to. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/a2aTasks/{a2a_task}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+/a2aTasks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:appendEvents", +"request": { +"$ref": "GoogleCloudAiplatformV1beta1AppendA2aTaskEventsRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1beta1AppendA2aTaskEventsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates an A2aTask.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/a2aTasks", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.reasoningEngines.a2aTasks.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"a2aTaskId": { +"description": "Required. User-defined ID of the A2aTask. This ID must be unique within the ReasoningEngine.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the ReasoningEngine to create the A2aTask under. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/a2aTasks", +"request": { +"$ref": "GoogleCloudAiplatformV1beta1A2aTask" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1beta1A2aTask" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets an A2aTask.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/a2aTasks/{a2aTasksId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.reasoningEngines.a2aTasks.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the A2aTask. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/a2aTasks/{a2a_task}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+/a2aTasks/[^/]+$", +"required": true, +"type": "string" } +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1beta1A2aTask" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists A2aTasks for a ReasoningEngine.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/a2aTasks", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.reasoningEngines.a2aTasks.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. The standard list filter. More detail in [AIP-160](https://google.aip.dev/160). Supported fields: * `context_id` * `state` Example: `context_id=\"abc\"`, `state=\"WORKING\"`.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. A comma-separated list of fields to order by, sorted in ascending order. Use \"desc\" after a field name for descending. If this field is omitted, the default ordering is `create_time` descending. More detail in [AIP-132](https://google.aip.dev/132). Supported fields: * `create_time` * `update_time` Example: `create_time desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of tasks to return. The service may return fewer than this value. If unspecified, at most 10 tasks will be returned. The maximum value is 100; values above 100 will hit exception.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The next_page_token value returned from a previous list AgentEngineTaskStoreService.ListA2aTasks call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the ReasoningEngine to list the A2aTasks under. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+$", +"required": true, +"type": "string" } +}, +"path": "v1beta1/{+parent}/a2aTasks", +"response": { +"$ref": "GoogleCloudAiplatformV1beta1ListA2aTasksResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] } +}, +"resources": { +"events": { +"methods": { +"list": { +"description": "Lists TaskEvents for an A2aTask.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/a2aTasks/{a2aTasksId}/events", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.reasoningEngines.a2aTasks.events.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. The standard list filter. Supported fields: * `create_time` range (i.e. `create_time>=\"2025-01-31T11:30:00-04:00\"` where the timestamp is in RFC 3339 format) More detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. A comma-separated list of fields to order the results by. If this field is omitted, the results will be ordered by `event_sequence_number` in descending order. For each field, the default sort order is ascending. To specify descending order for a field, append a ` desc` suffix. For example: `create_time desc`. Supported fields: * `create_time` * `event_sequence_number`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of events to return. The service may return fewer than this value. If unspecified, at most 100 events will be returned. The maximum value is 100; values above 100 will hit exception.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The next_page_token value returned from a previous list AgentEngineTaskStoreService.ListA2aTaskEvents call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the A2aTask to list the TaskEvents under. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/a2aTasks/{a2a_task}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+/a2aTasks/[^/]+$", +"required": true, +"type": "string" } +}, +"path": "v1beta1/{+parent}/events", +"response": { +"$ref": "GoogleCloudAiplatformV1beta1ListA2aTaskEventsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] } } } @@ -30223,7 +31083,7 @@ "type": "string" }, "sessionId": { -"description": "Optional. The user defined ID to use for session, which will become the final component of the session resource name. If not provided, Vertex AI will generate a value for this ID. This value may be up to 63 characters, and valid characters are `[a-z0-9-]`. The first character must be a letter, and the last character must be a letter or number.", +"description": "Optional. The user defined ID to use for session, which will become the final component of the session resource name. If not provided, Vertex AI will generate a value for this ID. This value may be up to 63 characters, and valid characters are `[a-z0-9-]`. The first and last characters must be a letter or number.", "location": "query", "type": "string" } @@ -35223,238 +36083,751 @@ "type": "string" } }, -"path": "v1beta1/reasoningEngines", +"path": "v1beta1/reasoningEngines", +"request": { +"$ref": "GoogleCloudAiplatformV1beta1ReasoningEngine" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a reasoning engine.", +"flatPath": "v1beta1/reasoningEngines/{reasoningEnginesId}", +"httpMethod": "DELETE", +"id": "aiplatform.reasoningEngines.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"description": "Optional. If set to true, child resources of this reasoning engine will also be deleted. Otherwise, the request will fail with FAILED_PRECONDITION error when the reasoning engine has undeleted child resources.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The name of the ReasoningEngine resource to be deleted. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", +"location": "path", +"pattern": "^reasoningEngines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"executeCode": { +"description": "Executes code statelessly.", +"flatPath": "v1beta1/reasoningEngines/{reasoningEnginesId}:executeCode", +"httpMethod": "POST", +"id": "aiplatform.reasoningEngines.executeCode", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the sandbox environment to execute. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", +"location": "path", +"pattern": "^reasoningEngines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:executeCode", +"request": { +"$ref": "GoogleCloudAiplatformV1beta1ExecuteCodeRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1beta1ExecuteCodeResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a reasoning engine.", +"flatPath": "v1beta1/reasoningEngines/{reasoningEnginesId}", +"httpMethod": "GET", +"id": "aiplatform.reasoningEngines.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the ReasoningEngine resource. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", +"location": "path", +"pattern": "^reasoningEngines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1beta1ReasoningEngine" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists reasoning engines in a location.", +"flatPath": "v1beta1/reasoningEngines", +"httpMethod": "GET", +"id": "aiplatform.reasoningEngines.list", +"parameterOrder": [], +"parameters": { +"filter": { +"description": "Optional. The standard list filter. More detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The standard list page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the Location to list the ReasoningEngines from. Format: `projects/{project}/locations/{location}`", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/reasoningEngines", +"response": { +"$ref": "GoogleCloudAiplatformV1beta1ListReasoningEnginesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a reasoning engine.", +"flatPath": "v1beta1/reasoningEngines/{reasoningEnginesId}", +"httpMethod": "PATCH", +"id": "aiplatform.reasoningEngines.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the ReasoningEngine. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", +"location": "path", +"pattern": "^reasoningEngines/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Mask specifying which fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "GoogleCloudAiplatformV1beta1ReasoningEngine" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"query": { +"description": "Queries using a reasoning engine.", +"flatPath": "v1beta1/reasoningEngines/{reasoningEnginesId}:query", +"httpMethod": "POST", +"id": "aiplatform.reasoningEngines.query", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the ReasoningEngine resource to use. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", +"location": "path", +"pattern": "^reasoningEngines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:query", +"request": { +"$ref": "GoogleCloudAiplatformV1beta1QueryReasoningEngineRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1beta1QueryReasoningEngineResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"streamQuery": { +"description": "Streams queries using a reasoning engine.", +"flatPath": "v1beta1/reasoningEngines/{reasoningEnginesId}:streamQuery", +"httpMethod": "POST", +"id": "aiplatform.reasoningEngines.streamQuery", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the ReasoningEngine resource to use. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", +"location": "path", +"pattern": "^reasoningEngines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:streamQuery", +"request": { +"$ref": "GoogleCloudAiplatformV1beta1StreamQueryReasoningEngineRequest" +}, +"response": { +"$ref": "GoogleApiHttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"a2a": { +"methods": { +"card": { +"description": "Get request for reasoning engine instance via the A2A get protocol apis.", +"flatPath": "v1beta1/reasoningEngines/{reasoningEnginesId}/a2a/card", +"httpMethod": "GET", +"id": "aiplatform.reasoningEngines.a2a.card", +"parameterOrder": [ +"name", +"a2aEndpoint" +], +"parameters": { +"a2aEndpoint": { +"description": "Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123`", +"location": "path", +"pattern": "^card$", +"required": true, +"type": "string" +}, +"historyLength": { +"description": "Optional. The optional query parameter for the getTask endpoint. Mapped from \"?history_length=\". This indicates how many turns of history to return. If not set, the default value is 0, which means all the history will be returned.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The full resource path of the reasoning engine, captured from the URL. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", +"location": "path", +"pattern": "^reasoningEngines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}/a2a/{+a2aEndpoint}", +"response": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"extendedAgentCard": { +"description": "Get request for reasoning engine instance via the A2A get protocol apis.", +"flatPath": "v1beta1/reasoningEngines/{reasoningEnginesId}/a2a/extendedAgentCard", +"httpMethod": "GET", +"id": "aiplatform.reasoningEngines.a2a.extendedAgentCard", +"parameterOrder": [ +"name", +"a2aEndpoint" +], +"parameters": { +"a2aEndpoint": { +"description": "Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123`", +"location": "path", +"pattern": "^extendedAgentCard$", +"required": true, +"type": "string" +}, +"historyLength": { +"description": "Optional. The optional query parameter for the getTask endpoint. Mapped from \"?history_length=\". This indicates how many turns of history to return. If not set, the default value is 0, which means all the history will be returned.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The full resource path of the reasoning engine, captured from the URL. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", +"location": "path", +"pattern": "^reasoningEngines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}/a2a/{+a2aEndpoint}", +"response": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"tasks": { +"description": "Get request for reasoning engine instance via the A2A get protocol apis.", +"flatPath": "v1beta1/reasoningEngines/{reasoningEnginesId}/a2a/tasks", +"httpMethod": "GET", +"id": "aiplatform.reasoningEngines.a2a.tasks", +"parameterOrder": [ +"name", +"a2aEndpoint" +], +"parameters": { +"a2aEndpoint": { +"description": "Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123`", +"location": "path", +"pattern": "^tasks$", +"required": true, +"type": "string" +}, +"historyLength": { +"description": "Optional. The optional query parameter for the getTask endpoint. Mapped from \"?history_length=\". This indicates how many turns of history to return. If not set, the default value is 0, which means all the history will be returned.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The full resource path of the reasoning engine, captured from the URL. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", +"location": "path", +"pattern": "^reasoningEngines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}/a2a/{+a2aEndpoint}", +"response": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"message": { +"methods": { +"send": { +"description": "Send post request for reasoning engine instance via the A2A post protocol apis.", +"flatPath": "v1beta1/reasoningEngines/{reasoningEnginesId}/a2a/message:send", +"httpMethod": "POST", +"id": "aiplatform.reasoningEngines.a2a.message.send", +"parameterOrder": [ +"name", +"a2aEndpoint" +], +"parameters": { +"a2aEndpoint": { +"description": "Required. The a2a endpoint path, captured from the URL. e.g., v1/message:send", +"location": "path", +"pattern": "^message$", +"required": true, +"type": "string" +}, +"name": { +"description": "Required. The full resource path of the reasoning engine, captured from the URL.", +"location": "path", +"pattern": "^reasoningEngines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}/a2a/{+a2aEndpoint}:send", +"request": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"stream": { +"description": "Streams queries using a reasoning engine instance via the A2A streaming protocol apis.", +"flatPath": "v1beta1/reasoningEngines/{reasoningEnginesId}/a2a/message:stream", +"httpMethod": "POST", +"id": "aiplatform.reasoningEngines.a2a.message.stream", +"parameterOrder": [ +"name", +"a2aEndpoint" +], +"parameters": { +"a2aEndpoint": { +"description": "Required. The http endpoint extracted from the URL path. e.g., v1/message:stream.", +"location": "path", +"pattern": "^message$", +"required": true, +"type": "string" +}, +"name": { +"description": "Required. The full resource path of the reasoning engine, captured from the URL.", +"location": "path", +"pattern": "^reasoningEngines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}/a2a/{+a2aEndpoint}:stream", "request": { -"$ref": "GoogleCloudAiplatformV1beta1ReasoningEngine" +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" }, "response": { -"$ref": "GoogleLongrunningOperation" +"$ref": "GoogleApiHttpBody" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] +} +} }, -"delete": { -"description": "Deletes a reasoning engine.", -"flatPath": "v1beta1/reasoningEngines/{reasoningEnginesId}", -"httpMethod": "DELETE", -"id": "aiplatform.reasoningEngines.delete", +"tasks": { +"methods": { +"a2aGetReasoningEngine": { +"description": "Get request for reasoning engine instance via the A2A get protocol apis.", +"flatPath": "v1beta1/reasoningEngines/{reasoningEnginesId}/a2a/tasks/{tasksId}", +"httpMethod": "GET", +"id": "aiplatform.reasoningEngines.a2a.tasks.a2aGetReasoningEngine", "parameterOrder": [ -"name" +"name", +"a2aEndpoint" ], "parameters": { -"force": { -"description": "Optional. If set to true, child resources of this reasoning engine will also be deleted. Otherwise, the request will fail with FAILED_PRECONDITION error when the reasoning engine has undeleted child resources.", +"a2aEndpoint": { +"description": "Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123`", +"location": "path", +"pattern": "^tasks/[^/]+$", +"required": true, +"type": "string" +}, +"historyLength": { +"description": "Optional. The optional query parameter for the getTask endpoint. Mapped from \"?history_length=\". This indicates how many turns of history to return. If not set, the default value is 0, which means all the history will be returned.", "location": "query", -"type": "boolean" +"type": "string" }, "name": { -"description": "Required. The name of the ReasoningEngine resource to be deleted. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", +"description": "Required. The full resource path of the reasoning engine, captured from the URL. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", "location": "path", "pattern": "^reasoningEngines/[^/]+$", "required": true, "type": "string" } }, -"path": "v1beta1/{+name}", +"path": "v1beta1/{+name}/a2a/{+a2aEndpoint}", "response": { -"$ref": "GoogleLongrunningOperation" +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] }, -"executeCode": { -"description": "Executes code statelessly.", -"flatPath": "v1beta1/reasoningEngines/{reasoningEnginesId}:executeCode", +"cancel": { +"description": "Send post request for reasoning engine instance via the A2A post protocol apis.", +"flatPath": "v1beta1/reasoningEngines/{reasoningEnginesId}/a2a/tasks/{tasksId}:cancel", "httpMethod": "POST", -"id": "aiplatform.reasoningEngines.executeCode", +"id": "aiplatform.reasoningEngines.a2a.tasks.cancel", "parameterOrder": [ -"name" +"name", +"a2aEndpoint" ], "parameters": { +"a2aEndpoint": { +"description": "Required. The a2a endpoint path, captured from the URL. e.g., v1/message:send", +"location": "path", +"pattern": "^tasks/[^/]+$", +"required": true, +"type": "string" +}, "name": { -"description": "Required. The resource name of the sandbox environment to execute. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", +"description": "Required. The full resource path of the reasoning engine, captured from the URL.", "location": "path", "pattern": "^reasoningEngines/[^/]+$", "required": true, "type": "string" } }, -"path": "v1beta1/{+name}:executeCode", +"path": "v1beta1/{+name}/a2a/{+a2aEndpoint}:cancel", "request": { -"$ref": "GoogleCloudAiplatformV1beta1ExecuteCodeRequest" +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" }, "response": { -"$ref": "GoogleCloudAiplatformV1beta1ExecuteCodeResponse" +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] }, -"get": { -"description": "Gets a reasoning engine.", -"flatPath": "v1beta1/reasoningEngines/{reasoningEnginesId}", +"pushNotificationConfigs": { +"description": "Get request for reasoning engine instance via the A2A get protocol apis.", +"flatPath": "v1beta1/reasoningEngines/{reasoningEnginesId}/a2a/tasks/{tasksId}/pushNotificationConfigs", "httpMethod": "GET", -"id": "aiplatform.reasoningEngines.get", +"id": "aiplatform.reasoningEngines.a2a.tasks.pushNotificationConfigs", "parameterOrder": [ -"name" +"name", +"a2aEndpoint" ], "parameters": { +"a2aEndpoint": { +"description": "Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123`", +"location": "path", +"pattern": "^tasks/[^/]+/pushNotificationConfigs$", +"required": true, +"type": "string" +}, +"historyLength": { +"description": "Optional. The optional query parameter for the getTask endpoint. Mapped from \"?history_length=\". This indicates how many turns of history to return. If not set, the default value is 0, which means all the history will be returned.", +"location": "query", +"type": "string" +}, "name": { -"description": "Required. The name of the ReasoningEngine resource. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", +"description": "Required. The full resource path of the reasoning engine, captured from the URL. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", "location": "path", "pattern": "^reasoningEngines/[^/]+$", "required": true, "type": "string" } }, -"path": "v1beta1/{+name}", +"path": "v1beta1/{+name}/a2a/{+a2aEndpoint}", "response": { -"$ref": "GoogleCloudAiplatformV1beta1ReasoningEngine" +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] }, -"list": { -"description": "Lists reasoning engines in a location.", -"flatPath": "v1beta1/reasoningEngines", +"subscribe": { +"description": "Stream get request for reasoning engine instance via the A2A stream get protocol apis.", +"flatPath": "v1beta1/reasoningEngines/{reasoningEnginesId}/a2a/tasks/{tasksId}:subscribe", "httpMethod": "GET", -"id": "aiplatform.reasoningEngines.list", -"parameterOrder": [], +"id": "aiplatform.reasoningEngines.a2a.tasks.subscribe", +"parameterOrder": [ +"name", +"a2aEndpoint" +], "parameters": { -"filter": { -"description": "Optional. The standard list filter. More detail in [AIP-160](https://google.aip.dev/160).", -"location": "query", -"type": "string" -}, -"pageSize": { -"description": "Optional. The standard list page size.", -"format": "int32", -"location": "query", -"type": "integer" -}, -"pageToken": { -"description": "Optional. The standard list page token.", -"location": "query", +"a2aEndpoint": { +"description": "Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123:subscribe`.", +"location": "path", +"pattern": "^tasks/[^/]+$", +"required": true, "type": "string" }, -"parent": { -"description": "Required. The resource name of the Location to list the ReasoningEngines from. Format: `projects/{project}/locations/{location}`", -"location": "query", +"name": { +"description": "Required. The full resource path of the reasoning engine, captured from the URL.", +"location": "path", +"pattern": "^reasoningEngines/[^/]+$", +"required": true, "type": "string" } }, -"path": "v1beta1/reasoningEngines", +"path": "v1beta1/{+name}/a2a/{+a2aEndpoint}:subscribe", "response": { -"$ref": "GoogleCloudAiplatformV1beta1ListReasoningEnginesResponse" +"$ref": "GoogleApiHttpBody" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] +} }, -"patch": { -"description": "Updates a reasoning engine.", -"flatPath": "v1beta1/reasoningEngines/{reasoningEnginesId}", -"httpMethod": "PATCH", -"id": "aiplatform.reasoningEngines.patch", +"resources": { +"pushNotificationConfigs": { +"methods": { +"a2aGetReasoningEngine": { +"description": "Get request for reasoning engine instance via the A2A get protocol apis.", +"flatPath": "v1beta1/reasoningEngines/{reasoningEnginesId}/a2a/tasks/{tasksId}/pushNotificationConfigs/{pushNotificationConfigsId}", +"httpMethod": "GET", +"id": "aiplatform.reasoningEngines.a2a.tasks.pushNotificationConfigs.a2aGetReasoningEngine", "parameterOrder": [ -"name" +"name", +"a2aEndpoint" ], "parameters": { -"name": { -"description": "Identifier. The resource name of the ReasoningEngine. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", +"a2aEndpoint": { +"description": "Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123`", "location": "path", -"pattern": "^reasoningEngines/[^/]+$", +"pattern": "^tasks/[^/]+/pushNotificationConfigs/[^/]+$", "required": true, "type": "string" }, -"updateMask": { -"description": "Optional. Mask specifying which fields to update.", -"format": "google-fieldmask", +"historyLength": { +"description": "Optional. The optional query parameter for the getTask endpoint. Mapped from \"?history_length=\". This indicates how many turns of history to return. If not set, the default value is 0, which means all the history will be returned.", "location": "query", "type": "string" -} }, -"path": "v1beta1/{+name}", -"request": { -"$ref": "GoogleCloudAiplatformV1beta1ReasoningEngine" +"name": { +"description": "Required. The full resource path of the reasoning engine, captured from the URL. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", +"location": "path", +"pattern": "^reasoningEngines/[^/]+$", +"required": true, +"type": "string" +} }, +"path": "v1beta1/{+name}/a2a/{+a2aEndpoint}", "response": { -"$ref": "GoogleLongrunningOperation" +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] +} +} +} +} }, -"query": { -"description": "Queries using a reasoning engine.", -"flatPath": "v1beta1/reasoningEngines/{reasoningEnginesId}:query", -"httpMethod": "POST", -"id": "aiplatform.reasoningEngines.query", +"v1": { +"methods": { +"card": { +"description": "Get request for reasoning engine instance via the A2A get protocol apis.", +"flatPath": "v1beta1/reasoningEngines/{reasoningEnginesId}/a2a/v1/card", +"httpMethod": "GET", +"id": "aiplatform.reasoningEngines.a2a.v1.card", "parameterOrder": [ -"name" +"name", +"a2aEndpoint" ], "parameters": { +"a2aEndpoint": { +"description": "Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123`", +"location": "path", +"pattern": "^v1/card$", +"required": true, +"type": "string" +}, +"historyLength": { +"description": "Optional. The optional query parameter for the getTask endpoint. Mapped from \"?history_length=\". This indicates how many turns of history to return. If not set, the default value is 0, which means all the history will be returned.", +"location": "query", +"type": "string" +}, "name": { -"description": "Required. The name of the ReasoningEngine resource to use. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", +"description": "Required. The full resource path of the reasoning engine, captured from the URL. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", "location": "path", "pattern": "^reasoningEngines/[^/]+$", "required": true, "type": "string" } }, -"path": "v1beta1/{+name}:query", -"request": { -"$ref": "GoogleCloudAiplatformV1beta1QueryReasoningEngineRequest" -}, +"path": "v1beta1/{+name}/a2a/{+a2aEndpoint}", "response": { -"$ref": "GoogleCloudAiplatformV1beta1QueryReasoningEngineResponse" +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] }, -"streamQuery": { -"description": "Streams queries using a reasoning engine.", -"flatPath": "v1beta1/reasoningEngines/{reasoningEnginesId}:streamQuery", -"httpMethod": "POST", -"id": "aiplatform.reasoningEngines.streamQuery", +"extendedAgentCard": { +"description": "Get request for reasoning engine instance via the A2A get protocol apis.", +"flatPath": "v1beta1/reasoningEngines/{reasoningEnginesId}/a2a/v1/extendedAgentCard", +"httpMethod": "GET", +"id": "aiplatform.reasoningEngines.a2a.v1.extendedAgentCard", "parameterOrder": [ -"name" +"name", +"a2aEndpoint" ], "parameters": { +"a2aEndpoint": { +"description": "Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123`", +"location": "path", +"pattern": "^v1/extendedAgentCard$", +"required": true, +"type": "string" +}, +"historyLength": { +"description": "Optional. The optional query parameter for the getTask endpoint. Mapped from \"?history_length=\". This indicates how many turns of history to return. If not set, the default value is 0, which means all the history will be returned.", +"location": "query", +"type": "string" +}, "name": { -"description": "Required. The name of the ReasoningEngine resource to use. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", +"description": "Required. The full resource path of the reasoning engine, captured from the URL. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", "location": "path", "pattern": "^reasoningEngines/[^/]+$", "required": true, "type": "string" } }, -"path": "v1beta1/{+name}:streamQuery", -"request": { -"$ref": "GoogleCloudAiplatformV1beta1StreamQueryReasoningEngineRequest" -}, +"path": "v1beta1/{+name}/a2a/{+a2aEndpoint}", "response": { -"$ref": "GoogleApiHttpBody" +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] -} }, -"resources": { -"a2a": { -"resources": { -"v1": { -"methods": { -"card": { +"tasks": { "description": "Get request for reasoning engine instance via the A2A get protocol apis.", -"flatPath": "v1beta1/reasoningEngines/{reasoningEnginesId}/a2a/v1/card", +"flatPath": "v1beta1/reasoningEngines/{reasoningEnginesId}/a2a/v1/tasks", "httpMethod": "GET", -"id": "aiplatform.reasoningEngines.a2a.v1.card", +"id": "aiplatform.reasoningEngines.a2a.v1.tasks", "parameterOrder": [ "name", "a2aEndpoint" @@ -35463,7 +36836,7 @@ "a2aEndpoint": { "description": "Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123`", "location": "path", -"pattern": "^v1/card$", +"pattern": "^v1/tasks$", "required": true, "type": "string" }, @@ -37252,7 +38625,7 @@ "type": "string" }, "sessionId": { -"description": "Optional. The user defined ID to use for session, which will become the final component of the session resource name. If not provided, Vertex AI will generate a value for this ID. This value may be up to 63 characters, and valid characters are `[a-z0-9-]`. The first character must be a letter, and the last character must be a letter or number.", +"description": "Optional. The user defined ID to use for session, which will become the final component of the session resource name. If not provided, Vertex AI will generate a value for this ID. This value may be up to 63 characters, and valid characters are `[a-z0-9-]`. The first and last characters must be a letter or number.", "location": "query", "type": "string" } @@ -39246,7 +40619,7 @@ } } }, -"revision": "20260309", +"revision": "20260317", "rootUrl": "https://aiplatform.googleapis.com/", "schemas": { "CloudAiLargeModelsVisionGenerateVideoExperiments": { @@ -39768,6 +41141,94 @@ }, "type": "object" }, +"GoogleCloudAiplatformV1beta1A2aTask": { +"description": "An A2aTask represents a unit of work.", +"id": "GoogleCloudAiplatformV1beta1A2aTask", +"properties": { +"contextId": { +"description": "Optional. A generic identifier for grouping related tasks (e.g., session_id, workflow_id).", +"type": "string" +}, +"createTime": { +"description": "Output only. The creation timestamp of the task.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"expireTime": { +"description": "Optional. Timestamp of when this task is considered expired. This is *always* provided on output, and is calculated based on the `ttl` if set on the request", +"format": "google-datetime", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. Arbitrary, user-defined metadata.", +"type": "object" +}, +"name": { +"description": "Identifier. The resource name of the task. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/a2aTasks/{a2a_task}`", +"type": "string" +}, +"nextEventSequenceNumber": { +"description": "Output only. The next event sequence number to be appended to the task. This value starts at 1 and is guaranteed to be monotonically increasing.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"output": { +"$ref": "GoogleCloudAiplatformV1beta1TaskOutput", +"description": "Optional. The final output of the task." +}, +"state": { +"description": "Output only. The state of the task. The state of a new task is SUBMITTED by default. The state of a task can only be updated via AppendA2aTaskEvents API.", +"enum": [ +"STATE_UNSPECIFIED", +"SUBMITTED", +"WORKING", +"COMPLETED", +"CANCELLED", +"FAILED", +"REJECTED", +"INPUT_REQUIRED", +"AUTH_REQUIRED", +"PAUSED" +], +"enumDescriptions": [ +"Task state unspecified. Default value if not set.", +"Task is submitted and waiting to be processed.", +"Task is actively being processed.", +"Task is finished.", +"Task is cancelled.", +"Task has failed.", +"Task is rejected by the system.", +"Task requires input from the user.", +"Task requires auth (e.g. OAuth) from the user.", +"Task is paused." +], +"readOnly": true, +"type": "string" +}, +"statusDetails": { +"$ref": "GoogleCloudAiplatformV1beta1TaskStatusDetails", +"description": "Optional. The status details of the task." +}, +"ttl": { +"description": "Optional. Input only. The TTL (Time To Live) for the task. If not set, the task will expire in 365 days by default. Valid range: (0 seconds, 1000 days]", +"format": "google-duration", +"type": "string" +}, +"updateTime": { +"description": "Output only. The last update timestamp of the task.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, "GoogleCloudAiplatformV1beta1AcceptPublisherModelEulaRequest": { "description": "Request message for ModelGardenService.AcceptPublisherModelEula.", "id": "GoogleCloudAiplatformV1beta1AcceptPublisherModelEulaRequest", @@ -40160,6 +41621,26 @@ }, "type": "object" }, +"GoogleCloudAiplatformV1beta1AppendA2aTaskEventsRequest": { +"description": "Request message for AgentEngineTaskStoreService.AppendA2aTaskEvents.", +"id": "GoogleCloudAiplatformV1beta1AppendA2aTaskEventsRequest", +"properties": { +"taskEvents": { +"description": "Required. The events to append. The number of events to append must be less than or equal to 100. Otherwise, an exception will be thrown.", +"items": { +"$ref": "GoogleCloudAiplatformV1beta1TaskEvent" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1beta1AppendA2aTaskEventsResponse": { +"description": "Response message for AgentEngineTaskStoreService.AppendA2aTaskEvents.", +"id": "GoogleCloudAiplatformV1beta1AppendA2aTaskEventsResponse", +"properties": {}, +"type": "object" +}, "GoogleCloudAiplatformV1beta1AppendEventResponse": { "description": "Response message for SessionService.AppendEvent.", "id": "GoogleCloudAiplatformV1beta1AppendEventResponse", @@ -43958,6 +45439,10 @@ "description": "Defines a custom dataset-level aggregation.", "id": "GoogleCloudAiplatformV1beta1DatasetCustomMetric", "properties": { +"aggregationFunction": { +"description": "Required. The Python code string containing the aggregation function. Expected function signature: `def aggregate(instances: list[dict[str, Any]]) -> dict[str, float]:` The `instances` argument is a list of dictionaries, where each dictionary represents a single evaluation result item. The structure of each dictionary corresponds to the fields in the `EvaluationResult` message. This includes: - `\"request\"`: Contains the original input data and model inputs (from `EvaluationResult.EvaluationRequest`). - `\"candidate_results\"`: Contains the results of any instance-level metrics (from `EvaluationResult.CandidateResults`). Example of a single item in the `instances` list: { \"request\": { \"prompt\": {\"text\": \"What is the capital of France?\"}, \"golden_response\": {\"text\": \"Paris\"}, \"candidate_responses\": [{\"candidate\": \"model-v1\", \"text\": \"Paris\"}] }, \"candidate_results\": [ {\"metric\": \"exact_match\", \"score\": 1.0}, {\"metric\": \"bleu\", \"score\": 0.9} ] }", +"type": "string" +}, "displayName": { "description": "Optional. A display name for this custom summary metric. Used to prefix keys in the output summaryMetrics map. If not provided, a default name like \"dataset_custom_metric_1\", \"dataset_custom_metric_2\", etc., will be generated based on the order in the repeated field.", "type": "string" @@ -45130,11 +46615,21 @@ ], "type": "string" }, +"batchSize": { +"description": "Optional. Batch size for tuning. This feature is only available for open source models.", +"format": "int64", +"type": "string" +}, "epochCount": { "description": "Optional. Number of complete passes the model makes over the entire training dataset during training.", "format": "int64", "type": "string" }, +"learningRate": { +"description": "Optional. Specifies the learning rate for tuning. Mutually exclusive with `learning_rate_multiplier`. This feature is only available for open source models.", +"format": "double", +"type": "number" +}, "learningRateMultiplier": { "description": "Optional. Multiplier for adjusting the default learning rate.", "format": "double", @@ -45193,6 +46688,20 @@ "description": "The resource name of the Tuned teacher model. Format: `projects/{project}/locations/{location}/models/{model}`.", "type": "string" }, +"tuningMode": { +"description": "Optional. Specifies the tuning mode for distillation (sft part). This feature is only available for open source models.", +"enum": [ +"TUNING_MODE_UNSPECIFIED", +"TUNING_MODE_FULL", +"TUNING_MODE_PEFT_ADAPTER" +], +"enumDescriptions": [ +"Tuning mode is unspecified.", +"Full fine-tuning mode.", +"PEFT adapter tuning mode." +], +"type": "string" +}, "validationDatasetUri": { "description": "Optional. Cloud Storage path to file containing validation dataset for tuning. The dataset must be formatted as a JSONL file.", "type": "string" @@ -45872,6 +47381,13 @@ "description": "Required. The resource name of the Location to evaluate the instances. Format: `projects/{project}/locations/{location}`", "type": "string" }, +"metricSources": { +"description": "Optional. The metrics (either inline or registered) used for evaluation. Currently, we only support evaluating a single metric. If multiple metrics are provided, only the first one will be evaluated.", +"items": { +"$ref": "GoogleCloudAiplatformV1beta1MetricSource" +}, +"type": "array" +}, "metrics": { "description": "The metrics used for evaluation. Currently, we only support evaluating a single metric. If multiple metrics are provided, only the first one will be evaluated.", "items": { @@ -46211,6 +47727,13 @@ "$ref": "GoogleCloudAiplatformV1beta1AutoraterConfig", "description": "Optional. Autorater config for evaluation." }, +"datasetCustomMetrics": { +"description": "Optional. Specifications for custom dataset-level aggregations.", +"items": { +"$ref": "GoogleCloudAiplatformV1beta1DatasetCustomMetric" +}, +"type": "array" +}, "inferenceGenerationConfig": { "$ref": "GoogleCloudAiplatformV1beta1GenerationConfig", "description": "Optional. Configuration options for inference generation and outputs. If not set, default generation parameters are used." @@ -46575,6 +48098,52 @@ }, "type": "object" }, +"GoogleCloudAiplatformV1beta1EvaluationMetric": { +"description": "EvaluationMetric is a resource that represents a reusable metric configuration.", +"id": "GoogleCloudAiplatformV1beta1EvaluationMetric", +"properties": { +"createTime": { +"description": "Output only. The time when the EvaluationMetric was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. A description of the EvaluationMetric.", +"type": "string" +}, +"displayName": { +"description": "Required. The user-friendly display name for the EvaluationMetric.", +"type": "string" +}, +"gcsUri": { +"description": "Optional. The Google Cloud Storage URI that stores the metric specification..", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels for the evaluation metric.", +"type": "object" +}, +"metric": { +"$ref": "GoogleCloudAiplatformV1beta1Metric", +"description": "Optional. The metric configuration." +}, +"name": { +"description": "Identifier. The resource name of the EvaluationMetric. Format: `projects/{project}/locations/{location}/evaluationMetrics/{evaluation_metric}`", +"type": "string" +}, +"updateTime": { +"description": "Output only. The time when the EvaluationMetric was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, "GoogleCloudAiplatformV1beta1EvaluationPrompt": { "description": "Prompt to be evaluated. This can represent a single-turn prompt or a multi-turn conversation for agent evaluations.", "id": "GoogleCloudAiplatformV1beta1EvaluationPrompt", @@ -46591,6 +48160,10 @@ "description": "Text prompt.", "type": "string" }, +"userScenario": { +"$ref": "GoogleCloudAiplatformV1beta1EvaluationPromptUserScenario", +"description": "Optional. The generated user scenario used to drive multi-turn agent running results." +}, "value": { "description": "Fields and values that can be used to populate the prompt template.", "type": "any" @@ -46612,6 +48185,21 @@ }, "type": "object" }, +"GoogleCloudAiplatformV1beta1EvaluationPromptUserScenario": { +"description": "User scenario to help simulate multi-turn agent running results.", +"id": "GoogleCloudAiplatformV1beta1EvaluationPromptUserScenario", +"properties": { +"conversationPlan": { +"description": "Required. The plan for the conversation, used to drive the multi-turn agent run and generate the simulated agent evaluation dataset.", +"type": "string" +}, +"startingPrompt": { +"description": "Required. The prompt that starts the conversation between the simulated user and the agent under test.", +"type": "string" +} +}, +"type": "object" +}, "GoogleCloudAiplatformV1beta1EvaluationRequest": { "description": "A single evaluation request supporting input for both single-turn model generation and multi-turn agent execution traces. Valid input modes: 1. Inference Mode: `prompt` is set (containing text or AgentData context). 2. Offline Eval Mode: `prompt` is unset, and `candidate_responses` contains `agent_data` (the completed execution trace). Validation Rule: Either `prompt` must be set, OR at least one of the `candidate_responses` must contain `agent_data`.", "id": "GoogleCloudAiplatformV1beta1EvaluationRequest", @@ -46908,7 +48496,7 @@ "type": "object" }, "GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfig": { -"description": "An inference config used for model inference during the evaluation run.", +"description": "Defines the configuration for a candidate model or agent being evaluated. `InferenceConfig` encapsulates all the necessary information to invoke or scrape the candidate during the evaluation run. This includes direct model inference parameters, agent execution settings, and multi-turn scraping configurations (such as user simulators). It serves as the primary representation of the candidate across different stages of the evaluation process.", "id": "GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfig", "properties": { "agentConfig": { @@ -46916,12 +48504,62 @@ "deprecated": true, "description": "Optional. Deprecated: Use `agents` instead. Agent config used to generate responses." }, +"agentRunConfig": { +"$ref": "GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfigAgentRunConfig", +"description": "Optional. Agent run config." +}, +"agents": { +"additionalProperties": { +"$ref": "GoogleCloudAiplatformV1beta1AgentConfig" +}, +"description": "Optional. Contains the static configurations for each agent in the system. Key: agent_id (matches the `author` field in events). Value: The static configuration of the agent.", +"type": "object" +}, "generationConfig": { "$ref": "GoogleCloudAiplatformV1beta1GenerationConfig", "description": "Optional. Generation config." }, "model": { -"description": "Optional. The fully qualified name of the publisher model or endpoint to use. Anthropic and Llama third-party models are also supported through Model Garden. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Third-party model format: `projects/{project}/locations/{location}/publishers/anthropic/models/{model}` `projects/{project}/locations/{location}/publishers/llama/models/{model}` Endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}`", +"description": "Optional. The fully qualified name of the publisher model or endpoint to use. Anthropic and Llama third-party models are also supported through Model Garden. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Third-party model formats: `projects/{project}/locations/{location}/publishers/anthropic/models/{model}` or `projects/{project}/locations/{location}/publishers/llama/models/{model}` Endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfigAgentRunConfig": { +"description": "Configuration for Agent Run.", +"id": "GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfigAgentRunConfig", +"properties": { +"agentEngine": { +"description": "Optional. The resource name of the Agent Engine. Format: projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine} For example: projects/123/locations/us-central1/reasoningEngines/456", +"type": "string" +}, +"sessionInput": { +"$ref": "GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfigSessionInput", +"description": "Optional. The session input to get agent running results." +}, +"userSimulatorConfig": { +"$ref": "GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfigAgentRunConfigUserSimulatorConfig", +"description": "The configuration for a user simulator that uses an LLM to generate messages on behalf of the user." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfigAgentRunConfigUserSimulatorConfig": { +"description": "Used for multi-turn agent scraping. Contains configuration for a user simulator that uses an LLM to generate messages on behalf of the user.", +"id": "GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfigAgentRunConfigUserSimulatorConfig", +"properties": { +"maxTurn": { +"description": "Maximum number of invocations allowed by the multi-turn agent scraping. This property allows us to stop a run-off conversation, where the agent and the user simulator get into a never ending loop. The initial fixed prompt is also counted as an invocation.", +"format": "int32", +"type": "integer" +}, +"modelConfig": { +"$ref": "GoogleCloudAiplatformV1beta1GenerationConfig", +"description": "The configuration for the model." +}, +"modelName": { +"description": "The model name to use for multi-turn agent scraping to get next user message, e.g. \"gemini-3-flash-preview\".", "type": "string" } }, @@ -46945,6 +48583,32 @@ }, "type": "object" }, +"GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfigSessionInput": { +"description": "Session input to run an Agent.", +"id": "GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfigSessionInput", +"properties": { +"parameters": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Additional parameters for the session, like app_name, etc. For example, {\"app_name\": \"my-app\"}.", +"type": "object" +}, +"sessionState": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. Session specific memory which stores key conversation points.", +"type": "object" +}, +"userId": { +"description": "Optional. The user id for the agent session. The ID can be up to 128 characters long.", +"type": "string" +} +}, +"type": "object" +}, "GoogleCloudAiplatformV1beta1EvaluationRunMetric": { "description": "The metric used for evaluation runs.", "id": "GoogleCloudAiplatformV1beta1EvaluationRunMetric", @@ -46965,6 +48629,10 @@ "$ref": "GoogleCloudAiplatformV1beta1Metric", "description": "The metric config." }, +"metricResourceName": { +"description": "Optional. The resource name of the metric definition.", +"type": "string" +}, "predefinedMetricSpec": { "$ref": "GoogleCloudAiplatformV1beta1EvaluationRunMetricPredefinedMetricSpec", "description": "Spec for a pre-defined metric." @@ -47110,6 +48778,10 @@ "description": "Specification for how rubrics should be generated.", "id": "GoogleCloudAiplatformV1beta1EvaluationRunMetricRubricGenerationSpec", "properties": { +"metricResourceName": { +"description": "Optional. Resource name of the metric definition.", +"type": "string" +}, "modelConfig": { "$ref": "GoogleCloudAiplatformV1beta1EvaluationRunEvaluationConfigAutoraterConfig", "description": "Optional. Configuration for the model used in rubric generation. Configs including sampling count and base model can be specified here. Flipping is not supported for rubric generation." @@ -48548,6 +50220,38 @@ }, "type": "object" }, +"GoogleCloudAiplatformV1beta1ExpressProject": { +"description": "The project for Vertex AI Express Mode.", +"id": "GoogleCloudAiplatformV1beta1ExpressProject", +"properties": { +"createTime": { +"description": "Output only. The time the project was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"projectId": { +"description": "The project ID of the project.", +"type": "string" +}, +"projectNumber": { +"description": "The project number of the project.", +"format": "int64", +"type": "string" +}, +"region": { +"description": "The region of the project.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1beta1ExpressProjectSignUpMetadata": { +"description": "Runtime operation information for ExpressModeService.SignUp.", +"id": "GoogleCloudAiplatformV1beta1ExpressProjectSignUpMetadata", +"properties": {}, +"type": "object" +}, "GoogleCloudAiplatformV1beta1Extension": { "description": "Extensions are tools for large language models to access external data, run computations, etc.", "id": "GoogleCloudAiplatformV1beta1Extension", @@ -51603,6 +53307,10 @@ "description": "Required. The resource name of the Location to generate rubrics from. Format: `projects/{project}/locations/{location}`", "type": "string" }, +"metricResourceName": { +"description": "Optional. The resource name of a registered metric. Rubric generation using predefined metric spec or LLMBasedMetricSpec is supported. If this field is set, the configuration provided in this field is used for rubric generation. The `predefined_rubric_generation_spec` and `rubric_generation_spec` fields will be ignored.", +"type": "string" +}, "predefinedRubricGenerationSpec": { "$ref": "GoogleCloudAiplatformV1beta1PredefinedMetricSpec", "description": "Optional. Specification for using the rubric generation configs of a pre-defined metric, e.g. \"generic_quality_v1\" and \"instruction_following_v1\". Some of the configs may be only used in rubric generation and not supporting evaluation, e.g. \"fully_customized_generic_quality_v1\". If this field is set, the `rubric_generation_spec` field will be ignored." @@ -51825,6 +53533,42 @@ }, "type": "object" }, +"GoogleCloudAiplatformV1beta1GenerateUserScenariosRequest": { +"description": "Request message for DataFoundryService.GenerateUserScenarios.", +"id": "GoogleCloudAiplatformV1beta1GenerateUserScenariosRequest", +"properties": { +"agents": { +"additionalProperties": { +"$ref": "GoogleCloudAiplatformV1beta1AgentConfig" +}, +"description": "Required. A map containing the static configurations for each agent in the system. Key: agent_id (matches the `author` field in events). Value: The static configuration of the agent.", +"type": "object" +}, +"rootAgentId": { +"description": "Required. The agent id to identify the root agent.", +"type": "string" +}, +"userScenarioGenerationConfig": { +"$ref": "GoogleCloudAiplatformV1beta1UserScenarioGenerationConfig", +"description": "Required. Configuration for generating user scenarios." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1beta1GenerateUserScenariosResponse": { +"description": "Response message for DataFoundryService.GenerateUserScenarios.", +"id": "GoogleCloudAiplatformV1beta1GenerateUserScenariosResponse", +"properties": { +"userScenarios": { +"description": "The generated user scenarios used to simulate multi-turn agent running results and agent evaluation.", +"items": { +"$ref": "GoogleCloudAiplatformV1beta1UserScenario" +}, +"type": "array" +} +}, +"type": "object" +}, "GoogleCloudAiplatformV1beta1GenerateVideoResponse": { "description": "Generate video response.", "id": "GoogleCloudAiplatformV1beta1GenerateVideoResponse", @@ -51949,7 +53693,7 @@ "type": "boolean" }, "responseMimeType": { -"description": "Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature.", +"description": "Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined.", "type": "string" }, "responseModalities": { @@ -53910,6 +55654,42 @@ }, "type": "object" }, +"GoogleCloudAiplatformV1beta1ListA2aTaskEventsResponse": { +"description": "Response message for AgentEngineTaskStoreService.ListA2aTaskEvents.", +"id": "GoogleCloudAiplatformV1beta1ListA2aTaskEventsResponse", +"properties": { +"nextPageToken": { +"description": "A token to retrieve the next page of results.", +"type": "string" +}, +"taskEvents": { +"description": "List of TaskEvents in the requested page.", +"items": { +"$ref": "GoogleCloudAiplatformV1beta1TaskEvent" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1beta1ListA2aTasksResponse": { +"description": "Response message for AgentEngineTaskStoreService.ListA2aTasks.", +"id": "GoogleCloudAiplatformV1beta1ListA2aTasksResponse", +"properties": { +"a2aTasks": { +"description": "List of A2aTasks in the requested page.", +"items": { +"$ref": "GoogleCloudAiplatformV1beta1A2aTask" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as ListA2aTasksRequest.page_token to retrieve the next page. Absence of this field indicates there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, "GoogleCloudAiplatformV1beta1ListAnnotationsResponse": { "description": "Response message for DatasetService.ListAnnotations.", "id": "GoogleCloudAiplatformV1beta1ListAnnotationsResponse", @@ -54162,6 +55942,24 @@ }, "type": "object" }, +"GoogleCloudAiplatformV1beta1ListEvaluationMetricsResponse": { +"description": "Response message for EvaluationMetricService.ListEvaluationMetrics.", +"id": "GoogleCloudAiplatformV1beta1ListEvaluationMetricsResponse", +"properties": { +"evaluationMetrics": { +"description": "List of EvaluationMetrics in the requested page.", +"items": { +"$ref": "GoogleCloudAiplatformV1beta1EvaluationMetric" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, "GoogleCloudAiplatformV1beta1ListEvaluationRunsResponse": { "description": "Response message for EvaluationManagementService.ListEvaluationRuns.", "id": "GoogleCloudAiplatformV1beta1ListEvaluationRunsResponse", @@ -56063,6 +57861,10 @@ false "$ref": "GoogleCloudAiplatformV1beta1LLMBasedMetricSpec", "description": "Spec for an LLM based metric." }, +"metadata": { +"$ref": "GoogleCloudAiplatformV1beta1MetricMetadata", +"description": "Optional. Metadata about the metric, used for visualization and organization." +}, "pairwiseMetricSpec": { "$ref": "GoogleCloudAiplatformV1beta1PairwiseMetricSpec", "description": "Spec for pairwise metric." @@ -56082,6 +57884,55 @@ false }, "type": "object" }, +"GoogleCloudAiplatformV1beta1MetricMetadata": { +"description": "Metadata about the metric, used for visualization and organization.", +"id": "GoogleCloudAiplatformV1beta1MetricMetadata", +"properties": { +"otherMetadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. Flexible metadata for user-defined attributes.", +"type": "object" +}, +"scoreRange": { +"$ref": "GoogleCloudAiplatformV1beta1MetricMetadataScoreRange", +"description": "Optional. The range of possible scores for this metric, used for plotting." +}, +"title": { +"description": "Optional. The user-friendly name for the metric. If not set for a registered metric, it will default to the metric's display name.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1beta1MetricMetadataScoreRange": { +"description": "The range of possible scores for this metric, used for plotting.", +"id": "GoogleCloudAiplatformV1beta1MetricMetadataScoreRange", +"properties": { +"description": { +"description": "Optional. The description of the score explaining the directionality etc.", +"type": "string" +}, +"max": { +"description": "Required. The maximum value of the score range (inclusive).", +"format": "double", +"type": "number" +}, +"min": { +"description": "Required. The minimum value of the score range (inclusive).", +"format": "double", +"type": "number" +}, +"step": { +"description": "Optional. The distance between discrete steps in the range. If unset, the range is assumed to be continuous.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, "GoogleCloudAiplatformV1beta1MetricResult": { "description": "Result for a single metric on a single instance.", "id": "GoogleCloudAiplatformV1beta1MetricResult", @@ -56113,6 +57964,21 @@ false }, "type": "object" }, +"GoogleCloudAiplatformV1beta1MetricSource": { +"description": "The metric source used for evaluation.", +"id": "GoogleCloudAiplatformV1beta1MetricSource", +"properties": { +"metric": { +"$ref": "GoogleCloudAiplatformV1beta1Metric", +"description": "Inline metric config." +}, +"metricResourceName": { +"description": "Resource name for registered metric.", +"type": "string" +} +}, +"type": "object" +}, "GoogleCloudAiplatformV1beta1MetricxInput": { "description": "Input for MetricX metric.", "id": "GoogleCloudAiplatformV1beta1MetricxInput", @@ -56557,7 +58423,7 @@ false "readOnly": true }, "name": { -"description": "The resource name of the Model.", +"description": "Identifier. The resource name of the Model.", "type": "string" }, "originalModelInfo": { @@ -61317,6 +63183,13 @@ false }, "type": "array" }, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels with user-defined metadata for the request. It is used for billing and reporting only. Label keys and values can be no longer than 63 characters (Unicode codepoints) and can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.", +"type": "object" +}, "parameters": { "description": "Optional. The parameters that govern the prediction. The schema of the parameters may be specified via Endpoint's DeployedModels' Model's PredictSchemata's parameters_schema_uri.", "type": "any" @@ -64385,6 +66258,10 @@ false }, "type": "array" }, +"containerSpec": { +"$ref": "GoogleCloudAiplatformV1beta1ReasoningEngineSpecContainerSpec", +"description": "Deploy from a container image with a defined entrypoint and commands." +}, "deploymentSpec": { "$ref": "GoogleCloudAiplatformV1beta1ReasoningEngineSpecDeploymentSpec", "description": "Optional. The specification of a Reasoning Engine deployment." @@ -64423,6 +66300,17 @@ false }, "type": "object" }, +"GoogleCloudAiplatformV1beta1ReasoningEngineSpecContainerSpec": { +"description": "Specification for deploying from a container image.", +"id": "GoogleCloudAiplatformV1beta1ReasoningEngineSpecContainerSpec", +"properties": { +"imageUri": { +"description": "Required. The Artifact Registry Docker image URI (e.g., us-central1-docker.pkg.dev/my-project/my-repo/my-image:tag) of the container image that is to be run on each worker replica.", +"type": "string" +} +}, +"type": "object" +}, "GoogleCloudAiplatformV1beta1ReasoningEngineSpecDeploymentSpec": { "description": "The specification of a Reasoning Engine deployment.", "id": "GoogleCloudAiplatformV1beta1ReasoningEngineSpecDeploymentSpec", @@ -73169,6 +75057,68 @@ false }, "type": "object" }, +"GoogleCloudAiplatformV1beta1TaskArtifact": { +"description": "Represents a single artifact produced by a task. sample: artifacts: { artifact_id: \"image-12345\" name: \"Generated Sunset Image\" description: \"A beautiful sunset over the mountains, generated by the user's request.\" parts: { inline_data: { mime_type: \"image/png\" data: \"iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAA=\" } } }", +"id": "GoogleCloudAiplatformV1beta1TaskArtifact", +"properties": { +"artifactId": { +"description": "Required. The unique identifier of the artifact within the task. This id is provided by the creator of the artifact.", +"type": "string" +}, +"description": { +"description": "Optional. A human readable description of the artifact.", +"type": "string" +}, +"displayName": { +"description": "Optional. The human-readable name of the artifact provided by the creator.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. Additional metadata for the artifact. For A2A, the URIs of the extensions that were used to produce this artifact will be stored here.", +"type": "object" +}, +"parts": { +"description": "Required. The content of the artifact.", +"items": { +"$ref": "GoogleCloudAiplatformV1beta1Part" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1beta1TaskArtifactChange": { +"description": "Describes changes to the artifact list.", +"id": "GoogleCloudAiplatformV1beta1TaskArtifactChange", +"properties": { +"addedArtifacts": { +"description": "Optional. A list of brand-new artifacts created in this event.", +"items": { +"$ref": "GoogleCloudAiplatformV1beta1TaskArtifact" +}, +"type": "array" +}, +"deletedArtifactIds": { +"description": "Optional. A list of artifact IDs that were removed in this event.", +"items": { +"type": "string" +}, +"type": "array" +}, +"updatedArtifacts": { +"description": "Optional. A list of existing artifacts that were modified in this event.", +"items": { +"$ref": "GoogleCloudAiplatformV1beta1TaskArtifact" +}, +"type": "array" +} +}, +"type": "object" +}, "GoogleCloudAiplatformV1beta1TaskDescriptionStrategy": { "description": "Defines a generation strategy based on a general task description.", "id": "GoogleCloudAiplatformV1beta1TaskDescriptionStrategy", @@ -73180,6 +75130,183 @@ false }, "type": "object" }, +"GoogleCloudAiplatformV1beta1TaskEvent": { +"description": "An event that occurred for a task. Note that TaskEvent is just a record of task's change. Hence, it's not a Cloud resource.", +"id": "GoogleCloudAiplatformV1beta1TaskEvent", +"properties": { +"createTime": { +"description": "Output only. The create time of the event.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"eventData": { +"$ref": "GoogleCloudAiplatformV1beta1TaskEventData", +"description": "Required. The delta associated with the event." +}, +"eventSequenceNumber": { +"description": "Required. The sequence number of the event. This is used to uniquely identify the event within the task and order events chronologically. This is a id generated by the SDK.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1beta1TaskEventData": { +"description": "Data for a TaskEvent.", +"id": "GoogleCloudAiplatformV1beta1TaskEventData", +"properties": { +"metadataChange": { +"$ref": "GoogleCloudAiplatformV1beta1TaskMetadataChange", +"description": "Optional. A change to the task's metadata." +}, +"outputChange": { +"$ref": "GoogleCloudAiplatformV1beta1TaskOutputChange", +"description": "Optional. A change to the task's final outputs." +}, +"stateChange": { +"$ref": "GoogleCloudAiplatformV1beta1TaskStateChange", +"description": "Optional. A change in the task's state." +}, +"statusDetailsChange": { +"$ref": "GoogleCloudAiplatformV1beta1TaskStatusDetailsChange", +"description": "Optional. A change to the framework-specific status details." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1beta1TaskMessage": { +"description": "Represents a single message in a conversation, compliant with the A2A specification.", +"id": "GoogleCloudAiplatformV1beta1TaskMessage", +"properties": { +"messageId": { +"description": "Required. The unique identifier of the message.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. A2A message may have extension_uris or reference_task_ids. They will be stored under metadata.", +"type": "object" +}, +"parts": { +"description": "Required. The parts of the message.", +"items": { +"$ref": "GoogleCloudAiplatformV1beta1Part" +}, +"type": "array" +}, +"role": { +"description": "Required. The role of the sender of the message. e.g. \"user\", \"agent\"", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1beta1TaskMetadataChange": { +"description": "An event representing a change to the task's top-level metadata. example: metadata_change: { new_metadata: { \"name\": \"My task\", } update_mask: { paths: \"name\" } }", +"id": "GoogleCloudAiplatformV1beta1TaskMetadataChange", +"properties": { +"newMetadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Required. The complete state of the metadata object *after* the change.", +"type": "object" +}, +"updateMask": { +"description": "Optional. A field mask indicating which paths in the Struct were changed. If not set, all fields will be updated. go/aip-internal/cloud-standard/2412", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1beta1TaskOutput": { +"description": "Represents the final output of a task.", +"id": "GoogleCloudAiplatformV1beta1TaskOutput", +"properties": { +"artifacts": { +"description": "Optional. A list of artifacts (files, data) produced by the task.", +"items": { +"$ref": "GoogleCloudAiplatformV1beta1TaskArtifact" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1beta1TaskOutputChange": { +"description": "An event representing a change to the task's outputs.", +"id": "GoogleCloudAiplatformV1beta1TaskOutputChange", +"properties": { +"taskArtifactChange": { +"$ref": "GoogleCloudAiplatformV1beta1TaskArtifactChange", +"description": "Required. A granular change to the list of artifacts." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1beta1TaskStateChange": { +"description": "A message representing a change in a task's state.", +"id": "GoogleCloudAiplatformV1beta1TaskStateChange", +"properties": { +"newState": { +"description": "Required. The new state of the task.", +"enum": [ +"STATE_UNSPECIFIED", +"SUBMITTED", +"WORKING", +"COMPLETED", +"CANCELLED", +"FAILED", +"REJECTED", +"INPUT_REQUIRED", +"AUTH_REQUIRED", +"PAUSED" +], +"enumDescriptions": [ +"Task state unspecified. Default value if not set.", +"Task is submitted and waiting to be processed.", +"Task is actively being processed.", +"Task is finished.", +"Task is cancelled.", +"Task has failed.", +"Task is rejected by the system.", +"Task requires input from the user.", +"Task requires auth (e.g. OAuth) from the user.", +"Task is paused." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1beta1TaskStatusDetails": { +"description": "Represents the additional status details of a task.", +"id": "GoogleCloudAiplatformV1beta1TaskStatusDetails", +"properties": { +"taskMessage": { +"$ref": "GoogleCloudAiplatformV1beta1TaskMessage", +"description": "Optional. The message associated with the single-turn interaction between the user and the agent or agent and agent." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1beta1TaskStatusDetailsChange": { +"description": "Represents a change to the task's status details.", +"id": "GoogleCloudAiplatformV1beta1TaskStatusDetailsChange", +"properties": { +"newTaskStatus": { +"$ref": "GoogleCloudAiplatformV1beta1TaskStatusDetails", +"description": "Required. The complete state of the task's status *after* the change." +} +}, +"type": "object" +}, "GoogleCloudAiplatformV1beta1Tensor": { "description": "A tensor value type.", "id": "GoogleCloudAiplatformV1beta1Tensor", @@ -75908,6 +78035,45 @@ false }, "type": "object" }, +"GoogleCloudAiplatformV1beta1UserScenario": { +"description": "Output of user scenario generation.", +"id": "GoogleCloudAiplatformV1beta1UserScenario", +"properties": { +"conversationPlan": { +"description": "Conversation plan to drive multi-turn agent run and get simulated agent eval dataset.", +"type": "string" +}, +"startingPrompt": { +"description": "Starting prompt for the conversation between simulated user and agent under the test.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1beta1UserScenarioGenerationConfig": { +"description": "User scenario generation configuration.", +"id": "GoogleCloudAiplatformV1beta1UserScenarioGenerationConfig", +"properties": { +"environmentData": { +"description": "Optional. Environment data in string type.", +"type": "string" +}, +"modelName": { +"description": "Optional. The model name to use for generation. It can be model name, e.g. \"gemini-3-pro-preview\". or the fully qualified name of the publisher model or endpoint. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}`", +"type": "string" +}, +"simulationInstruction": { +"description": "Optional. Simulation instruction to guide the user scenario generation.", +"type": "string" +}, +"userScenarioCount": { +"description": "Required. The number of user scenarios to generate. The maximum number of scenarios that can be generated is 100.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, "GoogleCloudAiplatformV1beta1UserSpecifiedMetadata": { "description": "Metadata provided by users.", "id": "GoogleCloudAiplatformV1beta1UserSpecifiedMetadata", diff --git a/googleapiclient/discovery_cache/documents/alertcenter.v1beta1.json b/googleapiclient/discovery_cache/documents/alertcenter.v1beta1.json index 0b02323628..c97dd74d5a 100644 --- a/googleapiclient/discovery_cache/documents/alertcenter.v1beta1.json +++ b/googleapiclient/discovery_cache/documents/alertcenter.v1beta1.json @@ -423,7 +423,7 @@ } } }, -"revision": "20251117", +"revision": "20260316", "rootUrl": "https://alertcenter.googleapis.com/", "schemas": { "AbuseDetected": { @@ -1048,6 +1048,27 @@ }, "type": "object" }, +"ClientSideEncryptionServiceUnavailable": { +"description": "Alerts for client-side encryption outages.", +"id": "ClientSideEncryptionServiceUnavailable", +"properties": { +"idpError": { +"description": "Identity providers impacted by an outage or misconfiguration.", +"items": { +"$ref": "IdentityProviderError" +}, +"type": "array" +}, +"keyServiceError": { +"description": "External key services impacted by an outage or misconfiguration.", +"items": { +"$ref": "KeyServiceError" +}, +"type": "array" +} +}, +"type": "object" +}, "CloudPubsubTopic": { "description": "A reference to a Cloud Pubsub topic. To register for notifications, the owner of the topic must grant `alerts-api-push-notifications@system.gserviceaccount.com` the `projects.topics.publish` permission.", "id": "CloudPubsubTopic", @@ -1378,6 +1399,95 @@ }, "type": "object" }, +"IdentityProviderError": { +"description": "Error related to an identity provider.", +"id": "IdentityProviderError", +"properties": { +"authorizationBaseUrl": { +"description": "Authorization base url of the identity provider.", +"type": "string" +}, +"errorCount": { +"description": "Number of similar errors encountered.", +"format": "int64", +"type": "string" +}, +"errorInfo": { +"description": "Info on the identity provider error.", +"enum": [ +"IDENTITY_PROVIDER_ERROR_INFO_UNSPECIFIED", +"EMAIL_MISMATCH", +"UNAVAILABLE_DISCOVERY_CONTENT", +"INVALID_DISCOVERY_CONTENT", +"UNAVAILABLE_CSE_CONFIGURATION_CONTENT", +"INVALID_CSE_CONFIGURATION_CONTENT", +"INVALID_ID_TOKEN", +"INVALID_OIDC_SETUP", +"UNAVAILABLE_IDP", +"AUTH_CODE_EXCHANGE_ERROR", +"AUTHENTICATION_TOKEN_MISSING_CLAIM_EMAIL" +], +"enumDescriptions": [ +"Error info not specified.", +"Email in the ID token is different from the user's email.", +"Discovery URL was unreachable.", +"Discovery URL did not contain all the necessary information.", +"URL for client-side encryption configuration content was unreachable.", +"Client-side encryption .well-known URL did not contain all the necessary information.", +"ID token returned by the identity provider is invalid.", +"OIDC setup error.", +"Identity provider was unreachable.", +"Auth code exchange error.", +"Authentication token has no \"email\" or \"google_email\" claim." +], +"type": "string" +} +}, +"type": "object" +}, +"KeyServiceError": { +"description": "Error related to an external key service.", +"id": "KeyServiceError", +"properties": { +"errorCount": { +"description": "Number of similar errors encountered.", +"format": "int64", +"type": "string" +}, +"errorInfo": { +"description": "Info on the key service error.", +"enum": [ +"KEY_SERVICE_ERROR_INFO_UNSPECIFIED", +"MALFORMED_JSON", +"MISSING_KEY", +"MISSING_SIGNATURE", +"MISSING_ALGORITHM_NAME", +"UNSUPPORTED_ALGORITHM", +"FETCH_REQUEST_ERROR" +], +"enumDescriptions": [ +"Error info not specified.", +"The response has malformed JSON.", +"The response did not contain the wrapped/unwrapped key.", +"SMIME sign only: The sign response did not contain the signature.", +"SMIME only: The sign response does not include the algorithm name.", +"SMIME only: the algorithm name in the response is not supported by the client.", +"Fetch request on the client has failed." +], +"type": "string" +}, +"httpResponseCode": { +"description": "HTTP response status code from the key service.", +"format": "int64", +"type": "string" +}, +"keyServiceUrl": { +"description": "Url of the external key service.", +"type": "string" +} +}, +"type": "object" +}, "ListAlertFeedbackResponse": { "description": "Response message for an alert feedback listing request.", "id": "ListAlertFeedbackResponse", diff --git a/googleapiclient/discovery_cache/documents/androidmanagement.v1.json b/googleapiclient/discovery_cache/documents/androidmanagement.v1.json index cbc7cbb5fa..4633491c68 100644 --- a/googleapiclient/discovery_cache/documents/androidmanagement.v1.json +++ b/googleapiclient/discovery_cache/documents/androidmanagement.v1.json @@ -1265,7 +1265,7 @@ } } }, -"revision": "20260312", +"revision": "20260316", "rootUrl": "https://androidmanagement.googleapis.com/", "schemas": { "AdbShellCommandEvent": { @@ -5993,7 +5993,7 @@ false "type": "string" }, "screenCaptureDisabled": { -"description": "If true, screen capture is disabled for all users.", +"description": "If true, screen capture is disabled for all users. This also blocks Circle to Search (https://support.google.com/android/answer/14508957).", "type": "boolean" } }, @@ -6567,7 +6567,7 @@ false "type": "boolean" }, "screenCaptureDisabled": { -"description": "Whether screen capture is disabled.", +"description": "Whether screen capture is disabled. This also blocks Circle to Search (https://support.google.com/android/answer/14508957).", "type": "boolean" }, "setUserIconDisabled": { diff --git a/googleapiclient/discovery_cache/documents/androidpublisher.v3.json b/googleapiclient/discovery_cache/documents/androidpublisher.v3.json index 4466e5f6ea..8e5a25e90b 100644 --- a/googleapiclient/discovery_cache/documents/androidpublisher.v3.json +++ b/googleapiclient/discovery_cache/documents/androidpublisher.v3.json @@ -5637,7 +5637,7 @@ } } }, -"revision": "20260312", +"revision": "20260318", "rootUrl": "https://androidpublisher.googleapis.com/", "schemas": { "Abi": { @@ -6179,7 +6179,7 @@ "id": "ArtifactSummary", "properties": { "versionCode": { -"description": "The version code of the artifact.", +"description": "Artifact's version code", "format": "int32", "type": "integer" } @@ -9032,7 +9032,7 @@ false "id": "ListReleaseSummariesResponse", "properties": { "releases": { -"description": "List of releases for this track. There will be a maximum of 20 releases returned.", +"description": "List of releases for this track. A maximum of 20 releases can be returned.", "items": { "$ref": "ReleaseSummary" }, @@ -11072,7 +11072,7 @@ false "id": "ReleaseSummary", "properties": { "activeArtifacts": { -"description": "List of active artifacts on this release.", +"description": "List of active artifacts on this release", "items": { "$ref": "ArtifactSummary" }, @@ -11091,12 +11091,12 @@ false ], "enumDescriptions": [ "Not specified.", -"The release is not yet ready and can be still edited.", -"The release is ready to be sent for review and awaiting developer action.", -"Submitted and undergoing the review process.", -"Passed review and is ready to be published (due to managed publishing).", -"Failed the review process.", -"Currently available to users on the track. This includes fully or partially rolled out releases to users and any halted release that can be resumed." +"The release is not yet ready and can still be edited.", +"The release is ready to be sent for review and an action is required from developer", +"Submitted and in review", +"Passed review and is ready to be published manually by developer", +"App was rejected in review", +"Available to users on the track. This includes fully- or partially-rolled out releases and any halted release that can be resumed." ], "type": "string" }, @@ -11105,7 +11105,7 @@ false "type": "string" }, "track": { -"description": "Identifier of the track. More on [track name](https://developers.google.com/android-publisher/tracks).", +"description": "Identifier for the track. [Learn more about track names.](https://developers.google.com/android-publisher/tracks).", "type": "string" } }, diff --git a/googleapiclient/discovery_cache/documents/apikeys.v2.json b/googleapiclient/discovery_cache/documents/apikeys.v2.json index 603e5ebc81..87e7165fa4 100644 --- a/googleapiclient/discovery_cache/documents/apikeys.v2.json +++ b/googleapiclient/discovery_cache/documents/apikeys.v2.json @@ -185,7 +185,7 @@ "type": "string" }, "parent": { -"description": "Required. The project in which the API key is created.", +"description": "Required. The project in which the API key is created. The parent field must be in format of \"projects//locations/global\".", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -306,7 +306,7 @@ "type": "string" }, "parent": { -"description": "Required. Lists all API keys associated with this project.", +"description": "Required. Lists all API keys associated with this project. The parent field must be in format of \"projects//locations/global\".", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -337,7 +337,7 @@ ], "parameters": { "name": { -"description": "Output only. The resource name of the key. The `name` has the form: `projects//locations/global/keys/`. For example: `projects/123456867718/locations/global/keys/b7ff1f9f-8275-410a-94dd-3855ee9b5dd2` NOTE: Key is a global resource; hence the only supported value for location is `global`.", +"description": "Identifier. The resource name of the key. The `name` has the form: `projects//locations/global/keys/`. For example: `projects/123456867718/locations/global/keys/b7ff1f9f-8275-410a-94dd-3855ee9b5dd2` NOTE: Key is a global resource; hence the only supported value for location is `global`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/keys/[^/]+$", "required": true, @@ -396,7 +396,7 @@ } } }, -"revision": "20260109", +"revision": "20260317", "rootUrl": "https://apikeys.googleapis.com/", "schemas": { "Operation": { @@ -584,8 +584,7 @@ "type": "string" }, "name": { -"description": "Output only. The resource name of the key. The `name` has the form: `projects//locations/global/keys/`. For example: `projects/123456867718/locations/global/keys/b7ff1f9f-8275-410a-94dd-3855ee9b5dd2` NOTE: Key is a global resource; hence the only supported value for location is `global`.", -"readOnly": true, +"description": "Identifier. The resource name of the key. The `name` has the form: `projects//locations/global/keys/`. For example: `projects/123456867718/locations/global/keys/b7ff1f9f-8275-410a-94dd-3855ee9b5dd2` NOTE: Key is a global resource; hence the only supported value for location is `global`.", "type": "string" }, "restrictions": { diff --git a/googleapiclient/discovery_cache/documents/appengine.v1.json b/googleapiclient/discovery_cache/documents/appengine.v1.json index 027912c1c5..55b0b9583b 100644 --- a/googleapiclient/discovery_cache/documents/appengine.v1.json +++ b/googleapiclient/discovery_cache/documents/appengine.v1.json @@ -1301,6 +1301,47 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, +"exportAppImage": { +"description": "Exports a user image to Artifact Registry.", +"flatPath": "v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}:exportAppImage", +"httpMethod": "POST", +"id": "appengine.apps.services.versions.exportAppImage", +"parameterOrder": [ +"appsId", +"servicesId", +"versionsId" +], +"parameters": { +"appsId": { +"description": "Part of `name`. Required. Name of the App Engine version resource. Format: apps/{app}/services/{service}/versions/{version}", +"location": "path", +"required": true, +"type": "string" +}, +"servicesId": { +"description": "Part of `name`. See documentation of `appsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"versionsId": { +"description": "Part of `name`. See documentation of `appsId`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}:exportAppImage", +"request": { +"$ref": "ExportAppImageRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, "get": { "description": "Gets the specified Version resource. By default, only a BASIC_VIEW will be returned. Specify the FULL_VIEW parameter to get the full resource.", "flatPath": "v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}", @@ -2458,6 +2499,61 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, +"exportAppImage": { +"description": "Exports a user image to Artifact Registry.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/services/{servicesId}/versions/{versionsId}:exportAppImage", +"httpMethod": "POST", +"id": "appengine.projects.locations.applications.services.versions.exportAppImage", +"parameterOrder": [ +"projectsId", +"locationsId", +"applicationsId", +"servicesId", +"versionsId" +], +"parameters": { +"applicationsId": { +"description": "Part of `name`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"locationsId": { +"description": "Part of `name`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"projectsId": { +"description": "Part of `name`. Required. Name of the App Engine version resource. Format: apps/{app}/services/{service}/versions/{version}", +"location": "path", +"required": true, +"type": "string" +}, +"servicesId": { +"description": "Part of `name`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"versionsId": { +"description": "Part of `name`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/services/{servicesId}/versions/{versionsId}:exportAppImage", +"request": { +"$ref": "ExportAppImageRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, "patch": { "description": "Updates the specified Version resource. You can specify the following fields depending on the App Engine environment and type of scaling that the version resource uses:Standard environment instance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class)automatic scaling in the standard environment: automatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automaticScaling.standard_scheduler_settings.max_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.min_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.target_cpu_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.target_throughput_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)basic scaling or manual scaling in the standard environment: serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status) manual_scaling.instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling)Flexible environment serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status)automatic scaling in the flexible environment: automatic_scaling.min_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.max_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.cool_down_period_sec (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.cpu_utilization.target_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)manual scaling in the flexible environment: manual_scaling.instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling)", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/services/{servicesId}/versions/{versionsId}", @@ -2657,7 +2753,7 @@ } } }, -"revision": "20260202", +"revision": "20260316", "rootUrl": "https://appengine.googleapis.com/", "schemas": { "ApiConfigHandler": { @@ -3355,6 +3451,17 @@ }, "type": "object" }, +"ExportAppImageRequest": { +"description": "Request message for Versions.ExportAppImage.", +"id": "ExportAppImageRequest", +"properties": { +"destinationRepository": { +"description": "Optional. The full resource name of the AR repository to export to. Format: projects/{project}/locations/{location}/repositories/{repository} If not specified, defaults to projects/{project}/locations/{location}/repositories/gae-standard in the same region as the app. The default repository will be created if it does not exist.", +"type": "string" +} +}, +"type": "object" +}, "FeatureSettings": { "description": "The feature specific settings to be used in the application. These define behaviors that are user configurable.", "id": "FeatureSettings", diff --git a/googleapiclient/discovery_cache/documents/appengine.v1beta.json b/googleapiclient/discovery_cache/documents/appengine.v1beta.json index 8ef9ead2ac..3d26383628 100644 --- a/googleapiclient/discovery_cache/documents/appengine.v1beta.json +++ b/googleapiclient/discovery_cache/documents/appengine.v1beta.json @@ -1316,6 +1316,47 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, +"exportAppImage": { +"description": "Exports a user image to Artifact Registry.", +"flatPath": "v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}:exportAppImage", +"httpMethod": "POST", +"id": "appengine.apps.services.versions.exportAppImage", +"parameterOrder": [ +"appsId", +"servicesId", +"versionsId" +], +"parameters": { +"appsId": { +"description": "Part of `name`. Required. Name of the App Engine version resource. Format: apps/{app}/services/{service}/versions/{version}", +"location": "path", +"required": true, +"type": "string" +}, +"servicesId": { +"description": "Part of `name`. See documentation of `appsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"versionsId": { +"description": "Part of `name`. See documentation of `appsId`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}:exportAppImage", +"request": { +"$ref": "ExportAppImageRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, "get": { "description": "Gets the specified Version resource. By default, only a BASIC_VIEW will be returned. Specify the FULL_VIEW parameter to get the full resource.", "flatPath": "v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}", @@ -2571,6 +2612,61 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, +"exportAppImage": { +"description": "Exports a user image to Artifact Registry.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/services/{servicesId}/versions/{versionsId}:exportAppImage", +"httpMethod": "POST", +"id": "appengine.projects.locations.applications.services.versions.exportAppImage", +"parameterOrder": [ +"projectsId", +"locationsId", +"applicationsId", +"servicesId", +"versionsId" +], +"parameters": { +"applicationsId": { +"description": "Part of `name`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"locationsId": { +"description": "Part of `name`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"projectsId": { +"description": "Part of `name`. Required. Name of the App Engine version resource. Format: apps/{app}/services/{service}/versions/{version}", +"location": "path", +"required": true, +"type": "string" +}, +"servicesId": { +"description": "Part of `name`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"versionsId": { +"description": "Part of `name`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1beta/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/services/{servicesId}/versions/{versionsId}:exportAppImage", +"request": { +"$ref": "ExportAppImageRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, "patch": { "description": "Updates the specified Version resource. You can specify the following fields depending on the App Engine environment and type of scaling that the version resource uses:Standard environment instance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.instance_class)automatic scaling in the standard environment: automatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling) automaticScaling.standard_scheduler_settings.max_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.min_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.target_cpu_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.target_throughput_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#StandardSchedulerSettings)basic scaling or manual scaling in the standard environment: serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.serving_status) manual_scaling.instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#manualscaling)Flexible environment serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.serving_status)automatic scaling in the flexible environment: automatic_scaling.min_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.max_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.cool_down_period_sec (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.cpu_utilization.target_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling)manual scaling in the flexible environment: manual_scaling.instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#manualscaling)", "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/services/{servicesId}/versions/{versionsId}", @@ -2868,7 +2964,7 @@ } } }, -"revision": "20260220", +"revision": "20260316", "rootUrl": "https://appengine.googleapis.com/", "schemas": { "ApiConfigHandler": { @@ -3617,6 +3713,17 @@ }, "type": "object" }, +"ExportAppImageRequest": { +"description": "Request message for Versions.ExportAppImage.", +"id": "ExportAppImageRequest", +"properties": { +"destinationRepository": { +"description": "Optional. The full resource name of the AR repository to export to. Format: projects/{project}/locations/{location}/repositories/{repository} If not specified, defaults to projects/{project}/locations/{location}/repositories/gae-standard in the same region as the app. The default repository will be created if it does not exist.", +"type": "string" +} +}, +"type": "object" +}, "FeatureSettings": { "description": "The feature specific settings to be used in the application. These define behaviors that are user configurable.", "id": "FeatureSettings", diff --git a/googleapiclient/discovery_cache/documents/apphub.v1.json b/googleapiclient/discovery_cache/documents/apphub.v1.json index 76d82d5a0f..f23380efbf 100644 --- a/googleapiclient/discovery_cache/documents/apphub.v1.json +++ b/googleapiclient/discovery_cache/documents/apphub.v1.json @@ -1486,7 +1486,7 @@ } } }, -"revision": "20260204", +"revision": "20260316", "rootUrl": "https://apphub.googleapis.com/", "schemas": { "Application": { @@ -1901,12 +1901,14 @@ "enum": [ "TYPE_UNSPECIFIED", "AGENT", -"MCP_SERVER" +"MCP_SERVER", +"ENDPOINT" ], "enumDescriptions": [ "Unspecified type.", "Agent type.", -"MCP Server type." +"MCP Server type.", +"Endpoint type." ], "readOnly": true, "type": "string" diff --git a/googleapiclient/discovery_cache/documents/apphub.v1alpha.json b/googleapiclient/discovery_cache/documents/apphub.v1alpha.json index 3921280362..cc45eb6c97 100644 --- a/googleapiclient/discovery_cache/documents/apphub.v1alpha.json +++ b/googleapiclient/discovery_cache/documents/apphub.v1alpha.json @@ -1578,7 +1578,7 @@ } } }, -"revision": "20260204", +"revision": "20260316", "rootUrl": "https://apphub.googleapis.com/", "schemas": { "Application": { @@ -2073,12 +2073,14 @@ "enum": [ "TYPE_UNSPECIFIED", "AGENT", -"MCP_SERVER" +"MCP_SERVER", +"ENDPOINT" ], "enumDescriptions": [ "Unspecified type.", "Agent type.", -"MCP Server type." +"MCP Server type.", +"Endpoint type." ], "readOnly": true, "type": "string" diff --git a/googleapiclient/discovery_cache/documents/bigquerydatatransfer.v1.json b/googleapiclient/discovery_cache/documents/bigquerydatatransfer.v1.json index 290eaaa70e..43af1c1943 100644 --- a/googleapiclient/discovery_cache/documents/bigquerydatatransfer.v1.json +++ b/googleapiclient/discovery_cache/documents/bigquerydatatransfer.v1.json @@ -1047,6 +1047,80 @@ } } } +}, +"transferResources": { +"methods": { +"get": { +"description": "Returns a transfer resource.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/transferConfigs/{transferConfigsId}/transferResources/{transferResourcesId}", +"httpMethod": "GET", +"id": "bigquerydatatransfer.projects.locations.transferConfigs.transferResources.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the transfer resource in the form of: * `projects/{project}/transferConfigs/{transfer_config}/transferResources/{transfer_resource}` * `projects/{project}/locations/{location}/transferConfigs/{transfer_config}/transferResources/{transfer_resource}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/transferConfigs/[^/]+/transferResources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "TransferResource" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"list": { +"description": "Returns information about transfer resources.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/transferConfigs/{transferConfigsId}/transferResources", +"httpMethod": "GET", +"id": "bigquerydatatransfer.projects.locations.transferConfigs.transferResources.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter for the transfer resources. Currently supported filters include: * Resource name: `name` - Wildcard supported * Resource type: `type` * Resource destination: `destination` * Latest resource state: `latest_status_detail.state` * Last update time: `update_time` - RFC-3339 format * Parent table name: `hierarchy_detail.partition_detail.table` Multiple filters can be applied using the `AND/OR` operator. Examples: * `name=\"*123\" AND (type=\"TABLE\" OR latest_status_detail.state=\"SUCCEEDED\")` * `update_time >= \"2012-04-21T11:30:00-04:00` * `hierarchy_detail.partition_detail.table = \"table1\"`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of transfer resources to return. The maximum value is 1000; values above 1000 will be coerced to 1000. The default page size is the maximum value of 1000 results.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListTransferResources` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListTransferResources` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of transfer configuration for which transfer resources should be retrieved. The name should be in one of the following form: * `projects/{project_id}/transferConfigs/{config_id}` * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/transferConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/transferResources", +"response": { +"$ref": "ListTransferResourcesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +} +} } } } @@ -1497,13 +1571,87 @@ } } } +}, +"transferResources": { +"methods": { +"get": { +"description": "Returns a transfer resource.", +"flatPath": "v1/projects/{projectsId}/transferConfigs/{transferConfigsId}/transferResources/{transferResourcesId}", +"httpMethod": "GET", +"id": "bigquerydatatransfer.projects.transferConfigs.transferResources.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the transfer resource in the form of: * `projects/{project}/transferConfigs/{transfer_config}/transferResources/{transfer_resource}` * `projects/{project}/locations/{location}/transferConfigs/{transfer_config}/transferResources/{transfer_resource}`", +"location": "path", +"pattern": "^projects/[^/]+/transferConfigs/[^/]+/transferResources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "TransferResource" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"list": { +"description": "Returns information about transfer resources.", +"flatPath": "v1/projects/{projectsId}/transferConfigs/{transferConfigsId}/transferResources", +"httpMethod": "GET", +"id": "bigquerydatatransfer.projects.transferConfigs.transferResources.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter for the transfer resources. Currently supported filters include: * Resource name: `name` - Wildcard supported * Resource type: `type` * Resource destination: `destination` * Latest resource state: `latest_status_detail.state` * Last update time: `update_time` - RFC-3339 format * Parent table name: `hierarchy_detail.partition_detail.table` Multiple filters can be applied using the `AND/OR` operator. Examples: * `name=\"*123\" AND (type=\"TABLE\" OR latest_status_detail.state=\"SUCCEEDED\")` * `update_time >= \"2012-04-21T11:30:00-04:00` * `hierarchy_detail.partition_detail.table = \"table1\"`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of transfer resources to return. The maximum value is 1000; values above 1000 will be coerced to 1000. The default page size is the maximum value of 1000 results.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListTransferResources` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListTransferResources` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of transfer configuration for which transfer resources should be retrieved. The name should be in one of the following form: * `projects/{project_id}/transferConfigs/{config_id}` * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`", +"location": "path", +"pattern": "^projects/[^/]+/transferConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/transferResources", +"response": { +"$ref": "ListTransferResourcesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +} +} } } } } } }, -"revision": "20260201", +"revision": "20260314", "rootUrl": "https://bigquerydatatransfer.googleapis.com/", "schemas": { "CheckValidCredsRequest": { @@ -1803,6 +1951,21 @@ }, "type": "object" }, +"HierarchyDetail": { +"description": "Details about the hierarchy.", +"id": "HierarchyDetail", +"properties": { +"partitionDetail": { +"$ref": "PartitionDetail", +"description": "Optional. Partition details related to hierarchy." +}, +"tableDetail": { +"$ref": "TableDetail", +"description": "Optional. Table details related to hierarchy." +} +}, +"type": "object" +}, "ListDataSourcesResponse": { "description": "Returns list of supported data sources and their metadata.", "id": "ListDataSourcesResponse", @@ -1880,6 +2043,26 @@ }, "type": "object" }, +"ListTransferResourcesResponse": { +"description": "Response for the ListTransferResources RPC.", +"id": "ListTransferResourcesResponse", +"properties": { +"nextPageToken": { +"description": "Output only. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"readOnly": true, +"type": "string" +}, +"transferResources": { +"description": "Output only. The transfer resources.", +"items": { +"$ref": "TransferResource" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, "ListTransferRunsResponse": { "description": "The returned list of pipelines in the project.", "id": "ListTransferRunsResponse", @@ -1940,6 +2123,17 @@ "properties": {}, "type": "object" }, +"PartitionDetail": { +"description": "Partition details related to hierarchy.", +"id": "PartitionDetail", +"properties": { +"table": { +"description": "Optional. Name of the table which has the partitions.", +"type": "string" +} +}, +"type": "object" +}, "ScheduleOptions": { "description": "Options customizing the data transfer schedule.", "id": "ScheduleOptions", @@ -2068,6 +2262,18 @@ }, "type": "object" }, +"TableDetail": { +"description": "Table details related to hierarchy.", +"id": "TableDetail", +"properties": { +"partitionCount": { +"description": "Optional. Total number of partitions being tracked within the table.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, "TimeBasedSchedule": { "description": "Options customizing the time based transfer schedule. Options are migrated from the original ScheduleOptions message.", "id": "TimeBasedSchedule", @@ -2269,6 +2475,115 @@ }, "type": "object" }, +"TransferResource": { +"description": "Resource(table/partition) that is being transferred.", +"id": "TransferResource", +"properties": { +"destination": { +"description": "Optional. Resource destination.", +"enum": [ +"RESOURCE_DESTINATION_UNSPECIFIED", +"RESOURCE_DESTINATION_BIGQUERY", +"RESOURCE_DESTINATION_DATAPROC_METASTORE", +"RESOURCE_DESTINATION_BIGLAKE_METASTORE", +"RESOURCE_DESTINATION_BIGLAKE_REST_CATALOG", +"RESOURCE_DESTINATION_BIGLAKE_HIVE_CATALOG" +], +"enumDescriptions": [ +"Default value.", +"BigQuery.", +"Dataproc Metastore.", +"BigLake Metastore.", +"BigLake REST Catalog.", +"BigLake Hive Catalog." +], +"type": "string" +}, +"hierarchyDetail": { +"$ref": "HierarchyDetail", +"description": "Optional. Details about the hierarchy." +}, +"lastSuccessfulRun": { +"$ref": "TransferRunBrief", +"description": "Output only. Run details for the last successful run.", +"readOnly": true +}, +"latestRun": { +"$ref": "TransferRunBrief", +"description": "Optional. Run details for the latest run." +}, +"latestStatusDetail": { +"$ref": "TransferResourceStatusDetail", +"description": "Optional. Status details for the latest run." +}, +"name": { +"description": "Identifier. Resource name.", +"type": "string" +}, +"type": { +"description": "Optional. Resource type.", +"enum": [ +"RESOURCE_TYPE_UNSPECIFIED", +"RESOURCE_TYPE_TABLE", +"RESOURCE_TYPE_PARTITION" +], +"enumDescriptions": [ +"Default value.", +"Table resource type.", +"Partition resource type." +], +"type": "string" +}, +"updateTime": { +"description": "Output only. Time when the resource was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"TransferResourceStatusDetail": { +"description": "Status details of the resource being transferred.", +"id": "TransferResourceStatusDetail", +"properties": { +"completedPercentage": { +"description": "Output only. Percentage of the transfer completed. Valid values: 0-100.", +"format": "double", +"readOnly": true, +"type": "number" +}, +"error": { +"$ref": "Status", +"description": "Optional. Transfer error details for the resource." +}, +"state": { +"description": "Optional. Transfer state of the resource.", +"enum": [ +"RESOURCE_TRANSFER_STATE_UNSPECIFIED", +"RESOURCE_TRANSFER_PENDING", +"RESOURCE_TRANSFER_RUNNING", +"RESOURCE_TRANSFER_SUCCEEDED", +"RESOURCE_TRANSFER_FAILED", +"RESOURCE_TRANSFER_CANCELLED" +], +"enumDescriptions": [ +"Default value.", +"Resource is waiting to be transferred.", +"Resource transfer is running.", +"Resource transfer is a success.", +"Resource transfer failed.", +"Resource transfer was cancelled." +], +"type": "string" +}, +"summary": { +"$ref": "TransferStatusSummary", +"description": "Optional. Transfer status summary of the resource." +} +}, +"type": "object" +}, "TransferRun": { "description": "Represents a data transfer run.", "id": "TransferRun", @@ -2371,6 +2686,91 @@ }, "type": "object" }, +"TransferRunBrief": { +"description": "Basic information about a transfer run.", +"id": "TransferRunBrief", +"properties": { +"run": { +"description": "Optional. Run URI. Format projects/{project}/locations/{location}/transferConfigs/{config}/run/{run}", +"type": "string" +}, +"startTime": { +"description": "Optional. Start time of the transfer run.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"TransferStatusMetric": { +"description": "Metrics for tracking the transfer status.", +"id": "TransferStatusMetric", +"properties": { +"completed": { +"description": "Optional. Number of units transferred successfully.", +"format": "int64", +"type": "string" +}, +"failed": { +"description": "Optional. Number of units that failed to transfer.", +"format": "int64", +"type": "string" +}, +"pending": { +"description": "Optional. Number of units pending transfer.", +"format": "int64", +"type": "string" +}, +"total": { +"description": "Optional. Total number of units for the transfer.", +"format": "int64", +"type": "string" +}, +"unit": { +"description": "Optional. Unit for measuring progress (e.g., BYTES).", +"enum": [ +"TRANSFER_STATUS_UNIT_UNSPECIFIED", +"TRANSFER_STATUS_UNIT_BYTES", +"TRANSFER_STATUS_UNIT_OBJECTS" +], +"enumDescriptions": [ +"Default value.", +"Bytes.", +"Objects." +], +"type": "string" +} +}, +"type": "object" +}, +"TransferStatusSummary": { +"description": "Status summary of the resource being transferred.", +"id": "TransferStatusSummary", +"properties": { +"metrics": { +"description": "Optional. List of transfer status metrics.", +"items": { +"$ref": "TransferStatusMetric" +}, +"type": "array" +}, +"progressUnit": { +"description": "Input only. Unit based on which transfer status progress should be calculated.", +"enum": [ +"TRANSFER_STATUS_UNIT_UNSPECIFIED", +"TRANSFER_STATUS_UNIT_BYTES", +"TRANSFER_STATUS_UNIT_OBJECTS" +], +"enumDescriptions": [ +"Default value.", +"Bytes.", +"Objects." +], +"type": "string" +} +}, +"type": "object" +}, "UnenrollDataSourcesRequest": { "description": "A request to unenroll a set of data sources so they are no longer visible in the BigQuery UI's `Transfer` tab.", "id": "UnenrollDataSourcesRequest", diff --git a/googleapiclient/discovery_cache/documents/chat.v1.json b/googleapiclient/discovery_cache/documents/chat.v1.json index 9a13918fc0..b467724e2d 100644 --- a/googleapiclient/discovery_cache/documents/chat.v1.json +++ b/googleapiclient/discovery_cache/documents/chat.v1.json @@ -1535,7 +1535,7 @@ } } }, -"revision": "20260305", +"revision": "20260317", "rootUrl": "https://chat.googleapis.com/", "schemas": { "AccessSettings": { @@ -4744,7 +4744,7 @@ }, "matchedUrl": { "$ref": "MatchedUrl", -"description": "Output only. A URL in `spaces.messages.text` that matches a link preview pattern. For more information, see [Preview links](https://developers.google.com/workspace/chat/preview-links).", +"description": "Output only. A URL in the Chat message `text` field that matches a link preview pattern. For more information, see [Preview links](https://developers.google.com/workspace/chat/preview-links).", "readOnly": true }, "name": { diff --git a/googleapiclient/discovery_cache/documents/cloudasset.v1.json b/googleapiclient/discovery_cache/documents/cloudasset.v1.json index e58b6260e6..ff0adbc038 100644 --- a/googleapiclient/discovery_cache/documents/cloudasset.v1.json +++ b/googleapiclient/discovery_cache/documents/cloudasset.v1.json @@ -1095,7 +1095,7 @@ } } }, -"revision": "20260102", +"revision": "20260314", "rootUrl": "https://cloudasset.googleapis.com/", "schemas": { "AccessSelector": { @@ -2844,7 +2844,7 @@ "id": "GoogleIdentityAccesscontextmanagerV1EgressFrom", "properties": { "identities": { -"description": "A list of identities that are allowed access through [EgressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For third-party identity, only single identities are supported and other identity types are not supported. The `v1` identities that have the prefix `user`, `group`, `serviceAccount`, and `principal` in https://cloud.google.com/iam/docs/principal-identifiers#v1 are supported.", +"description": "A list of identities that are allowed access through [EgressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For the list of supported identity types, see https://docs.cloud.google.com/vpc-service-controls/docs/supported-identities.", "items": { "type": "string" }, @@ -2964,7 +2964,7 @@ "id": "GoogleIdentityAccesscontextmanagerV1IngressFrom", "properties": { "identities": { -"description": "A list of identities that are allowed access through [IngressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For third-party identity, only single identities are supported and other identity types are not supported. The `v1` identities that have the prefix `user`, `group`, `serviceAccount`, and `principal` in https://cloud.google.com/iam/docs/principal-identifiers#v1 are supported.", +"description": "A list of identities that are allowed access through [IngressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For the list of supported identity types, see https://docs.cloud.google.com/vpc-service-controls/docs/supported-identities.", "items": { "type": "string" }, diff --git a/googleapiclient/discovery_cache/documents/cloudasset.v1beta1.json b/googleapiclient/discovery_cache/documents/cloudasset.v1beta1.json index 82727bffcb..f976635343 100644 --- a/googleapiclient/discovery_cache/documents/cloudasset.v1beta1.json +++ b/googleapiclient/discovery_cache/documents/cloudasset.v1beta1.json @@ -411,7 +411,7 @@ } } }, -"revision": "20250307", +"revision": "20260314", "rootUrl": "https://cloudasset.googleapis.com/", "schemas": { "AnalyzeIamPolicyLongrunningMetadata": { @@ -1124,7 +1124,7 @@ "id": "GoogleIdentityAccesscontextmanagerV1EgressFrom", "properties": { "identities": { -"description": "A list of identities that are allowed access through [EgressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For third-party identity, only single identities are supported and other identity types are not supported. The `v1` identities that have the prefix `user`, `group`, `serviceAccount`, and `principal` in https://cloud.google.com/iam/docs/principal-identifiers#v1 are supported.", +"description": "A list of identities that are allowed access through [EgressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For the list of supported identity types, see https://docs.cloud.google.com/vpc-service-controls/docs/supported-identities.", "items": { "type": "string" }, @@ -1244,7 +1244,7 @@ "id": "GoogleIdentityAccesscontextmanagerV1IngressFrom", "properties": { "identities": { -"description": "A list of identities that are allowed access through [IngressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For third-party identity, only single identities are supported and other identity types are not supported. The `v1` identities that have the prefix `user`, `group`, `serviceAccount`, and `principal` in https://cloud.google.com/iam/docs/principal-identifiers#v1 are supported.", +"description": "A list of identities that are allowed access through [IngressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For the list of supported identity types, see https://docs.cloud.google.com/vpc-service-controls/docs/supported-identities.", "items": { "type": "string" }, diff --git a/googleapiclient/discovery_cache/documents/cloudasset.v1p1beta1.json b/googleapiclient/discovery_cache/documents/cloudasset.v1p1beta1.json index bde6f5cc0f..b4d354f702 100644 --- a/googleapiclient/discovery_cache/documents/cloudasset.v1p1beta1.json +++ b/googleapiclient/discovery_cache/documents/cloudasset.v1p1beta1.json @@ -207,7 +207,7 @@ } } }, -"revision": "20250307", +"revision": "20260314", "rootUrl": "https://cloudasset.googleapis.com/", "schemas": { "AnalyzeIamPolicyLongrunningMetadata": { @@ -826,7 +826,7 @@ "id": "GoogleIdentityAccesscontextmanagerV1EgressFrom", "properties": { "identities": { -"description": "A list of identities that are allowed access through [EgressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For third-party identity, only single identities are supported and other identity types are not supported. The `v1` identities that have the prefix `user`, `group`, `serviceAccount`, and `principal` in https://cloud.google.com/iam/docs/principal-identifiers#v1 are supported.", +"description": "A list of identities that are allowed access through [EgressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For the list of supported identity types, see https://docs.cloud.google.com/vpc-service-controls/docs/supported-identities.", "items": { "type": "string" }, @@ -946,7 +946,7 @@ "id": "GoogleIdentityAccesscontextmanagerV1IngressFrom", "properties": { "identities": { -"description": "A list of identities that are allowed access through [IngressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For third-party identity, only single identities are supported and other identity types are not supported. The `v1` identities that have the prefix `user`, `group`, `serviceAccount`, and `principal` in https://cloud.google.com/iam/docs/principal-identifiers#v1 are supported.", +"description": "A list of identities that are allowed access through [IngressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For the list of supported identity types, see https://docs.cloud.google.com/vpc-service-controls/docs/supported-identities.", "items": { "type": "string" }, diff --git a/googleapiclient/discovery_cache/documents/cloudasset.v1p5beta1.json b/googleapiclient/discovery_cache/documents/cloudasset.v1p5beta1.json index 43dde8fb44..d21eb1147f 100644 --- a/googleapiclient/discovery_cache/documents/cloudasset.v1p5beta1.json +++ b/googleapiclient/discovery_cache/documents/cloudasset.v1p5beta1.json @@ -177,7 +177,7 @@ } } }, -"revision": "20250307", +"revision": "20260314", "rootUrl": "https://cloudasset.googleapis.com/", "schemas": { "AnalyzeIamPolicyLongrunningMetadata": { @@ -831,7 +831,7 @@ "id": "GoogleIdentityAccesscontextmanagerV1EgressFrom", "properties": { "identities": { -"description": "A list of identities that are allowed access through [EgressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For third-party identity, only single identities are supported and other identity types are not supported. The `v1` identities that have the prefix `user`, `group`, `serviceAccount`, and `principal` in https://cloud.google.com/iam/docs/principal-identifiers#v1 are supported.", +"description": "A list of identities that are allowed access through [EgressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For the list of supported identity types, see https://docs.cloud.google.com/vpc-service-controls/docs/supported-identities.", "items": { "type": "string" }, @@ -951,7 +951,7 @@ "id": "GoogleIdentityAccesscontextmanagerV1IngressFrom", "properties": { "identities": { -"description": "A list of identities that are allowed access through [IngressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For third-party identity, only single identities are supported and other identity types are not supported. The `v1` identities that have the prefix `user`, `group`, `serviceAccount`, and `principal` in https://cloud.google.com/iam/docs/principal-identifiers#v1 are supported.", +"description": "A list of identities that are allowed access through [IngressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For the list of supported identity types, see https://docs.cloud.google.com/vpc-service-controls/docs/supported-identities.", "items": { "type": "string" }, diff --git a/googleapiclient/discovery_cache/documents/cloudasset.v1p7beta1.json b/googleapiclient/discovery_cache/documents/cloudasset.v1p7beta1.json index 3fa07aecc5..b35556519a 100644 --- a/googleapiclient/discovery_cache/documents/cloudasset.v1p7beta1.json +++ b/googleapiclient/discovery_cache/documents/cloudasset.v1p7beta1.json @@ -167,7 +167,7 @@ } } }, -"revision": "20260227", +"revision": "20260314", "rootUrl": "https://cloudasset.googleapis.com/", "schemas": { "AnalyzeIamPolicyLongrunningMetadata": { @@ -900,7 +900,7 @@ "id": "GoogleIdentityAccesscontextmanagerV1EgressFrom", "properties": { "identities": { -"description": "A list of identities that are allowed access through [EgressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For third-party identity, only single identities are supported and other identity types are not supported. The `v1` identities that have the prefix `user`, `group`, `serviceAccount`, and `principal` in https://cloud.google.com/iam/docs/principal-identifiers#v1 are supported.", +"description": "A list of identities that are allowed access through [EgressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For the list of supported identity types, see https://docs.cloud.google.com/vpc-service-controls/docs/supported-identities.", "items": { "type": "string" }, @@ -1020,7 +1020,7 @@ "id": "GoogleIdentityAccesscontextmanagerV1IngressFrom", "properties": { "identities": { -"description": "A list of identities that are allowed access through [IngressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For third-party identity, only single identities are supported and other identity types are not supported. The `v1` identities that have the prefix `user`, `group`, `serviceAccount`, and `principal` in https://cloud.google.com/iam/docs/principal-identifiers#v1 are supported.", +"description": "A list of identities that are allowed access through [IngressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For the list of supported identity types, see https://docs.cloud.google.com/vpc-service-controls/docs/supported-identities.", "items": { "type": "string" }, diff --git a/googleapiclient/discovery_cache/documents/clouddeploy.v1.json b/googleapiclient/discovery_cache/documents/clouddeploy.v1.json index 68a5074e26..4854ce7ee2 100644 --- a/googleapiclient/discovery_cache/documents/clouddeploy.v1.json +++ b/googleapiclient/discovery_cache/documents/clouddeploy.v1.json @@ -2359,7 +2359,7 @@ } } }, -"revision": "20260128", +"revision": "20260313", "rootUrl": "https://clouddeploy.googleapis.com/", "schemas": { "AbandonReleaseRequest": { @@ -2477,6 +2477,149 @@ }, "type": "object" }, +"AlertPolicyCheck": { +"description": "AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail.", +"id": "AlertPolicyCheck", +"properties": { +"alertPolicies": { +"description": "Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"id": { +"description": "Required. The ID of the analysis check.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered.", +"type": "object" +} +}, +"type": "object" +}, +"AlertPolicyCheckStatus": { +"description": "AlertPolicyCheckStatus contains information specific to a single run of an alert policy check.", +"id": "AlertPolicyCheckStatus", +"properties": { +"alertPolicies": { +"description": "Output only. The alert policies that this analysis monitors. Format is `projects/{project}/locations/{location}/alertPolicies/{alertPolicy}`.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"failedAlertPolicies": { +"description": "Output only. The alert policies that were found to be firing during this check. This will be empty if no incidents were found.", +"items": { +"$ref": "FailedAlertPolicy" +}, +"readOnly": true, +"type": "array" +}, +"failureMessage": { +"description": "Output only. Additional information about the alert policy check failure, if available. This will be empty if the alert policy check succeeded.", +"readOnly": true, +"type": "string" +}, +"id": { +"description": "Output only. The ID of this analysis.", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Output only. The resolved labels used to filter for specific incidents.", +"readOnly": true, +"type": "object" +} +}, +"type": "object" +}, +"Analysis": { +"description": "Analysis contains the configuration for the set of analyses to be performed on the target.", +"id": "Analysis", +"properties": { +"customChecks": { +"description": "Optional. Custom analysis checks from 3P metric providers.", +"items": { +"$ref": "CustomCheck" +}, +"type": "array" +}, +"duration": { +"description": "Required. The amount of time in minutes the analysis on the target will last. If all analysis checks have successfully completed before the specified duration, the analysis is successful. If a check is still running while the specified duration passes, it will wait for that check to complete to determine if the analysis is successful. The maximum duration is 48 hours.", +"format": "google-duration", +"type": "string" +}, +"googleCloud": { +"$ref": "GoogleCloudAnalysis", +"description": "Optional. Google Cloud - based analysis checks." +} +}, +"type": "object" +}, +"AnalysisJob": { +"description": "An analysis Job.", +"id": "AnalysisJob", +"properties": { +"customChecks": { +"description": "Output only. Custom analysis checks from 3P metric providers that are run as part of the analysis Job.", +"items": { +"$ref": "CustomCheck" +}, +"readOnly": true, +"type": "array" +}, +"duration": { +"description": "Output only. The amount of time in minutes the analysis Job will run, up to a maximum of 48 hours. If any check in this Job is still running when the duration ends, the Job keeps running until that check completes.", +"format": "google-duration", +"readOnly": true, +"type": "string" +}, +"googleCloud": { +"$ref": "GoogleCloudAnalysis", +"description": "Output only. Google Cloud - based analysis checks that are run as part of the analysis Job.", +"readOnly": true +} +}, +"type": "object" +}, +"AnalysisJobRun": { +"description": "AnalysisJobRun contains information specific to an analysis `JobRun`.", +"id": "AnalysisJobRun", +"properties": { +"alertPolicyAnalyses": { +"description": "Output only. The status of the running alert policy checks configured for this analysis.", +"items": { +"$ref": "AlertPolicyCheckStatus" +}, +"readOnly": true, +"type": "array" +}, +"customCheckAnalyses": { +"description": "Output only. The status of the running custom checks configured for this analysis.", +"items": { +"$ref": "CustomCheckStatus" +}, +"readOnly": true, +"type": "array" +}, +"failedCheckId": { +"description": "Output only. The ID of the configured check that failed. This will always be blank while the analysis is in progress or if it succeeded.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, "AnthosCluster": { "description": "Information specifying an Anthos Cluster.", "id": "AnthosCluster", @@ -3039,6 +3182,10 @@ true "description": "CanaryDeployment represents the canary deployment configuration", "id": "CanaryDeployment", "properties": { +"analysis": { +"$ref": "Analysis", +"description": "Optional. Configuration for the analysis job. If configured, the analysis will run after each percentage deployment." +}, "percentages": { "description": "Required. The percentage based deployments that will occur as a part of a `Rollout`. List is expected in ascending order and each integer n is 0 <= n < 100. If the GatewayServiceMesh is configured for Kubernetes, then the range for n is 0 <= n <= 100.", "items": { @@ -3058,6 +3205,10 @@ true "verify": { "description": "Optional. Whether to run verify tests after each percentage deployment via `skaffold verify`.", "type": "boolean" +}, +"verifyConfig": { +"$ref": "Verify", +"description": "Optional. Configuration for the verify job. Cannot be set if `verify` is set to true." } }, "type": "object" @@ -3175,6 +3326,11 @@ true "readOnly": true, "type": "string" }, +"previousRevision": { +"description": "Output only. The previous Cloud Run Revision name associated with a `Rollout`. Only set when a canary deployment strategy is configured. Format for service is projects/{project}/locations/{location}/services/{service}/revisions/{revision}. Format for worker pool is projects/{project}/locations/{location}/workerPools/{workerpool}/revisions/{revision}.", +"readOnly": true, +"type": "string" +}, "revision": { "description": "Output only. The Cloud Run Revision id associated with a `Rollout`.", "readOnly": true, @@ -3205,6 +3361,16 @@ true "description": "CloudRunRenderMetadata contains Cloud Run information associated with a `Release` render.", "id": "CloudRunRenderMetadata", "properties": { +"job": { +"description": "Output only. The name of the Cloud Run Job in the rendered manifest. Format is `projects/{project}/locations/{location}/jobs/{job}`.", +"readOnly": true, +"type": "string" +}, +"revision": { +"description": "Output only. The name of the Cloud Run Revision in the rendered manifest. Format is `projects/{project}/locations/{location}/services/{service}/revisions/{revision}`.", +"readOnly": true, +"type": "string" +}, "service": { "description": "Output only. The name of the Cloud Run Service in the rendered manifest. Format is `projects/{project}/locations/{location}/services/{service}`.", "readOnly": true, @@ -3245,6 +3411,38 @@ true }, "type": "object" }, +"ContainerTask": { +"description": "This task is represented by a container that is executed in the Cloud Build execution environment.", +"id": "ContainerTask", +"properties": { +"args": { +"description": "Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image.", +"items": { +"type": "string" +}, +"type": "array" +}, +"command": { +"description": "Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image.", +"items": { +"type": "string" +}, +"type": "array" +}, +"env": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Environment variables that are set in the container.", +"type": "object" +}, +"image": { +"description": "Required. Image is the container image to use.", +"type": "string" +} +}, +"type": "object" +}, "CreateChildRolloutJob": { "description": "A createChildRollout Job.", "id": "CreateChildRolloutJob", @@ -3282,6 +3480,83 @@ true }, "type": "object" }, +"CustomCheck": { +"description": "CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency.", +"id": "CustomCheck", +"properties": { +"frequency": { +"description": "Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes.", +"format": "google-duration", +"type": "string" +}, +"id": { +"description": "Required. The ID of the custom Analysis check.", +"type": "string" +}, +"task": { +"$ref": "Task", +"description": "Required. The Task to be run for this custom check." +} +}, +"type": "object" +}, +"CustomCheckStatus": { +"description": "CustomCheckStatus contains information specific to a single iteration of a custom analysis job.", +"id": "CustomCheckStatus", +"properties": { +"failureCause": { +"description": "Output only. The reason the analysis failed. This will always be unspecified while the analysis is in progress or if it succeeded.", +"enum": [ +"FAILURE_CAUSE_UNSPECIFIED", +"CLOUD_BUILD_UNAVAILABLE", +"EXECUTION_FAILED", +"DEADLINE_EXCEEDED", +"CLOUD_BUILD_REQUEST_FAILED" +], +"enumDescriptions": [ +"No reason for failure is specified.", +"Cloud Build is not available, either because it is not enabled or because Cloud Deploy has insufficient permissions. See [required permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).", +"The analysis operation did not complete successfully; check Cloud Build logs.", +"The analysis job run did not complete within the alloted time defined in the target's execution environment configuration.", +"Cloud Build failed to fulfill Cloud Deploy's request. See failure_message for additional details." +], +"readOnly": true, +"type": "string" +}, +"failureMessage": { +"description": "Output only. Additional information about the analysis failure, if available.", +"readOnly": true, +"type": "string" +}, +"frequency": { +"description": "Output only. The frequency in minutes at which the custom check is run.", +"format": "google-duration", +"readOnly": true, +"type": "string" +}, +"id": { +"description": "Output only. The ID of the custom check.", +"readOnly": true, +"type": "string" +}, +"latestBuild": { +"description": "Output only. The resource name of the Cloud Build `Build` object that was used to execute the latest run of this custom action check. Format is `projects/{project}/locations/{location}/builds/{build}`.", +"readOnly": true, +"type": "string" +}, +"metadata": { +"$ref": "CustomMetadata", +"description": "Output only. Custom metadata provided by the user-defined custom check operation. result.", +"readOnly": true +}, +"task": { +"$ref": "Task", +"description": "Output only. The task that ran for this custom check.", +"readOnly": true +} +}, +"type": "object" +}, "CustomMetadata": { "description": "CustomMetadata contains information from a user-defined operation.", "id": "CustomMetadata", @@ -3342,6 +3617,21 @@ true }, "type": "object" }, +"CustomTargetTasks": { +"description": "CustomTargetTasks represents the `CustomTargetType` configuration using tasks.", +"id": "CustomTargetTasks", +"properties": { +"deploy": { +"$ref": "Task", +"description": "Required. The task responsible for deploy operations." +}, +"render": { +"$ref": "Task", +"description": "Optional. The task responsible for render operations. If not provided then Cloud Deploy will perform its default rendering operation." +} +}, +"type": "object" +}, "CustomTargetType": { "description": "A `CustomTargetType` resource in the Cloud Deploy API. A `CustomTargetType` defines a type of custom target that can be referenced in a `Target` in order to facilitate deploying to other systems besides the supported runtimes.", "id": "CustomTargetType", @@ -3387,6 +3677,10 @@ true "description": "Identifier. Name of the `CustomTargetType`. Format is `projects/{project}/locations/{location}/customTargetTypes/{customTargetType}`. The `customTargetType` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`", "type": "string" }, +"tasks": { +"$ref": "CustomTargetTasks", +"description": "Optional. Configures render and deploy for the `CustomTargetType` using tasks." +}, "uid": { "description": "Output only. Unique identifier of the `CustomTargetType`.", "readOnly": true, @@ -3986,6 +4280,11 @@ true "description": "Deployment job composition.", "id": "DeploymentJobs", "properties": { +"analysisJob": { +"$ref": "Job", +"description": "Output only. The analysis Job. Runs after a verify if there is a verify job and the verify job succeeds.", +"readOnly": true +}, "deployJob": { "$ref": "Job", "description": "Output only. The deploy Job. This is the deploy job in the phase.", @@ -4049,7 +4348,8 @@ true "DEPLOY", "VERIFY", "PREDEPLOY", -"POSTDEPLOY" +"POSTDEPLOY", +"ANALYSIS" ], "enumDescriptions": [ "Default value. This value is unused.", @@ -4057,7 +4357,8 @@ true "Use for deploying and deployment hooks.", "Use for deployment verification.", "Use for predeploy job execution.", -"Use for postdeploy job execution." +"Use for postdeploy job execution.", +"Use for analysis job execution." ], "type": "string" }, @@ -4097,6 +4398,26 @@ true }, "type": "object" }, +"FailedAlertPolicy": { +"description": "FailedAlertPolicy contains information about an alert policy that was found to be firing during an alert policy check.", +"id": "FailedAlertPolicy", +"properties": { +"alertPolicy": { +"description": "Output only. The name of the alert policy that was found to be firing. Format is `projects/{project}/locations/{location}/alertPolicies/{alertPolicy}`.", +"readOnly": true, +"type": "string" +}, +"alerts": { +"description": "Output only. Open alerts for the alerting policies that matched the alert policy check configuration.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, "GatewayServiceMesh": { "description": "Information about the Kubernetes Gateway API service mesh configuration.", "id": "GatewayServiceMesh", @@ -4157,6 +4478,20 @@ true }, "type": "object" }, +"GoogleCloudAnalysis": { +"description": "GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment.", +"id": "GoogleCloudAnalysis", +"properties": { +"alertPolicyChecks": { +"description": "Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis.", +"items": { +"$ref": "AlertPolicyCheck" +}, +"type": "array" +} +}, +"type": "object" +}, "IgnoreJobRequest": { "description": "The request object used by `IgnoreJob`.", "id": "IgnoreJobRequest", @@ -4194,6 +4529,11 @@ true "description": "Output only. An advanceChildRollout Job.", "readOnly": true }, +"analysisJob": { +"$ref": "AnalysisJob", +"description": "Output only. An analysis Job.", +"readOnly": true +}, "createChildRolloutJob": { "$ref": "CreateChildRolloutJob", "description": "Output only. A createChildRollout Job.", @@ -4273,6 +4613,11 @@ true "description": "Output only. Information specific to an advanceChildRollout `JobRun`", "readOnly": true }, +"analysisJobRun": { +"$ref": "AnalysisJobRun", +"description": "Output only. Information specific to an analysis `JobRun`.", +"readOnly": true +}, "createChildRolloutJobRun": { "$ref": "CreateChildRolloutJobRun", "description": "Output only. Information specific to a createChildRollout `JobRun`.", @@ -4456,6 +4801,28 @@ true }, "type": "object" }, +"KubernetesRenderMetadata": { +"description": "KubernetesRenderMetadata contains Kubernetes information associated with a `Release` render.", +"id": "KubernetesRenderMetadata", +"properties": { +"canaryDeployment": { +"description": "Output only. Name of the canary version of the Kubernetes Deployment that will be applied to the GKE cluster. Only set if a canary deployment strategy was configured.", +"readOnly": true, +"type": "string" +}, +"deployment": { +"description": "Output only. Name of the Kubernetes Deployment that will be applied to the GKE cluster. Only set if a single Deployment was provided in the rendered manifest.", +"readOnly": true, +"type": "string" +}, +"kubernetesNamespace": { +"description": "Output only. Namespace the Kubernetes resources will be applied to in the GKE cluster. Only set if applying resources to a single namespace.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, "ListAutomationRunsResponse": { "description": "The response object from `ListAutomationRuns`.", "id": "ListAutomationRunsResponse", @@ -4972,6 +5339,10 @@ true "description": "PhaseConfig represents the configuration for a phase in the custom canary deployment.", "id": "PhaseConfig", "properties": { +"analysis": { +"$ref": "Analysis", +"description": "Optional. Configuration for the analysis job of this phase. If this is not configured, there will be no analysis job for this phase." +}, "percentage": { "description": "Required. Percentage deployment for the phase.", "format": "int32", @@ -4999,6 +5370,10 @@ true "verify": { "description": "Optional. Whether to run verify tests after the deployment via `skaffold verify`.", "type": "boolean" +}, +"verifyConfig": { +"$ref": "Verify", +"description": "Optional. Configuration for the verify job. Cannot be set if `verify` is set to true." } }, "type": "object" @@ -5123,6 +5498,13 @@ true "type": "string" }, "type": "array" +}, +"tasks": { +"description": "Optional. The tasks that will run as a part of the postdeploy job. The tasks are executed sequentially in the order specified. Only one of `actions` or `tasks` can be specified.", +"items": { +"$ref": "Task" +}, +"type": "array" } }, "type": "object" @@ -5138,6 +5520,14 @@ true }, "readOnly": true, "type": "array" +}, +"tasks": { +"description": "Output only. The tasks that are executed as part of the postdeploy Job.", +"items": { +"$ref": "Task" +}, +"readOnly": true, +"type": "array" } }, "type": "object" @@ -5174,6 +5564,23 @@ true "description": "Output only. Additional information about the postdeploy failure, if available.", "readOnly": true, "type": "string" +}, +"metadata": { +"$ref": "PostdeployJobRunMetadata", +"description": "Output only. Metadata containing information about the postdeploy `JobRun`.", +"readOnly": true +} +}, +"type": "object" +}, +"PostdeployJobRunMetadata": { +"description": "PostdeployJobRunMetadata contains metadata about the postdeploy `JobRun`.", +"id": "PostdeployJobRunMetadata", +"properties": { +"custom": { +"$ref": "CustomMetadata", +"description": "Output only. Custom metadata provided by user-defined postdeploy operation.", +"readOnly": true } }, "type": "object" @@ -5188,6 +5595,13 @@ true "type": "string" }, "type": "array" +}, +"tasks": { +"description": "Optional. The tasks that will run as a part of the predeploy job. The tasks are executed sequentially in the order specified. Only one of `actions` or `tasks` can be specified.", +"items": { +"$ref": "Task" +}, +"type": "array" } }, "type": "object" @@ -5203,6 +5617,14 @@ true }, "readOnly": true, "type": "array" +}, +"tasks": { +"description": "Output only. The tasks that are executed as part of the predeploy Job.", +"items": { +"$ref": "Task" +}, +"readOnly": true, +"type": "array" } }, "type": "object" @@ -5239,6 +5661,23 @@ true "description": "Output only. Additional information about the predeploy failure, if available.", "readOnly": true, "type": "string" +}, +"metadata": { +"$ref": "PredeployJobRunMetadata", +"description": "Output only. Metadata containing information about the predeploy `JobRun`.", +"readOnly": true +} +}, +"type": "object" +}, +"PredeployJobRunMetadata": { +"description": "PredeployJobRunMetadata contains metadata about the predeploy `JobRun`.", +"id": "PredeployJobRunMetadata", +"properties": { +"custom": { +"$ref": "CustomMetadata", +"description": "Output only. Custom metadata provided by user-defined predeploy operation.", +"readOnly": true } }, "type": "object" @@ -5670,6 +6109,11 @@ true "$ref": "CustomMetadata", "description": "Output only. Custom metadata provided by user-defined render operation.", "readOnly": true +}, +"kubernetes": { +"$ref": "KubernetesRenderMetadata", +"description": "Output only. Metadata associated with rendering for a Kubernetes cluster (GKE or GKE Enterprise target).", +"readOnly": true } }, "type": "object" @@ -6742,6 +7186,10 @@ true "description": "Standard represents the standard deployment strategy.", "id": "Standard", "properties": { +"analysis": { +"$ref": "Analysis", +"description": "Optional. Configuration for the analysis job. If this is not configured, the analysis job will not be present." +}, "postdeploy": { "$ref": "Postdeploy", "description": "Optional. Configuration for the postdeploy job. If this is not configured, the postdeploy job will not be present." @@ -6753,6 +7201,10 @@ true "verify": { "description": "Optional. Whether to verify a deployment via `skaffold verify`.", "type": "boolean" +}, +"verifyConfig": { +"$ref": "Verify", +"description": "Optional. Configuration for the verify job. Cannot be set if `verify` is set to true." } }, "type": "object" @@ -7116,6 +7568,17 @@ true }, "type": "object" }, +"Task": { +"description": "A Task represents a unit of work that is executed as part of a Job.", +"id": "Task", +"properties": { +"container": { +"$ref": "ContainerTask", +"description": "Optional. This task is represented by a container that is executed in the Cloud Build execution environment." +} +}, +"type": "object" +}, "TerminateJobRunRequest": { "description": "The request object used by `TerminateJobRun`.", "id": "TerminateJobRunRequest", @@ -7363,10 +7826,33 @@ true }, "type": "object" }, +"Verify": { +"description": "Verify contains the verify job configuration information.", +"id": "Verify", +"properties": { +"tasks": { +"description": "Optional. The tasks that will run as a part of the verify job. The tasks are executed sequentially in the order specified.", +"items": { +"$ref": "Task" +}, +"type": "array" +} +}, +"type": "object" +}, "VerifyJob": { "description": "A verify Job.", "id": "VerifyJob", -"properties": {}, +"properties": { +"tasks": { +"description": "Output only. The tasks that are executed as part of the verify Job.", +"items": { +"$ref": "Task" +}, +"readOnly": true, +"type": "array" +} +}, "type": "object" }, "VerifyJobRun": { @@ -7413,6 +7899,23 @@ true "description": "Output only. Additional information about the verify failure, if available.", "readOnly": true, "type": "string" +}, +"metadata": { +"$ref": "VerifyJobRunMetadata", +"description": "Output only. Metadata containing information about the verify `JobRun`.", +"readOnly": true +} +}, +"type": "object" +}, +"VerifyJobRunMetadata": { +"description": "VerifyJobRunMetadata contains metadata about the verify `JobRun`.", +"id": "VerifyJobRunMetadata", +"properties": { +"custom": { +"$ref": "CustomMetadata", +"description": "Output only. Custom metadata provided by user-defined verify operation.", +"readOnly": true } }, "type": "object" diff --git a/googleapiclient/discovery_cache/documents/cloudidentity.v1beta1.json b/googleapiclient/discovery_cache/documents/cloudidentity.v1beta1.json index 35c81b042f..45cbc707ec 100644 --- a/googleapiclient/discovery_cache/documents/cloudidentity.v1beta1.json +++ b/googleapiclient/discovery_cache/documents/cloudidentity.v1beta1.json @@ -2349,7 +2349,7 @@ } } }, -"revision": "20260310", +"revision": "20260317", "rootUrl": "https://cloudidentity.googleapis.com/", "schemas": { "AddIdpCredentialOperationMetadata": { @@ -2411,7 +2411,7 @@ "type": "string" }, "supportsWorkProfile": { -"description": "Whether device supports Android work profiles. If false, this service will not block access to corp data even if an administrator turns on the \"Enforce Work Profile\" policy.", +"description": "Whether the device supports Android work profiles. If false, this service will not block access to corp data even if an administrator turns on the \"Enforce Work Profile\" policy.", "type": "boolean" }, "verifiedBoot": { @@ -2470,7 +2470,7 @@ "type": "object" }, "BrowserAttributes": { -"description": "Contains information about browser profiles reported by the Clients on the device (e.g. [Endpoint Verification extension](https://chromewebstore.google.com/detail/endpoint-verification/callobklhcbilhphinckomhgkigmfocg?pli=1)).", +"description": "Contains information about browser profiles reported by the clients on the device (e.g. [Endpoint Verification extension](https://chromewebstore.google.com/detail/endpoint-verification/callobklhcbilhphinckomhgkigmfocg?pli=1)).", "id": "BrowserAttributes", "properties": { "chromeBrowserInfo": { @@ -3188,7 +3188,7 @@ "Device is approved.", "Device is blocked.", "Device is pending approval.", -"The device is not provisioned. Device will start from this state until some action is taken (i.e. a user starts using the device).", +"The device is not provisioned. The device will start from this state until some action is taken (i.e. a user starts using the device).", "Data and settings on the device are being removed.", "All data and settings on the device are removed." ], diff --git a/googleapiclient/discovery_cache/documents/cloudkms.v1.json b/googleapiclient/discovery_cache/documents/cloudkms.v1.json index b4f0599ca9..283bf84d8c 100644 --- a/googleapiclient/discovery_cache/documents/cloudkms.v1.json +++ b/googleapiclient/discovery_cache/documents/cloudkms.v1.json @@ -21,11 +21,6 @@ "endpoints": [ { "description": "Regional Endpoint", -"endpointUrl": "https://cloudkms.europe-west3.rep.googleapis.com/", -"location": "europe-west3" -}, -{ -"description": "Regional Endpoint", "endpointUrl": "https://cloudkms.europe-west8.rep.googleapis.com/", "location": "europe-west8" }, @@ -81,11 +76,6 @@ }, { "description": "Regional Endpoint", -"endpointUrl": "https://cloudkms.us-west8.rep.googleapis.com/", -"location": "us-west8" -}, -{ -"description": "Regional Endpoint", "endpointUrl": "https://cloudkms.us-east5.rep.googleapis.com/", "location": "us-east5" }, @@ -111,6 +101,16 @@ }, { "description": "Regional Endpoint", +"endpointUrl": "https://cloudkms.europe-west3.rep.googleapis.com/", +"location": "europe-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudkms.us-west8.rep.googleapis.com/", +"location": "us-west8" +}, +{ +"description": "Regional Endpoint", "endpointUrl": "https://cloudkms.us.rep.googleapis.com/", "location": "us" }, @@ -253,7 +253,7 @@ ], "parameters": { "name": { -"description": "Required. The name of the KeyAccessJustificationsPolicyConfig to get.", +"description": "Required. Specifies the name of the KeyAccessJustificationsPolicyConfig to get.", "location": "path", "pattern": "^folders/[^/]+/kajPolicyConfig$", "required": true, @@ -314,14 +314,14 @@ ], "parameters": { "name": { -"description": "Identifier. The resource name for this KeyAccessJustificationsPolicyConfig in the format of \"{organizations|folders|projects}/*/kajPolicyConfig\".", +"description": "Identifier. Represents the resource name for this KeyAccessJustificationsPolicyConfig in the format of \"{organizations|folders|projects}/*/kajPolicyConfig\".", "location": "path", "pattern": "^folders/[^/]+/kajPolicyConfig$", "required": true, "type": "string" }, "updateMask": { -"description": "Optional. The list of fields to update.", +"description": "Optional. Specifies the list of fields to update.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -353,7 +353,7 @@ ], "parameters": { "name": { -"description": "Required. The name of the KeyAccessJustificationsPolicyConfig to get.", +"description": "Required. Specifies the name of the KeyAccessJustificationsPolicyConfig to get.", "location": "path", "pattern": "^organizations/[^/]+/kajPolicyConfig$", "required": true, @@ -379,14 +379,14 @@ ], "parameters": { "name": { -"description": "Identifier. The resource name for this KeyAccessJustificationsPolicyConfig in the format of \"{organizations|folders|projects}/*/kajPolicyConfig\".", +"description": "Identifier. Represents the resource name for this KeyAccessJustificationsPolicyConfig in the format of \"{organizations|folders|projects}/*/kajPolicyConfig\".", "location": "path", "pattern": "^organizations/[^/]+/kajPolicyConfig$", "required": true, "type": "string" }, "updateMask": { -"description": "Optional. The list of fields to update.", +"description": "Optional. Specifies the list of fields to update.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -444,7 +444,7 @@ ], "parameters": { "name": { -"description": "Required. The name of the KeyAccessJustificationsPolicyConfig to get.", +"description": "Required. Specifies the name of the KeyAccessJustificationsPolicyConfig to get.", "location": "path", "pattern": "^projects/[^/]+/kajPolicyConfig$", "required": true, @@ -496,7 +496,7 @@ ], "parameters": { "project": { -"description": "Required. The number or id of the project to get the effective KeyAccessJustificationsEnrollmentConfig for.", +"description": "Required. Specifies the number or id of the project to get the effective KeyAccessJustificationsEnrollmentConfig for.", "location": "path", "pattern": "^projects/[^/]+$", "required": true, @@ -522,7 +522,7 @@ ], "parameters": { "project": { -"description": "Required. The number or id of the project to get the effective KeyAccessJustificationsPolicyConfig. In the format of \"projects/{|}\"", +"description": "Required. Specifies the number or id of the project to get the effective KeyAccessJustificationsPolicyConfig. In the format of \"projects/{|}\"", "location": "path", "pattern": "^projects/[^/]+$", "required": true, @@ -583,14 +583,14 @@ ], "parameters": { "name": { -"description": "Identifier. The resource name for this KeyAccessJustificationsPolicyConfig in the format of \"{organizations|folders|projects}/*/kajPolicyConfig\".", +"description": "Identifier. Represents the resource name for this KeyAccessJustificationsPolicyConfig in the format of \"{organizations|folders|projects}/*/kajPolicyConfig\".", "location": "path", "pattern": "^projects/[^/]+/kajPolicyConfig$", "required": true, "type": "string" }, "updateMask": { -"description": "Optional. The list of fields to update.", +"description": "Optional. Specifies the list of fields to update.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -2948,7 +2948,7 @@ } } }, -"revision": "20260219", +"revision": "20260312", "rootUrl": "https://cloudkms.googleapis.com/", "schemas": { "AddQuorumMember": { @@ -3399,7 +3399,7 @@ }, "keyAccessJustificationsPolicy": { "$ref": "KeyAccessJustificationsPolicy", -"description": "Optional. The policy used for Key Access Justifications Policy Enforcement. If this field is present and this key is enrolled in Key Access Justifications Policy Enforcement, the policy will be evaluated in encrypt, decrypt, and sign operations, and the operation will fail if rejected by the policy. The policy is defined by specifying zero or more allowed justification codes. https://cloud.google.com/assured-workloads/key-access-justifications/docs/justification-codes By default, this field is absent, and all justification codes are allowed." +"description": "Optional. The policy used for Key Access Justifications Policy Enforcement. If this field is present and this key is enrolled in Key Access Justifications Policy Enforcement, the policy will be evaluated in encrypt, decrypt, and sign operations, and the operation will fail if rejected by the policy. The policy is defined by specifying zero or more allowed justification codes. https://cloud.google.com/assured-workloads/key-access-justifications/docs/justification-codes By default, this field is absent, and all justification codes are allowed. If the `key_access_justifications_policy.allowed_access_reasons` is empty (zero allowed justification code), all encrypt, decrypt, and sign operations will fail." }, "labels": { "additionalProperties": { @@ -4472,26 +4472,26 @@ "type": "object" }, "KeyAccessJustificationsEnrollmentConfig": { -"description": "The configuration of a protection level for a project's Key Access Justifications enrollment.", +"description": "Represents the configuration of a protection level for a project's Key Access Justifications enrollment.", "id": "KeyAccessJustificationsEnrollmentConfig", "properties": { "auditLogging": { -"description": "Whether the project has KAJ logging enabled.", +"description": "Indicates whether the project has KAJ logging enabled.", "type": "boolean" }, "policyEnforcement": { -"description": "Whether the project is enrolled in KAJ policy enforcement.", +"description": "Indicates whether the project is enrolled in KAJ policy enforcement.", "type": "boolean" } }, "type": "object" }, "KeyAccessJustificationsPolicy": { -"description": "A KeyAccessJustificationsPolicy specifies zero or more allowed AccessReason values for encrypt, decrypt, and sign operations on a CryptoKey.", +"description": "A KeyAccessJustificationsPolicy specifies zero or more allowed AccessReason values for encrypt, decrypt, and sign operations on a CryptoKey or KeyAccessJustificationsPolicyConfig (the default Key Access Justifications policy).", "id": "KeyAccessJustificationsPolicy", "properties": { "allowedAccessReasons": { -"description": "The list of allowed reasons for access to a CryptoKey. Zero allowed access reasons means all encrypt, decrypt, and sign operations for the CryptoKey associated with this policy will fail.", +"description": "The list of allowed reasons for access to a CryptoKey. Note that empty allowed_access_reasons has a different meaning depending on where this message appears. If this is under KeyAccessJustificationsPolicyConfig, it means allow-all. If this is under CryptoKey, it means deny-all.", "items": { "enum": [ "REASON_UNSPECIFIED", @@ -4543,15 +4543,15 @@ false "type": "object" }, "KeyAccessJustificationsPolicyConfig": { -"description": "A singleton configuration for Key Access Justifications policies.", +"description": "Represents a singleton configuration for Key Access Justifications policies.", "id": "KeyAccessJustificationsPolicyConfig", "properties": { "defaultKeyAccessJustificationPolicy": { "$ref": "KeyAccessJustificationsPolicy", -"description": "Optional. The default key access justification policy used when a CryptoKey is created in this folder. This is only used when a Key Access Justifications policy is not provided in the CreateCryptoKeyRequest. This overrides any default policies in its ancestry." +"description": "Optional. Specifies the default key access justifications (KAJ) policy used when a CryptoKey is created in this folder. This is only used when a Key Access Justifications policy is not provided in the CreateCryptoKeyRequest. This overrides any default policies in its ancestry. If this field is unset, or is set but contains an empty allowed_access_reasons list, no default Key Access Justifications (KAJ) policy configuration is active. In this scenario, all newly created keys will default to an \"allow-all\" policy." }, "name": { -"description": "Identifier. The resource name for this KeyAccessJustificationsPolicyConfig in the format of \"{organizations|folders|projects}/*/kajPolicyConfig\".", +"description": "Identifier. Represents the resource name for this KeyAccessJustificationsPolicyConfig in the format of \"{organizations|folders|projects}/*/kajPolicyConfig\".", "type": "string" } }, @@ -5714,31 +5714,31 @@ false "type": "object" }, "ShowEffectiveKeyAccessJustificationsEnrollmentConfigResponse": { -"description": "Response message for KeyAccessJustificationsConfig.ShowEffectiveKeyAccessJustificationsEnrollmentConfig", +"description": "Represents a response message for KeyAccessJustificationsConfig.ShowEffectiveKeyAccessJustificationsEnrollmentConfig", "id": "ShowEffectiveKeyAccessJustificationsEnrollmentConfigResponse", "properties": { "externalConfig": { "$ref": "KeyAccessJustificationsEnrollmentConfig", -"description": "The effective KeyAccessJustificationsEnrollmentConfig for external keys." +"description": "Contains the effective KeyAccessJustificationsEnrollmentConfig for external keys." }, "hardwareConfig": { "$ref": "KeyAccessJustificationsEnrollmentConfig", -"description": "The effective KeyAccessJustificationsEnrollmentConfig for hardware keys." +"description": "Contains the effective KeyAccessJustificationsEnrollmentConfig for hardware keys." }, "softwareConfig": { "$ref": "KeyAccessJustificationsEnrollmentConfig", -"description": "The effective KeyAccessJustificationsEnrollmentConfig for software keys." +"description": "Contains the effective KeyAccessJustificationsEnrollmentConfig for software keys." } }, "type": "object" }, "ShowEffectiveKeyAccessJustificationsPolicyConfigResponse": { -"description": "Response message for KeyAccessJustificationsConfig.ShowEffectiveKeyAccessJustificationsPolicyConfig.", +"description": "Represents a response message for KeyAccessJustificationsConfig.ShowEffectiveKeyAccessJustificationsPolicyConfig.", "id": "ShowEffectiveKeyAccessJustificationsPolicyConfigResponse", "properties": { "effectiveKajPolicy": { "$ref": "KeyAccessJustificationsPolicyConfig", -"description": "The effective KeyAccessJustificationsPolicyConfig." +"description": "Contains the effective KeyAccessJustificationsPolicyConfig." } }, "type": "object" diff --git a/googleapiclient/discovery_cache/documents/cloudsearch.v1.json b/googleapiclient/discovery_cache/documents/cloudsearch.v1.json index 0f9230db41..c157086efb 100644 --- a/googleapiclient/discovery_cache/documents/cloudsearch.v1.json +++ b/googleapiclient/discovery_cache/documents/cloudsearch.v1.json @@ -2101,7 +2101,7 @@ } } }, -"revision": "20260114", +"revision": "20260318", "rootUrl": "https://cloudsearch.googleapis.com/", "schemas": { "Action": { @@ -6790,7 +6790,31 @@ false "QuerySuggestion": { "description": "This field does not contain anything as of now and is just used as an indicator that the suggest result was a phrase completion.", "id": "QuerySuggestion", -"properties": {}, +"properties": { +"lastQueryTime": { +"description": "Last query time of the suggestion for query history suggestions.", +"format": "google-datetime", +"type": "string" +}, +"sourceCorpus": { +"description": "Source corpus of the suggestion.", +"enum": [ +"SOURCE_CORPUS_UNSPECIFIED", +"GMAIL", +"DRIVE", +"CHAT", +"CALENDAR" +], +"enumDescriptions": [ +"Source corpus is unspecified.", +"Source corpus is Gmail.", +"Source corpus is Drive.", +"Source corpus is Chat.", +"Source corpus is Calendar." +], +"type": "string" +} +}, "type": "object" }, "RemoveActivityRequest": { @@ -7250,7 +7274,7 @@ false "type": "object" }, "SearchRequest": { -"description": "The search API request. NEXT ID: 24", +"description": "The search API request. NEXT ID: 25", "id": "SearchRequest", "properties": { "contextAttributes": { diff --git a/googleapiclient/discovery_cache/documents/connectors.v1.json b/googleapiclient/discovery_cache/documents/connectors.v1.json index e54fca85b5..902e2e9c32 100644 --- a/googleapiclient/discovery_cache/documents/connectors.v1.json +++ b/googleapiclient/discovery_cache/documents/connectors.v1.json @@ -332,6 +332,34 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, +"fetchToolspecOverride": { +"description": "Fetches Toolspec Override for a connection for the given list of tools. Returns results from the db if the tool is already present.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}:fetchToolspecOverride", +"httpMethod": "POST", +"id": "connectors.projects.locations.connections.fetchToolspecOverride", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name format: projects/{project}/locations/{location}/connections/{connection}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:fetchToolspecOverride", +"request": { +"$ref": "FetchConnectionToolspecOverrideRequest" +}, +"response": { +"$ref": "FetchConnectionToolspecOverrideResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, "generateToolspecOverride": { "description": "Generates Toolspec Override for a connection for the given list of entityTypes and operations. Returns results from the db if the entityType and operation are already present.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}:generateToolspecOverride", @@ -2846,7 +2874,7 @@ } } }, -"revision": "20260128", +"revision": "20260316", "rootUrl": "https://connectors.googleapis.com/", "schemas": { "AuditConfig": { @@ -3232,15 +3260,15 @@ "id": "ConfigVariable", "properties": { "boolValue": { -"description": "Value is a bool.", +"description": "Optional. Value is a bool.", "type": "boolean" }, "encryptionKeyValue": { "$ref": "EncryptionKey", -"description": "Value is a Encryption Key." +"description": "Optional. Value is a Encryption Key." }, "intValue": { -"description": "Value is an integer", +"description": "Optional. Value is an integer", "format": "int64", "type": "string" }, @@ -3250,10 +3278,10 @@ }, "secretValue": { "$ref": "Secret", -"description": "Value is a secret." +"description": "Optional. Value is a secret." }, "stringValue": { -"description": "Value is a string.", +"description": "Optional. Value is a string.", "type": "string" } }, @@ -4513,7 +4541,7 @@ "type": "string" }, "port": { -"description": "The port is the target port number that is accepted by the destination.", +"description": "Optional. The port is the target port number that is accepted by the destination.", "format": "int32", "type": "integer" }, @@ -4530,14 +4558,14 @@ "id": "DestinationConfig", "properties": { "destinations": { -"description": "The destinations for the key.", +"description": "Optional. The destinations for the key.", "items": { "$ref": "Destination" }, "type": "array" }, "key": { -"description": "The key is the destination identifier that is supported by the Connector.", +"description": "Optional. The key is the destination identifier that is supported by the Connector.", "type": "string" } }, @@ -4720,7 +4748,7 @@ "type": "string" }, "type": { -"description": "Type.", +"description": "Optional. Specifies the type of the encryption key.", "enum": [ "TYPE_UNSPECIFIED", "GOOGLE_MANAGED", @@ -5288,6 +5316,10 @@ "description": "Optional. Event type id of the event of current EventSubscription.", "type": "string" }, +"filter": { +"description": "Optional. Filter for the event subscription. Incoming events are filtered based on the filter expression.", +"type": "string" +}, "jms": { "$ref": "JMS", "description": "Optional. JMS is the source for the event listener." @@ -5442,7 +5474,7 @@ "type": "object" }, "EventingConfig": { -"description": "Eventing Configuration of a connection next: 19", +"description": "Eventing Configuration of a connection next: 20", "id": "EventingConfig", "properties": { "additionalVariables": { @@ -5452,6 +5484,13 @@ }, "type": "array" }, +"allowedEventTypes": { +"description": "Optional. List of allowed event types for the connection.", +"items": { +"type": "string" +}, +"type": "array" +}, "authConfig": { "$ref": "AuthConfig", "description": "Optional. Auth details for the webhook adapter." @@ -5469,7 +5508,8 @@ "type": "boolean" }, "eventsListenerIngressEndpoint": { -"description": "Optional. Ingress endpoint of the event listener. This is used only when private connectivity is enabled.", +"description": "Output only. Ingress endpoint of the event listener. This is used only when private connectivity is enabled.", +"readOnly": true, "type": "string" }, "listenerAuthConfig": { @@ -5794,6 +5834,31 @@ }, "type": "object" }, +"FetchConnectionToolspecOverrideRequest": { +"description": "Request message for FetchConnectionToolspecOverride API.", +"id": "FetchConnectionToolspecOverrideRequest", +"properties": { +"toolNames": { +"description": "Required. List of tools for which the tool spec override is to be generated.", +"items": { +"$ref": "ToolName" +}, +"type": "array" +} +}, +"type": "object" +}, +"FetchConnectionToolspecOverrideResponse": { +"description": "Response message for FetchConnectionToolspecOverride API.", +"id": "FetchConnectionToolspecOverrideResponse", +"properties": { +"toolspecOverride": { +"$ref": "ToolspecOverride", +"description": "Toolspec overrides for the connection." +} +}, +"type": "object" +}, "Field": { "description": "Metadata of an entity field.", "id": "Field", @@ -6448,6 +6513,14 @@ false }, "type": "array" }, +"exclusiveMaximum": { +"description": "Whether the maximum number value is exclusive.", +"type": "boolean" +}, +"exclusiveMinimum": { +"description": "Whether the minimum number value is exclusive.", +"type": "boolean" +}, "format": { "description": "Format of the value as per https://json-schema.org/understanding-json-schema/reference/string.html#format", "type": "string" @@ -6601,6 +6674,38 @@ false ], "type": "string" }, +"maxItems": { +"description": "Maximum number of items in the array field.", +"format": "int32", +"type": "integer" +}, +"maxLength": { +"description": "Maximum length of the string field.", +"format": "int32", +"type": "integer" +}, +"maximum": { +"description": "Maximum value of the number field.", +"type": "any" +}, +"minItems": { +"description": "Minimum number of items in the array field.", +"format": "int32", +"type": "integer" +}, +"minLength": { +"description": "Minimum length of the string field.", +"format": "int32", +"type": "integer" +}, +"minimum": { +"description": "Minimum value of the number field.", +"type": "any" +}, +"pattern": { +"description": "Regex pattern of the string field. This is a string value that describes the regular expression that the string value should match.", +"type": "string" +}, "properties": { "additionalProperties": { "$ref": "JsonSchema" @@ -6621,6 +6726,10 @@ false "type": "string" }, "type": "array" +}, +"uniqueItems": { +"description": "Whether the items in the array field are unique.", +"type": "boolean" } }, "type": "object" @@ -9083,7 +9192,7 @@ false "id": "TrafficShapingConfig", "properties": { "duration": { -"description": "Required. * The duration over which the API call quota limits are calculated. This duration is used to define the time window for evaluating if the number of API calls made by a user is within the allowed quota limits. For example: - To define a quota sampled over 16 seconds, set `seconds` to 16 - To define a quota sampled over 5 minutes, set `seconds` to 300 (5 * 60) - To define a quota sampled over 1 day, set `seconds` to 86400 (24 * 60 * 60) and so on. It is important to note that this duration is not the time the quota is valid for, but rather the time window over which the quota is evaluated. For example, if the quota is 100 calls per 10 seconds, then this duration field would be set to 10 seconds.", +"description": "Required. Specifies the duration over which the API call quota limits are calculated. This duration is used to define the time window for evaluating if the number of API calls made by a user is within the allowed quota limits. For example: - To define a quota sampled over 16 seconds, set `seconds` to 16 - To define a quota sampled over 5 minutes, set `seconds` to 300 (5 * 60) - To define a quota sampled over 1 day, set `seconds` to 86400 (24 * 60 * 60) and so on. It is important to note that this duration is not the time the quota is valid for, but rather the time window over which the quota is evaluated. For example, if the quota is 100 calls per 10 seconds, then this duration field would be set to 10 seconds.", "format": "google-duration", "type": "string" }, diff --git a/googleapiclient/discovery_cache/documents/connectors.v2.json b/googleapiclient/discovery_cache/documents/connectors.v2.json index 3f2d13ed7a..9b30957c8c 100644 --- a/googleapiclient/discovery_cache/documents/connectors.v2.json +++ b/googleapiclient/discovery_cache/documents/connectors.v2.json @@ -854,7 +854,7 @@ "name": { "description": "Required. Resource name of the Resource. Format: projects/{project}/locations/{location}/connections/{connection}/resources/{resource}", "location": "path", -"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/resources/[^/]+$", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/resources/.*$", "required": true, "type": "string" } @@ -879,7 +879,7 @@ "name": { "description": "Required. Resource name of the Resource. Format: projects/{project}/locations/{location}/connections/{connection}/resources/{resource}", "location": "path", -"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/resources/[^/]+$", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/resources/.*$", "required": true, "type": "string" } @@ -1018,7 +1018,7 @@ } } }, -"revision": "20260128", +"revision": "20260316", "rootUrl": "https://connectors.googleapis.com/", "schemas": { "AccessCredentials": { @@ -1466,6 +1466,14 @@ "description": "Response message for ConnectorAgentService.ExecuteTool", "id": "ExecuteToolResponse", "properties": { +"_meta": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Metadata for the tool execution result.", +"type": "object" +}, "metadata": { "additionalProperties": { "additionalProperties": { @@ -1727,6 +1735,14 @@ false "GetResourceResponse": { "id": "GetResourceResponse", "properties": { +"_meta": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Metadata for the resource.", +"type": "object" +}, "data": { "description": "The content of the resource.", "format": "byte", @@ -2084,6 +2100,14 @@ false }, "type": "array" }, +"exclusiveMaximum": { +"description": "Whether the maximum number value is exclusive.", +"type": "boolean" +}, +"exclusiveMinimum": { +"description": "Whether the minimum number value is exclusive.", +"type": "boolean" +}, "format": { "description": "Format of the value as per https://json-schema.org/understanding-json-schema/reference/string.html#format", "type": "string" @@ -2237,6 +2261,38 @@ false ], "type": "string" }, +"maxItems": { +"description": "Maximum number of items in the array field.", +"format": "int32", +"type": "integer" +}, +"maxLength": { +"description": "Maximum length of the string field.", +"format": "int32", +"type": "integer" +}, +"maximum": { +"description": "Maximum value of the number field.", +"type": "any" +}, +"minItems": { +"description": "Minimum number of items in the array field.", +"format": "int32", +"type": "integer" +}, +"minLength": { +"description": "Minimum length of the string field.", +"format": "int32", +"type": "integer" +}, +"minimum": { +"description": "Minimum value of the number field.", +"type": "any" +}, +"pattern": { +"description": "Regex pattern of the string field. This is a string value that describes the regular expression that the string value should match.", +"type": "string" +}, "properties": { "additionalProperties": { "$ref": "JsonSchema" @@ -2257,6 +2313,10 @@ false "type": "string" }, "type": "array" +}, +"uniqueItems": { +"description": "Whether the items in the array field are unique.", +"type": "boolean" } }, "type": "object" @@ -2893,6 +2953,14 @@ false "Resource": { "id": "Resource", "properties": { +"_meta": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Metadata for the resource.", +"type": "object" +}, "description": { "description": "A description of what this resource represents.", "type": "string" @@ -3197,6 +3265,14 @@ false "description": "Message representing a single tool.", "id": "Tool", "properties": { +"_meta": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Metadata for the tool.", +"type": "object" +}, "annotations": { "$ref": "ToolAnnotations", "description": "Annotations for the tool." diff --git a/googleapiclient/discovery_cache/documents/contactcenteraiplatform.v1alpha1.json b/googleapiclient/discovery_cache/documents/contactcenteraiplatform.v1alpha1.json index 86d3b142cc..b658391c25 100644 --- a/googleapiclient/discovery_cache/documents/contactcenteraiplatform.v1alpha1.json +++ b/googleapiclient/discovery_cache/documents/contactcenteraiplatform.v1alpha1.json @@ -551,7 +551,7 @@ } } }, -"revision": "20260129", +"revision": "20260317", "rootUrl": "https://contactcenteraiplatform.googleapis.com/", "schemas": { "AdminUser": { @@ -710,7 +710,8 @@ "STATE_IN_GRACE_PERIOD", "STATE_FAILING_OVER", "STATE_DEGRADED", -"STATE_REPAIRING" +"STATE_REPAIRING", +"STATE_EXPIRING" ], "enumDescriptions": [ "The default value. This value is used if the state is omitted.", @@ -723,7 +724,8 @@ "State IN_GRACE_PERIOD", "State in STATE_FAILING_OVER. This State must ONLY be used by Multiregional Instances when a failover was triggered. Customers are not able to update instances in this state.", "State DEGRADED. This State must ONLY be used by Multiregional Instances after a failover was executed successfully. Customers are not able to update instances in this state.", -"State REPAIRING. This State must ONLY be used by Multiregional Instances after a fallback was triggered. Customers are not able to update instancs in this state." +"State REPAIRING. This State must ONLY be used by Multiregional Instances after a fallback was triggered. Customers are not able to update instancs in this state.", +"Flagged by an automation as soon to be expired." ], "readOnly": true, "type": "string" diff --git a/googleapiclient/discovery_cache/documents/container.v1.json b/googleapiclient/discovery_cache/documents/container.v1.json index 34d0d944e8..d51c9fa993 100644 --- a/googleapiclient/discovery_cache/documents/container.v1.json +++ b/googleapiclient/discovery_cache/documents/container.v1.json @@ -2660,7 +2660,7 @@ } } }, -"revision": "20260209", +"revision": "20260310", "rootUrl": "https://container.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -3011,6 +3011,10 @@ "description": "Autopilot is the configuration for Autopilot settings on the cluster.", "id": "Autopilot", "properties": { +"clusterPolicyConfig": { +"$ref": "ClusterPolicyConfig", +"description": "ClusterPolicyConfig denotes cluster level policies that are enforced for the cluster." +}, "enabled": { "description": "Enable Autopilot", "type": "boolean" @@ -3662,6 +3666,10 @@ "$ref": "MaintenancePolicy", "description": "Configure the maintenance policy for this cluster." }, +"managedMachineLearningDiagnosticsConfig": { +"$ref": "ManagedMachineLearningDiagnosticsConfig", +"description": "Configuration for Managed Machine Learning Diagnostics." +}, "managedOpentelemetryConfig": { "$ref": "ManagedOpenTelemetryConfig", "description": "Configuration for Managed OpenTelemetry pipeline." @@ -3774,6 +3782,10 @@ "readOnly": true, "type": "boolean" }, +"scheduleUpgradeConfig": { +"$ref": "ScheduleUpgradeConfig", +"description": "Optional. Configuration for scheduled upgrades." +}, "secretManagerConfig": { "$ref": "SecretManagerConfig", "description": "Secret CSI driver configuration." @@ -3936,6 +3948,29 @@ }, "type": "object" }, +"ClusterPolicyConfig": { +"description": "ClusterPolicyConfig stores the configuration for cluster wide policies.", +"id": "ClusterPolicyConfig", +"properties": { +"noStandardNodePools": { +"description": "Denotes preventing standard node pools and requiring only autopilot node pools.", +"type": "boolean" +}, +"noSystemImpersonation": { +"description": "Denotes preventing impersonation and CSRs for GKE System users.", +"type": "boolean" +}, +"noSystemMutation": { +"description": "Denotes that preventing creation and mutation of resources in GKE managed namespaces and cluster-scoped GKE managed resources .", +"type": "boolean" +}, +"noUnsafeWebhooks": { +"description": "Denotes preventing unsafe webhooks.", +"type": "boolean" +} +}, +"type": "object" +}, "ClusterUpdate": { "description": "ClusterUpdate describes an update to the cluster. Exactly one update can be applied to a cluster with each request, so at most one field can be provided.", "id": "ClusterUpdate", @@ -3964,6 +3999,10 @@ "$ref": "AutoIpamConfig", "description": "AutoIpamConfig contains all information related to Auto IPAM" }, +"desiredAutopilotClusterPolicyConfig": { +"$ref": "ClusterPolicyConfig", +"description": "The desired autopilot cluster policies that to be enforced in the cluster." +}, "desiredAutopilotWorkloadPolicyConfig": { "$ref": "WorkloadPolicyConfig", "description": "WorkloadPolicyConfig is the configuration related to GCW workload policy" @@ -4110,6 +4149,10 @@ "description": "The logging service the cluster should use to write logs. Currently available options: * `logging.googleapis.com/kubernetes` - The Cloud Logging service with a Kubernetes-native resource model * `logging.googleapis.com` - The legacy Cloud Logging service (no longer available as of GKE 1.15). * `none` - no logs will be exported from the cluster. If left as an empty string,`logging.googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.", "type": "string" }, +"desiredManagedMachineLearningDiagnosticsConfig": { +"$ref": "ManagedMachineLearningDiagnosticsConfig", +"description": "The desired managed machine learning diagnostics configuration." +}, "desiredManagedOpentelemetryConfig": { "$ref": "ManagedOpenTelemetryConfig", "description": "The desired managed open telemetry configuration." @@ -4701,7 +4744,10 @@ "CURRENT_STATE_ENCRYPTION_PENDING", "CURRENT_STATE_ENCRYPTION_ERROR", "CURRENT_STATE_DECRYPTION_PENDING", -"CURRENT_STATE_DECRYPTION_ERROR" +"CURRENT_STATE_DECRYPTION_ERROR", +"CURRENT_STATE_ALL_OBJECTS_ENCRYPTION_ENABLED", +"CURRENT_STATE_ALL_OBJECTS_ENCRYPTION_PENDING", +"CURRENT_STATE_ALL_OBJECTS_ENCRYPTION_ERROR" ], "enumDescriptions": [ "Should never be set", @@ -4710,7 +4756,10 @@ "Encryption (or re-encryption with a different CloudKMS key) of Secrets is in progress.", "Encryption (or re-encryption with a different CloudKMS key) of Secrets in etcd encountered an error.", "De-crypting Secrets to plain text in etcd is in progress.", -"De-crypting Secrets to plain text in etcd encountered an error." +"De-crypting Secrets to plain text in etcd encountered an error.", +"Encryption of all objects in the storage is enabled. It does not guarantee that all objects in the storage are encrypted, but eventually they will be.", +"Enablement of the encryption of all objects in storage is pending.", +"Enabling encryption of all objects in storage encountered an error." ], "readOnly": true, "type": "string" @@ -4740,12 +4789,14 @@ "enum": [ "UNKNOWN", "ENCRYPTED", -"DECRYPTED" +"DECRYPTED", +"ALL_OBJECTS_ENCRYPTION_ENABLED" ], "enumDescriptions": [ "Should never be set", "Secrets in etcd are encrypted.", -"Secrets in etcd are stored in plain text (at etcd level) - this is unrelated to Compute Engine level full disk encryption." +"Secrets in etcd are stored in plain text (at etcd level) - this is unrelated to Compute Engine level full disk encryption.", +"Encryption of all objects in the storage is enabled. There is no guarantee that all objects in the storage are encrypted, but eventually they will be." ], "type": "string" } @@ -6051,6 +6102,10 @@ false "description": "Configuration for the Lustre CSI driver.", "id": "LustreCsiDriverConfig", "properties": { +"disableMultiNic": { +"description": "When set to true, this disables multi-NIC support for the Lustre CSI driver. By default, GKE enables multi-NIC support, which allows the Lustre CSI driver to automatically detect and configure all suitable network interfaces on a node to maximize I/O performance for demanding workloads.", +"type": "boolean" +}, "enableLegacyLustrePort": { "deprecated": true, "description": "If set to true, the Lustre CSI driver will install Lustre kernel modules using port 6988. This serves as a workaround for a port conflict with the gke-metadata-server. This field is required ONLY under the following conditions: 1. The GKE node version is older than 1.33.2-gke.4655000. 2. You're connecting to a Lustre instance that has the 'gke-support-enabled' flag. Deprecated: This flag is no longer required as of GKE node version 1.33.2-gke.4655000, unless you are connecting to a Lustre instance that has the `gke-support-enabled` flag.", @@ -6137,6 +6192,17 @@ false }, "type": "object" }, +"ManagedMachineLearningDiagnosticsConfig": { +"description": "ManagedMachineLearningDiagnosticsConfig is the configuration for the GKE Managed Machine Learning Diagnostics pipeline.", +"id": "ManagedMachineLearningDiagnosticsConfig", +"properties": { +"enabled": { +"description": "Enable/Disable Managed Machine Learning Diagnostics.", +"type": "boolean" +} +}, +"type": "object" +}, "ManagedOpenTelemetryConfig": { "description": "ManagedOpenTelemetryConfig is the configuration for the GKE Managed OpenTelemetry pipeline.", "id": "ManagedOpenTelemetryConfig", @@ -6821,6 +6887,10 @@ false }, "type": "array" }, +"taintConfig": { +"$ref": "TaintConfig", +"description": "Optional. The taint configuration for the node pool." +}, "taints": { "description": "List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/", "items": { @@ -8268,6 +8338,17 @@ false }, "type": "object" }, +"ScheduleUpgradeConfig": { +"description": "Configuration for scheduled upgrades on the cluster.", +"id": "ScheduleUpgradeConfig", +"properties": { +"enabled": { +"description": "Optional. Whether or not scheduled upgrades are enabled.", +"type": "boolean" +} +}, +"type": "object" +}, "SecondaryBootDisk": { "description": "SecondaryBootDisk represents a persistent disk attached to a node with special configurations based on its mode.", "id": "SecondaryBootDisk", @@ -9132,6 +9213,27 @@ false }, "type": "object" }, +"TaintConfig": { +"description": "TaintConfig contains the configuration for the taints of the node pool.", +"id": "TaintConfig", +"properties": { +"architectureTaintBehavior": { +"description": "Optional. Controls architecture tainting behavior.", +"enum": [ +"ARCHITECTURE_TAINT_BEHAVIOR_UNSPECIFIED", +"NONE", +"ARM" +], +"enumDescriptions": [ +"Specifies that the behavior is unspecified, defaults to ARM.", +"Disables default architecture taints on the node pool.", +"Taints all the nodes in the node pool with the default ARM taint." +], +"type": "string" +} +}, +"type": "object" +}, "TimeWindow": { "description": "Represents an arbitrary window of time.", "id": "TimeWindow", @@ -9623,6 +9725,7 @@ false "description": "Output only. The state of the upgrade.", "enum": [ "STATE_UNSPECIFIED", +"SCHEDULED", "STARTED", "SUCCEEDED", "FAILED", @@ -9630,6 +9733,7 @@ false ], "enumDescriptions": [ "STATE_UNSPECIFIED indicates the state is unspecified.", +"SCHEDULED indicates the upgrade was scheduled.", "STARTED indicates the upgrade has started.", "SUCCEEDED indicates the upgrade has completed successfully.", "FAILED indicates the upgrade has failed.", diff --git a/googleapiclient/discovery_cache/documents/container.v1beta1.json b/googleapiclient/discovery_cache/documents/container.v1beta1.json index 231fb3b607..8a6a89dc9c 100644 --- a/googleapiclient/discovery_cache/documents/container.v1beta1.json +++ b/googleapiclient/discovery_cache/documents/container.v1beta1.json @@ -2741,7 +2741,7 @@ } } }, -"revision": "20260209", +"revision": "20260310", "rootUrl": "https://container.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -3112,6 +3112,10 @@ "description": "Autopilot is the configuration for Autopilot settings on the cluster.", "id": "Autopilot", "properties": { +"clusterPolicyConfig": { +"$ref": "ClusterPolicyConfig", +"description": "ClusterPolicyConfig denotes cluster level policies that are enforced for the cluster." +}, "conversionStatus": { "$ref": "AutopilotConversionStatus", "description": "Output only. ConversionStatus shows conversion status.", @@ -3826,6 +3830,10 @@ "$ref": "MaintenancePolicy", "description": "Configure the maintenance policy for this cluster." }, +"managedMachineLearningDiagnosticsConfig": { +"$ref": "ManagedMachineLearningDiagnosticsConfig", +"description": "Configuration for managed machine learning diagnostics." +}, "managedOpentelemetryConfig": { "$ref": "ManagedOpenTelemetryConfig", "description": "Configuration for Managed OpenTelemetry pipeline." @@ -3965,6 +3973,10 @@ "readOnly": true, "type": "boolean" }, +"scheduleUpgradeConfig": { +"$ref": "ScheduleUpgradeConfig", +"description": "Optional. Configuration for scheduled upgrades." +}, "secretManagerConfig": { "$ref": "SecretManagerConfig", "description": "Secret CSI driver configuration." @@ -4144,6 +4156,29 @@ }, "type": "object" }, +"ClusterPolicyConfig": { +"description": "ClusterPolicyConfig stores the configuration for cluster wide policies.", +"id": "ClusterPolicyConfig", +"properties": { +"noStandardNodePools": { +"description": "Denotes preventing standard node pools and requiring only autopilot node pools.", +"type": "boolean" +}, +"noSystemImpersonation": { +"description": "Denotes preventing impersonation and CSRs for GKE System users.", +"type": "boolean" +}, +"noSystemMutation": { +"description": "Denotes that preventing creation and mutation of resources in GKE managed namespaces and cluster-scoped GKE managed resources .", +"type": "boolean" +}, +"noUnsafeWebhooks": { +"description": "Denotes preventing unsafe webhooks.", +"type": "boolean" +} +}, +"type": "object" +}, "ClusterTelemetry": { "description": "Telemetry integration for the cluster.", "id": "ClusterTelemetry", @@ -4195,6 +4230,10 @@ "$ref": "AutoIpamConfig", "description": "AutoIpamConfig contains all information related to Auto IPAM" }, +"desiredAutopilotClusterPolicyConfig": { +"$ref": "ClusterPolicyConfig", +"description": "The desired autopilot cluster policies that to be enforced in the cluster." +}, "desiredAutopilotWorkloadPolicyConfig": { "$ref": "WorkloadPolicyConfig", "description": "WorkloadPolicyConfig is the configuration related to GCW workload policy" @@ -4349,6 +4388,10 @@ "description": "The logging service the cluster should use to write logs. Currently available options: * `logging.googleapis.com/kubernetes` - The Cloud Logging service with a Kubernetes-native resource model * `logging.googleapis.com` - The legacy Cloud Logging service (no longer available as of GKE 1.15). * `none` - no logs will be exported from the cluster. If left as an empty string,`logging.googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.", "type": "string" }, +"desiredManagedMachineLearningDiagnosticsConfig": { +"$ref": "ManagedMachineLearningDiagnosticsConfig", +"description": "The desired managed machine learning diagnostics configuration." +}, "desiredManagedOpentelemetryConfig": { "$ref": "ManagedOpenTelemetryConfig", "description": "The desired managed open telemetry configuration." @@ -4484,6 +4527,10 @@ "$ref": "RollbackSafeUpgrade", "description": "The desired rollback safe upgrade configuration." }, +"desiredScheduleUpgradeConfig": { +"$ref": "ScheduleUpgradeConfig", +"description": "Optional. The desired scheduled upgrades configuration for the cluster." +}, "desiredSecretManagerConfig": { "$ref": "SecretManagerConfig", "description": "Enable/Disable Secret Manager Config." @@ -5012,7 +5059,10 @@ "CURRENT_STATE_ENCRYPTION_PENDING", "CURRENT_STATE_ENCRYPTION_ERROR", "CURRENT_STATE_DECRYPTION_PENDING", -"CURRENT_STATE_DECRYPTION_ERROR" +"CURRENT_STATE_DECRYPTION_ERROR", +"CURRENT_STATE_ALL_OBJECTS_ENCRYPTION_ENABLED", +"CURRENT_STATE_ALL_OBJECTS_ENCRYPTION_PENDING", +"CURRENT_STATE_ALL_OBJECTS_ENCRYPTION_ERROR" ], "enumDescriptions": [ "Should never be set", @@ -5021,7 +5071,10 @@ "Encryption (or re-encryption with a different CloudKMS key) of Secrets is in progress.", "Encryption (or re-encryption with a different CloudKMS key) of Secrets in etcd encountered an error.", "De-crypting Secrets to plain text in etcd is in progress.", -"De-crypting Secrets to plain text in etcd encountered an error." +"De-crypting Secrets to plain text in etcd encountered an error.", +"Encryption of all objects in the storage is enabled. It does not guarantee that all objects in the storage are encrypted, but eventually they will be.", +"Enablement of the encryption of all objects in storage is pending.", +"Enabling encryption of all objects in storage encountered an error." ], "readOnly": true, "type": "string" @@ -5051,12 +5104,14 @@ "enum": [ "UNKNOWN", "ENCRYPTED", -"DECRYPTED" +"DECRYPTED", +"ALL_OBJECTS_ENCRYPTION_ENABLED" ], "enumDescriptions": [ "Should never be set", "Secrets in etcd are encrypted.", -"Secrets in etcd are stored in plain text (at etcd level) - this is unrelated to Compute Engine level full disk encryption." +"Secrets in etcd are stored in plain text (at etcd level) - this is unrelated to Compute Engine level full disk encryption.", +"Encryption of all objects in the storage is enabled. There is no guarantee that all objects in the storage are encrypted, but eventually they will be." ], "type": "string" } @@ -6509,6 +6564,10 @@ false "description": "Configuration for the Lustre CSI driver.", "id": "LustreCsiDriverConfig", "properties": { +"disableMultiNic": { +"description": "When set to true, this disables multi-NIC support for the Lustre CSI driver. By default, GKE enables multi-NIC support, which allows the Lustre CSI driver to automatically detect and configure all suitable network interfaces on a node to maximize I/O performance for demanding workloads.", +"type": "boolean" +}, "enableLegacyLustrePort": { "deprecated": true, "description": "If set to true, the Lustre CSI driver will install Lustre kernel modules using port 6988. This serves as a workaround for a port conflict with the gke-metadata-server. This field is required ONLY under the following conditions: 1. The GKE node version is older than 1.33.2-gke.4655000. 2. You're connecting to a Lustre instance that has the 'gke-support-enabled' flag. Deprecated: This flag is no longer required as of GKE node version 1.33.2-gke.4655000, unless you are connecting to a Lustre instance that has the `gke-support-enabled` flag.", @@ -6595,6 +6654,17 @@ false }, "type": "object" }, +"ManagedMachineLearningDiagnosticsConfig": { +"description": "ManagedMachineLearningDiagnosticsConfig is the configuration for the GKE Managed Machine Learning Diagnostics pipeline.", +"id": "ManagedMachineLearningDiagnosticsConfig", +"properties": { +"enabled": { +"description": "Enable/Disable Managed Machine Learning Diagnostics.", +"type": "boolean" +} +}, +"type": "object" +}, "ManagedOpenTelemetryConfig": { "description": "ManagedOpenTelemetryConfig is the configuration for the GKE Managed OpenTelemetry pipeline.", "id": "ManagedOpenTelemetryConfig", @@ -7331,6 +7401,10 @@ false }, "type": "array" }, +"taintConfig": { +"$ref": "TaintConfig", +"description": "Optional. The taint configuration for the node pool." +}, "taints": { "description": "List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/", "items": { @@ -8919,6 +8993,17 @@ false }, "type": "object" }, +"ScheduleUpgradeConfig": { +"description": "Configuration for scheduled upgrades on the cluster.", +"id": "ScheduleUpgradeConfig", +"properties": { +"enabled": { +"description": "Optional. Whether or not scheduled upgrades are enabled.", +"type": "boolean" +} +}, +"type": "object" +}, "SecondaryBootDisk": { "description": "SecondaryBootDisk represents a persistent disk attached to a node with special configurations based on its mode.", "id": "SecondaryBootDisk", @@ -9821,6 +9906,27 @@ false }, "type": "object" }, +"TaintConfig": { +"description": "TaintConfig contains the configuration for the taints of the node pool.", +"id": "TaintConfig", +"properties": { +"architectureTaintBehavior": { +"description": "Optional. Controls architecture tainting behavior.", +"enum": [ +"ARCHITECTURE_TAINT_BEHAVIOR_UNSPECIFIED", +"NONE", +"ARM" +], +"enumDescriptions": [ +"Specifies that the behavior is unspecified, defaults to ARM.", +"Disables default architecture taints on the node pool.", +"Taints all the nodes in the node pool with the default ARM taint." +], +"type": "string" +} +}, +"type": "object" +}, "TimeWindow": { "description": "Represents an arbitrary window of time.", "id": "TimeWindow", @@ -10356,6 +10462,7 @@ false "description": "Output only. The state of the upgrade.", "enum": [ "STATE_UNSPECIFIED", +"SCHEDULED", "STARTED", "SUCCEEDED", "FAILED", @@ -10363,6 +10470,7 @@ false ], "enumDescriptions": [ "STATE_UNSPECIFIED indicates the state is unspecified.", +"SCHEDULED indicates the upgrade was scheduled.", "STARTED indicates the upgrade has started.", "SUCCEEDED indicates the upgrade has completed successfully.", "FAILED indicates the upgrade has failed.", diff --git a/googleapiclient/discovery_cache/documents/containeranalysis.v1.json b/googleapiclient/discovery_cache/documents/containeranalysis.v1.json index ebdab7ae70..192d36d8e8 100644 --- a/googleapiclient/discovery_cache/documents/containeranalysis.v1.json +++ b/googleapiclient/discovery_cache/documents/containeranalysis.v1.json @@ -1715,7 +1715,7 @@ } } }, -"revision": "20260305", +"revision": "20260313", "rootUrl": "https://containeranalysis.googleapis.com/", "schemas": { "AliasContext": { @@ -2894,6 +2894,13 @@ "$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects", "description": "A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps. Files in the workspace matching specified paths globs will be uploaded to the specified Cloud Storage location using the builder service account's credentials. The location and generation of the uploaded objects will be stored in the Build resource's results field. If any objects fail to be pushed, the build is marked FAILURE." }, +"oci": { +"description": "Optional. A list of OCI images to be uploaded to Artifact Registry upon successful completion of all build steps. OCI images in the specified paths will be uploaded to the specified Artifact Registry repository using the builder service account's credentials. If any images fail to be pushed, the build is marked FAILURE.", +"items": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsOci" +}, +"type": "array" +}, "pythonPackages": { "description": "A list of Python packages to be uploaded to Artifact Registry upon successful completion of all build steps. The build service account credentials will be used to perform the upload. If any objects fail to be pushed, the build is marked FAILURE.", "items": { @@ -3004,6 +3011,28 @@ }, "type": "object" }, +"ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsOci": { +"description": "OCI image to upload to Artifact Registry upon successful completion of all build steps.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsOci", +"properties": { +"file": { +"description": "Required. Path on the local file system where to find the container to upload. e.g. /workspace/my-image.tar", +"type": "string" +}, +"registryPath": { +"description": "Required. Registry path to upload the container to. e.g. us-east1-docker.pkg.dev/my-project/my-repo/my-image", +"type": "string" +}, +"tags": { +"description": "Optional. Tags to apply to the uploaded image. e.g. latest, 1.0.0", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, "ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage": { "description": "Python package to upload to Artifact Registry upon successful completion of all build steps. A package can encapsulate multiple objects to be uploaded to a single repository.", "id": "ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage", @@ -3663,6 +3692,21 @@ false "description": "Name used to push the container image to Google Container Registry, as presented to `docker push`.", "type": "string" }, +"ociMediaType": { +"description": "Output only. The OCI media type of the artifact. Non-OCI images, such as Docker images, will have an unspecified value.", +"enum": [ +"OCI_MEDIA_TYPE_UNSPECIFIED", +"IMAGE_MANIFEST", +"IMAGE_INDEX" +], +"enumDescriptions": [ +"Default value.", +"The artifact is an image manifest, which represents a single image with all its layers.", +"The artifact is an image index, which can contain a list of image manifests." +], +"readOnly": true, +"type": "string" +}, "pushTiming": { "$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan", "description": "Output only. Stores timing information for pushing the specified image.", @@ -4928,6 +4972,11 @@ false "layerDetails": { "$ref": "LayerDetails", "description": "Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package)." +}, +"lineNumber": { +"description": "Line number in the file where the package was found. Optional field that only applies to source repository scanning.", +"format": "int32", +"type": "integer" } }, "type": "object" diff --git a/googleapiclient/discovery_cache/documents/containeranalysis.v1alpha1.json b/googleapiclient/discovery_cache/documents/containeranalysis.v1alpha1.json index 7e7ccd8d9e..8636ab484a 100644 --- a/googleapiclient/discovery_cache/documents/containeranalysis.v1alpha1.json +++ b/googleapiclient/discovery_cache/documents/containeranalysis.v1alpha1.json @@ -1452,7 +1452,7 @@ } } }, -"revision": "20260305", +"revision": "20260313", "rootUrl": "https://containeranalysis.googleapis.com/", "schemas": { "AnalysisCompleted": { @@ -2438,6 +2438,13 @@ "$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects", "description": "A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps. Files in the workspace matching specified paths globs will be uploaded to the specified Cloud Storage location using the builder service account's credentials. The location and generation of the uploaded objects will be stored in the Build resource's results field. If any objects fail to be pushed, the build is marked FAILURE." }, +"oci": { +"description": "Optional. A list of OCI images to be uploaded to Artifact Registry upon successful completion of all build steps. OCI images in the specified paths will be uploaded to the specified Artifact Registry repository using the builder service account's credentials. If any images fail to be pushed, the build is marked FAILURE.", +"items": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsOci" +}, +"type": "array" +}, "pythonPackages": { "description": "A list of Python packages to be uploaded to Artifact Registry upon successful completion of all build steps. The build service account credentials will be used to perform the upload. If any objects fail to be pushed, the build is marked FAILURE.", "items": { @@ -2548,6 +2555,28 @@ }, "type": "object" }, +"ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsOci": { +"description": "OCI image to upload to Artifact Registry upon successful completion of all build steps.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsOci", +"properties": { +"file": { +"description": "Required. Path on the local file system where to find the container to upload. e.g. /workspace/my-image.tar", +"type": "string" +}, +"registryPath": { +"description": "Required. Registry path to upload the container to. e.g. us-east1-docker.pkg.dev/my-project/my-repo/my-image", +"type": "string" +}, +"tags": { +"description": "Optional. Tags to apply to the uploaded image. e.g. latest, 1.0.0", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, "ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage": { "description": "Python package to upload to Artifact Registry upon successful completion of all build steps. A package can encapsulate multiple objects to be uploaded to a single repository.", "id": "ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage", @@ -3207,6 +3236,21 @@ false "description": "Name used to push the container image to Google Container Registry, as presented to `docker push`.", "type": "string" }, +"ociMediaType": { +"description": "Output only. The OCI media type of the artifact. Non-OCI images, such as Docker images, will have an unspecified value.", +"enum": [ +"OCI_MEDIA_TYPE_UNSPECIFIED", +"IMAGE_MANIFEST", +"IMAGE_INDEX" +], +"enumDescriptions": [ +"Default value.", +"The artifact is an image manifest, which represents a single image with all its layers.", +"The artifact is an image index, which can contain a list of image manifests." +], +"readOnly": true, +"type": "string" +}, "pushTiming": { "$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan", "description": "Output only. Stores timing information for pushing the specified image.", @@ -4469,6 +4513,11 @@ false "layerDetails": { "$ref": "LayerDetails", "description": "Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package)." +}, +"lineNumber": { +"description": "Line number in the file where the package is found. Optional field that only applies to source repository scanning.", +"format": "int32", +"type": "integer" } }, "type": "object" diff --git a/googleapiclient/discovery_cache/documents/containeranalysis.v1beta1.json b/googleapiclient/discovery_cache/documents/containeranalysis.v1beta1.json index 75f4b90ee9..655a828d17 100644 --- a/googleapiclient/discovery_cache/documents/containeranalysis.v1beta1.json +++ b/googleapiclient/discovery_cache/documents/containeranalysis.v1beta1.json @@ -1771,7 +1771,7 @@ } } }, -"revision": "20260305", +"revision": "20260313", "rootUrl": "https://containeranalysis.googleapis.com/", "schemas": { "AliasContext": { @@ -2816,6 +2816,13 @@ "$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects", "description": "A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps. Files in the workspace matching specified paths globs will be uploaded to the specified Cloud Storage location using the builder service account's credentials. The location and generation of the uploaded objects will be stored in the Build resource's results field. If any objects fail to be pushed, the build is marked FAILURE." }, +"oci": { +"description": "Optional. A list of OCI images to be uploaded to Artifact Registry upon successful completion of all build steps. OCI images in the specified paths will be uploaded to the specified Artifact Registry repository using the builder service account's credentials. If any images fail to be pushed, the build is marked FAILURE.", +"items": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsOci" +}, +"type": "array" +}, "pythonPackages": { "description": "A list of Python packages to be uploaded to Artifact Registry upon successful completion of all build steps. The build service account credentials will be used to perform the upload. If any objects fail to be pushed, the build is marked FAILURE.", "items": { @@ -2926,6 +2933,28 @@ }, "type": "object" }, +"ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsOci": { +"description": "OCI image to upload to Artifact Registry upon successful completion of all build steps.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsOci", +"properties": { +"file": { +"description": "Required. Path on the local file system where to find the container to upload. e.g. /workspace/my-image.tar", +"type": "string" +}, +"registryPath": { +"description": "Required. Registry path to upload the container to. e.g. us-east1-docker.pkg.dev/my-project/my-repo/my-image", +"type": "string" +}, +"tags": { +"description": "Optional. Tags to apply to the uploaded image. e.g. latest, 1.0.0", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, "ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage": { "description": "Python package to upload to Artifact Registry upon successful completion of all build steps. A package can encapsulate multiple objects to be uploaded to a single repository.", "id": "ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage", @@ -3585,6 +3614,21 @@ false "description": "Name used to push the container image to Google Container Registry, as presented to `docker push`.", "type": "string" }, +"ociMediaType": { +"description": "Output only. The OCI media type of the artifact. Non-OCI images, such as Docker images, will have an unspecified value.", +"enum": [ +"OCI_MEDIA_TYPE_UNSPECIFIED", +"IMAGE_MANIFEST", +"IMAGE_INDEX" +], +"enumDescriptions": [ +"Default value.", +"The artifact is an image manifest, which represents a single image with all its layers.", +"The artifact is an image index, which can contain a list of image manifests." +], +"readOnly": true, +"type": "string" +}, "pushTiming": { "$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan", "description": "Output only. Stores timing information for pushing the specified image.", diff --git a/googleapiclient/discovery_cache/documents/dataform.v1.json b/googleapiclient/discovery_cache/documents/dataform.v1.json index 10743b2c89..5f9ed103e0 100644 --- a/googleapiclient/discovery_cache/documents/dataform.v1.json +++ b/googleapiclient/discovery_cache/documents/dataform.v1.json @@ -2095,6 +2095,21 @@ "location": "query", "type": "string" }, +"view": { +"description": "Optional. Specifies the metadata to return for each directory entry. If unspecified, the default is `DIRECTORY_CONTENTS_VIEW_BASIC`. Currently the `DIRECTORY_CONTENTS_VIEW_METADATA` view is not supported by CMEK-protected workspaces.", +"enum": [ +"DIRECTORY_CONTENTS_VIEW_UNSPECIFIED", +"DIRECTORY_CONTENTS_VIEW_BASIC", +"DIRECTORY_CONTENTS_VIEW_METADATA" +], +"enumDescriptions": [ +"The default / unset value. Defaults to DIRECTORY_CONTENTS_VIEW_BASIC.", +"Includes only the file or directory name. This is the default behavior.", +"Includes all metadata for each file or directory. Currently not supported by CMEK-protected workspaces." +], +"location": "query", +"type": "string" +}, "workspace": { "description": "Required. The workspace's name.", "location": "path", @@ -2467,7 +2482,7 @@ } } }, -"revision": "20260217", +"revision": "20260317", "rootUrl": "https://dataform.googleapis.com/", "schemas": { "ActionErrorTable": { @@ -2981,13 +2996,15 @@ "TOKEN_STATUS_UNSPECIFIED", "NOT_FOUND", "INVALID", -"VALID" +"VALID", +"PERMISSION_DENIED" ], "enumDescriptions": [ "Default value. This value is unused.", "The token could not be found in Secret Manager (or the Dataform Service Account did not have permission to access it).", "The token could not be used to authenticate against the Git remote.", -"The token was used successfully to authenticate against the Git remote." +"The token was used successfully to authenticate against the Git remote.", +"The token is not accessible due to permission issues." ], "type": "string" } @@ -3112,6 +3129,10 @@ "file": { "description": "A file in the directory.", "type": "string" +}, +"metadata": { +"$ref": "FilesystemEntryMetadata", +"description": "Entry with metadata." } }, "type": "object" @@ -3272,6 +3293,25 @@ }, "type": "object" }, +"FilesystemEntryMetadata": { +"description": "Represents metadata for a single entry in a filesystem.", +"id": "FilesystemEntryMetadata", +"properties": { +"sizeBytes": { +"description": "Output only. Provides the size of the entry in bytes. For directories, this will be 0.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Represents the time of the last modification of the entry.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, "GitRemoteSettings": { "description": "Controls Git remote configuration for a repository.", "id": "GitRemoteSettings", diff --git a/googleapiclient/discovery_cache/documents/dataform.v1beta1.json b/googleapiclient/discovery_cache/documents/dataform.v1beta1.json index 31cc937541..32d1fb10eb 100644 --- a/googleapiclient/discovery_cache/documents/dataform.v1beta1.json +++ b/googleapiclient/discovery_cache/documents/dataform.v1beta1.json @@ -2368,6 +2368,21 @@ "location": "query", "type": "string" }, +"view": { +"description": "Optional. Specifies the metadata to return for each directory entry. If unspecified, the default is `DIRECTORY_CONTENTS_VIEW_BASIC`. Currently the `DIRECTORY_CONTENTS_VIEW_METADATA` view is not supported by CMEK-protected workspaces.", +"enum": [ +"DIRECTORY_CONTENTS_VIEW_UNSPECIFIED", +"DIRECTORY_CONTENTS_VIEW_BASIC", +"DIRECTORY_CONTENTS_VIEW_METADATA" +], +"enumDescriptions": [ +"The default / unset value. Defaults to DIRECTORY_CONTENTS_VIEW_BASIC.", +"Includes only the file or directory name. This is the default behavior.", +"Includes all metadata for each file or directory. Currently not supported by CMEK-protected workspaces." +], +"location": "query", +"type": "string" +}, "workspace": { "description": "Required. The workspace's name.", "location": "path", @@ -2955,7 +2970,7 @@ } } }, -"revision": "20260217", +"revision": "20260317", "rootUrl": "https://dataform.googleapis.com/", "schemas": { "ActionErrorTable": { @@ -3469,13 +3484,15 @@ "TOKEN_STATUS_UNSPECIFIED", "NOT_FOUND", "INVALID", -"VALID" +"VALID", +"PERMISSION_DENIED" ], "enumDescriptions": [ "Default value. This value is unused.", "The token could not be found in Secret Manager (or the Dataform Service Account did not have permission to access it).", "The token could not be used to authenticate against the Git remote.", -"The token was used successfully to authenticate against the Git remote." +"The token was used successfully to authenticate against the Git remote.", +"The token is not accessible due to permission issues." ], "type": "string" } @@ -3600,6 +3617,10 @@ "file": { "description": "A file in the directory.", "type": "string" +}, +"metadata": { +"$ref": "FilesystemEntryMetadata", +"description": "Entry with metadata." } }, "type": "object" @@ -3760,6 +3781,25 @@ }, "type": "object" }, +"FilesystemEntryMetadata": { +"description": "Represents metadata for a single entry in a filesystem.", +"id": "FilesystemEntryMetadata", +"properties": { +"sizeBytes": { +"description": "Output only. Provides the size of the entry in bytes. For directories, this will be 0.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Represents the time of the last modification of the entry.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, "Folder": { "description": "Represents a Dataform Folder. This is a resource that is used to organize Files and other Folders and provide hierarchical access controls.", "id": "Folder", diff --git a/googleapiclient/discovery_cache/documents/datalineage.v1.json b/googleapiclient/discovery_cache/documents/datalineage.v1.json index bf60acb69e..53c253f573 100644 --- a/googleapiclient/discovery_cache/documents/datalineage.v1.json +++ b/googleapiclient/discovery_cache/documents/datalineage.v1.json @@ -1247,7 +1247,7 @@ } } }, -"revision": "20260309", +"revision": "20260313", "rootUrl": "https://datalineage.googleapis.com/", "schemas": { "GoogleCloudDatacatalogLineageConfigmanagementV1Config": { @@ -1306,11 +1306,13 @@ "description": "Required. Integration to which the rule applies. This field can be used to specify the integration against which the ingestion rule should be applied.", "enum": [ "INTEGRATION_UNSPECIFIED", -"DATAPROC" +"DATAPROC", +"LOOKER_CORE" ], "enumDescriptions": [ "Integration is Unspecified", -"Dataproc" +"Dataproc", +"Looker Core" ], "type": "string" } @@ -1588,7 +1590,8 @@ "COMPOSER", "LOOKER_STUDIO", "DATAPROC", -"VERTEX_AI" +"VERTEX_AI", +"LOOKER_CORE" ], "enumDescriptions": [ "Source is Unspecified", @@ -1598,7 +1601,8 @@ "Composer", "Looker Studio", "Dataproc", -"Vertex AI" +"Vertex AI", +"Looker Core" ], "type": "string" } diff --git a/googleapiclient/discovery_cache/documents/datastream.v1.json b/googleapiclient/discovery_cache/documents/datastream.v1.json index 03cbf9d5e5..32119a28c4 100644 --- a/googleapiclient/discovery_cache/documents/datastream.v1.json +++ b/googleapiclient/discovery_cache/documents/datastream.v1.json @@ -15,6 +15,243 @@ "description": "", "discoveryVersion": "v1", "documentationLink": "https://cloud.google.com/datastream/", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.africa-south1.rep.googleapis.com/", +"location": "africa-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.asia-east1.rep.googleapis.com/", +"location": "asia-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.asia-east2.rep.googleapis.com/", +"location": "asia-east2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.asia-northeast1.rep.googleapis.com/", +"location": "asia-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.asia-northeast2.rep.googleapis.com/", +"location": "asia-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.asia-northeast3.rep.googleapis.com/", +"location": "asia-northeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.asia-south1.rep.googleapis.com/", +"location": "asia-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.asia-south2.rep.googleapis.com/", +"location": "asia-south2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.asia-southeast1.rep.googleapis.com/", +"location": "asia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.asia-southeast2.rep.googleapis.com/", +"location": "asia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.asia-southeast3.rep.googleapis.com/", +"location": "asia-southeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.australia-southeast1.rep.googleapis.com/", +"location": "australia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.australia-southeast2.rep.googleapis.com/", +"location": "australia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.europe-central2.rep.googleapis.com/", +"location": "europe-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.europe-north1.rep.googleapis.com/", +"location": "europe-north1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.europe-north2.rep.googleapis.com/", +"location": "europe-north2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.europe-southwest1.rep.googleapis.com/", +"location": "europe-southwest1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.europe-west1.rep.googleapis.com/", +"location": "europe-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.europe-west10.rep.googleapis.com/", +"location": "europe-west10" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.europe-west12.rep.googleapis.com/", +"location": "europe-west12" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.europe-west15.rep.googleapis.com/", +"location": "europe-west15" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.europe-west2.rep.googleapis.com/", +"location": "europe-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.europe-west3.rep.googleapis.com/", +"location": "europe-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.europe-west4.rep.googleapis.com/", +"location": "europe-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.europe-west6.rep.googleapis.com/", +"location": "europe-west6" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.europe-west8.rep.googleapis.com/", +"location": "europe-west8" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.europe-west9.rep.googleapis.com/", +"location": "europe-west9" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.me-central1.rep.googleapis.com/", +"location": "me-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.me-central2.rep.googleapis.com/", +"location": "me-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.me-west1.rep.googleapis.com/", +"location": "me-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.northamerica-northeast1.rep.googleapis.com/", +"location": "northamerica-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.northamerica-northeast2.rep.googleapis.com/", +"location": "northamerica-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.northamerica-south1.rep.googleapis.com/", +"location": "northamerica-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.southamerica-east1.rep.googleapis.com/", +"location": "southamerica-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.southamerica-west1.rep.googleapis.com/", +"location": "southamerica-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.us-central1.rep.googleapis.com/", +"location": "us-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.us-central2.rep.googleapis.com/", +"location": "us-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.us-east1.rep.googleapis.com/", +"location": "us-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.us-east4.rep.googleapis.com/", +"location": "us-east4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.us-east5.rep.googleapis.com/", +"location": "us-east5" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.us-east7.rep.googleapis.com/", +"location": "us-east7" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.us-south1.rep.googleapis.com/", +"location": "us-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.us-west1.rep.googleapis.com/", +"location": "us-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.us-west2.rep.googleapis.com/", +"location": "us-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.us-west3.rep.googleapis.com/", +"location": "us-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.us-west4.rep.googleapis.com/", +"location": "us-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.us-west8.rep.googleapis.com/", +"location": "us-west8" +} +], "fullyEncodeReservedExpansion": true, "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", @@ -1266,7 +1503,7 @@ } } }, -"revision": "20260204", +"revision": "20260318", "rootUrl": "https://datastream.googleapis.com/", "schemas": { "AppendOnly": { diff --git a/googleapiclient/discovery_cache/documents/datastream.v1alpha1.json b/googleapiclient/discovery_cache/documents/datastream.v1alpha1.json index 7932dc0293..0afc1bf835 100644 --- a/googleapiclient/discovery_cache/documents/datastream.v1alpha1.json +++ b/googleapiclient/discovery_cache/documents/datastream.v1alpha1.json @@ -15,6 +15,243 @@ "description": "", "discoveryVersion": "v1", "documentationLink": "https://cloud.google.com/datastream/", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.africa-south1.rep.googleapis.com/", +"location": "africa-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.asia-east1.rep.googleapis.com/", +"location": "asia-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.asia-east2.rep.googleapis.com/", +"location": "asia-east2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.asia-northeast1.rep.googleapis.com/", +"location": "asia-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.asia-northeast2.rep.googleapis.com/", +"location": "asia-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.asia-northeast3.rep.googleapis.com/", +"location": "asia-northeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.asia-south1.rep.googleapis.com/", +"location": "asia-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.asia-south2.rep.googleapis.com/", +"location": "asia-south2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.asia-southeast1.rep.googleapis.com/", +"location": "asia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.asia-southeast2.rep.googleapis.com/", +"location": "asia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.asia-southeast3.rep.googleapis.com/", +"location": "asia-southeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.australia-southeast1.rep.googleapis.com/", +"location": "australia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.australia-southeast2.rep.googleapis.com/", +"location": "australia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.europe-central2.rep.googleapis.com/", +"location": "europe-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.europe-north1.rep.googleapis.com/", +"location": "europe-north1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.europe-north2.rep.googleapis.com/", +"location": "europe-north2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.europe-southwest1.rep.googleapis.com/", +"location": "europe-southwest1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.europe-west1.rep.googleapis.com/", +"location": "europe-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.europe-west10.rep.googleapis.com/", +"location": "europe-west10" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.europe-west12.rep.googleapis.com/", +"location": "europe-west12" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.europe-west15.rep.googleapis.com/", +"location": "europe-west15" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.europe-west2.rep.googleapis.com/", +"location": "europe-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.europe-west3.rep.googleapis.com/", +"location": "europe-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.europe-west4.rep.googleapis.com/", +"location": "europe-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.europe-west6.rep.googleapis.com/", +"location": "europe-west6" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.europe-west8.rep.googleapis.com/", +"location": "europe-west8" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.europe-west9.rep.googleapis.com/", +"location": "europe-west9" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.me-central1.rep.googleapis.com/", +"location": "me-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.me-central2.rep.googleapis.com/", +"location": "me-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.me-west1.rep.googleapis.com/", +"location": "me-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.northamerica-northeast1.rep.googleapis.com/", +"location": "northamerica-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.northamerica-northeast2.rep.googleapis.com/", +"location": "northamerica-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.northamerica-south1.rep.googleapis.com/", +"location": "northamerica-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.southamerica-east1.rep.googleapis.com/", +"location": "southamerica-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.southamerica-west1.rep.googleapis.com/", +"location": "southamerica-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.us-central1.rep.googleapis.com/", +"location": "us-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.us-central2.rep.googleapis.com/", +"location": "us-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.us-east1.rep.googleapis.com/", +"location": "us-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.us-east4.rep.googleapis.com/", +"location": "us-east4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.us-east5.rep.googleapis.com/", +"location": "us-east5" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.us-east7.rep.googleapis.com/", +"location": "us-east7" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.us-south1.rep.googleapis.com/", +"location": "us-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.us-west1.rep.googleapis.com/", +"location": "us-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.us-west2.rep.googleapis.com/", +"location": "us-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.us-west3.rep.googleapis.com/", +"location": "us-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.us-west4.rep.googleapis.com/", +"location": "us-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastream.us-west8.rep.googleapis.com/", +"location": "us-west8" +} +], "fullyEncodeReservedExpansion": true, "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", @@ -1235,7 +1472,7 @@ } } }, -"revision": "20260204", +"revision": "20260318", "rootUrl": "https://datastream.googleapis.com/", "schemas": { "AvroFileFormat": { diff --git a/googleapiclient/discovery_cache/documents/deploymentmanager.alpha.json b/googleapiclient/discovery_cache/documents/deploymentmanager.alpha.json index 978b0bad67..27796183d0 100644 --- a/googleapiclient/discovery_cache/documents/deploymentmanager.alpha.json +++ b/googleapiclient/discovery_cache/documents/deploymentmanager.alpha.json @@ -1676,7 +1676,7 @@ } } }, -"revision": "20251128", +"revision": "20260312", "rootUrl": "https://deploymentmanager.googleapis.com/", "schemas": { "AsyncOptions": { @@ -2262,6 +2262,35 @@ }, "type": "object" }, +"GetVersionOperationMetadata": { +"id": "GetVersionOperationMetadata", +"properties": { +"inlineSbomInfo": { +"$ref": "GetVersionOperationMetadataSbomInfo" +} +}, +"type": "object" +}, +"GetVersionOperationMetadataSbomInfo": { +"id": "GetVersionOperationMetadataSbomInfo", +"properties": { +"currentComponentVersions": { +"additionalProperties": { +"type": "string" +}, +"description": "SBOM versions currently applied to the resource. The key is the component name and the value is the version.", +"type": "object" +}, +"targetComponentVersions": { +"additionalProperties": { +"type": "string" +}, +"description": "SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version.", +"type": "object" +} +}, +"type": "object" +}, "GlobalSetPolicyRequest": { "id": "GlobalSetPolicyRequest", "properties": { @@ -2580,6 +2609,9 @@ "firewallPolicyRuleOperationMetadata": { "$ref": "FirewallPolicyRuleOperationMetadata" }, +"getVersionOperationMetadata": { +"$ref": "GetVersionOperationMetadata" +}, "httpErrorMessage": { "description": "[Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`.", "type": "string" diff --git a/googleapiclient/discovery_cache/documents/deploymentmanager.v2.json b/googleapiclient/discovery_cache/documents/deploymentmanager.v2.json index cc07ab0868..b950027bcd 100644 --- a/googleapiclient/discovery_cache/documents/deploymentmanager.v2.json +++ b/googleapiclient/discovery_cache/documents/deploymentmanager.v2.json @@ -1028,7 +1028,7 @@ } } }, -"revision": "20251128", +"revision": "20260312", "rootUrl": "https://deploymentmanager.googleapis.com/", "schemas": { "AuditConfig": { @@ -1376,6 +1376,35 @@ }, "type": "object" }, +"GetVersionOperationMetadata": { +"id": "GetVersionOperationMetadata", +"properties": { +"inlineSbomInfo": { +"$ref": "GetVersionOperationMetadataSbomInfo" +} +}, +"type": "object" +}, +"GetVersionOperationMetadataSbomInfo": { +"id": "GetVersionOperationMetadataSbomInfo", +"properties": { +"currentComponentVersions": { +"additionalProperties": { +"type": "string" +}, +"description": "SBOM versions currently applied to the resource. The key is the component name and the value is the version.", +"type": "object" +}, +"targetComponentVersions": { +"additionalProperties": { +"type": "string" +}, +"description": "SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version.", +"type": "object" +} +}, +"type": "object" +}, "GlobalSetPolicyRequest": { "id": "GlobalSetPolicyRequest", "properties": { @@ -1630,6 +1659,9 @@ "firewallPolicyRuleOperationMetadata": { "$ref": "FirewallPolicyRuleOperationMetadata" }, +"getVersionOperationMetadata": { +"$ref": "GetVersionOperationMetadata" +}, "httpErrorMessage": { "description": "[Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`.", "type": "string" diff --git a/googleapiclient/discovery_cache/documents/deploymentmanager.v2beta.json b/googleapiclient/discovery_cache/documents/deploymentmanager.v2beta.json index c293725bd5..5254ef2542 100644 --- a/googleapiclient/discovery_cache/documents/deploymentmanager.v2beta.json +++ b/googleapiclient/discovery_cache/documents/deploymentmanager.v2beta.json @@ -1636,7 +1636,7 @@ } } }, -"revision": "20251128", +"revision": "20260312", "rootUrl": "https://deploymentmanager.googleapis.com/", "schemas": { "AsyncOptions": { @@ -2188,6 +2188,35 @@ }, "type": "object" }, +"GetVersionOperationMetadata": { +"id": "GetVersionOperationMetadata", +"properties": { +"inlineSbomInfo": { +"$ref": "GetVersionOperationMetadataSbomInfo" +} +}, +"type": "object" +}, +"GetVersionOperationMetadataSbomInfo": { +"id": "GetVersionOperationMetadataSbomInfo", +"properties": { +"currentComponentVersions": { +"additionalProperties": { +"type": "string" +}, +"description": "SBOM versions currently applied to the resource. The key is the component name and the value is the version.", +"type": "object" +}, +"targetComponentVersions": { +"additionalProperties": { +"type": "string" +}, +"description": "SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version.", +"type": "object" +} +}, +"type": "object" +}, "GlobalSetPolicyRequest": { "id": "GlobalSetPolicyRequest", "properties": { @@ -2479,6 +2508,9 @@ "firewallPolicyRuleOperationMetadata": { "$ref": "FirewallPolicyRuleOperationMetadata" }, +"getVersionOperationMetadata": { +"$ref": "GetVersionOperationMetadata" +}, "httpErrorMessage": { "description": "[Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`.", "type": "string" diff --git a/googleapiclient/discovery_cache/documents/developerconnect.v1.json b/googleapiclient/discovery_cache/documents/developerconnect.v1.json index 1361d48244..1d907b7958 100644 --- a/googleapiclient/discovery_cache/documents/developerconnect.v1.json +++ b/googleapiclient/discovery_cache/documents/developerconnect.v1.json @@ -325,6 +325,47 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, +"fetchUserRepositories": { +"description": "FetchUserRepositories returns a list of UserRepos that are available for an account connector resource.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/accountConnectors/{accountConnectorsId}:fetchUserRepositories", +"httpMethod": "GET", +"id": "developerconnect.projects.locations.accountConnectors.fetchUserRepositories", +"parameterOrder": [ +"accountConnector" +], +"parameters": { +"accountConnector": { +"description": "Required. The name of the Account Connector resource in the format: `projects/*/locations/*/accountConnectors/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/accountConnectors/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Optional. Number of results to return in the list. Defaults to 20.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Page start.", +"location": "query", +"type": "string" +}, +"repository": { +"description": "Optional. The name of the repository. When specified, only the UserRepository with this name will be returned if the repository is accessible under this Account Connector for the calling user.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+accountConnector}:fetchUserRepositories", +"response": { +"$ref": "FetchUserRepositoriesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, "get": { "description": "Gets details of a single AccountConnector.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/accountConnectors/{accountConnectorsId}", @@ -1754,7 +1795,7 @@ } } }, -"revision": "20260302", +"revision": "20260313", "rootUrl": "https://developerconnect.googleapis.com/", "schemas": { "AccountConnector": { @@ -1774,6 +1815,10 @@ "readOnly": true, "type": "string" }, +"customOauthConfig": { +"$ref": "CustomOAuthConfig", +"description": "Custom OAuth config." +}, "etag": { "description": "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.", "type": "string" @@ -1798,6 +1843,10 @@ "$ref": "ProviderOAuthConfig", "description": "Optional. Provider OAuth config." }, +"proxyConfig": { +"$ref": "ProxyConfig", +"description": "Optional. Configuration for the http and git proxy features." +}, "updateTime": { "description": "Output only. The timestamp when the accountConnector was updated.", "format": "google-datetime", @@ -2125,6 +2174,73 @@ }, "type": "object" }, +"CustomOAuthConfig": { +"description": "Message for a customized OAuth config.", +"id": "CustomOAuthConfig", +"properties": { +"authUri": { +"description": "Required. Immutable. The OAuth2 authorization server URL.", +"type": "string" +}, +"clientId": { +"description": "Required. The client ID of the OAuth application.", +"type": "string" +}, +"clientSecret": { +"description": "Required. Input only. The client secret of the OAuth application. It will be provided as plain text, but encrypted and stored in developer connect. As INPUT_ONLY field, it will not be included in the output.", +"type": "string" +}, +"hostUri": { +"description": "Required. The host URI of the OAuth application.", +"type": "string" +}, +"pkceDisabled": { +"description": "Optional. Disable PKCE for this OAuth config. PKCE is enabled by default.", +"type": "boolean" +}, +"scmProvider": { +"description": "Required. The type of the SCM provider.", +"enum": [ +"SCM_PROVIDER_UNKNOWN", +"GITHUB_ENTERPRISE", +"GITLAB_ENTERPRISE", +"BITBUCKET_DATA_CENTER" +], +"enumDescriptions": [ +"The SCM is not specified or BYO Account Connector is not an SCM.", +"BYO Account Connector is an instance of GitHub Enterprise.", +"BYO Account Connector is an instance of GitLab Enterprise.", +"BYO Account Connector is an instance of Bitbucket Data Center." +], +"type": "string" +}, +"scopes": { +"description": "Required. The scopes to be requested during OAuth.", +"items": { +"type": "string" +}, +"type": "array" +}, +"serverVersion": { +"description": "Output only. SCM server version installed at the host URI.", +"readOnly": true, +"type": "string" +}, +"serviceDirectoryConfig": { +"$ref": "ServiceDirectoryConfig", +"description": "Optional. Configuration for using Service Directory to connect to a private service." +}, +"sslCaCertificate": { +"description": "Optional. SSL certificate to use for requests to a private service.", +"type": "string" +}, +"tokenUri": { +"description": "Required. Immutable. The OAuth2 token request URL.", +"type": "string" +} +}, +"type": "object" +}, "DeploymentEvent": { "description": "The DeploymentEvent resource represents the deployment of the artifact within the InsightsConfig resource.", "id": "DeploymentEvent", @@ -2349,6 +2465,24 @@ }, "type": "object" }, +"FetchUserRepositoriesResponse": { +"description": "Response message for FetchUserRepositories.", +"id": "FetchUserRepositoriesResponse", +"properties": { +"nextPageToken": { +"description": "A token identifying a page of results the server should return.", +"type": "string" +}, +"userRepos": { +"description": "The repositories that the user can access with this account connector.", +"items": { +"$ref": "UserRepository" +}, +"type": "array" +} +}, +"type": "object" +}, "FinishOAuthResponse": { "description": "Message for responding to finishing an OAuth flow.", "id": "FinishOAuthResponse", @@ -3284,6 +3418,17 @@ }, "type": "object" }, +"ProxyConfig": { +"description": "The proxy configuration.", +"id": "ProxyConfig", +"properties": { +"enabled": { +"description": "Optional. Setting this to true allows the git and http proxies to perform actions on behalf of the user configured under the account connector.", +"type": "boolean" +} +}, +"type": "object" +}, "RuntimeConfig": { "description": "RuntimeConfig represents the runtimes where the application is deployed.", "id": "RuntimeConfig", @@ -3482,6 +3627,28 @@ } }, "type": "object" +}, +"UserRepository": { +"description": "A user repository that can be linked to the account connector. Consists of the repo name and the git proxy URL to forward requests to this repo.", +"id": "UserRepository", +"properties": { +"cloneUri": { +"description": "Output only. The git clone URL of the repo. For example: https://github.com/myuser/myrepo.git", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Output only. The user friendly repo name (e.g., myuser/myrepo)", +"readOnly": true, +"type": "string" +}, +"gitProxyUri": { +"description": "Output only. The Git proxy URL for this repo. For example: https://us-west1-git.developerconnect.dev/a/my-proj/my-ac/myuser/myrepo.git. Populated only when `proxy_config.enabled` is set to `true` in the Account Connector. This URL is used by other Google services that integrate with Developer Connect.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" } }, "servicePath": "", diff --git a/googleapiclient/discovery_cache/documents/dialogflow.v2.json b/googleapiclient/discovery_cache/documents/dialogflow.v2.json index 139744bfd8..70186a0f6f 100644 --- a/googleapiclient/discovery_cache/documents/dialogflow.v2.json +++ b/googleapiclient/discovery_cache/documents/dialogflow.v2.json @@ -8780,7 +8780,7 @@ } } }, -"revision": "20260119", +"revision": "20260313", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AdvancedSettings": { @@ -9679,6 +9679,9 @@ "displayName": { "type": "string" }, +"dtmfPattern": { +"type": "string" +}, "isFallback": { "type": "boolean" }, @@ -11709,6 +11712,9 @@ "displayName": { "type": "string" }, +"dtmfPattern": { +"type": "string" +}, "isFallback": { "type": "boolean" }, @@ -13871,6 +13877,17 @@ true "readOnly": true, "type": "object" }, +"initialConversationProfile": { +"$ref": "GoogleCloudDialogflowV2ConversationProfile", +"readOnly": true +}, +"initialGeneratorContexts": { +"additionalProperties": { +"$ref": "GoogleCloudDialogflowV2ConversationGeneratorContext" +}, +"readOnly": true, +"type": "object" +}, "lifecycleState": { "enum": [ "LIFECYCLE_STATE_UNSPECIFIED", @@ -14061,6 +14078,34 @@ true }, "type": "object" }, +"GoogleCloudDialogflowV2ConversationGeneratorContext": { +"id": "GoogleCloudDialogflowV2ConversationGeneratorContext", +"properties": { +"generatorType": { +"enum": [ +"GENERATOR_TYPE_UNSPECIFIED", +"FREE_FORM", +"AGENT_COACHING", +"SUMMARIZATION", +"TRANSLATION", +"AGENT_FEEDBACK", +"CUSTOMER_MESSAGE_GENERATION" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, "GoogleCloudDialogflowV2ConversationInfo": { "id": "GoogleCloudDialogflowV2ConversationInfo", "properties": { diff --git a/googleapiclient/discovery_cache/documents/dialogflow.v2beta1.json b/googleapiclient/discovery_cache/documents/dialogflow.v2beta1.json index 51157ed10e..d58fc85f43 100644 --- a/googleapiclient/discovery_cache/documents/dialogflow.v2beta1.json +++ b/googleapiclient/discovery_cache/documents/dialogflow.v2beta1.json @@ -8431,7 +8431,7 @@ } } }, -"revision": "20260216", +"revision": "20260313", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AdvancedSettings": { @@ -9330,6 +9330,9 @@ "displayName": { "type": "string" }, +"dtmfPattern": { +"type": "string" +}, "isFallback": { "type": "boolean" }, @@ -11360,6 +11363,9 @@ "displayName": { "type": "string" }, +"dtmfPattern": { +"type": "string" +}, "isFallback": { "type": "boolean" }, @@ -16246,6 +16252,17 @@ true "readOnly": true, "type": "object" }, +"initialConversationProfile": { +"$ref": "GoogleCloudDialogflowV2beta1ConversationProfile", +"readOnly": true +}, +"initialGeneratorContexts": { +"additionalProperties": { +"$ref": "GoogleCloudDialogflowV2beta1ConversationGeneratorContext" +}, +"readOnly": true, +"type": "object" +}, "lifecycleState": { "enum": [ "LIFECYCLE_STATE_UNSPECIFIED", @@ -16394,6 +16411,34 @@ true }, "type": "object" }, +"GoogleCloudDialogflowV2beta1ConversationGeneratorContext": { +"id": "GoogleCloudDialogflowV2beta1ConversationGeneratorContext", +"properties": { +"generatorType": { +"enum": [ +"GENERATOR_TYPE_UNSPECIFIED", +"FREE_FORM", +"AGENT_COACHING", +"SUMMARIZATION", +"TRANSLATION", +"AGENT_FEEDBACK", +"CUSTOMER_MESSAGE_GENERATION" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, "GoogleCloudDialogflowV2beta1ConversationPhoneNumber": { "id": "GoogleCloudDialogflowV2beta1ConversationPhoneNumber", "properties": { diff --git a/googleapiclient/discovery_cache/documents/dialogflow.v3.json b/googleapiclient/discovery_cache/documents/dialogflow.v3.json index ea2e7c6161..3294810403 100644 --- a/googleapiclient/discovery_cache/documents/dialogflow.v3.json +++ b/googleapiclient/discovery_cache/documents/dialogflow.v3.json @@ -5031,7 +5031,7 @@ } } }, -"revision": "20260119", +"revision": "20260313", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3Action": { @@ -6993,6 +6993,19 @@ }, "type": "object" }, +"GoogleCloudDialogflowCxV3FlowTraceMetadata": { +"id": "GoogleCloudDialogflowCxV3FlowTraceMetadata", +"properties": { +"displayName": { +"readOnly": true, +"type": "string" +}, +"flow": { +"type": "string" +} +}, +"type": "object" +}, "GoogleCloudDialogflowCxV3FlowTransition": { "id": "GoogleCloudDialogflowCxV3FlowTransition", "properties": { @@ -7790,6 +7803,9 @@ false "displayName": { "type": "string" }, +"dtmfPattern": { +"type": "string" +}, "isFallback": { "type": "boolean" }, @@ -8889,6 +8905,19 @@ false }, "type": "object" }, +"GoogleCloudDialogflowCxV3PlaybookTraceMetadata": { +"id": "GoogleCloudDialogflowCxV3PlaybookTraceMetadata", +"properties": { +"displayName": { +"readOnly": true, +"type": "string" +}, +"playbook": { +"type": "string" +} +}, +"type": "object" +}, "GoogleCloudDialogflowCxV3PlaybookTransition": { "id": "GoogleCloudDialogflowCxV3PlaybookTransition", "properties": { @@ -9102,6 +9131,12 @@ false "text": { "type": "string" }, +"traceBlocks": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3TraceBlock" +}, +"type": "array" +}, "transcript": { "type": "string" }, @@ -9790,6 +9825,16 @@ false }, "type": "object" }, +"GoogleCloudDialogflowCxV3SpeechProcessingMetadata": { +"id": "GoogleCloudDialogflowCxV3SpeechProcessingMetadata", +"properties": { +"displayName": { +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, "GoogleCloudDialogflowCxV3SpeechToTextSettings": { "id": "GoogleCloudDialogflowCxV3SpeechToTextSettings", "properties": { @@ -10379,6 +10424,71 @@ false }, "type": "object" }, +"GoogleCloudDialogflowCxV3TraceBlock": { +"id": "GoogleCloudDialogflowCxV3TraceBlock", +"properties": { +"actions": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3Action" +}, +"type": "array" +}, +"completeTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endState": { +"enum": [ +"OUTPUT_STATE_UNSPECIFIED", +"OUTPUT_STATE_OK", +"OUTPUT_STATE_CANCELLED", +"OUTPUT_STATE_FAILED", +"OUTPUT_STATE_ESCALATED", +"OUTPUT_STATE_PENDING" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +}, +"flowTraceMetadata": { +"$ref": "GoogleCloudDialogflowCxV3FlowTraceMetadata" +}, +"inputParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"outputParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"playbookTraceMetadata": { +"$ref": "GoogleCloudDialogflowCxV3PlaybookTraceMetadata" +}, +"speechProcessingMetadata": { +"$ref": "GoogleCloudDialogflowCxV3SpeechProcessingMetadata" +}, +"startTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, "GoogleCloudDialogflowCxV3TrainFlowRequest": { "id": "GoogleCloudDialogflowCxV3TrainFlowRequest", "properties": {}, @@ -12062,6 +12172,9 @@ false "displayName": { "type": "string" }, +"dtmfPattern": { +"type": "string" +}, "isFallback": { "type": "boolean" }, diff --git a/googleapiclient/discovery_cache/documents/dialogflow.v3beta1.json b/googleapiclient/discovery_cache/documents/dialogflow.v3beta1.json index d55dd463f6..7d363235ea 100644 --- a/googleapiclient/discovery_cache/documents/dialogflow.v3beta1.json +++ b/googleapiclient/discovery_cache/documents/dialogflow.v3beta1.json @@ -5151,7 +5151,7 @@ } } }, -"revision": "20260119", +"revision": "20260313", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AdvancedSettings": { @@ -6050,6 +6050,9 @@ "displayName": { "type": "string" }, +"dtmfPattern": { +"type": "string" +}, "isFallback": { "type": "boolean" }, @@ -9630,6 +9633,19 @@ }, "type": "object" }, +"GoogleCloudDialogflowCxV3beta1FlowTraceMetadata": { +"id": "GoogleCloudDialogflowCxV3beta1FlowTraceMetadata", +"properties": { +"displayName": { +"readOnly": true, +"type": "string" +}, +"flow": { +"type": "string" +} +}, +"type": "object" +}, "GoogleCloudDialogflowCxV3beta1FlowTransition": { "id": "GoogleCloudDialogflowCxV3beta1FlowTransition", "properties": { @@ -10450,6 +10466,9 @@ false "displayName": { "type": "string" }, +"dtmfPattern": { +"type": "string" +}, "isFallback": { "type": "boolean" }, @@ -11731,6 +11750,19 @@ false }, "type": "object" }, +"GoogleCloudDialogflowCxV3beta1PlaybookTraceMetadata": { +"id": "GoogleCloudDialogflowCxV3beta1PlaybookTraceMetadata", +"properties": { +"displayName": { +"readOnly": true, +"type": "string" +}, +"playbook": { +"type": "string" +} +}, +"type": "object" +}, "GoogleCloudDialogflowCxV3beta1PlaybookTransition": { "id": "GoogleCloudDialogflowCxV3beta1PlaybookTransition", "properties": { @@ -11955,6 +11987,12 @@ false "text": { "type": "string" }, +"traceBlocks": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1TraceBlock" +}, +"type": "array" +}, "transcript": { "type": "string" }, @@ -12682,6 +12720,16 @@ false }, "type": "object" }, +"GoogleCloudDialogflowCxV3beta1SpeechProcessingMetadata": { +"id": "GoogleCloudDialogflowCxV3beta1SpeechProcessingMetadata", +"properties": { +"displayName": { +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, "GoogleCloudDialogflowCxV3beta1SpeechToTextSettings": { "id": "GoogleCloudDialogflowCxV3beta1SpeechToTextSettings", "properties": { @@ -13428,6 +13476,71 @@ false }, "type": "object" }, +"GoogleCloudDialogflowCxV3beta1TraceBlock": { +"id": "GoogleCloudDialogflowCxV3beta1TraceBlock", +"properties": { +"actions": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1Action" +}, +"type": "array" +}, +"completeTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endState": { +"enum": [ +"OUTPUT_STATE_UNSPECIFIED", +"OUTPUT_STATE_OK", +"OUTPUT_STATE_CANCELLED", +"OUTPUT_STATE_FAILED", +"OUTPUT_STATE_ESCALATED", +"OUTPUT_STATE_PENDING" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +}, +"flowTraceMetadata": { +"$ref": "GoogleCloudDialogflowCxV3beta1FlowTraceMetadata" +}, +"inputParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"outputParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"playbookTraceMetadata": { +"$ref": "GoogleCloudDialogflowCxV3beta1PlaybookTraceMetadata" +}, +"speechProcessingMetadata": { +"$ref": "GoogleCloudDialogflowCxV3beta1SpeechProcessingMetadata" +}, +"startTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, "GoogleCloudDialogflowCxV3beta1TrainFlowRequest": { "id": "GoogleCloudDialogflowCxV3beta1TrainFlowRequest", "properties": {}, diff --git a/googleapiclient/discovery_cache/documents/discoveryengine.v1.json b/googleapiclient/discovery_cache/documents/discoveryengine.v1.json index 9787e00ad6..11a64fa0e5 100644 --- a/googleapiclient/discovery_cache/documents/discoveryengine.v1.json +++ b/googleapiclient/discovery_cache/documents/discoveryengine.v1.json @@ -273,7 +273,7 @@ "type": "string" }, "collectionId": { -"description": "Required. The ID to use for the Collection, which will become the final component of the Collection's resource name. A new Collection is created as part of the DataConnector setup. DataConnector is a singleton resource under Collection, managing all DataStores of the Collection. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.", +"description": "Required. The ID to use for the Collection, which will become the final component of the Collection's resource name. A new Collection is created as part of the DataConnector setup. DataConnector is a singleton resource under Collection, managing all DataStores of the Collection. Should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.", "location": "query", "type": "string" }, @@ -517,7 +517,7 @@ ], "parameters": { "name": { -"description": "Required. Full resource name of DataConnector, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataConnector`. If the caller does not have permission to access the DataConnector, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested DataConnector does not exist, a NOT_FOUND error is returned.", +"description": "Required. Full resource name of DataConnector, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataConnector`. If the caller does not have permission to access the DataConnector, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the requested DataConnector does not exist, a `NOT_FOUND` error is returned.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataConnector$", "required": true, @@ -551,7 +551,7 @@ "type": "string" }, "updateMask": { -"description": "Indicates which fields in the provided DataConnector to update. Supported field paths include: - `refresh_interval` - `params` - `auto_run_disabled` - `action_config` - `action_config.action_params` - `action_config.service_name` - `destination_configs` - `blocking_reasons` - `sync_mode` - `incremental_sync_disabled` - `incremental_refresh_interval` - `data_protection_policy` Note: Support for these fields may vary depending on the connector type. For example, not all connectors support `destination_configs`. If an unsupported or unknown field path is provided, the request will return an INVALID_ARGUMENT error.", +"description": "Indicates which fields in the provided DataConnector to update. Supported field paths include: - `refresh_interval` - `params` - `auto_run_disabled` - `action_config` - `action_config.action_params` - `action_config.service_name` - `destination_configs` - `blocking_reasons` - `sync_mode` - `incremental_sync_disabled` - `incremental_refresh_interval` - `data_protection_policy` Note: Support for these fields may vary depending on the connector type. For example, not all connectors support `destination_configs`. If an unsupported or unknown field path is provided, the request will return an `INVALID_ARGUMENT` error.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -4025,7 +4025,7 @@ "methods": { "getCard": { "description": "GetAgentCard returns the agent card for the agent.", -"flatPath": "projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}/agents/{agentsId}/card", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}/agents/{agentsId}/card", "httpMethod": "GET", "id": "discoveryengine.projects.locations.collections.engines.assistants.agents.getCard", "parameterOrder": [ @@ -4040,7 +4040,7 @@ "type": "string" } }, -"path": "{+tenant}/card", +"path": "v1/{+tenant}/card", "response": { "$ref": "A2aV1AgentCard" }, @@ -4054,7 +4054,7 @@ "methods": { "send": { "description": "Send a message to the agent. This is a blocking call that will return the task once it is completed, or a LRO if requested.", -"flatPath": "projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}/agents/{agentsId}/message:send", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}/agents/{agentsId}/message:send", "httpMethod": "POST", "id": "discoveryengine.projects.locations.collections.engines.assistants.agents.message.send", "parameterOrder": [ @@ -4069,7 +4069,7 @@ "type": "string" } }, -"path": "{+tenant}/message:send", +"path": "v1/{+tenant}/message:send", "request": { "$ref": "A2aV1SendMessageRequest" }, @@ -4082,7 +4082,7 @@ }, "stream": { "description": "SendStreamingMessage is a streaming call that will return a stream of task update events until the Task is in an interrupted or terminal state.", -"flatPath": "projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}/agents/{agentsId}/message:stream", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}/agents/{agentsId}/message:stream", "httpMethod": "POST", "id": "discoveryengine.projects.locations.collections.engines.assistants.agents.message.stream", "parameterOrder": [ @@ -4097,7 +4097,7 @@ "type": "string" } }, -"path": "{+tenant}/message:stream", +"path": "v1/{+tenant}/message:stream", "request": { "$ref": "A2aV1SendMessageRequest" }, @@ -4144,7 +4144,7 @@ "methods": { "cancel": { "description": "Cancel a task from the agent. If supported one should expect no more task updates for the task.", -"flatPath": "projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}/agents/{agentsId}/tasks/{tasksId}:cancel", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}/agents/{agentsId}/tasks/{tasksId}:cancel", "httpMethod": "POST", "id": "discoveryengine.projects.locations.collections.engines.assistants.agents.tasks.cancel", "parameterOrder": [ @@ -4167,7 +4167,7 @@ "type": "string" } }, -"path": "{+tenant}/{+name}:cancel", +"path": "v1/{+tenant}/{+name}:cancel", "request": { "$ref": "A2aV1CancelTaskRequest" }, @@ -4180,7 +4180,7 @@ }, "get": { "description": "Get the current state of a task from the agent.", -"flatPath": "projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}/agents/{agentsId}/tasks/{tasksId}", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}/agents/{agentsId}/tasks/{tasksId}", "httpMethod": "GET", "id": "discoveryengine.projects.locations.collections.engines.assistants.agents.tasks.get", "parameterOrder": [ @@ -4209,7 +4209,7 @@ "type": "string" } }, -"path": "{+tenant}/{+name}", +"path": "v1/{+tenant}/{+name}", "response": { "$ref": "A2aV1Task" }, @@ -4219,7 +4219,7 @@ }, "subscribe": { "description": "TaskSubscription is a streaming call that will return a stream of task update events. This attaches the stream to an existing in process task. If the task is complete the stream will return the completed task (like GetTask) and close the stream.", -"flatPath": "projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}/agents/{agentsId}/tasks/{tasksId}:subscribe", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}/agents/{agentsId}/tasks/{tasksId}:subscribe", "httpMethod": "GET", "id": "discoveryengine.projects.locations.collections.engines.assistants.agents.tasks.subscribe", "parameterOrder": [ @@ -4242,7 +4242,7 @@ "type": "string" } }, -"path": "{+tenant}/{+name}:subscribe", +"path": "v1/{+tenant}/{+name}:subscribe", "response": { "$ref": "A2aV1StreamResponse" }, @@ -4256,7 +4256,7 @@ "methods": { "create": { "description": "Set a push notification config for a task.", -"flatPath": "projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}/agents/{agentsId}/tasks/{tasksId}/pushNotificationConfigs", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}/agents/{agentsId}/tasks/{tasksId}/pushNotificationConfigs", "httpMethod": "POST", "id": "discoveryengine.projects.locations.collections.engines.assistants.agents.tasks.pushNotificationConfigs.create", "parameterOrder": [ @@ -4284,7 +4284,7 @@ "type": "string" } }, -"path": "{+tenant}/{+parent}", +"path": "v1/{+tenant}/{+parent}", "request": { "$ref": "A2aV1TaskPushNotificationConfig" }, @@ -4297,7 +4297,7 @@ }, "delete": { "description": "Delete a push notification config for a task.", -"flatPath": "projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}/agents/{agentsId}/tasks/{tasksId}/pushNotificationConfigs/{pushNotificationConfigsId}", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}/agents/{agentsId}/tasks/{tasksId}/pushNotificationConfigs/{pushNotificationConfigsId}", "httpMethod": "DELETE", "id": "discoveryengine.projects.locations.collections.engines.assistants.agents.tasks.pushNotificationConfigs.delete", "parameterOrder": [ @@ -4320,7 +4320,7 @@ "type": "string" } }, -"path": "{+tenant}/{+name}", +"path": "v1/{+tenant}/{+name}", "response": { "$ref": "GoogleProtobufEmpty" }, @@ -4330,7 +4330,7 @@ }, "get": { "description": "Get a push notification config for a task.", -"flatPath": "projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}/agents/{agentsId}/tasks/{tasksId}/pushNotificationConfigs/{pushNotificationConfigsId}", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}/agents/{agentsId}/tasks/{tasksId}/pushNotificationConfigs/{pushNotificationConfigsId}", "httpMethod": "GET", "id": "discoveryengine.projects.locations.collections.engines.assistants.agents.tasks.pushNotificationConfigs.get", "parameterOrder": [ @@ -4353,7 +4353,7 @@ "type": "string" } }, -"path": "{+tenant}/{+name}", +"path": "v1/{+tenant}/{+name}", "response": { "$ref": "A2aV1TaskPushNotificationConfig" }, @@ -4363,7 +4363,7 @@ }, "list": { "description": "Get a list of push notifications configured for a task.", -"flatPath": "projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}/agents/{agentsId}/tasks/{tasksId}/pushNotificationConfigs", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}/agents/{agentsId}/tasks/{tasksId}/pushNotificationConfigs", "httpMethod": "GET", "id": "discoveryengine.projects.locations.collections.engines.assistants.agents.tasks.pushNotificationConfigs.list", "parameterOrder": [ @@ -4397,7 +4397,7 @@ "type": "string" } }, -"path": "{+tenant}/{+parent}/pushNotificationConfigs", +"path": "v1/{+tenant}/{+parent}/pushNotificationConfigs", "response": { "$ref": "A2aV1ListTaskPushNotificationConfigResponse" }, @@ -8906,66 +8906,6 @@ "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, -"create": { -"description": "Creates a new User Store.", -"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/userStores", -"httpMethod": "POST", -"id": "discoveryengine.projects.locations.userStores.create", -"parameterOrder": [ -"parent" -], -"parameters": { -"parent": { -"description": "Required. The parent collection resource name, such as `projects/{project}/locations/{location}`.", -"location": "path", -"pattern": "^projects/[^/]+/locations/[^/]+$", -"required": true, -"type": "string" -}, -"userStoreId": { -"description": "Required. The ID of the User Store to create. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 63 characters.", -"location": "query", -"type": "string" -} -}, -"path": "v1/{+parent}/userStores", -"request": { -"$ref": "GoogleCloudDiscoveryengineV1UserStore" -}, -"response": { -"$ref": "GoogleCloudDiscoveryengineV1UserStore" -}, -"scopes": [ -"https://www.googleapis.com/auth/cloud-platform", -"https://www.googleapis.com/auth/discoveryengine.readwrite" -] -}, -"delete": { -"description": "Deletes the User Store.", -"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/userStores/{userStoresId}", -"httpMethod": "DELETE", -"id": "discoveryengine.projects.locations.userStores.delete", -"parameterOrder": [ -"name" -], -"parameters": { -"name": { -"description": "Required. The name of the User Store to delete. Format: `projects/{project}/locations/{location}/userStores/{user_store_id}`", -"location": "path", -"pattern": "^projects/[^/]+/locations/[^/]+/userStores/[^/]+$", -"required": true, -"type": "string" -} -}, -"path": "v1/{+name}", -"response": { -"$ref": "GoogleLongrunningOperation" -}, -"scopes": [ -"https://www.googleapis.com/auth/cloud-platform", -"https://www.googleapis.com/auth/discoveryengine.readwrite" -] -}, "get": { "description": "Gets the User Store.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/userStores/{userStoresId}", @@ -9218,7 +9158,7 @@ } } }, -"revision": "20260310", +"revision": "20260317", "rootUrl": "https://discoveryengine.googleapis.com/", "schemas": { "A2aV1APIKeySecurityScheme": { @@ -11973,14 +11913,6 @@ "$ref": "GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfo", "description": "Chunk information." }, -"queries": { -"description": "Output only. The search queries that produced this reference.", -"items": { -"type": "string" -}, -"readOnly": true, -"type": "array" -}, "structuredDocumentInfo": { "$ref": "GoogleCloudDiscoveryengineV1AnswerReferenceStructuredDocumentInfo", "description": "Structured document information." @@ -14647,6 +14579,14 @@ }, "type": "array" }, +"dynamicTools": { +"description": "Output only. The dynamic tools fetched for this connector.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1DynamicTool" +}, +"readOnly": true, +"type": "array" +}, "egressFqdns": { "description": "Output only. The list of FQDNs of the data connector can egress to. This includes both FQDN derived from the customer provided instance URL and default per connector type FQDNs. Note: This field is derived from both the DataConnector.params, and connector source spec. It should only be used for CAIS and Org Policy evaluation purposes.", "items": { @@ -15877,6 +15817,29 @@ }, "type": "object" }, +"GoogleCloudDiscoveryengineV1DynamicTool": { +"description": "Configuration for dynamic tools.", +"id": "GoogleCloudDiscoveryengineV1DynamicTool", +"properties": { +"description": { +"description": "Optional. The description of the tool.", +"type": "string" +}, +"displayName": { +"description": "Optional. The display name of the tool.", +"type": "string" +}, +"enabled": { +"description": "Optional. Whether the tool is enabled.", +"type": "boolean" +}, +"name": { +"description": "Required. The name of the tool.", +"type": "string" +} +}, +"type": "object" +}, "GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchMetadata": { "description": "Metadata related to the progress of the SiteSearchEngineService.EnableAdvancedSiteSearch operation. This will be returned by the google.longrunning.Operation.metadata field.", "id": "GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchMetadata", @@ -18606,6 +18569,11 @@ "$ref": "GoogleCloudDiscoveryengineV1SearchRequestNaturalLanguageQueryUnderstandingSpec", "description": "Optional. Config for natural language query understanding capabilities, such as extracting structured field filters from the query. Refer to [this documentation](https://cloud.google.com/generative-ai-app-builder/docs/natural-language-queries) for more information. If `naturalLanguageQueryUnderstandingSpec` is not specified, no additional natural language query understanding will be done." }, +"numResultsPerDataStore": { +"description": "Optional. The maximum number of results to retrieve from each data store. If not specified, it will use the SearchRequest.DataStoreSpec.num_results if provided, otherwise there is no limit.", +"format": "int32", +"type": "integer" +}, "offset": { "description": "A 0-indexed integer that specifies the current offset (that is, starting result location, amongst the Documents deemed by the API as relevant) in search results. This field is only considered if page_token is unset. If this field is negative, an `INVALID_ARGUMENT` is returned. A large offset may be capped to a reasonable threshold.", "format": "int32", @@ -19060,6 +19028,11 @@ false "filter": { "description": "Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see [Filtering](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)", "type": "string" +}, +"numResults": { +"description": "Optional. The maximum number of results to retrieve from this data store. If not specified, it will use the SearchRequest.num_results_per_data_store if provided, otherwise there is no limit. If both this field and SearchRequest.num_results_per_data_store are specified, this field will be used.", +"format": "int32", +"type": "integer" } }, "type": "object" @@ -20225,7 +20198,7 @@ false "type": "string" }, "collectionId": { -"description": "Required. The ID to use for the Collection, which will become the final component of the Collection's resource name. A new Collection is created as part of the DataConnector setup. DataConnector is a singleton resource under Collection, managing all DataStores of the Collection. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.", +"description": "Required. The ID to use for the Collection, which will become the final component of the Collection's resource name. A new Collection is created as part of the DataConnector setup. DataConnector is a singleton resource under Collection, managing all DataStores of the Collection. Should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.", "type": "string" }, "dataConnector": { @@ -22410,14 +22383,6 @@ false "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo", "description": "Chunk information." }, -"queries": { -"description": "Output only. The search queries that produced this reference.", -"items": { -"type": "string" -}, -"readOnly": true, -"type": "array" -}, "structuredDocumentInfo": { "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo", "description": "Structured document information." @@ -24179,6 +24144,14 @@ false }, "type": "array" }, +"dynamicTools": { +"description": "Output only. The dynamic tools fetched for this connector.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1alphaDynamicTool" +}, +"readOnly": true, +"type": "array" +}, "egressFqdns": { "description": "Output only. The list of FQDNs of the data connector can egress to. This includes both FQDN derived from the customer provided instance URL and default per connector type FQDNs. Note: This field is derived from both the DataConnector.params, and connector source spec. It should only be used for CAIS and Org Policy evaluation purposes.", "items": { @@ -25319,6 +25292,29 @@ false }, "type": "object" }, +"GoogleCloudDiscoveryengineV1alphaDynamicTool": { +"description": "Configuration for dynamic tools.", +"id": "GoogleCloudDiscoveryengineV1alphaDynamicTool", +"properties": { +"description": { +"description": "Optional. The description of the tool.", +"type": "string" +}, +"displayName": { +"description": "Optional. The display name of the tool.", +"type": "string" +}, +"enabled": { +"description": "Optional. Whether the tool is enabled.", +"type": "boolean" +}, +"name": { +"description": "Required. The name of the tool.", +"type": "string" +} +}, +"type": "object" +}, "GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchMetadata": { "description": "Metadata related to the progress of the SiteSearchEngineService.EnableAdvancedSiteSearch operation. This will be returned by the google.longrunning.Operation.metadata field.", "id": "GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchMetadata", diff --git a/googleapiclient/discovery_cache/documents/discoveryengine.v1alpha.json b/googleapiclient/discovery_cache/documents/discoveryengine.v1alpha.json index d0902ffb67..6fbe23e5cf 100644 --- a/googleapiclient/discovery_cache/documents/discoveryengine.v1alpha.json +++ b/googleapiclient/discovery_cache/documents/discoveryengine.v1alpha.json @@ -757,7 +757,7 @@ "type": "string" }, "collectionId": { -"description": "Required. The ID to use for the Collection, which will become the final component of the Collection's resource name. A new Collection is created as part of the DataConnector setup. DataConnector is a singleton resource under Collection, managing all DataStores of the Collection. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.", +"description": "Required. The ID to use for the Collection, which will become the final component of the Collection's resource name. A new Collection is created as part of the DataConnector setup. DataConnector is a singleton resource under Collection, managing all DataStores of the Collection. Should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.", "location": "query", "type": "string" }, @@ -1189,7 +1189,7 @@ ], "parameters": { "name": { -"description": "Required. Full resource name of DataConnector, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataConnector`. If the caller does not have permission to access the DataConnector, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested DataConnector does not exist, a NOT_FOUND error is returned.", +"description": "Required. Full resource name of DataConnector, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataConnector`. If the caller does not have permission to access the DataConnector, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the requested DataConnector does not exist, a `NOT_FOUND` error is returned.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataConnector$", "required": true, @@ -1300,7 +1300,7 @@ "type": "string" }, "updateMask": { -"description": "Indicates which fields in the provided DataConnector to update. Supported field paths include: - `refresh_interval` - `params` - `auto_run_disabled` - `action_config` - `action_config.action_params` - `action_config.service_name` - `destination_configs` - `blocking_reasons` - `sync_mode` - `incremental_sync_disabled` - `incremental_refresh_interval` - `data_protection_policy` Note: Support for these fields may vary depending on the connector type. For example, not all connectors support `destination_configs`. If an unsupported or unknown field path is provided, the request will return an INVALID_ARGUMENT error.", +"description": "Indicates which fields in the provided DataConnector to update. Supported field paths include: - `refresh_interval` - `params` - `auto_run_disabled` - `action_config` - `action_config.action_params` - `action_config.service_name` - `destination_configs` - `blocking_reasons` - `sync_mode` - `incremental_sync_disabled` - `incremental_refresh_interval` - `data_protection_policy` Note: Support for these fields may vary depending on the connector type. For example, not all connectors support `destination_configs`. If an unsupported or unknown field path is provided, the request will return an `INVALID_ARGUMENT` error.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -1452,7 +1452,7 @@ ], "parameters": { "pageSize": { -"description": "Requested page size. Server may return fewer items than requested. If unspecified, defaults to 10. The maximum value is 50; values above 50 will be coerced to 50. If this field is negative, an INVALID_ARGUMENT error is returned.", +"description": "Requested page size. Server may return fewer items than requested. If unspecified, defaults to 10. The maximum value is 50; values above 50 will be coerced to 50. If this field is negative, an `INVALID_ARGUMENT` error is returned.", "format": "int32", "location": "query", "type": "integer" @@ -1463,7 +1463,7 @@ "type": "string" }, "parent": { -"description": "Required. The parent DataConnector resource name, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataConnector`. If the caller does not have permission to list ConnectorRuns under this DataConnector, regardless of whether or not this DataConnector exists, a PERMISSION_DENIED error is returned.", +"description": "Required. The parent DataConnector resource name, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataConnector`. If the caller does not have permission to list ConnectorRuns under this DataConnector, regardless of whether or not this DataConnector exists, a `PERMISSION_DENIED` error is returned.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataConnector$", "required": true, @@ -5682,6 +5682,11 @@ "parent" ], "parameters": { +"filter": { +"description": "Optional. Filters the Agents list. Supported fields: * `display_name`: display name of the agent. Supports `=`, `:`. * `id`: ID of the agent. Supports `=`. * `state`: state of the agent. Supports `=`. * `type`: type of the agent. Supports `=` (e.g., \"GOOGLE_MADE\", \"OUR_AGENTS\"). * `create_time`: timestamp when the agent was created. Supports `=`, `>`, `<`, `>=`, `<=`. * `update_time`: timestamp when the agent was last updated. Supports `=`, `>`, `<`, `>=`, `<=`. * `has_active_iam_proposals`: whether the agent has pending proposals. Supports `=`. Examples: * `display_name = \"My Agent\"` * `type = \"GOOGLE_MADE\"` * `create_time > \"2023-01-01T00:00:00Z\"` * `has_active_iam_proposals = true`", +"location": "query", +"type": "string" +}, "orderBy": { "description": "Optional. A comma-separated list of fields to order by, sorted in ascending order. Use \"desc\" after a field name for descending. Supported fields: * `update_time` * `is_pinned` Example: * \"update_time desc\" * \"is_pinned desc,update_time desc\": list agents by is_pinned first, then by update_time.", "location": "query", @@ -11890,66 +11895,6 @@ "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, -"create": { -"description": "Creates a new User Store.", -"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/userStores", -"httpMethod": "POST", -"id": "discoveryengine.projects.locations.userStores.create", -"parameterOrder": [ -"parent" -], -"parameters": { -"parent": { -"description": "Required. The parent collection resource name, such as `projects/{project}/locations/{location}`.", -"location": "path", -"pattern": "^projects/[^/]+/locations/[^/]+$", -"required": true, -"type": "string" -}, -"userStoreId": { -"description": "Required. The ID of the User Store to create. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 63 characters.", -"location": "query", -"type": "string" -} -}, -"path": "v1alpha/{+parent}/userStores", -"request": { -"$ref": "GoogleCloudDiscoveryengineV1alphaUserStore" -}, -"response": { -"$ref": "GoogleCloudDiscoveryengineV1alphaUserStore" -}, -"scopes": [ -"https://www.googleapis.com/auth/cloud-platform", -"https://www.googleapis.com/auth/discoveryengine.readwrite" -] -}, -"delete": { -"description": "Deletes the User Store.", -"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/userStores/{userStoresId}", -"httpMethod": "DELETE", -"id": "discoveryengine.projects.locations.userStores.delete", -"parameterOrder": [ -"name" -], -"parameters": { -"name": { -"description": "Required. The name of the User Store to delete. Format: `projects/{project}/locations/{location}/userStores/{user_store_id}`", -"location": "path", -"pattern": "^projects/[^/]+/locations/[^/]+/userStores/[^/]+$", -"required": true, -"type": "string" -} -}, -"path": "v1alpha/{+name}", -"response": { -"$ref": "GoogleLongrunningOperation" -}, -"scopes": [ -"https://www.googleapis.com/auth/cloud-platform", -"https://www.googleapis.com/auth/discoveryengine.readwrite" -] -}, "get": { "description": "Gets the User Store.", "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/userStores/{userStoresId}", @@ -12250,7 +12195,7 @@ } } }, -"revision": "20260310", +"revision": "20260317", "rootUrl": "https://discoveryengine.googleapis.com/", "schemas": { "GoogleApiDistribution": { @@ -13810,6 +13755,14 @@ }, "type": "array" }, +"dynamicTools": { +"description": "Output only. The dynamic tools fetched for this connector.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1DynamicTool" +}, +"readOnly": true, +"type": "array" +}, "egressFqdns": { "description": "Output only. The list of FQDNs of the data connector can egress to. This includes both FQDN derived from the customer provided instance URL and default per connector type FQDNs. Note: This field is derived from both the DataConnector.params, and connector source spec. It should only be used for CAIS and Org Policy evaluation purposes.", "items": { @@ -14840,6 +14793,29 @@ }, "type": "object" }, +"GoogleCloudDiscoveryengineV1DynamicTool": { +"description": "Configuration for dynamic tools.", +"id": "GoogleCloudDiscoveryengineV1DynamicTool", +"properties": { +"description": { +"description": "Optional. The description of the tool.", +"type": "string" +}, +"displayName": { +"description": "Optional. The display name of the tool.", +"type": "string" +}, +"enabled": { +"description": "Optional. Whether the tool is enabled.", +"type": "boolean" +}, +"name": { +"description": "Required. The name of the tool.", +"type": "string" +} +}, +"type": "object" +}, "GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchMetadata": { "description": "Metadata related to the progress of the SiteSearchEngineService.EnableAdvancedSiteSearch operation. This will be returned by the google.longrunning.Operation.metadata field.", "id": "GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchMetadata", @@ -17516,6 +17492,10 @@ "description": "Identifier. Resource name of the agent. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/agents/{agent}`", "type": "string" }, +"observabilityConfig": { +"$ref": "GoogleCloudDiscoveryengineV1alphaObservabilityConfig", +"description": "Optional. Observability config for the agent." +}, "rejectionReason": { "description": "Output only. The reason why the agent was rejected. Only set if the state is PRIVATE, and got there via rejection.", "readOnly": true, @@ -18796,14 +18776,6 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo", "description": "Chunk information." }, -"queries": { -"description": "Output only. The search queries that produced this reference.", -"items": { -"type": "string" -}, -"readOnly": true, -"type": "array" -}, "structuredDocumentInfo": { "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo", "description": "Structured document information." @@ -22231,6 +22203,14 @@ }, "type": "array" }, +"dynamicTools": { +"description": "Output only. The dynamic tools fetched for this connector.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1alphaDynamicTool" +}, +"readOnly": true, +"type": "array" +}, "egressFqdns": { "description": "Output only. The list of FQDNs of the data connector can egress to. This includes both FQDN derived from the customer provided instance URL and default per connector type FQDNs. Note: This field is derived from both the DataConnector.params, and connector source spec. It should only be used for CAIS and Org Policy evaluation purposes.", "items": { @@ -23618,6 +23598,29 @@ }, "type": "object" }, +"GoogleCloudDiscoveryengineV1alphaDynamicTool": { +"description": "Configuration for dynamic tools.", +"id": "GoogleCloudDiscoveryengineV1alphaDynamicTool", +"properties": { +"description": { +"description": "Optional. The description of the tool.", +"type": "string" +}, +"displayName": { +"description": "Optional. The display name of the tool.", +"type": "string" +}, +"enabled": { +"description": "Optional. Whether the tool is enabled.", +"type": "boolean" +}, +"name": { +"description": "Required. The name of the tool.", +"type": "string" +} +}, +"type": "object" +}, "GoogleCloudDiscoveryengineV1alphaEmbeddingConfig": { "description": "Defines embedding config, used for bring your own embeddings feature.", "id": "GoogleCloudDiscoveryengineV1alphaEmbeddingConfig", @@ -30706,7 +30709,7 @@ false "type": "string" }, "collectionId": { -"description": "Required. The ID to use for the Collection, which will become the final component of the Collection's resource name. A new Collection is created as part of the DataConnector setup. DataConnector is a singleton resource under Collection, managing all DataStores of the Collection. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.", +"description": "Required. The ID to use for the Collection, which will become the final component of the Collection's resource name. A new Collection is created as part of the DataConnector setup. DataConnector is a singleton resource under Collection, managing all DataStores of the Collection. Should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.", "type": "string" }, "dataConnector": { diff --git a/googleapiclient/discovery_cache/documents/discoveryengine.v1beta.json b/googleapiclient/discovery_cache/documents/discoveryengine.v1beta.json index 057b8c2177..804dc1182f 100644 --- a/googleapiclient/discovery_cache/documents/discoveryengine.v1beta.json +++ b/googleapiclient/discovery_cache/documents/discoveryengine.v1beta.json @@ -8884,66 +8884,6 @@ "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, -"create": { -"description": "Creates a new User Store.", -"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/userStores", -"httpMethod": "POST", -"id": "discoveryengine.projects.locations.userStores.create", -"parameterOrder": [ -"parent" -], -"parameters": { -"parent": { -"description": "Required. The parent collection resource name, such as `projects/{project}/locations/{location}`.", -"location": "path", -"pattern": "^projects/[^/]+/locations/[^/]+$", -"required": true, -"type": "string" -}, -"userStoreId": { -"description": "Required. The ID of the User Store to create. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 63 characters.", -"location": "query", -"type": "string" -} -}, -"path": "v1beta/{+parent}/userStores", -"request": { -"$ref": "GoogleCloudDiscoveryengineV1betaUserStore" -}, -"response": { -"$ref": "GoogleCloudDiscoveryengineV1betaUserStore" -}, -"scopes": [ -"https://www.googleapis.com/auth/cloud-platform", -"https://www.googleapis.com/auth/discoveryengine.readwrite" -] -}, -"delete": { -"description": "Deletes the User Store.", -"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/userStores/{userStoresId}", -"httpMethod": "DELETE", -"id": "discoveryengine.projects.locations.userStores.delete", -"parameterOrder": [ -"name" -], -"parameters": { -"name": { -"description": "Required. The name of the User Store to delete. Format: `projects/{project}/locations/{location}/userStores/{user_store_id}`", -"location": "path", -"pattern": "^projects/[^/]+/locations/[^/]+/userStores/[^/]+$", -"required": true, -"type": "string" -} -}, -"path": "v1beta/{+name}", -"response": { -"$ref": "GoogleLongrunningOperation" -}, -"scopes": [ -"https://www.googleapis.com/auth/cloud-platform", -"https://www.googleapis.com/auth/discoveryengine.readwrite" -] -}, "get": { "description": "Gets the User Store.", "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/userStores/{userStoresId}", @@ -9167,7 +9107,7 @@ } } }, -"revision": "20260310", +"revision": "20260317", "rootUrl": "https://discoveryengine.googleapis.com/", "schemas": { "GoogleApiDistribution": { @@ -10727,6 +10667,14 @@ }, "type": "array" }, +"dynamicTools": { +"description": "Output only. The dynamic tools fetched for this connector.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1DynamicTool" +}, +"readOnly": true, +"type": "array" +}, "egressFqdns": { "description": "Output only. The list of FQDNs of the data connector can egress to. This includes both FQDN derived from the customer provided instance URL and default per connector type FQDNs. Note: This field is derived from both the DataConnector.params, and connector source spec. It should only be used for CAIS and Org Policy evaluation purposes.", "items": { @@ -11757,6 +11705,29 @@ }, "type": "object" }, +"GoogleCloudDiscoveryengineV1DynamicTool": { +"description": "Configuration for dynamic tools.", +"id": "GoogleCloudDiscoveryengineV1DynamicTool", +"properties": { +"description": { +"description": "Optional. The description of the tool.", +"type": "string" +}, +"displayName": { +"description": "Optional. The display name of the tool.", +"type": "string" +}, +"enabled": { +"description": "Optional. Whether the tool is enabled.", +"type": "boolean" +}, +"name": { +"description": "Required. The name of the tool.", +"type": "string" +} +}, +"type": "object" +}, "GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchMetadata": { "description": "Metadata related to the progress of the SiteSearchEngineService.EnableAdvancedSiteSearch operation. This will be returned by the google.longrunning.Operation.metadata field.", "id": "GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchMetadata", @@ -14422,14 +14393,6 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo", "description": "Chunk information." }, -"queries": { -"description": "Output only. The search queries that produced this reference.", -"items": { -"type": "string" -}, -"readOnly": true, -"type": "array" -}, "structuredDocumentInfo": { "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo", "description": "Structured document information." @@ -16191,6 +16154,14 @@ }, "type": "array" }, +"dynamicTools": { +"description": "Output only. The dynamic tools fetched for this connector.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1alphaDynamicTool" +}, +"readOnly": true, +"type": "array" +}, "egressFqdns": { "description": "Output only. The list of FQDNs of the data connector can egress to. This includes both FQDN derived from the customer provided instance URL and default per connector type FQDNs. Note: This field is derived from both the DataConnector.params, and connector source spec. It should only be used for CAIS and Org Policy evaluation purposes.", "items": { @@ -17331,6 +17302,29 @@ }, "type": "object" }, +"GoogleCloudDiscoveryengineV1alphaDynamicTool": { +"description": "Configuration for dynamic tools.", +"id": "GoogleCloudDiscoveryengineV1alphaDynamicTool", +"properties": { +"description": { +"description": "Optional. The description of the tool.", +"type": "string" +}, +"displayName": { +"description": "Optional. The display name of the tool.", +"type": "string" +}, +"enabled": { +"description": "Optional. Whether the tool is enabled.", +"type": "boolean" +}, +"name": { +"description": "Required. The name of the tool.", +"type": "string" +} +}, +"type": "object" +}, "GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchMetadata": { "description": "Metadata related to the progress of the SiteSearchEngineService.EnableAdvancedSiteSearch operation. This will be returned by the google.longrunning.Operation.metadata field.", "id": "GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchMetadata", @@ -22846,14 +22840,6 @@ false "$ref": "GoogleCloudDiscoveryengineV1betaAnswerReferenceChunkInfo", "description": "Chunk information." }, -"queries": { -"description": "Output only. The search queries that produced this reference.", -"items": { -"type": "string" -}, -"readOnly": true, -"type": "array" -}, "structuredDocumentInfo": { "$ref": "GoogleCloudDiscoveryengineV1betaAnswerReferenceStructuredDocumentInfo", "description": "Structured document information." diff --git a/googleapiclient/discovery_cache/documents/documentai.v1.json b/googleapiclient/discovery_cache/documents/documentai.v1.json index 3e6347195b..f39f9af4be 100644 --- a/googleapiclient/discovery_cache/documents/documentai.v1.json +++ b/googleapiclient/discovery_cache/documents/documentai.v1.json @@ -50,6 +50,11 @@ "description": "Regional Endpoint", "endpointUrl": "https://documentai.europe-west2.rep.googleapis.com/", "location": "europe-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://documentai.europe-west3.rep.googleapis.com/", +"location": "europe-west3" } ], "fullyEncodeReservedExpansion": true, @@ -1431,7 +1436,7 @@ } } }, -"revision": "20260224", +"revision": "20260316", "rootUrl": "https://documentai.googleapis.com/", "schemas": { "CloudAiDocumentaiLabHifiaToolsValidationValidatorInput": { @@ -7033,6 +7038,10 @@ true "format": "float", "type": "number" }, +"previousFineTunedProcessorVersionName": { +"description": "Optional. Resource name of a previously fine tuned version id to copy the overwritten configs from. The base_processor_version should be newer than the base processor version used to fine tune this provided processor version. Format: `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`.", +"type": "string" +}, "trainSteps": { "description": "Optional. The number of steps to run for model tuning. Valid values are between 1 and 400. If not provided, recommended steps will be used.", "format": "int32", diff --git a/googleapiclient/discovery_cache/documents/documentai.v1beta3.json b/googleapiclient/discovery_cache/documents/documentai.v1beta3.json index e66f3b089e..9c1ba42b43 100644 --- a/googleapiclient/discovery_cache/documents/documentai.v1beta3.json +++ b/googleapiclient/discovery_cache/documents/documentai.v1beta3.json @@ -50,6 +50,11 @@ "description": "Regional Endpoint", "endpointUrl": "https://documentai.europe-west2.rep.googleapis.com/", "location": "europe-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://documentai.europe-west3.rep.googleapis.com/", +"location": "europe-west3" } ], "fullyEncodeReservedExpansion": true, @@ -1673,7 +1678,7 @@ } } }, -"revision": "20260224", +"revision": "20260316", "rootUrl": "https://documentai.googleapis.com/", "schemas": { "CloudAiDocumentaiLabHifiaToolsValidationValidatorInput": { @@ -8575,6 +8580,10 @@ true "format": "float", "type": "number" }, +"previousFineTunedProcessorVersionName": { +"description": "Optional. Resource name of a previously fine tuned version id to copy the overwritten configs from. The base_processor_version should be newer than the base processor version used to fine tune this provided processor version. Format: `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`.", +"type": "string" +}, "trainSteps": { "description": "Optional. The number of steps to run for model tuning. Valid values are between 1 and 400. If not provided, recommended steps will be used.", "format": "int32", diff --git a/googleapiclient/discovery_cache/documents/drive.v2.json b/googleapiclient/discovery_cache/documents/drive.v2.json index 5b44fa1657..e628812dfc 100644 --- a/googleapiclient/discovery_cache/documents/drive.v2.json +++ b/googleapiclient/discovery_cache/documents/drive.v2.json @@ -3897,7 +3897,7 @@ } } }, -"revision": "20260305", +"revision": "20260318", "rootUrl": "https://www.googleapis.com/", "schemas": { "About": { @@ -3947,7 +3947,8 @@ "type": "boolean" }, "domainSharingPolicy": { -"description": "The domain sharing policy for the current user. Possible values are: * `allowed` * `allowedWithWarning` * `incomingOnly` * `disallowed`", +"deprecated": true, +"description": "Deprecated: Does not granularly represent allowlisted domains or Trust Rules. The domain sharing policy for the current user. Possible values are: * `allowed` * `allowedWithWarning` * `incomingOnly` * `disallowed` Note that if the user is enrolled in Trust Rules, `disallowed` will always be returned. If sharing is restricted to allowlisted domains, either `incomingOnly` or `allowedWithWarning` will be returned, depending on whether receiving files from outside the allowlisted domains is permitted.", "type": "string" }, "driveThemes": { diff --git a/googleapiclient/discovery_cache/documents/firebaseml.v2beta.json b/googleapiclient/discovery_cache/documents/firebaseml.v2beta.json index 0c66eb0cb1..45b834f117 100644 --- a/googleapiclient/discovery_cache/documents/firebaseml.v2beta.json +++ b/googleapiclient/discovery_cache/documents/firebaseml.v2beta.json @@ -206,7 +206,7 @@ } } }, -"revision": "20260303", +"revision": "20260315", "rootUrl": "https://firebaseml.googleapis.com/", "schemas": { "Date": { @@ -1354,7 +1354,7 @@ "type": "boolean" }, "responseMimeType": { -"description": "Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature.", +"description": "Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined.", "type": "string" }, "responseModalities": { diff --git a/googleapiclient/discovery_cache/documents/gkehub.v1.json b/googleapiclient/discovery_cache/documents/gkehub.v1.json index eb63d4d734..92ea4627c5 100644 --- a/googleapiclient/discovery_cache/documents/gkehub.v1.json +++ b/googleapiclient/discovery_cache/documents/gkehub.v1.json @@ -15,6 +15,18 @@ "description": "", "discoveryVersion": "v1", "documentationLink": "https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://gkehub.asia-south1.rep.googleapis.com/", +"location": "asia-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://gkehub.asia-south2.rep.googleapis.com/", +"location": "asia-south2" +} +], "fullyEncodeReservedExpansion": true, "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", @@ -2122,7 +2134,7 @@ } } }, -"revision": "20260226", +"revision": "20260313", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AppDevExperienceFeatureSpec": { diff --git a/googleapiclient/discovery_cache/documents/gkehub.v1alpha.json b/googleapiclient/discovery_cache/documents/gkehub.v1alpha.json index d4f73683cd..1c08265806 100644 --- a/googleapiclient/discovery_cache/documents/gkehub.v1alpha.json +++ b/googleapiclient/discovery_cache/documents/gkehub.v1alpha.json @@ -15,6 +15,18 @@ "description": "", "discoveryVersion": "v1", "documentationLink": "https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://gkehub.asia-south1.rep.googleapis.com/", +"location": "asia-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://gkehub.asia-south2.rep.googleapis.com/", +"location": "asia-south2" +} +], "fullyEncodeReservedExpansion": true, "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", @@ -2498,7 +2510,7 @@ } } }, -"revision": "20260226", +"revision": "20260313", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AppDevExperienceFeatureSpec": { @@ -6954,7 +6966,7 @@ "type": "object" }, "Rollout": { -"description": "Rollout contains the Rollout metadata and configuration.", +"description": "Rollout contains the Rollout metadata and configuration. Next ID: 28", "id": "Rollout", "properties": { "completeTime": { @@ -7039,6 +7051,23 @@ "readOnly": true, "type": "string" }, +"stateReasonType": { +"description": "Output only. StateReasonType specifies the reason type of the Rollout state.", +"enum": [ +"STATE_REASON_TYPE_UNSPECIFIED", +"PAUSED_BY_USER", +"PAUSED_BY_SYSTEM_CONFIG", +"PAUSED_WAITING_FOR_NEXT_STAGE" +], +"enumDescriptions": [ +"Unspecified state reason.", +"Paused by the user.", +"Paused by the RSv2 Orchestrator due to system config(ex. GKE freeze).", +"Paused waiting for the next stage to start." +], +"readOnly": true, +"type": "string" +}, "uid": { "description": "Output only. Google-generated UUID for this resource. This is unique across all Rollout resources. If a Rollout resource is deleted and another resource with the same name is created, it gets a different uid.", "readOnly": true, @@ -7150,6 +7179,12 @@ "description": "State and reasons of the Rollout Sequence.", "id": "RolloutSequenceState", "properties": { +"lastStateChangeTime": { +"description": "Output only. The timestamp at which the LifecycleState was last changed. Used to track how long it has been in the current state.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, "lifecycleState": { "description": "Output only. Lifecycle state of the Rollout Sequence.", "enum": [ @@ -7199,45 +7234,47 @@ "id": "RolloutStage", "properties": { "endTime": { -"description": "Optional. Output only. The time at which the wave ended.", +"description": "Optional. Output only. The time at which the stage ended.", "format": "google-datetime", "readOnly": true, "type": "string" }, "soakDuration": { -"description": "Optional. Duration to soak after this wave before starting the next wave.", +"description": "Optional. Duration to soak after this stage before starting the next stage.", "format": "google-duration", "type": "string" }, "stageNumber": { -"description": "Output only. The wave number to which this status applies.", +"description": "Output only. The stage number to which this status applies.", "format": "int32", "readOnly": true, "type": "integer" }, "startTime": { -"description": "Optional. Output only. The time at which the wave started.", +"description": "Optional. Output only. The time at which the stage started.", "format": "google-datetime", "readOnly": true, "type": "string" }, "state": { -"description": "Output only. The state of the wave.", +"description": "Output only. The state of the stage.", "enum": [ "STATE_UNSPECIFIED", "PENDING", "RUNNING", "SOAKING", "COMPLETED", -"FORCED_SOAKING" +"FORCED_SOAKING", +"PAUSED" ], "enumDescriptions": [ "Default value.", -"The wave is pending.", -"The wave is running.", -"The wave is soaking.", -"The wave is completed.", -"The wave is force soaking." +"The stage is pending.", +"The stage is running.", +"The stage is soaking.", +"The stage is completed.", +"The stage is force soaking.", +"The stage is paused." ], "readOnly": true, "type": "string" diff --git a/googleapiclient/discovery_cache/documents/gkehub.v1beta.json b/googleapiclient/discovery_cache/documents/gkehub.v1beta.json index ab349429f4..dd8bc230db 100644 --- a/googleapiclient/discovery_cache/documents/gkehub.v1beta.json +++ b/googleapiclient/discovery_cache/documents/gkehub.v1beta.json @@ -15,6 +15,18 @@ "description": "", "discoveryVersion": "v1", "documentationLink": "https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://gkehub.asia-south1.rep.googleapis.com/", +"location": "asia-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://gkehub.asia-south2.rep.googleapis.com/", +"location": "asia-south2" +} +], "fullyEncodeReservedExpansion": true, "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", @@ -2354,7 +2366,7 @@ } } }, -"revision": "20260226", +"revision": "20260313", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AppDevExperienceFeatureSpec": { @@ -6563,7 +6575,7 @@ "type": "object" }, "Rollout": { -"description": "Rollout contains the Rollout metadata and configuration.", +"description": "Rollout contains the Rollout metadata and configuration. Next ID: 28", "id": "Rollout", "properties": { "completeTime": { @@ -6648,6 +6660,23 @@ "readOnly": true, "type": "string" }, +"stateReasonType": { +"description": "Output only. StateReasonType specifies the reason type of the Rollout state.", +"enum": [ +"STATE_REASON_TYPE_UNSPECIFIED", +"PAUSED_BY_USER", +"PAUSED_BY_SYSTEM_CONFIG", +"PAUSED_WAITING_FOR_NEXT_STAGE" +], +"enumDescriptions": [ +"Unspecified state reason.", +"Paused by the user.", +"Paused by the RSv2 Orchestrator due to system config(ex. GKE freeze).", +"Paused waiting for the next stage to start." +], +"readOnly": true, +"type": "string" +}, "uid": { "description": "Output only. Google-generated UUID for this resource. This is unique across all Rollout resources. If a Rollout resource is deleted and another resource with the same name is created, it gets a different uid.", "readOnly": true, @@ -6759,6 +6788,12 @@ "description": "State and reasons of the Rollout Sequence.", "id": "RolloutSequenceState", "properties": { +"lastStateChangeTime": { +"description": "Output only. The timestamp at which the LifecycleState was last changed. Used to track how long it has been in the current state.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, "lifecycleState": { "description": "Output only. Lifecycle state of the Rollout Sequence.", "enum": [ @@ -6808,45 +6843,47 @@ "id": "RolloutStage", "properties": { "endTime": { -"description": "Optional. Output only. The time at which the wave ended.", +"description": "Optional. Output only. The time at which the stage ended.", "format": "google-datetime", "readOnly": true, "type": "string" }, "soakDuration": { -"description": "Optional. Duration to soak after this wave before starting the next wave.", +"description": "Optional. Duration to soak after this stage before starting the next stage.", "format": "google-duration", "type": "string" }, "stageNumber": { -"description": "Output only. The wave number to which this status applies.", +"description": "Output only. The stage number to which this status applies.", "format": "int32", "readOnly": true, "type": "integer" }, "startTime": { -"description": "Optional. Output only. The time at which the wave started.", +"description": "Optional. Output only. The time at which the stage started.", "format": "google-datetime", "readOnly": true, "type": "string" }, "state": { -"description": "Output only. The state of the wave.", +"description": "Output only. The state of the stage.", "enum": [ "STATE_UNSPECIFIED", "PENDING", "RUNNING", "SOAKING", "COMPLETED", -"FORCED_SOAKING" +"FORCED_SOAKING", +"PAUSED" ], "enumDescriptions": [ "Default value.", -"The wave is pending.", -"The wave is running.", -"The wave is soaking.", -"The wave is completed.", -"The wave is force soaking." +"The stage is pending.", +"The stage is running.", +"The stage is soaking.", +"The stage is completed.", +"The stage is force soaking.", +"The stage is paused." ], "readOnly": true, "type": "string" diff --git a/googleapiclient/discovery_cache/documents/gkehub.v1beta1.json b/googleapiclient/discovery_cache/documents/gkehub.v1beta1.json index f066ddcb3e..b30f34cdd9 100644 --- a/googleapiclient/discovery_cache/documents/gkehub.v1beta1.json +++ b/googleapiclient/discovery_cache/documents/gkehub.v1beta1.json @@ -15,6 +15,18 @@ "description": "", "discoveryVersion": "v1", "documentationLink": "https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://gkehub.asia-south1.rep.googleapis.com/", +"location": "asia-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://gkehub.asia-south2.rep.googleapis.com/", +"location": "asia-south2" +} +], "fullyEncodeReservedExpansion": true, "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", @@ -723,7 +735,7 @@ } } }, -"revision": "20260226", +"revision": "20260313", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "ApplianceCluster": { diff --git a/googleapiclient/discovery_cache/documents/gkehub.v2.json b/googleapiclient/discovery_cache/documents/gkehub.v2.json index c8c8464c05..ce43fb7d89 100644 --- a/googleapiclient/discovery_cache/documents/gkehub.v2.json +++ b/googleapiclient/discovery_cache/documents/gkehub.v2.json @@ -15,6 +15,18 @@ "description": "", "discoveryVersion": "v1", "documentationLink": "https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://gkehub.asia-south1.rep.googleapis.com/", +"location": "asia-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://gkehub.asia-south2.rep.googleapis.com/", +"location": "asia-south2" +} +], "fullyEncodeReservedExpansion": true, "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", @@ -482,7 +494,7 @@ } } }, -"revision": "20260226", +"revision": "20260313", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AppDevExperienceState": { diff --git a/googleapiclient/discovery_cache/documents/gkehub.v2alpha.json b/googleapiclient/discovery_cache/documents/gkehub.v2alpha.json index 99471a47db..11b1ee9a7a 100644 --- a/googleapiclient/discovery_cache/documents/gkehub.v2alpha.json +++ b/googleapiclient/discovery_cache/documents/gkehub.v2alpha.json @@ -15,6 +15,18 @@ "description": "", "discoveryVersion": "v1", "documentationLink": "https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://gkehub.asia-south1.rep.googleapis.com/", +"location": "asia-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://gkehub.asia-south2.rep.googleapis.com/", +"location": "asia-south2" +} +], "fullyEncodeReservedExpansion": true, "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", @@ -482,7 +494,7 @@ } } }, -"revision": "20260226", +"revision": "20260313", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AppDevExperienceState": { diff --git a/googleapiclient/discovery_cache/documents/gkehub.v2beta.json b/googleapiclient/discovery_cache/documents/gkehub.v2beta.json index a6e271ae7d..3638e45b20 100644 --- a/googleapiclient/discovery_cache/documents/gkehub.v2beta.json +++ b/googleapiclient/discovery_cache/documents/gkehub.v2beta.json @@ -15,6 +15,18 @@ "description": "", "discoveryVersion": "v1", "documentationLink": "https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://gkehub.asia-south1.rep.googleapis.com/", +"location": "asia-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://gkehub.asia-south2.rep.googleapis.com/", +"location": "asia-south2" +} +], "fullyEncodeReservedExpansion": true, "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", @@ -482,7 +494,7 @@ } } }, -"revision": "20260226", +"revision": "20260313", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AppDevExperienceState": { diff --git a/googleapiclient/discovery_cache/documents/hypercomputecluster.v1.json b/googleapiclient/discovery_cache/documents/hypercomputecluster.v1.json index b586394dcb..975a1a05b5 100644 --- a/googleapiclient/discovery_cache/documents/hypercomputecluster.v1.json +++ b/googleapiclient/discovery_cache/documents/hypercomputecluster.v1.json @@ -498,7 +498,7 @@ } } }, -"revision": "20260204", +"revision": "20260311", "rootUrl": "https://hypercomputecluster.googleapis.com/", "schemas": { "BootDisk": { @@ -559,7 +559,7 @@ "type": "string" }, "description": { -"description": "Optional. User-provided description of the cluster.", +"description": "Optional. User-provided description of the cluster. Maximum of 2048 characters.", "type": "string" }, "labels": { diff --git a/googleapiclient/discovery_cache/documents/iam.v1.json b/googleapiclient/discovery_cache/documents/iam.v1.json index 5b43d82a4c..ce9b6e84f9 100644 --- a/googleapiclient/discovery_cache/documents/iam.v1.json +++ b/googleapiclient/discovery_cache/documents/iam.v1.json @@ -1215,34 +1215,6 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] -}, -"undelete": { -"description": "Gemini Enterprise only. Undeletes a WorkforcePoolProviderScimToken,that was deleted fewer than 30 days ago.", -"flatPath": "v1/locations/{locationsId}/workforcePools/{workforcePoolsId}/providers/{providersId}/scimTenants/{scimTenantsId}/tokens/{tokensId}:undelete", -"httpMethod": "POST", -"id": "iam.locations.workforcePools.providers.scimTenants.tokens.undelete", -"parameterOrder": [ -"name" -], -"parameters": { -"name": { -"description": "Required. Gemini Enterprise only. The name of the SCIM token to undelete. Format: `locations/{location}/workforcePools/{workforce_pool}/providers/{provider}/scimTenants/{scim_tenant}/tokens/{token}`", -"location": "path", -"pattern": "^locations/[^/]+/workforcePools/[^/]+/providers/[^/]+/scimTenants/[^/]+/tokens/[^/]+$", -"required": true, -"type": "string" -} -}, -"path": "v1/{+name}:undelete", -"request": { -"$ref": "UndeleteWorkforcePoolProviderScimTokenRequest" -}, -"response": { -"$ref": "WorkforcePoolProviderScimToken" -}, -"scopes": [ -"https://www.googleapis.com/auth/cloud-platform" -] } } } @@ -4160,7 +4132,7 @@ } } }, -"revision": "20260306", +"revision": "20260313", "rootUrl": "https://iam.googleapis.com/", "schemas": { "AccessRestrictions": { @@ -6188,12 +6160,6 @@ false "properties": {}, "type": "object" }, -"UndeleteWorkforcePoolProviderScimTokenRequest": { -"description": "Gemini Enterprise only. Request message for UndeleteWorkforcePoolProviderScimToken.", -"id": "UndeleteWorkforcePoolProviderScimTokenRequest", -"properties": {}, -"type": "object" -}, "UndeleteWorkforcePoolRequest": { "description": "Request message for UndeleteWorkforcePool.", "id": "UndeleteWorkforcePoolRequest", diff --git a/googleapiclient/discovery_cache/documents/iap.v1.json b/googleapiclient/discovery_cache/documents/iap.v1.json index d70a3dc974..153a3c8849 100644 --- a/googleapiclient/discovery_cache/documents/iap.v1.json +++ b/googleapiclient/discovery_cache/documents/iap.v1.json @@ -682,7 +682,7 @@ } } }, -"revision": "20260209", +"revision": "20260317", "rootUrl": "https://iap.googleapis.com/", "schemas": { "AccessDeniedPageSettings": { @@ -1099,15 +1099,15 @@ "id": "OAuthSettings", "properties": { "clientId": { -"description": "Optional. OAuth 2.0 client ID used in the OAuth flow to generate an access token. If this field is set, you can skip obtaining the OAuth credentials in this step: https://developers.google.com/identity/protocols/OAuth2?hl=en_US#1.-obtain-oauth-2.0-credentials-from-the-google-api-console. However, this could allow for client sharing. The risks of client sharing are outlined here: https://cloud.google.com/iap/docs/sharing-oauth-clients#risks.", +"description": "Optional. OAuth 2.0 client ID used in the OAuth flow. This allows for client sharing. The risks of client sharing are outlined here: https://cloud.google.com/iap/docs/sharing-oauth-clients#risks.", "type": "string" }, "clientSecret": { -"description": "Optional. Input only. OAuth secret paired with client ID", +"description": "Optional. Input only. OAuth secret paired with client ID.", "type": "string" }, "clientSecretSha256": { -"description": "Output only. OAuth secret sha256 paired with client ID", +"description": "Output only. OAuth secret SHA256 paired with client ID.", "readOnly": true, "type": "string" }, diff --git a/googleapiclient/discovery_cache/documents/identitytoolkit.v1.json b/googleapiclient/discovery_cache/documents/identitytoolkit.v1.json index ca4c55ba5b..f65e8b5a5f 100644 --- a/googleapiclient/discovery_cache/documents/identitytoolkit.v1.json +++ b/googleapiclient/discovery_cache/documents/identitytoolkit.v1.json @@ -111,7 +111,7 @@ "accounts": { "methods": { "createAuthUri": { -"description": "If an email identifier is specified, checks and returns if any user account is registered with the email. If there is a registered account, fetches all providers associated with the account's email. If the provider ID of an Identity Provider (IdP) is specified, creates an authorization URI for the IdP. The user can be directed to this URI to sign in with the IdP. An [API key](https://cloud.google.com/docs/authentication/api-keys) is required in the request in order to identify the Google Cloud project.", +"description": "If an email identifier is specified, checks and returns if any user account is registered with the email. If there is a registered account, fetches all providers associated with the account's email. If [email enumeration protection](https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection) is enabled, this method returns an empty list. If the provider ID of an Identity Provider (IdP) is specified, creates an authorization URI for the IdP. The user can be directed to this URI to sign in with the IdP. An [API key](https://cloud.google.com/docs/authentication/api-keys) is required in the request in order to identify the Google Cloud project.", "flatPath": "v1/accounts:createAuthUri", "httpMethod": "POST", "id": "identitytoolkit.accounts.createAuthUri", @@ -1239,7 +1239,7 @@ } } }, -"revision": "20251024", +"revision": "20260311", "rootUrl": "https://identitytoolkit.googleapis.com/", "schemas": { "GoogleCloudIdentitytoolkitV1Argon2Parameters": { @@ -2500,7 +2500,7 @@ true "type": "string" }, "safetyNetToken": { -"description": "Android only. Safety Net has been deprecated. Please use play_integrity_token instead.", +"description": "Android only. Safety Net has been deprecated. Use play_integrity_token instead.", "type": "string" }, "tenantId": { diff --git a/googleapiclient/discovery_cache/documents/language.v1.json b/googleapiclient/discovery_cache/documents/language.v1.json index 6cb6ae69b5..3caa507ef9 100644 --- a/googleapiclient/discovery_cache/documents/language.v1.json +++ b/googleapiclient/discovery_cache/documents/language.v1.json @@ -246,7 +246,7 @@ } } }, -"revision": "20260302", +"revision": "20260315", "rootUrl": "https://language.googleapis.com/", "schemas": { "AnalyzeEntitiesRequest": { @@ -704,6 +704,7 @@ "C4D", "N4", "N4A", +"C3D", "M2", "M1", "N1", @@ -729,6 +730,7 @@ "", "", "", +"", "MEMORY_OPTIMIZED_UPGRADE_PREMIUM", "MEMORY_OPTIMIZED", "", @@ -977,18 +979,24 @@ "C4D_HIGHMEM_96", "C4D_HIGHMEM_192", "C4D_HIGHMEM_384", +"N4_STANDARD_2", +"N4_STANDARD_4", "N4_STANDARD_8", "N4_STANDARD_16", "N4_STANDARD_32", "N4_STANDARD_48", "N4_STANDARD_64", "N4_STANDARD_80", +"N4_HIGHCPU_2", +"N4_HIGHCPU_4", "N4_HIGHCPU_8", "N4_HIGHCPU_16", "N4_HIGHCPU_32", "N4_HIGHCPU_48", "N4_HIGHCPU_64", "N4_HIGHCPU_80", +"N4_HIGHMEM_2", +"N4_HIGHMEM_4", "N4_HIGHMEM_8", "N4_HIGHMEM_16", "N4_HIGHMEM_32", @@ -1009,7 +1017,28 @@ "N4A_HIGHMEM_16", "N4A_HIGHMEM_32", "N4A_HIGHMEM_48", -"N4A_HIGHMEM_64" +"N4A_HIGHMEM_64", +"C3D_STANDARD_8", +"C3D_STANDARD_16", +"C3D_STANDARD_30", +"C3D_STANDARD_60", +"C3D_STANDARD_90", +"C3D_STANDARD_180", +"C3D_STANDARD_360", +"C3D_HIGHCPU_8", +"C3D_HIGHCPU_16", +"C3D_HIGHCPU_30", +"C3D_HIGHCPU_60", +"C3D_HIGHCPU_90", +"C3D_HIGHCPU_180", +"C3D_HIGHCPU_360", +"C3D_HIGHMEM_8", +"C3D_HIGHMEM_16", +"C3D_HIGHMEM_30", +"C3D_HIGHMEM_60", +"C3D_HIGHMEM_90", +"C3D_HIGHMEM_180", +"C3D_HIGHMEM_360" ], "enumDescriptions": [ "", @@ -1280,6 +1309,33 @@ "", "", "", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", "" ], "type": "string" @@ -1926,18 +1982,24 @@ "C4D_HIGHMEM_96", "C4D_HIGHMEM_192", "C4D_HIGHMEM_384", +"N4_STANDARD_2", +"N4_STANDARD_4", "N4_STANDARD_8", "N4_STANDARD_16", "N4_STANDARD_32", "N4_STANDARD_48", "N4_STANDARD_64", "N4_STANDARD_80", +"N4_HIGHCPU_2", +"N4_HIGHCPU_4", "N4_HIGHCPU_8", "N4_HIGHCPU_16", "N4_HIGHCPU_32", "N4_HIGHCPU_48", "N4_HIGHCPU_64", "N4_HIGHCPU_80", +"N4_HIGHMEM_2", +"N4_HIGHMEM_4", "N4_HIGHMEM_8", "N4_HIGHMEM_16", "N4_HIGHMEM_32", @@ -1958,7 +2020,28 @@ "N4A_HIGHMEM_16", "N4A_HIGHMEM_32", "N4A_HIGHMEM_48", -"N4A_HIGHMEM_64" +"N4A_HIGHMEM_64", +"C3D_STANDARD_8", +"C3D_STANDARD_16", +"C3D_STANDARD_30", +"C3D_STANDARD_60", +"C3D_STANDARD_90", +"C3D_STANDARD_180", +"C3D_STANDARD_360", +"C3D_HIGHCPU_8", +"C3D_HIGHCPU_16", +"C3D_HIGHCPU_30", +"C3D_HIGHCPU_60", +"C3D_HIGHCPU_90", +"C3D_HIGHCPU_180", +"C3D_HIGHCPU_360", +"C3D_HIGHMEM_8", +"C3D_HIGHMEM_16", +"C3D_HIGHMEM_30", +"C3D_HIGHMEM_60", +"C3D_HIGHMEM_90", +"C3D_HIGHMEM_180", +"C3D_HIGHMEM_360" ], "enumDescriptions": [ "", @@ -2229,6 +2312,33 @@ "", "", "", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", "" ], "type": "string" @@ -2824,18 +2934,24 @@ "C4D_HIGHMEM_96", "C4D_HIGHMEM_192", "C4D_HIGHMEM_384", +"N4_STANDARD_2", +"N4_STANDARD_4", "N4_STANDARD_8", "N4_STANDARD_16", "N4_STANDARD_32", "N4_STANDARD_48", "N4_STANDARD_64", "N4_STANDARD_80", +"N4_HIGHCPU_2", +"N4_HIGHCPU_4", "N4_HIGHCPU_8", "N4_HIGHCPU_16", "N4_HIGHCPU_32", "N4_HIGHCPU_48", "N4_HIGHCPU_64", "N4_HIGHCPU_80", +"N4_HIGHMEM_2", +"N4_HIGHMEM_4", "N4_HIGHMEM_8", "N4_HIGHMEM_16", "N4_HIGHMEM_32", @@ -2856,7 +2972,28 @@ "N4A_HIGHMEM_16", "N4A_HIGHMEM_32", "N4A_HIGHMEM_48", -"N4A_HIGHMEM_64" +"N4A_HIGHMEM_64", +"C3D_STANDARD_8", +"C3D_STANDARD_16", +"C3D_STANDARD_30", +"C3D_STANDARD_60", +"C3D_STANDARD_90", +"C3D_STANDARD_180", +"C3D_STANDARD_360", +"C3D_HIGHCPU_8", +"C3D_HIGHCPU_16", +"C3D_HIGHCPU_30", +"C3D_HIGHCPU_60", +"C3D_HIGHCPU_90", +"C3D_HIGHCPU_180", +"C3D_HIGHCPU_360", +"C3D_HIGHMEM_8", +"C3D_HIGHMEM_16", +"C3D_HIGHMEM_30", +"C3D_HIGHMEM_60", +"C3D_HIGHMEM_90", +"C3D_HIGHMEM_180", +"C3D_HIGHMEM_360" ], "enumDescriptions": [ "", @@ -3127,6 +3264,33 @@ "", "", "", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", "" ], "type": "string" @@ -3155,6 +3319,7 @@ "C4D", "N4", "N4A", +"C3D", "C3", "M2", "M1", @@ -3181,6 +3346,7 @@ "", "", "", +"", "MEMORY_OPTIMIZED_UPGRADE_PREMIUM", "MEMORY_OPTIMIZED", "", diff --git a/googleapiclient/discovery_cache/documents/language.v1beta2.json b/googleapiclient/discovery_cache/documents/language.v1beta2.json index aeac1ac8f2..62b93fc7e9 100644 --- a/googleapiclient/discovery_cache/documents/language.v1beta2.json +++ b/googleapiclient/discovery_cache/documents/language.v1beta2.json @@ -246,7 +246,7 @@ } } }, -"revision": "20260302", +"revision": "20260315", "rootUrl": "https://language.googleapis.com/", "schemas": { "AnalyzeEntitiesRequest": { @@ -704,6 +704,7 @@ "C4D", "N4", "N4A", +"C3D", "M2", "M1", "N1", @@ -729,6 +730,7 @@ "", "", "", +"", "MEMORY_OPTIMIZED_UPGRADE_PREMIUM", "MEMORY_OPTIMIZED", "", @@ -977,18 +979,24 @@ "C4D_HIGHMEM_96", "C4D_HIGHMEM_192", "C4D_HIGHMEM_384", +"N4_STANDARD_2", +"N4_STANDARD_4", "N4_STANDARD_8", "N4_STANDARD_16", "N4_STANDARD_32", "N4_STANDARD_48", "N4_STANDARD_64", "N4_STANDARD_80", +"N4_HIGHCPU_2", +"N4_HIGHCPU_4", "N4_HIGHCPU_8", "N4_HIGHCPU_16", "N4_HIGHCPU_32", "N4_HIGHCPU_48", "N4_HIGHCPU_64", "N4_HIGHCPU_80", +"N4_HIGHMEM_2", +"N4_HIGHMEM_4", "N4_HIGHMEM_8", "N4_HIGHMEM_16", "N4_HIGHMEM_32", @@ -1009,7 +1017,28 @@ "N4A_HIGHMEM_16", "N4A_HIGHMEM_32", "N4A_HIGHMEM_48", -"N4A_HIGHMEM_64" +"N4A_HIGHMEM_64", +"C3D_STANDARD_8", +"C3D_STANDARD_16", +"C3D_STANDARD_30", +"C3D_STANDARD_60", +"C3D_STANDARD_90", +"C3D_STANDARD_180", +"C3D_STANDARD_360", +"C3D_HIGHCPU_8", +"C3D_HIGHCPU_16", +"C3D_HIGHCPU_30", +"C3D_HIGHCPU_60", +"C3D_HIGHCPU_90", +"C3D_HIGHCPU_180", +"C3D_HIGHCPU_360", +"C3D_HIGHMEM_8", +"C3D_HIGHMEM_16", +"C3D_HIGHMEM_30", +"C3D_HIGHMEM_60", +"C3D_HIGHMEM_90", +"C3D_HIGHMEM_180", +"C3D_HIGHMEM_360" ], "enumDescriptions": [ "", @@ -1280,6 +1309,33 @@ "", "", "", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", "" ], "type": "string" @@ -1944,18 +2000,24 @@ "C4D_HIGHMEM_96", "C4D_HIGHMEM_192", "C4D_HIGHMEM_384", +"N4_STANDARD_2", +"N4_STANDARD_4", "N4_STANDARD_8", "N4_STANDARD_16", "N4_STANDARD_32", "N4_STANDARD_48", "N4_STANDARD_64", "N4_STANDARD_80", +"N4_HIGHCPU_2", +"N4_HIGHCPU_4", "N4_HIGHCPU_8", "N4_HIGHCPU_16", "N4_HIGHCPU_32", "N4_HIGHCPU_48", "N4_HIGHCPU_64", "N4_HIGHCPU_80", +"N4_HIGHMEM_2", +"N4_HIGHMEM_4", "N4_HIGHMEM_8", "N4_HIGHMEM_16", "N4_HIGHMEM_32", @@ -1976,7 +2038,28 @@ "N4A_HIGHMEM_16", "N4A_HIGHMEM_32", "N4A_HIGHMEM_48", -"N4A_HIGHMEM_64" +"N4A_HIGHMEM_64", +"C3D_STANDARD_8", +"C3D_STANDARD_16", +"C3D_STANDARD_30", +"C3D_STANDARD_60", +"C3D_STANDARD_90", +"C3D_STANDARD_180", +"C3D_STANDARD_360", +"C3D_HIGHCPU_8", +"C3D_HIGHCPU_16", +"C3D_HIGHCPU_30", +"C3D_HIGHCPU_60", +"C3D_HIGHCPU_90", +"C3D_HIGHCPU_180", +"C3D_HIGHCPU_360", +"C3D_HIGHMEM_8", +"C3D_HIGHMEM_16", +"C3D_HIGHMEM_30", +"C3D_HIGHMEM_60", +"C3D_HIGHMEM_90", +"C3D_HIGHMEM_180", +"C3D_HIGHMEM_360" ], "enumDescriptions": [ "", @@ -2247,6 +2330,33 @@ "", "", "", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", "" ], "type": "string" @@ -2842,18 +2952,24 @@ "C4D_HIGHMEM_96", "C4D_HIGHMEM_192", "C4D_HIGHMEM_384", +"N4_STANDARD_2", +"N4_STANDARD_4", "N4_STANDARD_8", "N4_STANDARD_16", "N4_STANDARD_32", "N4_STANDARD_48", "N4_STANDARD_64", "N4_STANDARD_80", +"N4_HIGHCPU_2", +"N4_HIGHCPU_4", "N4_HIGHCPU_8", "N4_HIGHCPU_16", "N4_HIGHCPU_32", "N4_HIGHCPU_48", "N4_HIGHCPU_64", "N4_HIGHCPU_80", +"N4_HIGHMEM_2", +"N4_HIGHMEM_4", "N4_HIGHMEM_8", "N4_HIGHMEM_16", "N4_HIGHMEM_32", @@ -2874,7 +2990,28 @@ "N4A_HIGHMEM_16", "N4A_HIGHMEM_32", "N4A_HIGHMEM_48", -"N4A_HIGHMEM_64" +"N4A_HIGHMEM_64", +"C3D_STANDARD_8", +"C3D_STANDARD_16", +"C3D_STANDARD_30", +"C3D_STANDARD_60", +"C3D_STANDARD_90", +"C3D_STANDARD_180", +"C3D_STANDARD_360", +"C3D_HIGHCPU_8", +"C3D_HIGHCPU_16", +"C3D_HIGHCPU_30", +"C3D_HIGHCPU_60", +"C3D_HIGHCPU_90", +"C3D_HIGHCPU_180", +"C3D_HIGHCPU_360", +"C3D_HIGHMEM_8", +"C3D_HIGHMEM_16", +"C3D_HIGHMEM_30", +"C3D_HIGHMEM_60", +"C3D_HIGHMEM_90", +"C3D_HIGHMEM_180", +"C3D_HIGHMEM_360" ], "enumDescriptions": [ "", @@ -3145,6 +3282,33 @@ "", "", "", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", "" ], "type": "string" @@ -3173,6 +3337,7 @@ "C4D", "N4", "N4A", +"C3D", "C3", "M2", "M1", @@ -3199,6 +3364,7 @@ "", "", "", +"", "MEMORY_OPTIMIZED_UPGRADE_PREMIUM", "MEMORY_OPTIMIZED", "", diff --git a/googleapiclient/discovery_cache/documents/language.v2.json b/googleapiclient/discovery_cache/documents/language.v2.json index e20e3f06e8..169f4c8ac5 100644 --- a/googleapiclient/discovery_cache/documents/language.v2.json +++ b/googleapiclient/discovery_cache/documents/language.v2.json @@ -208,7 +208,7 @@ } } }, -"revision": "20260302", +"revision": "20260315", "rootUrl": "https://language.googleapis.com/", "schemas": { "AnalyzeEntitiesRequest": { @@ -529,6 +529,7 @@ "C4D", "N4", "N4A", +"C3D", "M2", "M1", "N1", @@ -554,6 +555,7 @@ "", "", "", +"", "MEMORY_OPTIMIZED_UPGRADE_PREMIUM", "MEMORY_OPTIMIZED", "", @@ -802,18 +804,24 @@ "C4D_HIGHMEM_96", "C4D_HIGHMEM_192", "C4D_HIGHMEM_384", +"N4_STANDARD_2", +"N4_STANDARD_4", "N4_STANDARD_8", "N4_STANDARD_16", "N4_STANDARD_32", "N4_STANDARD_48", "N4_STANDARD_64", "N4_STANDARD_80", +"N4_HIGHCPU_2", +"N4_HIGHCPU_4", "N4_HIGHCPU_8", "N4_HIGHCPU_16", "N4_HIGHCPU_32", "N4_HIGHCPU_48", "N4_HIGHCPU_64", "N4_HIGHCPU_80", +"N4_HIGHMEM_2", +"N4_HIGHMEM_4", "N4_HIGHMEM_8", "N4_HIGHMEM_16", "N4_HIGHMEM_32", @@ -834,7 +842,28 @@ "N4A_HIGHMEM_16", "N4A_HIGHMEM_32", "N4A_HIGHMEM_48", -"N4A_HIGHMEM_64" +"N4A_HIGHMEM_64", +"C3D_STANDARD_8", +"C3D_STANDARD_16", +"C3D_STANDARD_30", +"C3D_STANDARD_60", +"C3D_STANDARD_90", +"C3D_STANDARD_180", +"C3D_STANDARD_360", +"C3D_HIGHCPU_8", +"C3D_HIGHCPU_16", +"C3D_HIGHCPU_30", +"C3D_HIGHCPU_60", +"C3D_HIGHCPU_90", +"C3D_HIGHCPU_180", +"C3D_HIGHCPU_360", +"C3D_HIGHMEM_8", +"C3D_HIGHMEM_16", +"C3D_HIGHMEM_30", +"C3D_HIGHMEM_60", +"C3D_HIGHMEM_90", +"C3D_HIGHMEM_180", +"C3D_HIGHMEM_360" ], "enumDescriptions": [ "", @@ -1105,6 +1134,33 @@ "", "", "", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", "" ], "type": "string" @@ -1565,18 +1621,24 @@ "C4D_HIGHMEM_96", "C4D_HIGHMEM_192", "C4D_HIGHMEM_384", +"N4_STANDARD_2", +"N4_STANDARD_4", "N4_STANDARD_8", "N4_STANDARD_16", "N4_STANDARD_32", "N4_STANDARD_48", "N4_STANDARD_64", "N4_STANDARD_80", +"N4_HIGHCPU_2", +"N4_HIGHCPU_4", "N4_HIGHCPU_8", "N4_HIGHCPU_16", "N4_HIGHCPU_32", "N4_HIGHCPU_48", "N4_HIGHCPU_64", "N4_HIGHCPU_80", +"N4_HIGHMEM_2", +"N4_HIGHMEM_4", "N4_HIGHMEM_8", "N4_HIGHMEM_16", "N4_HIGHMEM_32", @@ -1597,7 +1659,28 @@ "N4A_HIGHMEM_16", "N4A_HIGHMEM_32", "N4A_HIGHMEM_48", -"N4A_HIGHMEM_64" +"N4A_HIGHMEM_64", +"C3D_STANDARD_8", +"C3D_STANDARD_16", +"C3D_STANDARD_30", +"C3D_STANDARD_60", +"C3D_STANDARD_90", +"C3D_STANDARD_180", +"C3D_STANDARD_360", +"C3D_HIGHCPU_8", +"C3D_HIGHCPU_16", +"C3D_HIGHCPU_30", +"C3D_HIGHCPU_60", +"C3D_HIGHCPU_90", +"C3D_HIGHCPU_180", +"C3D_HIGHCPU_360", +"C3D_HIGHMEM_8", +"C3D_HIGHMEM_16", +"C3D_HIGHMEM_30", +"C3D_HIGHMEM_60", +"C3D_HIGHMEM_90", +"C3D_HIGHMEM_180", +"C3D_HIGHMEM_360" ], "enumDescriptions": [ "", @@ -1868,6 +1951,33 @@ "", "", "", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", "" ], "type": "string" @@ -2218,18 +2328,24 @@ "C4D_HIGHMEM_96", "C4D_HIGHMEM_192", "C4D_HIGHMEM_384", +"N4_STANDARD_2", +"N4_STANDARD_4", "N4_STANDARD_8", "N4_STANDARD_16", "N4_STANDARD_32", "N4_STANDARD_48", "N4_STANDARD_64", "N4_STANDARD_80", +"N4_HIGHCPU_2", +"N4_HIGHCPU_4", "N4_HIGHCPU_8", "N4_HIGHCPU_16", "N4_HIGHCPU_32", "N4_HIGHCPU_48", "N4_HIGHCPU_64", "N4_HIGHCPU_80", +"N4_HIGHMEM_2", +"N4_HIGHMEM_4", "N4_HIGHMEM_8", "N4_HIGHMEM_16", "N4_HIGHMEM_32", @@ -2250,7 +2366,28 @@ "N4A_HIGHMEM_16", "N4A_HIGHMEM_32", "N4A_HIGHMEM_48", -"N4A_HIGHMEM_64" +"N4A_HIGHMEM_64", +"C3D_STANDARD_8", +"C3D_STANDARD_16", +"C3D_STANDARD_30", +"C3D_STANDARD_60", +"C3D_STANDARD_90", +"C3D_STANDARD_180", +"C3D_STANDARD_360", +"C3D_HIGHCPU_8", +"C3D_HIGHCPU_16", +"C3D_HIGHCPU_30", +"C3D_HIGHCPU_60", +"C3D_HIGHCPU_90", +"C3D_HIGHCPU_180", +"C3D_HIGHCPU_360", +"C3D_HIGHMEM_8", +"C3D_HIGHMEM_16", +"C3D_HIGHMEM_30", +"C3D_HIGHMEM_60", +"C3D_HIGHMEM_90", +"C3D_HIGHMEM_180", +"C3D_HIGHMEM_360" ], "enumDescriptions": [ "", @@ -2521,6 +2658,33 @@ "", "", "", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", "" ], "type": "string" @@ -2549,6 +2713,7 @@ "C4D", "N4", "N4A", +"C3D", "C3", "M2", "M1", @@ -2575,6 +2740,7 @@ "", "", "", +"", "MEMORY_OPTIMIZED_UPGRADE_PREMIUM", "MEMORY_OPTIMIZED", "", diff --git a/googleapiclient/discovery_cache/documents/logging.v2.json b/googleapiclient/discovery_cache/documents/logging.v2.json index 1128c8de63..efc726e8d2 100644 --- a/googleapiclient/discovery_cache/documents/logging.v2.json +++ b/googleapiclient/discovery_cache/documents/logging.v2.json @@ -1962,7 +1962,7 @@ ] }, "list": { -"description": "Lists log entries. Use this method to retrieve log entries that originated from a project/folder/organization/billing account. For ways to export log entries, see Exporting Logs (https://cloud.google.com/logging/docs/export).", +"description": "Lists log entries. Use this method to retrieve log entries that originated from a project/folder/organization/billing account. For ways to export log entries, see Routing overview (https://docs.cloud.google.com/logging/docs/routing/overview).", "flatPath": "v2/entries:list", "httpMethod": "POST", "id": "logging.entries.list", @@ -9162,7 +9162,7 @@ } } }, -"revision": "20260227", +"revision": "20260315", "rootUrl": "https://logging.googleapis.com/", "schemas": { "AppHub": { @@ -10127,7 +10127,7 @@ "id": "ListLogEntriesRequest", "properties": { "filter": { -"description": "Optional. A filter that chooses which log entries to return. For more information, see Logging query language (https://{$universe.dns_names.final_documentation_domain}/logging/docs/view/logging-query-language).Only log entries that match the filter are returned. An empty filter matches all log entries in the resources listed in resource_names. Referencing a parent resource that is not listed in resource_names will cause the filter to return no results. The maximum length of a filter is 20,000 characters.To make queries faster, you can make the filter more selective by using restrictions on indexed fields (https://{$universe.dns_names.final_documentation_domain}/logging/docs/view/logging-query-language#indexed-fields) as well as limit the time range of the query by adding range restrictions on the timestamp field.", +"description": "Optional. A filter that chooses which log entries to return. For more information, see Logging query language (https://docs.cloud.google.com/logging/docs/view/logging-query-language).Only log entries that match the filter are returned. An empty filter matches all log entries in the resources listed in resource_names. Referencing a parent resource that is not listed in resource_names will cause the filter to return no results. The maximum length of a filter is 20,000 characters.To make queries faster, you can make the filter more selective by using restrictions on indexed fields (https://docs.cloud.google.com/logging/docs/view/logging-query-language#indexed-fields) as well as limit the time range of the query by adding range restrictions on the timestamp field.", "type": "string" }, "orderBy": { @@ -11866,7 +11866,7 @@ ], "enumDescriptions": [ "Unexpected default.", -"Indicates suppression occurred due to relevant entries being received in excess of rate limits. For quotas and limits, see Logging API quotas and limits (https://cloud.google.com/logging/quotas#api-limits).", +"Indicates suppression occurred due to relevant entries being received in excess of rate limits. For quotas and limits, see Logging API quotas and limits (https://docs.cloud.google.com/logging/quotas#api-limits).", "Indicates suppression occurred due to the client not consuming responses quickly enough." ], "type": "string" @@ -11889,7 +11889,7 @@ "type": "string" }, "filter": { -"description": "Optional. A filter that chooses which log entries to return. For more information, see Logging query language (https://{$universe.dns_names.final_documentation_domain}/logging/docs/view/logging-query-language).Only log entries that match the filter are returned. An empty filter matches all log entries in the resources listed in resource_names. Referencing a parent resource that is not listed in resource_names will cause the filter to return no results. The maximum length of a filter is 20,000 characters.", +"description": "Optional. A filter that chooses which log entries to return. For more information, see Logging query language (https://docs.cloud.google.com/logging/docs/view/logging-query-language).Only log entries that match the filter are returned. An empty filter matches all log entries in the resources listed in resource_names. Referencing a parent resource that is not listed in resource_names will cause the filter to return no results. The maximum length of a filter is 20,000 characters.", "type": "string" }, "resourceNames": { @@ -11986,7 +11986,7 @@ "type": "boolean" }, "entries": { -"description": "Required. The log entries to send to Logging. The order of log entries in this list does not matter. Values supplied in this method's log_name, resource, and labels fields are copied into those log entries in this list that do not include values for their corresponding fields. For more information, see the LogEntry type.If the timestamp or insert_id fields are missing in log entries, then this method supplies the current time or a unique identifier, respectively. The supplied values are chosen so that, among the log entries that did not supply their own values, the entries earlier in the list will sort before the entries later in the list. See the entries.list method.Log entries with timestamps that are more than the logs retention period (https://cloud.google.com/logging/quotas) in the past or more than 24 hours in the future will not be available when calling entries.list. However, those log entries can still be exported with LogSinks (https://cloud.google.com/logging/docs/api/tasks/exporting-logs).To improve throughput and to avoid exceeding the quota limit (https://cloud.google.com/logging/quotas) for calls to entries.write, you should try to include several log entries in this list, rather than calling this method for each individual log entry.", +"description": "Required. The log entries to send to Logging. The order of log entries in this list does not matter. Values supplied in this method's log_name, resource, and labels fields are copied into those log entries in this list that do not include values for their corresponding fields. For more information, see the LogEntry type.If the timestamp or insert_id fields are missing in log entries, then this method supplies the current time or a unique identifier, respectively. The supplied values are chosen so that, among the log entries that did not supply their own values, the entries earlier in the list will sort before the entries later in the list. See the entries.list method.Log entries with timestamps that are more than the logs retention period (https://docs.cloud.google.com/logging/quotas) in the past or more than 24 hours in the future will not be available when calling entries.list. However, those log entries can still be exported with LogSinks (https://docs.cloud.google.com/logging/docs/routing/overview).To improve throughput and to avoid exceeding the quota limit (https://docs.cloud.google.com/logging/quotas) for calls to entries.write, you should try to include several log entries in this list, rather than calling this method for each individual log entry.", "items": { "$ref": "LogEntry" }, diff --git a/googleapiclient/discovery_cache/documents/meet.v2.json b/googleapiclient/discovery_cache/documents/meet.v2.json index 542ad78bcc..725e4eacea 100644 --- a/googleapiclient/discovery_cache/documents/meet.v2.json +++ b/googleapiclient/discovery_cache/documents/meet.v2.json @@ -387,6 +387,65 @@ } } }, +"smartNotes": { +"methods": { +"get": { +"description": "Gets smart notes by smart note ID.", +"flatPath": "v2/conferenceRecords/{conferenceRecordsId}/smartNotes/{smartNotesId}", +"httpMethod": "GET", +"id": "meet.conferenceRecords.smartNotes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the smart note. Format: conferenceRecords/{conference_record}/smartNotes/{smart_note}", +"location": "path", +"pattern": "^conferenceRecords/[^/]+/smartNotes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "SmartNote" +} +}, +"list": { +"description": "Lists the set of smart notes from the conference record. By default, ordered by start time and in ascending order.", +"flatPath": "v2/conferenceRecords/{conferenceRecordsId}/smartNotes", +"httpMethod": "GET", +"id": "meet.conferenceRecords.smartNotes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. Maximum number of smart notes to return. The service might return fewer than this value. If unspecified, at most 10 smart notes are returned. The maximum value is 100; values above 100 are coerced to 100. Maximum might change in the future.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Page token returned from previous List Call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Format: `conferenceRecords/{conference_record}`", +"location": "path", +"pattern": "^conferenceRecords/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/smartNotes", +"response": { +"$ref": "ListSmartNotesResponse" +} +} +} +}, "transcripts": { "methods": { "get": { @@ -638,7 +697,7 @@ } } }, -"revision": "20250421", +"revision": "20260315", "rootUrl": "https://meet.googleapis.com/", "schemas": { "ActiveConference": { @@ -841,6 +900,24 @@ }, "type": "object" }, +"ListSmartNotesResponse": { +"description": "Response for ListSmartNotes method.", +"id": "ListSmartNotesResponse", +"properties": { +"nextPageToken": { +"description": "Token to be circulated back for further List call if current List doesn't include all the smart notes. Unset if all smart notes are returned.", +"type": "string" +}, +"smartNotes": { +"description": "List of smart notes in one page.", +"items": { +"$ref": "SmartNote" +}, +"type": "array" +} +}, +"type": "object" +}, "ListTranscriptEntriesResponse": { "description": "Response for ListTranscriptEntries method.", "id": "ListTranscriptEntriesResponse", @@ -1095,6 +1172,52 @@ }, "type": "object" }, +"SmartNote": { +"description": "Metadata for a smart note generated from a conference. It refers to the notes generated from Take Notes with Gemini during the conference.", +"id": "SmartNote", +"properties": { +"docsDestination": { +"$ref": "DocsDestination", +"description": "Output only. The Google Doc destination where the smart notes are saved.", +"readOnly": true +}, +"endTime": { +"description": "Output only. Timestamp when the smart notes stopped.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. Identifier. Resource name of the smart notes. Format: `conferenceRecords/{conference_record}/smartNotes/{smart_note}`, where `{smart_note}` is a 1:1 mapping to each unique smart notes session of the conference.", +"readOnly": true, +"type": "string" +}, +"startTime": { +"description": "Output only. Timestamp when the smart notes started.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. Current state.", +"enum": [ +"STATE_UNSPECIFIED", +"STARTED", +"ENDED", +"FILE_GENERATED" +], +"enumDescriptions": [ +"Default, never used.", +"An active smart notes session has started.", +"This smart notes session has ended, but the smart notes file hasn't been generated yet.", +"Smart notes file is generated and ready to download." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, "SmartNotesConfig": { "description": "Configuration related to smart notes in a meeting space. For more information about smart notes, see [\"Take notes for me\" in Google Meet](https://support.google.com/meet/answer/14754931).", "id": "SmartNotesConfig", diff --git a/googleapiclient/discovery_cache/documents/merchantapi.accounts_v1.json b/googleapiclient/discovery_cache/documents/merchantapi.accounts_v1.json index 89ec07af81..5b4a020a53 100644 --- a/googleapiclient/discovery_cache/documents/merchantapi.accounts_v1.json +++ b/googleapiclient/discovery_cache/documents/merchantapi.accounts_v1.json @@ -125,6 +125,34 @@ "https://www.googleapis.com/auth/content" ] }, +"createTestAccount": { +"description": "Creates a Merchant Center test account. Test accounts are intended for development and testing purposes, such as validating API integrations or new feature behavior. Key characteristics and limitations of test accounts: - Immutable Type: A test account cannot be converted into a regular (live) Merchant Center account. Likewise, a regular account cannot be converted into a test account. - Non-Serving Products: Any products, offers, or data created within a test account will not be published or made visible to end-users on any Google surfaces. They are strictly for testing environments. - Separate Environment: Test accounts operate in a sandbox-like manner, isolated from live serving and real user traffic.", +"flatPath": "accounts/v1/accounts/{accountsId}:createTestAccount", +"httpMethod": "POST", +"id": "merchantapi.accounts.createTestAccount", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The account resource name to create the test account under. Format: accounts/{account}", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+parent}:createTestAccount", +"request": { +"$ref": "Account" +}, +"response": { +"$ref": "Account" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, "delete": { "description": "Deletes the specified account regardless of its type: standalone, advanced account or sub-account. Deleting an advanced account leads to the deletion of all of its sub-accounts. This also deletes the account's [developer registration entity](/merchant/api/reference/rest/accounts_v1/accounts.developerRegistration) and any associated GCP project to the account. Executing this method requires admin access. The deletion succeeds only if the account does not provide services to any other account and has no processed offers. You can use the `force` parameter to override this.", "flatPath": "accounts/v1/accounts/{accountsId}", @@ -2410,7 +2438,7 @@ } } }, -"revision": "20260310", +"revision": "20260318", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "About": { @@ -3428,7 +3456,7 @@ "type": "array" }, "name": { -"description": "Identifier. The `name` (ID) of the developer registration. Generated by the Content API upon creation of a new `DeveloperRegistration`. The `account` represents the merchant ID of the merchant that owns the registration.", +"description": "Identifier. The `name` (ID) of the developer registration. Generated upon creation of a new `DeveloperRegistration`. The `account` represents the merchant ID of the merchant that owns the registration.", "type": "string" } }, diff --git a/googleapiclient/discovery_cache/documents/merchantapi.accounts_v1beta.json b/googleapiclient/discovery_cache/documents/merchantapi.accounts_v1beta.json index e0b7631800..50514fb483 100644 --- a/googleapiclient/discovery_cache/documents/merchantapi.accounts_v1beta.json +++ b/googleapiclient/discovery_cache/documents/merchantapi.accounts_v1beta.json @@ -125,6 +125,34 @@ "https://www.googleapis.com/auth/content" ] }, +"createTestAccount": { +"description": "Creates a Merchant Center test account. Test accounts are intended for development and testing purposes, such as validating API integrations or new feature behavior. Key characteristics and limitations of test accounts: - Immutable Type: A test account cannot be converted into a regular (live) Merchant Center account. Likewise, a regular account cannot be converted into a test account. - Non-Serving Products: Any products, offers, or data created within a test account will not be published or made visible to end-users on any Google surfaces. They are strictly for testing environments. - Separate Environment: Test accounts operate in a sandbox-like manner, isolated from live serving and real user traffic.", +"flatPath": "accounts/v1beta/accounts/{accountsId}:createTestAccount", +"httpMethod": "POST", +"id": "merchantapi.accounts.createTestAccount", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The account resource name to create the test account under. Format: accounts/{account}", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1beta/{+parent}:createTestAccount", +"request": { +"$ref": "Account" +}, +"response": { +"$ref": "Account" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, "delete": { "description": "Deletes the specified account regardless of its type: standalone, advanced account or sub-account. Deleting an advanced account leads to the deletion of all of its sub-accounts. This also deletes the account's [developer registration entity](/merchant/api/reference/rest/accounts_v1beta/accounts.developerRegistration) and any associated GCP project to the account. Executing this method requires admin access. The deletion succeeds only if the account does not provide services to any other account and has no processed offers. You can use the `force` parameter to override this.", "flatPath": "accounts/v1beta/accounts/{accountsId}", @@ -2360,7 +2388,7 @@ } } }, -"revision": "20260310", +"revision": "20260318", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "About": { @@ -3305,7 +3333,7 @@ "type": "array" }, "name": { -"description": "Identifier. The `name` (ID) of the developer registration. Generated by the Content API upon creation of a new `DeveloperRegistration`. The `account` represents the merchant ID of the merchant that owns the registration.", +"description": "Identifier. The `name` (ID) of the developer registration. Generated upon creation of a new `DeveloperRegistration`. The `account` represents the merchant ID of the merchant that owns the registration.", "type": "string" } }, diff --git a/googleapiclient/discovery_cache/documents/merchantapi.products_v1.json b/googleapiclient/discovery_cache/documents/merchantapi.products_v1.json index a8d7063afd..36666d65c6 100644 --- a/googleapiclient/discovery_cache/documents/merchantapi.products_v1.json +++ b/googleapiclient/discovery_cache/documents/merchantapi.products_v1.json @@ -281,7 +281,7 @@ } } }, -"revision": "20260223", +"revision": "20260318", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "AutomatedDiscounts": { @@ -1682,6 +1682,10 @@ false }, "type": "array" }, +"returnPolicyLabel": { +"description": "The return label of the product, used to group products in account-level return policies. Max. 100 characters. For more information, see [Return policy label](https://support.google.com/merchants/answer/9445425).", +"type": "string" +}, "salePrice": { "$ref": "Price", "description": "Advertised sale price of the item." @@ -1714,7 +1718,7 @@ false "description": "Height of the item for shipping." }, "shippingLabel": { -"description": "The shipping label of the product, used to group product in account-level shipping rules.", +"description": "The shipping label of the product, used to group products in account-level shipping rules. Max. 100 characters. For more information, see [Shipping label](https://support.google.com/merchants/answer/6324504).", "type": "string" }, "shippingLength": { diff --git a/googleapiclient/discovery_cache/documents/metastore.v1.json b/googleapiclient/discovery_cache/documents/metastore.v1.json index 837b79653a..2e53eb1603 100644 --- a/googleapiclient/discovery_cache/documents/metastore.v1.json +++ b/googleapiclient/discovery_cache/documents/metastore.v1.json @@ -1695,7 +1695,7 @@ } } }, -"revision": "20260203", +"revision": "20260312", "rootUrl": "https://metastore.googleapis.com/", "schemas": { "AlterMetadataResourceLocationRequest": { @@ -2030,7 +2030,7 @@ "type": "object" }, "CloudSQLMigrationConfig": { -"description": "Configuration information for migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore.", +"description": "Deprecated: Migrations to Dataproc Metastore are no longer supported. Use BigLake Metastore migration instead. Configuration information for migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore.", "id": "CloudSQLMigrationConfig", "properties": { "cdcConfig": { @@ -2879,7 +2879,8 @@ "properties": { "cloudSqlMigrationConfig": { "$ref": "CloudSQLMigrationConfig", -"description": "Configuration information specific to migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore." +"deprecated": true, +"description": "Deprecated: Migrations to Dataproc Metastore are no longer supported. Use BigLake Metastore migration instead. Configuration information specific to migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore." }, "createTime": { "description": "Output only. The time when the migration execution was started.", @@ -2899,7 +2900,8 @@ "type": "string" }, "phase": { -"description": "Output only. The current phase of the migration execution.", +"deprecated": true, +"description": "Output only. Deprecated: Phase was designed for incoming migrations to Dataproc Metastore, not applicable when migrating away from it. The current phase of the migration execution.", "enum": [ "PHASE_UNSPECIFIED", "REPLICATION", diff --git a/googleapiclient/discovery_cache/documents/metastore.v1alpha.json b/googleapiclient/discovery_cache/documents/metastore.v1alpha.json index 1e386f8cd8..37f7d5a082 100644 --- a/googleapiclient/discovery_cache/documents/metastore.v1alpha.json +++ b/googleapiclient/discovery_cache/documents/metastore.v1alpha.json @@ -1807,7 +1807,7 @@ } } }, -"revision": "20260203", +"revision": "20260312", "rootUrl": "https://metastore.googleapis.com/", "schemas": { "AlterMetadataResourceLocationRequest": { @@ -2155,7 +2155,7 @@ "type": "object" }, "CloudSQLMigrationConfig": { -"description": "Configuration information for migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore.", +"description": "Deprecated: Migrations to Dataproc Metastore are no longer supported. Use BigLake Metastore migration instead. Configuration information for migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore.", "id": "CloudSQLMigrationConfig", "properties": { "cdcConfig": { @@ -3073,7 +3073,8 @@ "properties": { "cloudSqlMigrationConfig": { "$ref": "CloudSQLMigrationConfig", -"description": "Configuration information specific to migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore." +"deprecated": true, +"description": "Deprecated: Migrations to Dataproc Metastore are no longer supported. Use BigLake Metastore migration instead. Configuration information specific to migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore." }, "createTime": { "description": "Output only. The time when the migration execution was started.", @@ -3093,7 +3094,8 @@ "type": "string" }, "phase": { -"description": "Output only. The current phase of the migration execution.", +"deprecated": true, +"description": "Output only. Deprecated: Phase was designed for incoming migrations to Dataproc Metastore, not applicable when migrating away from it. The current phase of the migration execution.", "enum": [ "PHASE_UNSPECIFIED", "REPLICATION", diff --git a/googleapiclient/discovery_cache/documents/metastore.v1beta.json b/googleapiclient/discovery_cache/documents/metastore.v1beta.json index aa6beb92a5..4f0f7c5474 100644 --- a/googleapiclient/discovery_cache/documents/metastore.v1beta.json +++ b/googleapiclient/discovery_cache/documents/metastore.v1beta.json @@ -1807,7 +1807,7 @@ } } }, -"revision": "20260203", +"revision": "20260312", "rootUrl": "https://metastore.googleapis.com/", "schemas": { "AlterMetadataResourceLocationRequest": { @@ -2155,7 +2155,7 @@ "type": "object" }, "CloudSQLMigrationConfig": { -"description": "Configuration information for migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore.", +"description": "Deprecated: Migrations to Dataproc Metastore are no longer supported. Use BigLake Metastore migration instead. Configuration information for migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore.", "id": "CloudSQLMigrationConfig", "properties": { "cdcConfig": { @@ -3073,7 +3073,8 @@ "properties": { "cloudSqlMigrationConfig": { "$ref": "CloudSQLMigrationConfig", -"description": "Configuration information specific to migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore." +"deprecated": true, +"description": "Deprecated: Migrations to Dataproc Metastore are no longer supported. Use BigLake Metastore migration instead. Configuration information specific to migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore." }, "createTime": { "description": "Output only. The time when the migration execution was started.", @@ -3093,7 +3094,8 @@ "type": "string" }, "phase": { -"description": "Output only. The current phase of the migration execution.", +"deprecated": true, +"description": "Output only. Deprecated: Phase was designed for incoming migrations to Dataproc Metastore, not applicable when migrating away from it. The current phase of the migration execution.", "enum": [ "PHASE_UNSPECIFIED", "REPLICATION", diff --git a/googleapiclient/discovery_cache/documents/netapp.v1.json b/googleapiclient/discovery_cache/documents/netapp.v1.json index 52580acd23..2c1e22dc67 100644 --- a/googleapiclient/discovery_cache/documents/netapp.v1.json +++ b/googleapiclient/discovery_cache/documents/netapp.v1.json @@ -1809,6 +1809,118 @@ "https://www.googleapis.com/auth/cloud-platform" ] } +}, +"resources": { +"ontap": { +"methods": { +"executeOntapDelete": { +"description": "`ExecuteOntapDelete` dispatches the ONTAP `DELETE` request to the `StoragePool` cluster.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/storagePools/{storagePoolsId}/ontap/{ontapId}", +"httpMethod": "DELETE", +"id": "netapp.projects.locations.storagePools.ontap.executeOntapDelete", +"parameterOrder": [ +"ontapPath" +], +"parameters": { +"ontapPath": { +"description": "Required. The resource path of the ONTAP resource. Format: `projects/{project_number}/locations/{location_id}/storagePools/{storage_pool_id}/ontap/{ontap_resource_path}`. For example: `projects/123456789/locations/us-central1/storagePools/my-storage-pool/ontap/api/storage/volumes`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/storagePools/[^/]+/ontap/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+ontapPath}", +"response": { +"$ref": "ExecuteOntapDeleteResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"executeOntapGet": { +"description": "`ExecuteOntapGet` dispatches the ONTAP `GET` request to the `StoragePool` cluster.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/storagePools/{storagePoolsId}/ontap/{ontapId}", +"httpMethod": "GET", +"id": "netapp.projects.locations.storagePools.ontap.executeOntapGet", +"parameterOrder": [ +"ontapPath" +], +"parameters": { +"ontapPath": { +"description": "Required. The resource path of the ONTAP resource. Format: `projects/{project_number}/locations/{location_id}/storagePools/{storage_pool_id}/ontap/{ontap_resource_path}`. For example: `projects/123456789/locations/us-central1/storagePools/my-storage-pool/ontap/api/storage/volumes`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/storagePools/[^/]+/ontap/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+ontapPath}", +"response": { +"$ref": "ExecuteOntapGetResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"executeOntapPatch": { +"description": "`ExecuteOntapPatch` dispatches the ONTAP `PATCH` request to the `StoragePool` cluster.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/storagePools/{storagePoolsId}/ontap/{ontapId}", +"httpMethod": "PATCH", +"id": "netapp.projects.locations.storagePools.ontap.executeOntapPatch", +"parameterOrder": [ +"ontapPath" +], +"parameters": { +"ontapPath": { +"description": "Required. The resource path of the ONTAP resource. Format: `projects/{project_number}/locations/{location_id}/storagePools/{storage_pool_id}/ontap/{ontap_resource_path}`. For example: `projects/123456789/locations/us-central1/storagePools/my-storage-pool/ontap/api/storage/volumes`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/storagePools/[^/]+/ontap/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+ontapPath}", +"request": { +"$ref": "ExecuteOntapPatchRequest" +}, +"response": { +"$ref": "ExecuteOntapPatchResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"executeOntapPost": { +"description": "`ExecuteOntapPost` dispatches the ONTAP `POST` request to the `StoragePool` cluster.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/storagePools/{storagePoolsId}/ontap/{ontapId}", +"httpMethod": "POST", +"id": "netapp.projects.locations.storagePools.ontap.executeOntapPost", +"parameterOrder": [ +"ontapPath" +], +"parameters": { +"ontapPath": { +"description": "Required. The resource path of the ONTAP resource. Format: `projects/{project_number}/locations/{location_id}/storagePools/{storage_pool_id}/ontap/{ontap_resource_path}`. For example: `projects/123456789/locations/us-central1/storagePools/my-storage-pool/ontap/api/storage/volumes`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/storagePools/[^/]+/ontap/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+ontapPath}", +"request": { +"$ref": "ExecuteOntapPostRequest" +}, +"response": { +"$ref": "ExecuteOntapPostResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} } }, "volumes": { @@ -2715,7 +2827,7 @@ } } }, -"revision": "20260218", +"revision": "20260318", "rootUrl": "https://netapp.googleapis.com/", "schemas": { "ActiveDirectory": { @@ -2921,7 +3033,7 @@ "type": "string" }, "sourceVolume": { -"description": "Volume full name of this backup belongs to. Format: `projects/{projects_id}/locations/{location}/volumes/{volume_id}`", +"description": "Volume full name of this backup belongs to. Either source_volume or ontap_source should be provided. Format: `projects/{projects_id}/locations/{location}/volumes/{volume_id}`", "type": "string" }, "state": { @@ -3521,6 +3633,96 @@ }, "type": "object" }, +"ExecuteOntapDeleteResponse": { +"description": "Response message for `ExecuteOntapDelete` API.", +"id": "ExecuteOntapDeleteResponse", +"properties": { +"body": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The raw `JSON` body of the response.", +"type": "object" +} +}, +"type": "object" +}, +"ExecuteOntapGetResponse": { +"description": "Response message for `ExecuteOntapGet` API.", +"id": "ExecuteOntapGetResponse", +"properties": { +"body": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The raw `JSON` body of the response.", +"type": "object" +} +}, +"type": "object" +}, +"ExecuteOntapPatchRequest": { +"description": "Request message for `ExecuteOntapPatch` API.", +"id": "ExecuteOntapPatchRequest", +"properties": { +"body": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Required. The raw `JSON` body of the request. The body should be in the format of the ONTAP resource. For example: ``` { \"body\": { \"field1\": \"value1\", \"field2\": \"value2\", } } ```", +"type": "object" +} +}, +"type": "object" +}, +"ExecuteOntapPatchResponse": { +"description": "Response message for `ExecuteOntapPatch` API.", +"id": "ExecuteOntapPatchResponse", +"properties": { +"body": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The raw `JSON` body of the response.", +"type": "object" +} +}, +"type": "object" +}, +"ExecuteOntapPostRequest": { +"description": "Request message for `ExecuteOntapPost` API.", +"id": "ExecuteOntapPostRequest", +"properties": { +"body": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Required. The raw `JSON` body of the request. The body should be in the format of the ONTAP resource. For example: ``` { \"body\": { \"field1\": \"value1\", \"field2\": \"value2\", } } ```", +"type": "object" +} +}, +"type": "object" +}, +"ExecuteOntapPostResponse": { +"description": "Response message for `ExecuteOntapPost` API.", +"id": "ExecuteOntapPostResponse", +"properties": { +"body": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The raw `JSON` body of the response.", +"type": "object" +} +}, +"type": "object" +}, "ExportPolicy": { "description": "Defines the export policy for the volume.", "id": "ExportPolicy", @@ -3849,6 +4051,18 @@ }, "type": "object" }, +"LargeCapacityConfig": { +"description": "Configuration for a Large Capacity Volume. A Large Capacity Volume supports sizes ranging from 12 TiB to 20 PiB, it is composed of multiple internal constituents, and must be created in a large capacity pool.", +"id": "LargeCapacityConfig", +"properties": { +"constituentCount": { +"description": "Optional. The number of internal constituents (e.g., FlexVols) for this large volume. The minimum number of constituents is 2.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, "ListActiveDirectoriesResponse": { "description": "ListActiveDirectoriesResponse contains all the active directories requested.", "id": "ListActiveDirectoriesResponse", @@ -4690,7 +4904,7 @@ "id": "RestoreParameters", "properties": { "sourceBackup": { -"description": "Full name of the backup resource. Format: projects/{project}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}", +"description": "Full name of the backup resource. Format for standard backup: projects/{project}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id} Format for BackupDR backup: projects/{project}/locations/{location}/backupVaults/{backup_vault}/dataSources/{data_source}/backups/{backup}", "type": "string" }, "sourceSnapshot": { @@ -5027,6 +5241,20 @@ "description": "Optional. Flag indicating if the pool is NFS LDAP enabled or not.", "type": "boolean" }, +"mode": { +"description": "Optional. Mode of the storage pool. This field is used to control whether the user can perform the ONTAP operations on the storage pool using the GCNV ONTAP Mode APIs. If not specified during creation, it defaults to `DEFAULT`.", +"enum": [ +"MODE_UNSPECIFIED", +"DEFAULT", +"ONTAP" +], +"enumDescriptions": [ +"The `Mode` is not specified.", +"The resource is managed by the GCNV APIs.", +"The resource is managed by the GCNV ONTAP Mode APIs." +], +"type": "string" +}, "name": { "description": "Identifier. Name of the storage pool", "type": "string" @@ -5067,6 +5295,20 @@ "readOnly": true, "type": "boolean" }, +"scaleTier": { +"description": "Optional. The effective scale tier of the storage pool. If `scale_tier` is not specified during creation, this defaults to `SCALE_TIER_STANDARD`.", +"enum": [ +"SCALE_TIER_UNSPECIFIED", +"SCALE_TIER_STANDARD", +"SCALE_TIER_ENTERPRISE" +], +"enumDescriptions": [ +"The default value. This value is unused.", +"The standard capacity and performance tier. Suitable for general purpose workloads.", +"A higher capacity and performance tier. Suitable for more demanding workloads." +], +"type": "string" +}, "serviceLevel": { "description": "Required. Service level of the storage pool", "enum": [ @@ -5126,24 +5368,16 @@ "type": "string" }, "type": { -"description": "Optional. Type of the storage pool. This field is used to control whether the pool supports `FILE` based volumes only or `UNIFIED` (both `FILE` and `BLOCK`) volumes or `UNIFIED_LARGE_CAPACITY` (both `FILE` and `BLOCK`) volumes with large capacity. If not specified during creation, it defaults to `FILE`.", +"description": "Optional. Type of the storage pool. This field is used to control whether the pool supports `FILE` based volumes only or `UNIFIED` (both `FILE` and `BLOCK`) volumes. If not specified during creation, it defaults to `FILE`.", "enum": [ "STORAGE_POOL_TYPE_UNSPECIFIED", "FILE", -"UNIFIED", -"UNIFIED_LARGE_CAPACITY" -], -"enumDeprecated": [ -false, -false, -false, -true +"UNIFIED" ], "enumDescriptions": [ "Storage pool type is not specified.", "Storage pool type is file.", -"Storage pool type is unified.", -"Deprecated: UNIFIED_LARGE_CAPACITY was previously tag 3." +"Storage pool type is unified." ], "type": "string" }, @@ -5420,6 +5654,10 @@ true "description": "Optional. Flag indicating if the volume will be a large capacity volume or a regular volume.", "type": "boolean" }, +"largeCapacityConfig": { +"$ref": "LargeCapacityConfig", +"description": "Optional. Large capacity config for the volume." +}, "ldapEnabled": { "description": "Output only. Flag indicating if the volume is NFS LDAP enabled or not.", "readOnly": true, diff --git a/googleapiclient/discovery_cache/documents/netapp.v1beta1.json b/googleapiclient/discovery_cache/documents/netapp.v1beta1.json index e197dd09a0..e7e95ea05f 100644 --- a/googleapiclient/discovery_cache/documents/netapp.v1beta1.json +++ b/googleapiclient/discovery_cache/documents/netapp.v1beta1.json @@ -2827,7 +2827,7 @@ } } }, -"revision": "20260218", +"revision": "20260318", "rootUrl": "https://netapp.googleapis.com/", "schemas": { "ActiveDirectory": { @@ -3033,7 +3033,7 @@ "type": "string" }, "sourceVolume": { -"description": "Volume full name of this backup belongs to. Format: `projects/{projects_id}/locations/{location}/volumes/{volume_id}`", +"description": "Volume full name of this backup belongs to. Either source_volume or ontap_source should be provided. Format: `projects/{projects_id}/locations/{location}/volumes/{volume_id}`", "type": "string" }, "state": { @@ -3240,6 +3240,10 @@ "readOnly": true, "type": "string" }, +"crossProjectVault": { +"description": "Optional. Indicates if the backup vault is a cross project vault.", +"type": "boolean" +}, "description": { "description": "Description of the backup vault.", "type": "string" @@ -4904,7 +4908,7 @@ "id": "RestoreParameters", "properties": { "sourceBackup": { -"description": "Full name of the backup resource. Format: projects/{project}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}", +"description": "Full name of the backup resource. Format for standard backup: projects/{project}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id} Format for BackupDR backup: projects/{project}/locations/{location}/backupVaults/{backup_vault}/dataSources/{data_source}/backups/{backup}", "type": "string" }, "sourceSnapshot": { @@ -5249,9 +5253,9 @@ "ONTAP" ], "enumDescriptions": [ -"The `StoragePool` `Mode` is not specified.", -"The `StoragePool` and its resources are managed by the GCNV APIs.", -"The `StoragePool` and its resources are managed by the GCNV ONTAP Mode APIs." +"The `Mode` is not specified.", +"The resource is managed by the GCNV APIs.", +"The resource is managed by the GCNV ONTAP Mode APIs." ], "type": "string" }, @@ -5368,24 +5372,16 @@ "type": "string" }, "type": { -"description": "Optional. Type of the storage pool. This field is used to control whether the pool supports `FILE` based volumes only or `UNIFIED` (both `FILE` and `BLOCK`) volumes or `UNIFIED_LARGE_CAPACITY` (both `FILE` and `BLOCK`) volumes with large capacity. If not specified during creation, it defaults to `FILE`.", +"description": "Optional. Type of the storage pool. This field is used to control whether the pool supports `FILE` based volumes only or `UNIFIED` (both `FILE` and `BLOCK`) volumes. If not specified during creation, it defaults to `FILE`.", "enum": [ "STORAGE_POOL_TYPE_UNSPECIFIED", "FILE", -"UNIFIED", -"UNIFIED_LARGE_CAPACITY" -], -"enumDeprecated": [ -false, -false, -false, -true +"UNIFIED" ], "enumDescriptions": [ "Storage pool type is not specified.", "Storage pool type is file.", -"Storage pool type is unified.", -"Deprecated: UNIFIED_LARGE_CAPACITY was previously tag 3." +"Storage pool type is unified." ], "type": "string" }, diff --git a/googleapiclient/discovery_cache/documents/networkservices.v1.json b/googleapiclient/discovery_cache/documents/networkservices.v1.json index 753634d7df..c3bf34591b 100644 --- a/googleapiclient/discovery_cache/documents/networkservices.v1.json +++ b/googleapiclient/discovery_cache/documents/networkservices.v1.json @@ -3191,7 +3191,7 @@ } } }, -"revision": "20260226", +"revision": "20260312", "rootUrl": "https://networkservices.googleapis.com/", "schemas": { "AuditConfig": { @@ -3247,7 +3247,7 @@ "id": "AuthzExtension", "properties": { "authority": { -"description": "Required. The `:authority` header in the gRPC request sent from Envoy to the extension service.", +"description": "Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. It is required when the `service` field points to a backend service or a wasm plugin.", "type": "string" }, "createTime": { @@ -3583,7 +3583,7 @@ "type": "string" }, "observabilityMode": { -"description": "Optional. When set to `TRUE`, enables `observability_mode` on the `ext_proc` filter. This makes `ext_proc` calls asynchronous. Envoy doesn't check for the response from `ext_proc` calls. For more information about the filter, see: https://www.envoyproxy.io/docs/envoy/v1.32.3/api-v3/extensions/filters/http/ext_proc/v3/ext_proc.proto#extensions-filters-http-ext-proc-v3-externalprocessor This field is helpful when you want to try out the extension in async log-only mode. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. Only `STREAMED` (default) body processing mode is supported.", +"description": "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.", "type": "boolean" }, "requestBodySendMode": { @@ -3673,6 +3673,10 @@ }, "type": "array" }, +"allowGlobalAccess": { +"description": "Optional. If true, the gateway will allow traffic from clients outside of the region where the gateway is located. This field is configurable only for gateways of type SECURE_WEB_GATEWAY.", +"type": "boolean" +}, "certificateUrls": { "description": "Optional. A fully-qualified Certificates URL reference. The proxy presents a Certificate (selected based on SNI) when establishing a TLS connection. This feature only applies to gateways of type 'SECURE_WEB_GATEWAY'.", "items": { diff --git a/googleapiclient/discovery_cache/documents/networkservices.v1beta1.json b/googleapiclient/discovery_cache/documents/networkservices.v1beta1.json index dc9ab61b77..54f3cd0c01 100644 --- a/googleapiclient/discovery_cache/documents/networkservices.v1beta1.json +++ b/googleapiclient/discovery_cache/documents/networkservices.v1beta1.json @@ -3100,7 +3100,7 @@ } } }, -"revision": "20260226", +"revision": "20260312", "rootUrl": "https://networkservices.googleapis.com/", "schemas": { "AuthzExtension": { @@ -3108,7 +3108,7 @@ "id": "AuthzExtension", "properties": { "authority": { -"description": "Required. The `:authority` header in the gRPC request sent from Envoy to the extension service.", +"description": "Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. It is required when the `service` field points to a backend service or a wasm plugin.", "type": "string" }, "createTime": { @@ -3364,7 +3364,7 @@ "type": "string" }, "observabilityMode": { -"description": "Optional. When set to `TRUE`, enables `observability_mode` on the `ext_proc` filter. This makes `ext_proc` calls asynchronous. Envoy doesn't check for the response from `ext_proc` calls. For more information about the filter, see: https://www.envoyproxy.io/docs/envoy/v1.32.3/api-v3/extensions/filters/http/ext_proc/v3/ext_proc.proto#extensions-filters-http-ext-proc-v3-externalprocessor This field is helpful when you want to try out the extension in async log-only mode. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. Only `STREAMED` (default) body processing mode is supported.", +"description": "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.", "type": "boolean" }, "requestBodySendMode": { @@ -3454,6 +3454,10 @@ }, "type": "array" }, +"allowGlobalAccess": { +"description": "Optional. If true, the gateway will allow traffic from clients outside of the region where the gateway is located. This field is configurable only for gateways of type SECURE_WEB_GATEWAY.", +"type": "boolean" +}, "certificateUrls": { "description": "Optional. A fully-qualified Certificates URL reference. The proxy presents a Certificate (selected based on SNI) when establishing a TLS connection. This feature only applies to gateways of type 'SECURE_WEB_GATEWAY'.", "items": { diff --git a/googleapiclient/discovery_cache/documents/observability.v1.json b/googleapiclient/discovery_cache/documents/observability.v1.json index d79459d46c..37ce798fdd 100644 --- a/googleapiclient/discovery_cache/documents/observability.v1.json +++ b/googleapiclient/discovery_cache/documents/observability.v1.json @@ -20,6 +20,16 @@ "description": "Regional Endpoint", "endpointUrl": "https://observability.us-central1.rep.googleapis.com/", "location": "us-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://observability.us.rep.googleapis.com/", +"location": "us" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://observability.eu.rep.googleapis.com/", +"location": "eu" } ], "fullyEncodeReservedExpansion": true, @@ -1506,7 +1516,7 @@ } } }, -"revision": "20260220", +"revision": "20260312", "rootUrl": "https://observability.googleapis.com/", "schemas": { "Bucket": { diff --git a/googleapiclient/discovery_cache/documents/ondemandscanning.v1.json b/googleapiclient/discovery_cache/documents/ondemandscanning.v1.json index c64e187882..af97c65434 100644 --- a/googleapiclient/discovery_cache/documents/ondemandscanning.v1.json +++ b/googleapiclient/discovery_cache/documents/ondemandscanning.v1.json @@ -344,7 +344,7 @@ } } }, -"revision": "20260209", +"revision": "20260316", "rootUrl": "https://ondemandscanning.googleapis.com/", "schemas": { "AliasContext": { @@ -1358,6 +1358,11 @@ "layerDetails": { "$ref": "GrafeasV1LayerDetails", "description": "Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package)." +}, +"lineNumber": { +"description": "Line number in the file where the package was found. Optional field that only applies to source repository scanning.", +"format": "int32", +"type": "integer" } }, "type": "object" diff --git a/googleapiclient/discovery_cache/documents/ondemandscanning.v1beta1.json b/googleapiclient/discovery_cache/documents/ondemandscanning.v1beta1.json index da4477aaa6..f5fe4151fd 100644 --- a/googleapiclient/discovery_cache/documents/ondemandscanning.v1beta1.json +++ b/googleapiclient/discovery_cache/documents/ondemandscanning.v1beta1.json @@ -344,7 +344,7 @@ } } }, -"revision": "20260209", +"revision": "20260316", "rootUrl": "https://ondemandscanning.googleapis.com/", "schemas": { "AliasContext": { @@ -1353,6 +1353,11 @@ "layerDetails": { "$ref": "GrafeasV1LayerDetails", "description": "Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package)." +}, +"lineNumber": { +"description": "Line number in the file where the package was found. Optional field that only applies to source repository scanning.", +"format": "int32", +"type": "integer" } }, "type": "object" diff --git a/googleapiclient/discovery_cache/documents/oracledatabase.v1.json b/googleapiclient/discovery_cache/documents/oracledatabase.v1.json index f65f1f3a25..4b9b226e0a 100644 --- a/googleapiclient/discovery_cache/documents/oracledatabase.v1.json +++ b/googleapiclient/discovery_cache/documents/oracledatabase.v1.json @@ -18,28 +18,18 @@ "endpoints": [ { "description": "Regional Endpoint", -"endpointUrl": "https://oracledatabase.asia-northeast1.rep.googleapis.com/", -"location": "asia-northeast1" -}, -{ -"description": "Regional Endpoint", "endpointUrl": "https://oracledatabase.asia-northeast2.rep.googleapis.com/", "location": "asia-northeast2" }, { "description": "Regional Endpoint", -"endpointUrl": "https://oracledatabase.asia-south1.rep.googleapis.com/", -"location": "asia-south1" -}, -{ -"description": "Regional Endpoint", "endpointUrl": "https://oracledatabase.asia-south2.rep.googleapis.com/", "location": "asia-south2" }, { "description": "Regional Endpoint", -"endpointUrl": "https://oracledatabase.australia-southeast1.rep.googleapis.com/", -"location": "australia-southeast1" +"endpointUrl": "https://oracledatabase.asia-south1.rep.googleapis.com/", +"location": "asia-south1" }, { "description": "Regional Endpoint", @@ -48,48 +38,13 @@ }, { "description": "Regional Endpoint", -"endpointUrl": "https://oracledatabase.europe-west2.rep.googleapis.com/", -"location": "europe-west2" -}, -{ -"description": "Regional Endpoint", -"endpointUrl": "https://oracledatabase.europe-west3.rep.googleapis.com/", -"location": "europe-west3" -}, -{ -"description": "Regional Endpoint", "endpointUrl": "https://oracledatabase.europe-west8.rep.googleapis.com/", "location": "europe-west8" }, { "description": "Regional Endpoint", -"endpointUrl": "https://oracledatabase.northamerica-northeast1.rep.googleapis.com/", -"location": "northamerica-northeast1" -}, -{ -"description": "Regional Endpoint", "endpointUrl": "https://oracledatabase.northamerica-northeast2.rep.googleapis.com/", "location": "northamerica-northeast2" -}, -{ -"description": "Regional Endpoint", -"endpointUrl": "https://oracledatabase.southamerica-east1.rep.googleapis.com/", -"location": "southamerica-east1" -}, -{ -"description": "Regional Endpoint", -"endpointUrl": "https://oracledatabase.us-central1.rep.googleapis.com/", -"location": "us-central1" -}, -{ -"description": "Regional Endpoint", -"endpointUrl": "https://oracledatabase.us-east4.rep.googleapis.com/", -"location": "us-east4" -}, -{ -"description": "Regional Endpoint", -"endpointUrl": "https://oracledatabase.us-west3.rep.googleapis.com/", -"location": "us-west3" } ], "fullyEncodeReservedExpansion": true, @@ -2549,7 +2504,7 @@ } } }, -"revision": "20260225", +"revision": "20260316", "rootUrl": "https://oracledatabase.googleapis.com/", "schemas": { "AllConnectionStrings": { diff --git a/googleapiclient/discovery_cache/documents/orgpolicy.v2.json b/googleapiclient/discovery_cache/documents/orgpolicy.v2.json index 183e4d7778..88509f2ade 100644 --- a/googleapiclient/discovery_cache/documents/orgpolicy.v2.json +++ b/googleapiclient/discovery_cache/documents/orgpolicy.v2.json @@ -187,7 +187,7 @@ ], "parameters": { "etag": { -"description": "Optional. The current etag of policy. If an etag is provided and does not match the current etag of the policy, deletion will be blocked and an ABORTED error will be returned.", +"description": "Optional. The current entity tag (ETag) of the organization policy. If an ETag is provided and doesn't match the current ETag of the policy, deletion of the policy will be blocked and an `ABORTED` error will be returned.", "location": "query", "type": "string" }, @@ -208,7 +208,7 @@ ] }, "get": { -"description": "Gets a policy on a resource. If no policy is set on the resource, `NOT_FOUND` is returned. The `etag` value can be used with `UpdatePolicy()` to update a policy during read-modify-write.", +"description": "Gets a policy on a resource. If no policy is set on the resource, `NOT_FOUND` is returned. The entity tag (ETag) can be used with `UpdatePolicy()` to update a policy during read-modify-write.", "flatPath": "v2/folders/{foldersId}/policies/{policiesId}", "httpMethod": "GET", "id": "orgpolicy.folders.policies.get", @@ -233,7 +233,7 @@ ] }, "getEffectivePolicy": { -"description": "Gets the effective policy on a resource. This is the result of merging policies in the resource hierarchy and evaluating conditions. The returned policy will not have an `etag` or `condition` set because it is an evaluated policy across multiple resources. Subtrees of Resource Manager resource hierarchy with 'under:' prefix will not be expanded.", +"description": "Gets the effective policy on a resource. This is the result of merging policies in the resource hierarchy and evaluating conditions. The returned policy will not have an ETag or `condition` set because it is an evaluated policy across multiple resources. Subtrees of Resource Manager resource hierarchy with 'under:' prefix will not be expanded.", "flatPath": "v2/folders/{foldersId}/policies/{policiesId}:getEffectivePolicy", "httpMethod": "GET", "id": "orgpolicy.folders.policies.getEffectivePolicy", @@ -294,7 +294,7 @@ ] }, "patch": { -"description": "Updates a policy. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the constraint or the policy do not exist. Returns a `google.rpc.Status` with `google.rpc.Code.ABORTED` if the etag supplied in the request does not match the persisted etag of the policy Note: the supplied policy will perform a full overwrite of all fields.", +"description": "Updates a policy. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the constraint or the policy doesn't exist. Returns a `google.rpc.Status` with `google.rpc.Code.ABORTED` if the ETag supplied in the request doesn't match the persisted ETag of the policy. Note: the supplied policy will perform a full overwrite of all fields.", "flatPath": "v2/folders/{foldersId}/policies/{policiesId}", "httpMethod": "PATCH", "id": "orgpolicy.folders.policies.patch", @@ -303,14 +303,14 @@ ], "parameters": { "name": { -"description": "Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint which this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number.", +"description": "Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint that this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number.", "location": "path", "pattern": "^folders/[^/]+/policies/[^/]+$", "required": true, "type": "string" }, "updateMask": { -"description": "Field mask used to specify the fields to be overwritten in the policy by the set. The fields specified in the update_mask are relative to the policy, not the full request.", +"description": "Field mask used to specify the fields to be overwritten in the policy. The fields specified in the update_mask are relative to the policy, not the full request.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -559,7 +559,7 @@ ], "parameters": { "etag": { -"description": "Optional. The current etag of policy. If an etag is provided and does not match the current etag of the policy, deletion will be blocked and an ABORTED error will be returned.", +"description": "Optional. The current entity tag (ETag) of the organization policy. If an ETag is provided and doesn't match the current ETag of the policy, deletion of the policy will be blocked and an `ABORTED` error will be returned.", "location": "query", "type": "string" }, @@ -580,7 +580,7 @@ ] }, "get": { -"description": "Gets a policy on a resource. If no policy is set on the resource, `NOT_FOUND` is returned. The `etag` value can be used with `UpdatePolicy()` to update a policy during read-modify-write.", +"description": "Gets a policy on a resource. If no policy is set on the resource, `NOT_FOUND` is returned. The entity tag (ETag) can be used with `UpdatePolicy()` to update a policy during read-modify-write.", "flatPath": "v2/organizations/{organizationsId}/policies/{policiesId}", "httpMethod": "GET", "id": "orgpolicy.organizations.policies.get", @@ -605,7 +605,7 @@ ] }, "getEffectivePolicy": { -"description": "Gets the effective policy on a resource. This is the result of merging policies in the resource hierarchy and evaluating conditions. The returned policy will not have an `etag` or `condition` set because it is an evaluated policy across multiple resources. Subtrees of Resource Manager resource hierarchy with 'under:' prefix will not be expanded.", +"description": "Gets the effective policy on a resource. This is the result of merging policies in the resource hierarchy and evaluating conditions. The returned policy will not have an ETag or `condition` set because it is an evaluated policy across multiple resources. Subtrees of Resource Manager resource hierarchy with 'under:' prefix will not be expanded.", "flatPath": "v2/organizations/{organizationsId}/policies/{policiesId}:getEffectivePolicy", "httpMethod": "GET", "id": "orgpolicy.organizations.policies.getEffectivePolicy", @@ -666,7 +666,7 @@ ] }, "patch": { -"description": "Updates a policy. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the constraint or the policy do not exist. Returns a `google.rpc.Status` with `google.rpc.Code.ABORTED` if the etag supplied in the request does not match the persisted etag of the policy Note: the supplied policy will perform a full overwrite of all fields.", +"description": "Updates a policy. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the constraint or the policy doesn't exist. Returns a `google.rpc.Status` with `google.rpc.Code.ABORTED` if the ETag supplied in the request doesn't match the persisted ETag of the policy. Note: the supplied policy will perform a full overwrite of all fields.", "flatPath": "v2/organizations/{organizationsId}/policies/{policiesId}", "httpMethod": "PATCH", "id": "orgpolicy.organizations.policies.patch", @@ -675,14 +675,14 @@ ], "parameters": { "name": { -"description": "Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint which this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number.", +"description": "Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint that this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number.", "location": "path", "pattern": "^organizations/[^/]+/policies/[^/]+$", "required": true, "type": "string" }, "updateMask": { -"description": "Field mask used to specify the fields to be overwritten in the policy by the set. The fields specified in the update_mask are relative to the policy, not the full request.", +"description": "Field mask used to specify the fields to be overwritten in the policy. The fields specified in the update_mask are relative to the policy, not the full request.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -785,7 +785,7 @@ ], "parameters": { "etag": { -"description": "Optional. The current etag of policy. If an etag is provided and does not match the current etag of the policy, deletion will be blocked and an ABORTED error will be returned.", +"description": "Optional. The current entity tag (ETag) of the organization policy. If an ETag is provided and doesn't match the current ETag of the policy, deletion of the policy will be blocked and an `ABORTED` error will be returned.", "location": "query", "type": "string" }, @@ -806,7 +806,7 @@ ] }, "get": { -"description": "Gets a policy on a resource. If no policy is set on the resource, `NOT_FOUND` is returned. The `etag` value can be used with `UpdatePolicy()` to update a policy during read-modify-write.", +"description": "Gets a policy on a resource. If no policy is set on the resource, `NOT_FOUND` is returned. The entity tag (ETag) can be used with `UpdatePolicy()` to update a policy during read-modify-write.", "flatPath": "v2/projects/{projectsId}/policies/{policiesId}", "httpMethod": "GET", "id": "orgpolicy.projects.policies.get", @@ -831,7 +831,7 @@ ] }, "getEffectivePolicy": { -"description": "Gets the effective policy on a resource. This is the result of merging policies in the resource hierarchy and evaluating conditions. The returned policy will not have an `etag` or `condition` set because it is an evaluated policy across multiple resources. Subtrees of Resource Manager resource hierarchy with 'under:' prefix will not be expanded.", +"description": "Gets the effective policy on a resource. This is the result of merging policies in the resource hierarchy and evaluating conditions. The returned policy will not have an ETag or `condition` set because it is an evaluated policy across multiple resources. Subtrees of Resource Manager resource hierarchy with 'under:' prefix will not be expanded.", "flatPath": "v2/projects/{projectsId}/policies/{policiesId}:getEffectivePolicy", "httpMethod": "GET", "id": "orgpolicy.projects.policies.getEffectivePolicy", @@ -892,7 +892,7 @@ ] }, "patch": { -"description": "Updates a policy. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the constraint or the policy do not exist. Returns a `google.rpc.Status` with `google.rpc.Code.ABORTED` if the etag supplied in the request does not match the persisted etag of the policy Note: the supplied policy will perform a full overwrite of all fields.", +"description": "Updates a policy. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the constraint or the policy doesn't exist. Returns a `google.rpc.Status` with `google.rpc.Code.ABORTED` if the ETag supplied in the request doesn't match the persisted ETag of the policy. Note: the supplied policy will perform a full overwrite of all fields.", "flatPath": "v2/projects/{projectsId}/policies/{policiesId}", "httpMethod": "PATCH", "id": "orgpolicy.projects.policies.patch", @@ -901,14 +901,14 @@ ], "parameters": { "name": { -"description": "Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint which this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number.", +"description": "Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint that this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number.", "location": "path", "pattern": "^projects/[^/]+/policies/[^/]+$", "required": true, "type": "string" }, "updateMask": { -"description": "Field mask used to specify the fields to be overwritten in the policy by the set. The fields specified in the update_mask are relative to the policy, not the full request.", +"description": "Field mask used to specify the fields to be overwritten in the policy. The fields specified in the update_mask are relative to the policy, not the full request.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -930,7 +930,7 @@ } } }, -"revision": "20260226", +"revision": "20260312", "rootUrl": "https://orgpolicy.googleapis.com/", "schemas": { "GoogleCloudOrgpolicyV2AlternatePolicySpec": { @@ -949,7 +949,7 @@ "type": "object" }, "GoogleCloudOrgpolicyV2Constraint": { -"description": "A constraint describes a way to restrict resource's configuration. For example, you could enforce a constraint that controls which Google Cloud services can be activated across an organization, or whether a Compute Engine instance can have serial port connections established. Constraints can be configured by the organization policy administrator to fit the needs of the organization by setting a policy that includes constraints at different locations in the organization's resource hierarchy. Policies are inherited down the resource hierarchy from higher levels, but can also be overridden. For details about the inheritance rules, see `Policy`. Constraints have a default behavior determined by the `constraint_default` field, which is the enforcement behavior that is used in the absence of a policy being defined or inherited for the resource in question.", +"description": "A constraint describes a way to restrict a resource's configuration. For example, you could enforce a constraint that controls which Google Cloud services can be activated across an organization, or whether a Compute Engine instance can have serial port connections established. Constraints can be configured by the organization policy administrator to fit the needs of the organization by setting a policy that includes constraints at different locations in the organization's resource hierarchy. Policies are inherited down the resource hierarchy from higher levels, but can also be overridden. For details about the inheritance rules, see `Policy`. Constraints have a default behavior determined by the `constraint_default` field, which is the enforcement behavior that is used in the absence of a policy being defined or inherited for the resource in question.", "id": "GoogleCloudOrgpolicyV2Constraint", "properties": { "booleanConstraint": { @@ -979,7 +979,7 @@ "type": "string" }, "equivalentConstraint": { -"description": "Managed constraint and canned constraint sometimes can have equivalents. This field is used to store the equivalent constraint name.", +"description": "Defines the equivalent constraint name, if it exists. Managed constraints can have an equivalent legacy managed constraint, and legacy managed constraints can have an equivalent managed constraint. For example, \"constraints/iam.disableServiceAccountKeyUpload\" is equivalent to \"constraints/iam.managed.disableServiceAccountKeyUpload\".", "type": "string" }, "listConstraint": { @@ -1065,7 +1065,7 @@ "type": "object" }, "resourceTypes": { -"description": "The resource instance type on which this policy applies. Format will be of the form : `/` Example: * `compute.googleapis.com/Instance`.", +"description": "The resource instance type that this policy applies to, in the format `/`. Example: * `compute.googleapis.com/Instance`.", "items": { "type": "string" }, @@ -1119,7 +1119,7 @@ "type": "string" }, "validValuesExpr": { -"description": "Provides a CEL expression to specify the acceptable parameter values during assignment. For example, parameterName in (\"parameterValue1\", \"parameterValue2\")", +"description": "Provides a CEL expression to specify the acceptable parameter values during assignment. For example, parameterName in (\"parameterValue1\", \"parameterValue2\").", "type": "string" } }, @@ -1130,7 +1130,7 @@ "id": "GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameterMetadata", "properties": { "description": { -"description": "Detailed description of what this `parameter` is and use of it. Mutable.", +"description": "Detailed description of what this `parameter` is and its use. Mutable.", "type": "string" } }, @@ -1279,7 +1279,7 @@ "type": "object" }, "GoogleCloudOrgpolicyV2Policy": { -"description": "Defines an organization policy which is used to specify constraints for configurations of Google Cloud resources.", +"description": "Defines an organization policy that is used to specify constraints for configurations of Google Cloud resources.", "id": "GoogleCloudOrgpolicyV2Policy", "properties": { "alternate": { @@ -1292,11 +1292,11 @@ "description": "Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced." }, "etag": { -"description": "Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This 'etag' 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.", +"description": "Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This entity tag (ETag) 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.", "type": "string" }, "name": { -"description": "Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint which this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number.", +"description": "Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint that this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number.", "type": "string" }, "spec": { @@ -1307,15 +1307,15 @@ "type": "object" }, "GoogleCloudOrgpolicyV2PolicySpec": { -"description": "Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources.", +"description": "Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources.", "id": "GoogleCloudOrgpolicyV2PolicySpec", "properties": { "etag": { -"description": "An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset.", +"description": "An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset.", "type": "string" }, "inheritFromParent": { -"description": "Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints.", +"description": "Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints.", "type": "boolean" }, "reset": { @@ -1323,7 +1323,7 @@ "type": "boolean" }, "rules": { -"description": "In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence.", +"description": "In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence.", "items": { "$ref": "GoogleCloudOrgpolicyV2PolicySpecPolicyRule" }, diff --git a/googleapiclient/discovery_cache/documents/policysimulator.v1.json b/googleapiclient/discovery_cache/documents/policysimulator.v1.json index 60a621c15a..6f7a98dfed 100644 --- a/googleapiclient/discovery_cache/documents/policysimulator.v1.json +++ b/googleapiclient/discovery_cache/documents/policysimulator.v1.json @@ -1061,7 +1061,7 @@ } } }, -"revision": "20260227", +"revision": "20260312", "rootUrl": "https://policysimulator.googleapis.com/", "schemas": { "GoogleCloudOrgpolicyV2AlternatePolicySpec": { @@ -1153,7 +1153,7 @@ "type": "object" }, "GoogleCloudOrgpolicyV2Policy": { -"description": "Defines an organization policy which is used to specify constraints for configurations of Google Cloud resources.", +"description": "Defines an organization policy that is used to specify constraints for configurations of Google Cloud resources.", "id": "GoogleCloudOrgpolicyV2Policy", "properties": { "alternate": { @@ -1166,11 +1166,11 @@ "description": "Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced." }, "etag": { -"description": "Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This 'etag' 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.", +"description": "Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This entity tag (ETag) 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.", "type": "string" }, "name": { -"description": "Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint which this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number.", +"description": "Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint that this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number.", "type": "string" }, "spec": { @@ -1181,15 +1181,15 @@ "type": "object" }, "GoogleCloudOrgpolicyV2PolicySpec": { -"description": "Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources.", +"description": "Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources.", "id": "GoogleCloudOrgpolicyV2PolicySpec", "properties": { "etag": { -"description": "An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset.", +"description": "An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset.", "type": "string" }, "inheritFromParent": { -"description": "Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints.", +"description": "Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints.", "type": "boolean" }, "reset": { @@ -1197,7 +1197,7 @@ "type": "boolean" }, "rules": { -"description": "In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence.", +"description": "In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence.", "items": { "$ref": "GoogleCloudOrgpolicyV2PolicySpecPolicyRule" }, diff --git a/googleapiclient/discovery_cache/documents/policysimulator.v1alpha.json b/googleapiclient/discovery_cache/documents/policysimulator.v1alpha.json index 60b2c40070..2e48e61248 100644 --- a/googleapiclient/discovery_cache/documents/policysimulator.v1alpha.json +++ b/googleapiclient/discovery_cache/documents/policysimulator.v1alpha.json @@ -640,7 +640,7 @@ } } }, -"revision": "20260227", +"revision": "20260312", "rootUrl": "https://policysimulator.googleapis.com/", "schemas": { "GoogleCloudOrgpolicyV2AlternatePolicySpec": { @@ -732,7 +732,7 @@ "type": "object" }, "GoogleCloudOrgpolicyV2Policy": { -"description": "Defines an organization policy which is used to specify constraints for configurations of Google Cloud resources.", +"description": "Defines an organization policy that is used to specify constraints for configurations of Google Cloud resources.", "id": "GoogleCloudOrgpolicyV2Policy", "properties": { "alternate": { @@ -745,11 +745,11 @@ "description": "Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced." }, "etag": { -"description": "Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This 'etag' 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.", +"description": "Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This entity tag (ETag) 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.", "type": "string" }, "name": { -"description": "Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint which this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number.", +"description": "Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint that this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number.", "type": "string" }, "spec": { @@ -760,15 +760,15 @@ "type": "object" }, "GoogleCloudOrgpolicyV2PolicySpec": { -"description": "Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources.", +"description": "Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources.", "id": "GoogleCloudOrgpolicyV2PolicySpec", "properties": { "etag": { -"description": "An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset.", +"description": "An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset.", "type": "string" }, "inheritFromParent": { -"description": "Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints.", +"description": "Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints.", "type": "boolean" }, "reset": { @@ -776,7 +776,7 @@ "type": "boolean" }, "rules": { -"description": "In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence.", +"description": "In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence.", "items": { "$ref": "GoogleCloudOrgpolicyV2PolicySpecPolicyRule" }, diff --git a/googleapiclient/discovery_cache/documents/policysimulator.v1beta.json b/googleapiclient/discovery_cache/documents/policysimulator.v1beta.json index dc55de6f92..f8828918e2 100644 --- a/googleapiclient/discovery_cache/documents/policysimulator.v1beta.json +++ b/googleapiclient/discovery_cache/documents/policysimulator.v1beta.json @@ -1197,7 +1197,7 @@ } } }, -"revision": "20260227", +"revision": "20260312", "rootUrl": "https://policysimulator.googleapis.com/", "schemas": { "GoogleCloudOrgpolicyV2AlternatePolicySpec": { @@ -1289,7 +1289,7 @@ "type": "object" }, "GoogleCloudOrgpolicyV2Policy": { -"description": "Defines an organization policy which is used to specify constraints for configurations of Google Cloud resources.", +"description": "Defines an organization policy that is used to specify constraints for configurations of Google Cloud resources.", "id": "GoogleCloudOrgpolicyV2Policy", "properties": { "alternate": { @@ -1302,11 +1302,11 @@ "description": "Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced." }, "etag": { -"description": "Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This 'etag' 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.", +"description": "Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This entity tag (ETag) 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.", "type": "string" }, "name": { -"description": "Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint which this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number.", +"description": "Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint that this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number.", "type": "string" }, "spec": { @@ -1317,15 +1317,15 @@ "type": "object" }, "GoogleCloudOrgpolicyV2PolicySpec": { -"description": "Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources.", +"description": "Defines a Google Cloud policy specification that is used to specify constraints for configurations of Google Cloud resources.", "id": "GoogleCloudOrgpolicyV2PolicySpec", "properties": { "etag": { -"description": "An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset.", +"description": "An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this entity tag (ETag) indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the ETag will be unset.", "type": "string" }, "inheritFromParent": { -"description": "Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints.", +"description": "Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies that configure list constraints.", "type": "boolean" }, "reset": { @@ -1333,7 +1333,7 @@ "type": "boolean" }, "rules": { -"description": "In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence.", +"description": "In policies for boolean constraints, the following requirements apply: - There must be exactly one policy rule where a condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence.", "items": { "$ref": "GoogleCloudOrgpolicyV2PolicySpecPolicyRule" }, diff --git a/googleapiclient/discovery_cache/documents/pubsub.v1.json b/googleapiclient/discovery_cache/documents/pubsub.v1.json index 75859aac32..16e0a35313 100644 --- a/googleapiclient/discovery_cache/documents/pubsub.v1.json +++ b/googleapiclient/discovery_cache/documents/pubsub.v1.json @@ -1798,7 +1798,7 @@ } } }, -"revision": "20260227", +"revision": "20260310", "rootUrl": "https://pubsub.googleapis.com/", "schemas": { "AIInference": { @@ -1894,7 +1894,8 @@ "KINESIS_PERMISSION_DENIED", "PUBLISH_PERMISSION_DENIED", "STREAM_NOT_FOUND", -"CONSUMER_NOT_FOUND" +"CONSUMER_NOT_FOUND", +"CONFLICTING_REGION_CONSTRAINTS" ], "enumDescriptions": [ "Default value. This value is unused.", @@ -1902,7 +1903,8 @@ "Permission denied encountered while consuming data from Kinesis. This can happen if: - The provided `aws_role_arn` does not exist or does not have the appropriate permissions attached. - The provided `aws_role_arn` is not set up properly for Identity Federation using `gcp_service_account`. - The Pub/Sub SA is not granted the `iam.serviceAccounts.getOpenIdToken` permission on `gcp_service_account`.", "Permission denied encountered while publishing to the topic. This can happen if the Pub/Sub SA has not been granted the [appropriate publish permissions](https://cloud.google.com/pubsub/docs/access-control#pubsub.publisher)", "The Kinesis stream does not exist.", -"The Kinesis consumer does not exist." +"The Kinesis consumer does not exist.", +"Indicates an error state where the ingestion source cannot be processed. This occurs because there is no overlap between the regions allowed by the topic's `MessageStoragePolicy` and the regions permitted by the Regional Access Boundary (RAB) restrictions on the project's Pub/Sub service account. A common, allowed region is required to determine a valid ingestion region." ], "readOnly": true, "type": "string" @@ -1938,7 +1940,8 @@ "MSK_PERMISSION_DENIED", "PUBLISH_PERMISSION_DENIED", "CLUSTER_NOT_FOUND", -"TOPIC_NOT_FOUND" +"TOPIC_NOT_FOUND", +"CONFLICTING_REGION_CONSTRAINTS" ], "enumDescriptions": [ "Default value. This value is unused.", @@ -1946,7 +1949,8 @@ "Permission denied encountered while consuming data from Amazon MSK.", "Permission denied encountered while publishing to the topic.", "The provided MSK cluster wasn't found.", -"The provided topic wasn't found." +"The provided topic wasn't found.", +"Indicates an error state where the ingestion source cannot be processed. This occurs because there is no overlap between the regions allowed by the topic's `MessageStoragePolicy` and the regions permitted by the Regional Access Boundary (RAB) restrictions on the project's Pub/Sub service account. A common, allowed region is required to determine a valid ingestion region." ], "readOnly": true, "type": "string" @@ -1992,7 +1996,8 @@ "NAMESPACE_NOT_FOUND", "EVENT_HUB_NOT_FOUND", "SUBSCRIPTION_NOT_FOUND", -"RESOURCE_GROUP_NOT_FOUND" +"RESOURCE_GROUP_NOT_FOUND", +"CONFLICTING_REGION_CONSTRAINTS" ], "enumDescriptions": [ "Default value. This value is unused.", @@ -2002,7 +2007,8 @@ "The provided Event Hubs namespace couldn't be found.", "The provided Event Hub couldn't be found.", "The provided Event Hubs subscription couldn't be found.", -"The provided Event Hubs resource group couldn't be found." +"The provided Event Hubs resource group couldn't be found.", +"Indicates an error state where the ingestion source cannot be processed. This occurs because there is no overlap between the regions allowed by the topic's `MessageStoragePolicy` and the regions permitted by the Regional Access Boundary (RAB) restrictions on the project's Pub/Sub service account. A common, allowed region is required to determine a valid ingestion region." ], "readOnly": true, "type": "string" @@ -2072,6 +2078,54 @@ }, "type": "object" }, +"BigtableConfig": { +"description": "Configuration for a Bigtable subscription. The Pub/Sub message will be written to a Bigtable row as follows: - row key: subscription name and message ID delimited by #. - columns: message bytes written to a single column family \"data\" with an empty-string column qualifier. - cell timestamp: the message publish timestamp.", +"id": "BigtableConfig", +"properties": { +"appProfileId": { +"description": "Optional. The app profile to use for the Bigtable writes. If not specified, the \"default\" application profile will be used. The app profile must use single-cluster routing.", +"type": "string" +}, +"serviceAccountEmail": { +"description": "Optional. The service account to use to write to Bigtable. The subscription creator or updater that specifies this field must have `iam.serviceAccounts.actAs` permission on the service account. If not specified, the Pub/Sub [service agent](https://cloud.google.com/iam/docs/service-agents), service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.", +"type": "string" +}, +"state": { +"description": "Output only. An output-only field that indicates whether or not the subscription can receive messages.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"NOT_FOUND", +"APP_PROFILE_MISCONFIGURED", +"PERMISSION_DENIED", +"SCHEMA_MISMATCH", +"IN_TRANSIT_LOCATION_RESTRICTION", +"VERTEX_AI_LOCATION_RESTRICTION" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The subscription can actively send messages to Bigtable.", +"Cannot write to Bigtable because the instance, table, or app profile does not exist.", +"Cannot write to Bigtable because the app profile is not configured for single-cluster routing.", +"Cannot write to Bigtable because of permission denied errors. This can happen if: - The Pub/Sub service agent has not been granted the [appropriate Bigtable IAM permission bigtable.tables.mutateRows]({$universe.dns_names.final_documentation_domain}/bigtable/docs/access-control#permissions) - The bigtable.googleapis.com API is not enabled for the project ([instructions]({$universe.dns_names.final_documentation_domain}/service-usage/docs/enable-disable))", +"Cannot write to Bigtable because of a missing column family (\"data\") or if there is no structured row key for the subscription name + message ID.", +"Cannot write to the destination because enforce_in_transit is set to true and the destination locations are not in the allowed regions.", +"Cannot write to Bigtable because the table is not in the same location as where Vertex AI models used in `message_transform`s are deployed." +], +"readOnly": true, +"type": "string" +}, +"table": { +"description": "Optional. The unique name of the table to write messages to. Values are of the form `projects//instances//tables/`.", +"type": "string" +}, +"writeMetadata": { +"description": "Optional. When true, write the subscription name, message_id, publish_time, attributes, and ordering_key to additional columns in the table under the pubsub_metadata column family. The subscription name, message_id, and publish_time fields are put in their own columns while all other message properties (other than data) are written to a JSON object in the attributes column.", +"type": "boolean" +} +}, +"type": "object" +}, "Binding": { "description": "Associates `members`, or principals, with a `role`.", "id": "Binding", @@ -2127,7 +2181,8 @@ "CLOUD_STORAGE_PERMISSION_DENIED", "PUBLISH_PERMISSION_DENIED", "BUCKET_NOT_FOUND", -"TOO_MANY_OBJECTS" +"TOO_MANY_OBJECTS", +"CONFLICTING_REGION_CONSTRAINTS" ], "enumDescriptions": [ "Default value. This value is unused.", @@ -2135,7 +2190,8 @@ "Permission denied encountered while calling the Cloud Storage API. This can happen if the Pub/Sub SA has not been granted the [appropriate permissions](https://cloud.google.com/storage/docs/access-control/iam-permissions): - storage.objects.list: to list the objects in a bucket. - storage.objects.get: to read the objects in a bucket. - storage.buckets.get: to verify the bucket exists.", "Permission denied encountered while publishing to the topic. This can happen if the Pub/Sub SA has not been granted the [appropriate publish permissions](https://cloud.google.com/pubsub/docs/access-control#pubsub.publisher)", "The provided Cloud Storage bucket doesn't exist.", -"The Cloud Storage bucket has too many objects, ingestion will be paused." +"The Cloud Storage bucket has too many objects, ingestion will be paused.", +"Indicates an error state where the ingestion source cannot be processed. This occurs because there is no overlap between the regions allowed by the topic's `MessageStoragePolicy` and the regions permitted by the Regional Access Boundary (RAB) restrictions on the project's Pub/Sub service account. A common, allowed region is required to determine a valid ingestion region." ], "readOnly": true, "type": "string" @@ -2260,7 +2316,8 @@ "PUBLISH_PERMISSION_DENIED", "UNREACHABLE_BOOTSTRAP_SERVER", "CLUSTER_NOT_FOUND", -"TOPIC_NOT_FOUND" +"TOPIC_NOT_FOUND", +"CONFLICTING_REGION_CONSTRAINTS" ], "enumDescriptions": [ "Default value. This value is unused.", @@ -2269,7 +2326,8 @@ "Permission denied encountered while publishing to the topic.", "The provided bootstrap server address is unreachable.", "The provided cluster wasn't found.", -"The provided topic wasn't found." +"The provided topic wasn't found.", +"Indicates an error state where the ingestion source cannot be processed. This occurs because there is no overlap between the regions allowed by the topic's `MessageStoragePolicy` and the regions permitted by the Regional Access Boundary (RAB) restrictions on the project's Pub/Sub service account. A common, allowed region is required to determine a valid ingestion region." ], "readOnly": true, "type": "string" @@ -3022,6 +3080,10 @@ "$ref": "BigQueryConfig", "description": "Optional. If delivery to BigQuery is used with this subscription, this field is used to configure it." }, +"bigtableConfig": { +"$ref": "BigtableConfig", +"description": "Optional. If delivery to Bigtable is used with this subscription, this field is used to configure it." +}, "cloudStorageConfig": { "$ref": "CloudStorageConfig", "description": "Optional. If delivery to Google Cloud Storage is used with this subscription, this field is used to configure it." diff --git a/googleapiclient/discovery_cache/documents/run.v1.json b/googleapiclient/discovery_cache/documents/run.v1.json index 0e45adb236..58572347d9 100644 --- a/googleapiclient/discovery_cache/documents/run.v1.json +++ b/googleapiclient/discovery_cache/documents/run.v1.json @@ -3583,7 +3583,7 @@ } } }, -"revision": "20260306", +"revision": "20260313", "rootUrl": "https://run.googleapis.com/", "schemas": { "Addressable": { @@ -4515,6 +4515,13 @@ "$ref": "GoogleDevtoolsCloudbuildV1ArtifactObjects", "description": "A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps. Files in the workspace matching specified paths globs will be uploaded to the specified Cloud Storage location using the builder service account's credentials. The location and generation of the uploaded objects will be stored in the Build resource's results field. If any objects fail to be pushed, the build is marked FAILURE." }, +"oci": { +"description": "Optional. A list of OCI images to be uploaded to Artifact Registry upon successful completion of all build steps. OCI images in the specified paths will be uploaded to the specified Artifact Registry repository using the builder service account's credentials. If any images fail to be pushed, the build is marked FAILURE.", +"items": { +"$ref": "GoogleDevtoolsCloudbuildV1Oci" +}, +"type": "array" +}, "pythonPackages": { "description": "A list of Python packages to be uploaded to Artifact Registry upon successful completion of all build steps. The build service account credentials will be used to perform the upload. If any objects fail to be pushed, the build is marked FAILURE.", "items": { @@ -5106,6 +5113,21 @@ false "description": "Name used to push the container image to Google Container Registry, as presented to `docker push`.", "type": "string" }, +"ociMediaType": { +"description": "Output only. The OCI media type of the artifact. Non-OCI images, such as Docker images, will have an unspecified value.", +"enum": [ +"OCI_MEDIA_TYPE_UNSPECIFIED", +"IMAGE_MANIFEST", +"IMAGE_INDEX" +], +"enumDescriptions": [ +"Default value.", +"The artifact is an image manifest, which represents a single image with all its layers.", +"The artifact is an image index, which can contain a list of image manifests." +], +"readOnly": true, +"type": "string" +}, "pushTiming": { "$ref": "GoogleDevtoolsCloudbuildV1TimeSpan", "description": "Output only. Stores timing information for pushing the specified image.", @@ -5426,6 +5448,28 @@ false }, "type": "object" }, +"GoogleDevtoolsCloudbuildV1Oci": { +"description": "OCI image to upload to Artifact Registry upon successful completion of all build steps.", +"id": "GoogleDevtoolsCloudbuildV1Oci", +"properties": { +"file": { +"description": "Required. Path on the local file system where to find the container to upload. e.g. /workspace/my-image.tar", +"type": "string" +}, +"registryPath": { +"description": "Required. Registry path to upload the container to. e.g. us-east1-docker.pkg.dev/my-project/my-repo/my-image", +"type": "string" +}, +"tags": { +"description": "Optional. Tags to apply to the uploaded image. e.g. latest, 1.0.0", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, "GoogleDevtoolsCloudbuildV1PoolOption": { "description": "Details about how a build should be executed on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information.", "id": "GoogleDevtoolsCloudbuildV1PoolOption", diff --git a/googleapiclient/discovery_cache/documents/run.v2.json b/googleapiclient/discovery_cache/documents/run.v2.json index ffafb1cb24..bef4dd99d4 100644 --- a/googleapiclient/discovery_cache/documents/run.v2.json +++ b/googleapiclient/discovery_cache/documents/run.v2.json @@ -2473,7 +2473,7 @@ } } }, -"revision": "20260306", +"revision": "20260313", "rootUrl": "https://run.googleapis.com/", "schemas": { "GoogleCloudRunV2BinaryAuthorization": { @@ -5008,7 +5008,7 @@ "id": "GoogleCloudRunV2SourceFile", "properties": { "content": { -"description": "Required. Input only. The source code as raw text.", +"description": "Required. Input only. Represents the exact, literal, and complete source code of the file. Placeholders like `...` or comments such as `# [rest of code]` should NEVER be used as omission. Every character in this field will be built into the final container. Any omission will result in a broken application.", "type": "string" }, "filename": { @@ -6036,6 +6036,13 @@ "$ref": "GoogleDevtoolsCloudbuildV1ArtifactObjects", "description": "A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps. Files in the workspace matching specified paths globs will be uploaded to the specified Cloud Storage location using the builder service account's credentials. The location and generation of the uploaded objects will be stored in the Build resource's results field. If any objects fail to be pushed, the build is marked FAILURE." }, +"oci": { +"description": "Optional. A list of OCI images to be uploaded to Artifact Registry upon successful completion of all build steps. OCI images in the specified paths will be uploaded to the specified Artifact Registry repository using the builder service account's credentials. If any images fail to be pushed, the build is marked FAILURE.", +"items": { +"$ref": "GoogleDevtoolsCloudbuildV1Oci" +}, +"type": "array" +}, "pythonPackages": { "description": "A list of Python packages to be uploaded to Artifact Registry upon successful completion of all build steps. The build service account credentials will be used to perform the upload. If any objects fail to be pushed, the build is marked FAILURE.", "items": { @@ -6627,6 +6634,21 @@ false "description": "Name used to push the container image to Google Container Registry, as presented to `docker push`.", "type": "string" }, +"ociMediaType": { +"description": "Output only. The OCI media type of the artifact. Non-OCI images, such as Docker images, will have an unspecified value.", +"enum": [ +"OCI_MEDIA_TYPE_UNSPECIFIED", +"IMAGE_MANIFEST", +"IMAGE_INDEX" +], +"enumDescriptions": [ +"Default value.", +"The artifact is an image manifest, which represents a single image with all its layers.", +"The artifact is an image index, which can contain a list of image manifests." +], +"readOnly": true, +"type": "string" +}, "pushTiming": { "$ref": "GoogleDevtoolsCloudbuildV1TimeSpan", "description": "Output only. Stores timing information for pushing the specified image.", @@ -6947,6 +6969,28 @@ false }, "type": "object" }, +"GoogleDevtoolsCloudbuildV1Oci": { +"description": "OCI image to upload to Artifact Registry upon successful completion of all build steps.", +"id": "GoogleDevtoolsCloudbuildV1Oci", +"properties": { +"file": { +"description": "Required. Path on the local file system where to find the container to upload. e.g. /workspace/my-image.tar", +"type": "string" +}, +"registryPath": { +"description": "Required. Registry path to upload the container to. e.g. us-east1-docker.pkg.dev/my-project/my-repo/my-image", +"type": "string" +}, +"tags": { +"description": "Optional. Tags to apply to the uploaded image. e.g. latest, 1.0.0", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, "GoogleDevtoolsCloudbuildV1PoolOption": { "description": "Details about how a build should be executed on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information.", "id": "GoogleDevtoolsCloudbuildV1PoolOption", diff --git a/googleapiclient/discovery_cache/documents/securityposture.v1.json b/googleapiclient/discovery_cache/documents/securityposture.v1.json index 60be0bb3fd..a2a6984c77 100644 --- a/googleapiclient/discovery_cache/documents/securityposture.v1.json +++ b/googleapiclient/discovery_cache/documents/securityposture.v1.json @@ -903,7 +903,7 @@ } } }, -"revision": "20260205", +"revision": "20260317", "rootUrl": "https://securityposture.googleapis.com/", "schemas": { "AssetDetails": { @@ -1238,40 +1238,6 @@ }, "type": "object" }, -"IacValidationFailureCriteria": { -"description": "Represents the criteria for considering an IaC validation as a failure.", -"id": "IacValidationFailureCriteria", -"properties": { -"createTime": { -"description": "Output only. The time at which the resource was created.", -"format": "google-datetime", -"readOnly": true, -"type": "string" -}, -"etag": { -"description": "Optional. The etag for optimistic concurrency.", -"type": "string" -}, -"name": { -"description": "Identifier. The resource name of the IacValidationFailureCriteria. Format: organizations/{organization}/locations/{location}/iacValidationFailureCriteria", -"type": "string" -}, -"severityCountThresholds": { -"description": "Optional. A list of severity thresholds. An IaC validation fails if any threshold is exceeded.", -"items": { -"$ref": "SeverityCountThreshold" -}, -"type": "array" -}, -"updateTime": { -"description": "Output only. The time at which the resource was last updated.", -"format": "google-datetime", -"readOnly": true, -"type": "string" -} -}, -"type": "object" -}, "ListLocationsResponse": { "description": "The response message for Locations.ListLocations.", "id": "ListLocationsResponse", @@ -2104,36 +2070,6 @@ }, "type": "object" }, -"SeverityCountThreshold": { -"description": "Represents a threshold for a specific severity.", -"id": "SeverityCountThreshold", -"properties": { -"severity": { -"description": "Optional. The severity level, reusing the existing Violation.Severity.", -"enum": [ -"SEVERITY_UNSPECIFIED", -"CRITICAL", -"HIGH", -"MEDIUM", -"LOW" -], -"enumDescriptions": [ -"Default value. This value is unused.", -"Critical severity.", -"High severity.", -"Medium severity.", -"Low severity." -], -"type": "string" -}, -"thresholdCount": { -"description": "Optional. If violation count meets or exceeds this threshold, validation fails.", -"format": "int32", -"type": "integer" -} -}, -"type": "object" -}, "Status": { "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": "Status", diff --git a/googleapiclient/discovery_cache/documents/serviceusage.v1.json b/googleapiclient/discovery_cache/documents/serviceusage.v1.json index 11dd3c7a28..763823e60a 100644 --- a/googleapiclient/discovery_cache/documents/serviceusage.v1.json +++ b/googleapiclient/discovery_cache/documents/serviceusage.v1.json @@ -431,7 +431,7 @@ } } }, -"revision": "20260210", +"revision": "20260317", "rootUrl": "https://serviceusage.googleapis.com/", "schemas": { "AddEnableRulesMetadata": { @@ -2863,66 +2863,6 @@ }, "type": "object" }, -"McpEnableRule": { -"description": "McpEnableRule contains MCP enablement related rules.", -"id": "McpEnableRule", -"properties": { -"mcpServices": { -"description": "List of enabled MCP services.", -"items": { -"$ref": "McpService" -}, -"type": "array" -} -}, -"type": "object" -}, -"McpPolicy": { -"description": "MCP Consumer Policy is a set of rules that define MCP related policy for a cloud resource hierarchy.", -"id": "McpPolicy", -"properties": { -"createTime": { -"description": "Output only. The time the policy was created. For singleton policies (such as the `default` policy), this is the first touch of the policy.", -"format": "google-datetime", -"readOnly": true, -"type": "string" -}, -"etag": { -"description": "An opaque tag indicating the current version of the policy, used for concurrency control.", -"type": "string" -}, -"mcpEnableRules": { -"description": "McpEnableRules contains MCP enablement related rules.", -"items": { -"$ref": "McpEnableRule" -}, -"type": "array" -}, -"name": { -"description": "Output only. The resource name of the policy. Only the `default` policy is supported. We allow the following formats: `projects/{PROJECT_NUMBER}/mcpPolicies/default`, `projects/{PROJECT_ID}/mcpPolicies/default`, `folders/{FOLDER_ID}/mcpPolicies/default`, `organizations/{ORG_ID}/mcpPolicies/default`.", -"readOnly": true, -"type": "string" -}, -"updateTime": { -"description": "Output only. The time the policy was last updated.", -"format": "google-datetime", -"readOnly": true, -"type": "string" -} -}, -"type": "object" -}, -"McpService": { -"description": "McpService contains the service names that are enabled for MCP.", -"id": "McpService", -"properties": { -"service": { -"description": "The names of the services that are enabled for MCP. Example: `services/library-example.googleapis.com`", -"type": "string" -} -}, -"type": "object" -}, "Method": { "description": "Method represents a method of an API interface. New usages of this message as an alternative to MethodDescriptorProto are strongly discouraged. This message does not reliability preserve all information necessary to model the schema and preserve semantics. Instead make use of FileDescriptorSet which preserves the necessary information.", "id": "Method", @@ -3896,12 +3836,6 @@ "properties": {}, "type": "object" }, -"UpdateMcpPolicyMetadata": { -"description": "Metadata for the `UpdateMcpPolicy` method.", -"id": "UpdateMcpPolicyMetadata", -"properties": {}, -"type": "object" -}, "Usage": { "description": "Configuration controlling usage of a service.", "id": "Usage", diff --git a/googleapiclient/discovery_cache/documents/serviceusage.v1beta1.json b/googleapiclient/discovery_cache/documents/serviceusage.v1beta1.json index fe3656fdb7..a1ac13c49a 100644 --- a/googleapiclient/discovery_cache/documents/serviceusage.v1beta1.json +++ b/googleapiclient/discovery_cache/documents/serviceusage.v1beta1.json @@ -969,7 +969,7 @@ } } }, -"revision": "20260210", +"revision": "20260317", "rootUrl": "https://serviceusage.googleapis.com/", "schemas": { "AddEnableRulesMetadata": { @@ -3558,66 +3558,6 @@ }, "type": "object" }, -"McpEnableRule": { -"description": "McpEnableRule contains MCP enablement related rules.", -"id": "McpEnableRule", -"properties": { -"mcpServices": { -"description": "List of enabled MCP services.", -"items": { -"$ref": "McpService" -}, -"type": "array" -} -}, -"type": "object" -}, -"McpPolicy": { -"description": "MCP Consumer Policy is a set of rules that define MCP related policy for a cloud resource hierarchy.", -"id": "McpPolicy", -"properties": { -"createTime": { -"description": "Output only. The time the policy was created. For singleton policies (such as the `default` policy), this is the first touch of the policy.", -"format": "google-datetime", -"readOnly": true, -"type": "string" -}, -"etag": { -"description": "An opaque tag indicating the current version of the policy, used for concurrency control.", -"type": "string" -}, -"mcpEnableRules": { -"description": "McpEnableRules contains MCP enablement related rules.", -"items": { -"$ref": "McpEnableRule" -}, -"type": "array" -}, -"name": { -"description": "Output only. The resource name of the policy. Only the `default` policy is supported. We allow the following formats: `projects/{PROJECT_NUMBER}/mcpPolicies/default`, `projects/{PROJECT_ID}/mcpPolicies/default`, `folders/{FOLDER_ID}/mcpPolicies/default`, `organizations/{ORG_ID}/mcpPolicies/default`.", -"readOnly": true, -"type": "string" -}, -"updateTime": { -"description": "Output only. The time the policy was last updated.", -"format": "google-datetime", -"readOnly": true, -"type": "string" -} -}, -"type": "object" -}, -"McpService": { -"description": "McpService contains the service names that are enabled for MCP.", -"id": "McpService", -"properties": { -"service": { -"description": "The names of the services that are enabled for MCP. Example: `services/library-example.googleapis.com`", -"type": "string" -} -}, -"type": "object" -}, "Method": { "description": "Method represents a method of an API interface. New usages of this message as an alternative to MethodDescriptorProto are strongly discouraged. This message does not reliability preserve all information necessary to model the schema and preserve semantics. Instead make use of FileDescriptorSet which preserves the necessary information.", "id": "Method", @@ -4784,12 +4724,6 @@ "properties": {}, "type": "object" }, -"UpdateMcpPolicyMetadata": { -"description": "Metadata for the `UpdateMcpPolicy` method.", -"id": "UpdateMcpPolicyMetadata", -"properties": {}, -"type": "object" -}, "Usage": { "description": "Configuration controlling usage of a service.", "id": "Usage", diff --git a/googleapiclient/discovery_cache/documents/sts.v1.json b/googleapiclient/discovery_cache/documents/sts.v1.json index d468444c79..2a5ba7cc6e 100644 --- a/googleapiclient/discovery_cache/documents/sts.v1.json +++ b/googleapiclient/discovery_cache/documents/sts.v1.json @@ -353,7 +353,7 @@ } } }, -"revision": "20260304", +"revision": "20260311", "rootUrl": "https://sts.googleapis.com/", "schemas": { "GoogleIamV1Binding": { @@ -487,7 +487,7 @@ "description": "An access boundary that defines the upper bound of permissions the credential may have. The value should be a JSON object of AccessBoundary. The access boundary can include up to 10 rules. The size of the parameter value should not exceed 2048 characters." }, "bindCertFingerprint": { -"description": "The unpadded, base64url-encoded SHA-256 hash of the certificate's DER encoding and it must be 43 characters long. The resulting token will be bound to this value.", +"description": "The unpadded, url-escaped, base64-encoded SHA-256 hash of the certificate's DER encoding. It must be 43 characters long. The resulting token will be bound to this value.", "type": "string" }, "userProject": { diff --git a/googleapiclient/discovery_cache/documents/sts.v1beta.json b/googleapiclient/discovery_cache/documents/sts.v1beta.json index 186a2a9c74..b4ead48103 100644 --- a/googleapiclient/discovery_cache/documents/sts.v1beta.json +++ b/googleapiclient/discovery_cache/documents/sts.v1beta.json @@ -353,7 +353,7 @@ } } }, -"revision": "20260304", +"revision": "20260311", "rootUrl": "https://sts.googleapis.com/", "schemas": { "GoogleIamV1Binding": { @@ -423,7 +423,7 @@ "description": "An access boundary that defines the upper bound of permissions the credential may have. The value should be a JSON object of AccessBoundary. The access boundary can include up to 10 rules. The size of the parameter value should not exceed 2048 characters." }, "bindCertFingerprint": { -"description": "The unpadded, base64url-encoded SHA-256 hash of the certificate's DER encoding and it must be 43 characters long. The resulting token will be bound to this value.", +"description": "The unpadded, url-escaped, base64-encoded SHA-256 hash of the certificate's DER encoding. It must be 43 characters long. The resulting token will be bound to this value.", "type": "string" }, "userProject": { diff --git a/googleapiclient/discovery_cache/documents/toolresults.v1beta3.json b/googleapiclient/discovery_cache/documents/toolresults.v1beta3.json index f5e955ad3c..ef63c99059 100644 --- a/googleapiclient/discovery_cache/documents/toolresults.v1beta3.json +++ b/googleapiclient/discovery_cache/documents/toolresults.v1beta3.json @@ -132,7 +132,7 @@ ] }, "initializeSettings": { -"description": "Creates resources for settings which have not yet been set. Currently, this creates a single resource: a Google Cloud Storage bucket, to be used as the default bucket for this project. The bucket is created in an FTL-own storage project. Except for in rare cases, calling this method in parallel from multiple clients will only create a single bucket. In order to avoid unnecessary storage charges, the bucket is configured to automatically delete objects older than 90 days. The bucket is created with the following permissions: - Owner access for owners of central storage project (FTL-owned) - Writer access for owners/editors of customer project - Reader access for viewers of customer project The default ACL on objects created in the bucket is: - Owner access for owners of central storage project - Reader access for owners/editors/viewers of customer project See Google Cloud Storage documentation for more details. If there is already a default bucket set and the project can access the bucket, this call does nothing. However, if the project doesn't have the permission to access the bucket or the bucket is deleted, a new bucket will be created. May return any canonical error codes, including the following: - PERMISSION_DENIED - if the user is not authorized to write to project - Any error code raised by Google Cloud Storage", +"description": "Creates resources for settings which have not yet been set. Currently, this creates a single resource: a Google Cloud Storage bucket, to be used as the default bucket for this project. The bucket is created in an FTL-own storage project. Except for in rare cases, calling this method in parallel from multiple clients will only create a single bucket. In order to avoid unnecessary storage charges, the bucket is configured to automatically delete objects older than 60 days. The bucket is created with the following permissions: - Owner access for owners of central storage project (FTL-owned) - Writer access for owners/editors of customer project - Reader access for viewers of customer project The default ACL on objects created in the bucket is: - Owner access for owners of central storage project - Reader access for owners/editors/viewers of customer project See Google Cloud Storage documentation for more details. If there is already a default bucket set and the project can access the bucket, this call does nothing. However, if the project doesn't have the permission to access the bucket or the bucket is deleted, a new bucket will be created. May return any canonical error codes, including the following: - PERMISSION_DENIED - if the user is not authorized to write to project - Any error code raised by Google Cloud Storage", "flatPath": "toolresults/v1beta3/projects/{projectId}:initializeSettings", "httpMethod": "POST", "id": "toolresults.projects.initializeSettings", @@ -1464,7 +1464,7 @@ } } }, -"revision": "20260108", +"revision": "20260318", "rootUrl": "https://toolresults.googleapis.com/", "schemas": { "ANR": { diff --git a/googleapiclient/discovery_cache/documents/youtube.v3.json b/googleapiclient/discovery_cache/documents/youtube.v3.json index 5435d22fbf..69fa453b6b 100644 --- a/googleapiclient/discovery_cache/documents/youtube.v3.json +++ b/googleapiclient/discovery_cache/documents/youtube.v3.json @@ -4172,7 +4172,7 @@ } } }, -"revision": "20260205", +"revision": "20260317", "rootUrl": "https://youtube.googleapis.com/", "schemas": { "AbuseReport": { @@ -8832,8 +8832,8 @@ true "description": "Whether the gift involves a visual effect.", "type": "boolean" }, -"jewelsCount": { -"description": "The cost of the gift in jewels.", +"jewelsAmount": { +"description": "The value of the gift in jewels.", "format": "int32", "type": "integer" },