From fd8940b79540724f0c0eb88663e6c766efdef9fc Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Mon, 16 Dec 2024 15:37:02 -0600 Subject: [PATCH] update --- discovery-artifact-manager | 2 +- discovery/googleapis/aiplatform__v1.json | 186 +- discovery/googleapis/composer__v1.json | 4 +- discovery/googleapis/datamigration__v1.json | 6 +- discovery/googleapis/domains__v1.json | 12 +- discovery/googleapis/netapp__v1.json | 22 +- discovery/googleapis/redis__v1.json | 22 +- discovery/googleapis/servicecontrol__v2.json | 10 +- generated/googleapis/lib/aiplatform/v1.dart | 298 +++- generated/googleapis/lib/composer/v1.dart | 2 +- .../googleapis/lib/datamigration/v1.dart | 9 + generated/googleapis/lib/domains/v1.dart | 22 +- generated/googleapis/lib/netapp/v1.dart | 32 + .../googleapis/lib/servicecontrol/v2.dart | 14 + generated/googleapis/lib/shared.dart | 2 +- .../googleapis/test/aiplatform/v1_test.dart | 1579 ++++++++++------- .../test/datamigration/v1_test.dart | 2 + generated/googleapis/test/netapp/v1_test.dart | 8 + .../test/servicecontrol/v2_test.dart | 171 +- 19 files changed, 1653 insertions(+), 750 deletions(-) diff --git a/discovery-artifact-manager b/discovery-artifact-manager index c2e52eef2..a42ed12a2 160000 --- a/discovery-artifact-manager +++ b/discovery-artifact-manager @@ -1 +1 @@ -Subproject commit c2e52eef2461a9c51d77fe4f2f38e5c85f7c3840 +Subproject commit a42ed12a27d4fc851057c80c2baf2456b2a32245 diff --git a/discovery/googleapis/aiplatform__v1.json b/discovery/googleapis/aiplatform__v1.json index b29f6ae66..1ade32608 100644 --- a/discovery/googleapis/aiplatform__v1.json +++ b/discovery/googleapis/aiplatform__v1.json @@ -184,6 +184,11 @@ "endpointUrl": "https://us-east4-aiplatform.googleapis.com/", "location": "us-east4" }, + { + "description": "Locational Endpoint", + "endpointUrl": "https://us-east7-aiplatform.googleapis.com/", + "location": "us-east7" + }, { "description": "Locational Endpoint", "endpointUrl": "https://us-south1-aiplatform.googleapis.com/", @@ -225,7 +230,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20241203", + "revision": "20241210", "rootUrl": "https://aiplatform.googleapis.com/", "servicePath": "", "title": "Vertex AI API", @@ -449,7 +454,7 @@ ], "parameters": { "name": { - "description": "Output only. Identifier. The resource name of the Dataset.", + "description": "Output only. Identifier. The resource name of the Dataset. Format: `projects/{project}/locations/{location}/datasets/{dataset}`", "location": "path", "pattern": "^datasets/[^/]+$", "required": true, @@ -2215,7 +2220,7 @@ ], "parameters": { "name": { - "description": "Output only. Identifier. The resource name of the Dataset.", + "description": "Output only. Identifier. The resource name of the Dataset. Format: `projects/{project}/locations/{location}/datasets/{dataset}`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", "required": true, @@ -15350,6 +15355,34 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] + }, + "streamQuery": { + "description": "Streams queries using a reasoning engine.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}:streamQuery", + "httpMethod": "POST", + "id": "aiplatform.projects.locations.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": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:streamQuery", + "request": { + "$ref": "GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest" + }, + "response": { + "$ref": "GoogleApiHttpBody" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] } }, "resources": { @@ -22657,7 +22690,7 @@ "type": "string" }, "name": { - "description": "Output only. Identifier. The resource name of the Dataset.", + "description": "Output only. Identifier. The resource name of the Dataset. Format: `projects/{project}/locations/{location}/datasets/{dataset}`", "readOnly": true, "type": "string" }, @@ -26861,6 +26894,22 @@ "format": "int32", "type": "integer" }, + "mediaResolution": { + "description": "Optional. If specified, the media resolution specified will be used.", + "enum": [ + "MEDIA_RESOLUTION_UNSPECIFIED", + "MEDIA_RESOLUTION_LOW", + "MEDIA_RESOLUTION_MEDIUM", + "MEDIA_RESOLUTION_HIGH" + ], + "enumDescriptions": [ + "Media resolution has not been set.", + "Media resolution set to low (64 tokens).", + "Media resolution set to medium (256 tokens).", + "Media resolution set to high (zoomed reframing with 256 tokens)." + ], + "type": "string" + }, "presencePenalty": { "description": "Optional. Positive penalties.", "format": "float", @@ -26922,22 +26971,6 @@ "format": "float", "type": "number" }, - "tokenResolution": { - "description": "Optional. If specified, the token resolution specified will be used.", - "enum": [ - "TOKEN_RESOLUTION_UNSPECIFIED", - "TOKEN_RESOLUTION_LOW", - "TOKEN_RESOLUTION_MEDIUM", - "TOKEN_RESOLUTION_HIGH" - ], - "enumDescriptions": [ - "Token resolution has not been set.", - "Token resolution set to low (64 tokens).", - "Token resolution set to medium (256 tokens).", - "Token resolution set to high (P&S with 256 tokens)." - ], - "type": "string" - }, "topK": { "description": "Optional. If specified, top-k sampling will be used.", "format": "float", @@ -30072,6 +30105,10 @@ "description": "Required. Immutable. URI of the Docker image to be used as the custom container for serving predictions. This URI must identify an image in Artifact Registry or Container Registry. Learn more about the [container publishing requirements](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#publishing), including permissions requirements for the Vertex AI Service Agent. The container image is ingested upon ModelService.UploadModel, stored internally, and this original path is afterwards not used. To learn about the requirements for the Docker image itself, see [Custom container requirements](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#). You can use the URI to one of Vertex AI's [pre-built container images for prediction](https://cloud.google.com/vertex-ai/docs/predictions/pre-built-containers) in this field.", "type": "string" }, + "livenessProbe": { + "$ref": "GoogleCloudAiplatformV1Probe", + "description": "Immutable. Specification for Kubernetes liveness probe." + }, "ports": { "description": "Immutable. List of ports to expose from the container. Vertex AI sends any prediction requests that it receives to the first port on this list. Vertex AI also sends [liveness and health checks](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#liveness) to this port. If you do not specify this field, it defaults to following value: ```json [ { \"containerPort\": 8080 } ] ``` Vertex AI does not use ports other than the first one listed. This field corresponds to the `ports` field of the Kubernetes Containers [v1 core API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core).", "items": { @@ -33438,11 +33475,23 @@ "$ref": "GoogleCloudAiplatformV1ProbeExecAction", "description": "ExecAction probes the health of a container by executing a command." }, + "grpc": { + "$ref": "GoogleCloudAiplatformV1ProbeGrpcAction", + "description": "GrpcAction probes the health of a container by sending a gRPC request." + }, + "httpGet": { + "$ref": "GoogleCloudAiplatformV1ProbeHttpGetAction", + "description": "HttpGetAction probes the health of a container by sending an HTTP GET request." + }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Must be less than timeout_seconds. Maps to Kubernetes probe argument 'periodSeconds'.", "format": "int32", "type": "integer" }, + "tcpSocket": { + "$ref": "GoogleCloudAiplatformV1ProbeTcpSocketAction", + "description": "TcpSocketAction probes the health of a container by opening a TCP socket connection." + }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Must be greater or equal to period_seconds. Maps to Kubernetes probe argument 'timeoutSeconds'.", "format": "int32", @@ -33465,6 +33514,84 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1ProbeGrpcAction": { + "description": "GrpcAction checks the health of a container using a gRPC service.", + "id": "GoogleCloudAiplatformV1ProbeGrpcAction", + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "format": "int32", + "type": "integer" + }, + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudAiplatformV1ProbeHttpGetAction": { + "description": "HttpGetAction describes an action based on HTTP Get requests.", + "id": "GoogleCloudAiplatformV1ProbeHttpGetAction", + "properties": { + "host": { + "description": "Host name to connect to, defaults to the model serving container's IP. You probably want to set \"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "items": { + "$ref": "GoogleCloudAiplatformV1ProbeHttpHeader" + }, + "type": "array" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Number of the port to access on the container. Number must be in the range 1 to 65535.", + "format": "int32", + "type": "integer" + }, + "scheme": { + "description": "Scheme to use for connecting to the host. Defaults to HTTP. Acceptable values are \"HTTP\" or \"HTTPS\".", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudAiplatformV1ProbeHttpHeader": { + "description": "HttpHeader describes a custom header to be used in HTTP probes", + "id": "GoogleCloudAiplatformV1ProbeHttpHeader", + "properties": { + "name": { + "description": "The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudAiplatformV1ProbeTcpSocketAction": { + "description": "TcpSocketAction probes the health of a container by opening a TCP socket connection.", + "id": "GoogleCloudAiplatformV1ProbeTcpSocketAction", + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the model serving container's IP.", + "type": "string" + }, + "port": { + "description": "Number of the port to access on the container. Number must be in the range 1 to 65535.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1PscAutomatedEndpoints": { "description": "PscAutomatedEndpoints defines the output of the forwarding rule automatically created by each PscAutomationConfig.", "id": "GoogleCloudAiplatformV1PscAutomatedEndpoints", @@ -40752,6 +40879,25 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest": { + "description": "Request message for ReasoningEngineExecutionService.StreamQuery.", + "id": "GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest", + "properties": { + "classMethod": { + "description": "Optional. Class method to be used for the stream query. It is optional and defaults to \"stream_query\" if unspecified.", + "type": "string" + }, + "input": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Optional. Input content provided by users in JSON object format. Examples include text query, function calling parameters, media bytes, etc.", + "type": "object" + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1StreamRawPredictRequest": { "description": "Request message for PredictionService.StreamRawPredict.", "id": "GoogleCloudAiplatformV1StreamRawPredictRequest", diff --git a/discovery/googleapis/composer__v1.json b/discovery/googleapis/composer__v1.json index c4a9e0ac7..15851bf02 100644 --- a/discovery/googleapis/composer__v1.json +++ b/discovery/googleapis/composer__v1.json @@ -247,7 +247,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20241027", + "revision": "20241210", "rootUrl": "https://composer.googleapis.com/", "servicePath": "", "title": "Cloud Composer API", @@ -1003,7 +1003,7 @@ "workloads": { "methods": { "list": { - "description": "Lists workloads in a Cloud Composer environment. Workload is a unit that runs a single Composer component. This method is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.", + "description": "Lists workloads in a Cloud Composer environment. Workload is a unit that runs a single Composer component. This method is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}/workloads", "httpMethod": "GET", "id": "composer.projects.locations.environments.workloads.list", diff --git a/discovery/googleapis/datamigration__v1.json b/discovery/googleapis/datamigration__v1.json index e74686e4f..25c129dab 100644 --- a/discovery/googleapis/datamigration__v1.json +++ b/discovery/googleapis/datamigration__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20241202", + "revision": "20241211", "rootUrl": "https://datamigration.googleapis.com/", "servicePath": "", "title": "Database Migration API", @@ -5745,6 +5745,10 @@ "$ref": "MigrationJobObjectsConfig", "description": "Optional. The object filter to apply to the migration job." }, + "restartFailedObjects": { + "description": "Optional. If true, only failed objects will be restarted.", + "type": "boolean" + }, "skipValidation": { "description": "Optional. Restart the migration job without running prior configuration verification. Defaults to `false`.", "type": "boolean" diff --git a/discovery/googleapis/domains__v1.json b/discovery/googleapis/domains__v1.json index 7c6cc7363..515bbac08 100644 --- a/discovery/googleapis/domains__v1.json +++ b/discovery/googleapis/domains__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240724", + "revision": "20241209", "rootUrl": "https://domains.googleapis.com/", "servicePath": "", "title": "Cloud Domains API", @@ -1941,18 +1941,18 @@ "type": "object" }, "PostalAddress": { - "description": "Represents a postal address, e.g. for postal delivery or payments addresses. Given a postal address, a postal service can deliver items to a premise, P.O. Box or similar. It is not intended to model geographical locations (roads, towns, mountains). In typical usage an address would be created via user input or from importing existing data, depending on the type of process. Advice on address input / editing: - Use an internationalization-ready address widget such as https://github.com/google/libaddressinput) - Users should not be presented with UI elements for input or editing of fields outside countries where that field is used. For more guidance on how to use this schema, please see: https://support.google.com/business/answer/6397478", + "description": "Represents a postal address. For example for postal delivery or payments addresses. Given a postal address, a postal service can deliver items to a premise, P.O. Box or similar. It is not intended to model geographical locations (roads, towns, mountains). In typical usage an address would be created by user input or from importing existing data, depending on the type of process. Advice on address input / editing: - Use an internationalization-ready address widget such as https://github.com/google/libaddressinput) - Users should not be presented with UI elements for input or editing of fields outside countries where that field is used. For more guidance on how to use this schema, see: https://support.google.com/business/answer/6397478", "id": "PostalAddress", "properties": { "addressLines": { - "description": "Unstructured address lines describing the lower levels of an address. Because values in address_lines do not have type information and may sometimes contain multiple values in a single field (e.g. \"Austin, TX\"), it is important that the line order is clear. The order of address lines should be \"envelope order\" for the country/region of the address. In places where this can vary (e.g. Japan), address_language is used to make it explicit (e.g. \"ja\" for large-to-small ordering and \"ja-Latn\" or \"en\" for small-to-large). This way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a region_code with all remaining information placed in the address_lines. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a region_code and address_lines, and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas).", + "description": "Unstructured address lines describing the lower levels of an address. Because values in address_lines do not have type information and may sometimes contain multiple values in a single field (For example \"Austin, TX\"), it is important that the line order is clear. The order of address lines should be \"envelope order\" for the country/region of the address. In places where this can vary (For example Japan), address_language is used to make it explicit (For example \"ja\" for large-to-small ordering and \"ja-Latn\" or \"en\" for small-to-large). This way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a region_code with all remaining information placed in the address_lines. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a region_code and address_lines, and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas).", "items": { "type": "string" }, "type": "array" }, "administrativeArea": { - "description": "Optional. Highest administrative subdivision which is used for postal addresses of a country or region. For example, this can be a state, a province, an oblast, or a prefecture. Specifically, for Spain this is the province and not the autonomous community (e.g. \"Barcelona\" and not \"Catalonia\"). Many countries don't use an administrative area in postal addresses. E.g. in Switzerland this should be left unpopulated.", + "description": "Optional. Highest administrative subdivision which is used for postal addresses of a country or region. For example, this can be a state, a province, an oblast, or a prefecture. Specifically, for Spain this is the province and not the autonomous community (For example \"Barcelona\" and not \"Catalonia\"). Many countries don't use an administrative area in postal addresses. For example in Switzerland this should be left unpopulated.", "type": "string" }, "languageCode": { @@ -1968,7 +1968,7 @@ "type": "string" }, "postalCode": { - "description": "Optional. Postal code of the address. Not all countries use or require postal codes to be present, but where they are used, they may trigger additional validation with other parts of the address (e.g. state/zip validation in the U.S.A.).", + "description": "Optional. Postal code of the address. Not all countries use or require postal codes to be present, but where they are used, they may trigger additional validation with other parts of the address (For example state/zip validation in the U.S.A.).", "type": "string" }, "recipients": { @@ -1988,7 +1988,7 @@ "type": "integer" }, "sortingCode": { - "description": "Optional. Additional, country-specific, sorting code. This is not used in most regions. Where it is used, the value is either a string like \"CEDEX\", optionally followed by a number (e.g. \"CEDEX 7\"), or just a number alone, representing the \"sector code\" (Jamaica), \"delivery area indicator\" (Malawi) or \"post office indicator\" (e.g. Côte d'Ivoire).", + "description": "Optional. Additional, country-specific, sorting code. This is not used in most regions. Where it is used, the value is either a string like \"CEDEX\", optionally followed by a number (For example \"CEDEX 7\"), or just a number alone, representing the \"sector code\" (Jamaica), \"delivery area indicator\" (Malawi) or \"post office indicator\" (For example Côte d'Ivoire).", "type": "string" }, "sublocality": { diff --git a/discovery/googleapis/netapp__v1.json b/discovery/googleapis/netapp__v1.json index c597b86ee..a00bc6220 100644 --- a/discovery/googleapis/netapp__v1.json +++ b/discovery/googleapis/netapp__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20241203", + "revision": "20241209", "rootUrl": "https://netapp.googleapis.com/", "servicePath": "", "title": "NetApp API", @@ -2279,6 +2279,16 @@ "description": "Identifier. The resource name of the backup. Format: `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}`.", "type": "string" }, + "satisfiesPzi": { + "description": "Output only. Reserved for future use", + "readOnly": true, + "type": "boolean" + }, + "satisfiesPzs": { + "description": "Output only. Reserved for future use", + "readOnly": true, + "type": "boolean" + }, "sourceSnapshot": { "description": "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}`", "type": "string" @@ -3673,6 +3683,16 @@ "description": "Optional. Specifies the replica zone for regional storagePool.", "type": "string" }, + "satisfiesPzi": { + "description": "Output only. Reserved for future use", + "readOnly": true, + "type": "boolean" + }, + "satisfiesPzs": { + "description": "Output only. Reserved for future use", + "readOnly": true, + "type": "boolean" + }, "serviceLevel": { "description": "Required. Service level of the storage pool", "enum": [ diff --git a/discovery/googleapis/redis__v1.json b/discovery/googleapis/redis__v1.json index bdc7e9f22..255891697 100644 --- a/discovery/googleapis/redis__v1.json +++ b/discovery/googleapis/redis__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20241203", + "revision": "20241212", "rootUrl": "https://redis.googleapis.com/", "servicePath": "", "title": "Google Cloud Memorystore for Redis API", @@ -2084,7 +2084,9 @@ "SIGNAL_TYPE_SUPERUSER_WRITING_TO_USER_TABLES", "SIGNAL_TYPE_USER_GRANTED_ALL_PERMISSIONS", "SIGNAL_TYPE_DATA_EXPORT_TO_EXTERNAL_CLOUD_STORAGE_BUCKET", - "SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET" + "SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET", + "SIGNAL_TYPE_WEAK_PASSWORD_HASH_ALGORITHM", + "SIGNAL_TYPE_NO_USER_PASSWORD_POLICY" ], "enumDeprecated": [ false, @@ -2165,6 +2167,8 @@ false, false, false, + false, + false, false ], "enumDescriptions": [ @@ -2246,7 +2250,9 @@ "Detects events where a Cloud SQL superuser (postgres for PostgreSQL servers or root for MySQL users) writes to non-system tables.", "Detects events where a database user or role has been granted all privileges to a database, or to all tables, procedures, or functions in a schema.", "Detects if database instance data exported to a Cloud Storage bucket outside of the organization.", - "Detects if database instance data exported to a Cloud Storage bucket that is owned by the organization and is publicly accessible." + "Detects if database instance data exported to a Cloud Storage bucket that is owned by the organization and is publicly accessible.", + "Detects if a database instance is using a weak password hash algorithm.", + "Detects if a database instance has no user password policy set." ], "type": "string" }, @@ -2617,7 +2623,9 @@ "SIGNAL_TYPE_SUPERUSER_WRITING_TO_USER_TABLES", "SIGNAL_TYPE_USER_GRANTED_ALL_PERMISSIONS", "SIGNAL_TYPE_DATA_EXPORT_TO_EXTERNAL_CLOUD_STORAGE_BUCKET", - "SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET" + "SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET", + "SIGNAL_TYPE_WEAK_PASSWORD_HASH_ALGORITHM", + "SIGNAL_TYPE_NO_USER_PASSWORD_POLICY" ], "enumDeprecated": [ false, @@ -2698,6 +2706,8 @@ false, false, false, + false, + false, false ], "enumDescriptions": [ @@ -2779,7 +2789,9 @@ "Detects events where a Cloud SQL superuser (postgres for PostgreSQL servers or root for MySQL users) writes to non-system tables.", "Detects events where a database user or role has been granted all privileges to a database, or to all tables, procedures, or functions in a schema.", "Detects if database instance data exported to a Cloud Storage bucket outside of the organization.", - "Detects if database instance data exported to a Cloud Storage bucket that is owned by the organization and is publicly accessible." + "Detects if database instance data exported to a Cloud Storage bucket that is owned by the organization and is publicly accessible.", + "Detects if a database instance is using a weak password hash algorithm.", + "Detects if a database instance has no user password policy set." ], "type": "string" } diff --git a/discovery/googleapis/servicecontrol__v2.json b/discovery/googleapis/servicecontrol__v2.json index c1188d806..8bbcbdfd9 100644 --- a/discovery/googleapis/servicecontrol__v2.json +++ b/discovery/googleapis/servicecontrol__v2.json @@ -28,7 +28,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240802", + "revision": "20241205", "rootUrl": "https://servicecontrol.googleapis.com/", "servicePath": "", "title": "Service Control API", @@ -489,6 +489,14 @@ "description": "Response message for the Check method.", "id": "CheckResponse", "properties": { + "dynamicMetadata": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Optional response metadata that will be emitted as dynamic metadata to be consumed by the caller of ServiceController. For compatibility with the ext_authz interface.", + "type": "object" + }, "headers": { "additionalProperties": { "type": "string" diff --git a/generated/googleapis/lib/aiplatform/v1.dart b/generated/googleapis/lib/aiplatform/v1.dart index 5f48bec3e..ca3a6d2d1 100644 --- a/generated/googleapis/lib/aiplatform/v1.dart +++ b/generated/googleapis/lib/aiplatform/v1.dart @@ -382,6 +382,7 @@ class DatasetsResource { /// Request parameters: /// /// [name] - Output only. Identifier. The resource name of the Dataset. + /// Format: `projects/{project}/locations/{location}/datasets/{dataset}` /// Value must have pattern `^datasets/\[^/\]+$`. /// /// [updateMask] - Required. The update mask applies to the resource. For the @@ -3109,6 +3110,7 @@ class ProjectsLocationsDatasetsResource { /// Request parameters: /// /// [name] - Output only. Identifier. The resource name of the Dataset. + /// Format: `projects/{project}/locations/{location}/datasets/{dataset}` /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/datasets/\[^/\]+$`. /// @@ -23751,6 +23753,50 @@ class ProjectsLocationsReasoningEnginesResource { return GoogleCloudAiplatformV1QueryReasoningEngineResponse.fromJson( response_ as core.Map); } + + /// Streams queries using a reasoning engine. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the ReasoningEngine resource to use. + /// Format: + /// `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/reasoningEngines/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleApiHttpBody]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future streamQuery( + GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest request, + core.String name, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$name') + ':streamQuery'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleApiHttpBody.fromJson( + response_ as core.Map); + } } class ProjectsLocationsReasoningEnginesOperationsResource { @@ -34830,7 +34876,8 @@ class GoogleCloudAiplatformV1Dataset { /// Identifier. /// - /// The resource name of the Dataset. + /// The resource name of the Dataset. Format: + /// `projects/{project}/locations/{location}/datasets/{dataset}` /// /// Output only. core.String? name; @@ -43107,6 +43154,17 @@ class GoogleCloudAiplatformV1GenerationConfig { /// Optional. core.int? maxOutputTokens; + /// If specified, the media resolution specified will be used. + /// + /// Optional. + /// Possible string values are: + /// - "MEDIA_RESOLUTION_UNSPECIFIED" : Media resolution has not been set. + /// - "MEDIA_RESOLUTION_LOW" : Media resolution set to low (64 tokens). + /// - "MEDIA_RESOLUTION_MEDIUM" : Media resolution set to medium (256 tokens). + /// - "MEDIA_RESOLUTION_HIGH" : Media resolution set to high (zoomed reframing + /// with 256 tokens). + core.String? mediaResolution; + /// Positive penalties. /// /// Optional. @@ -43168,17 +43226,6 @@ class GoogleCloudAiplatformV1GenerationConfig { /// Optional. core.double? temperature; - /// If specified, the token resolution specified will be used. - /// - /// Optional. - /// Possible string values are: - /// - "TOKEN_RESOLUTION_UNSPECIFIED" : Token resolution has not been set. - /// - "TOKEN_RESOLUTION_LOW" : Token resolution set to low (64 tokens). - /// - "TOKEN_RESOLUTION_MEDIUM" : Token resolution set to medium (256 tokens). - /// - "TOKEN_RESOLUTION_HIGH" : Token resolution set to high (P&S with 256 - /// tokens). - core.String? tokenResolution; - /// If specified, top-k sampling will be used. /// /// Optional. @@ -43195,6 +43242,7 @@ class GoogleCloudAiplatformV1GenerationConfig { this.frequencyPenalty, this.logprobs, this.maxOutputTokens, + this.mediaResolution, this.presencePenalty, this.responseLogprobs, this.responseMimeType, @@ -43205,7 +43253,6 @@ class GoogleCloudAiplatformV1GenerationConfig { this.speechConfig, this.stopSequences, this.temperature, - this.tokenResolution, this.topK, this.topP, }); @@ -43218,6 +43265,7 @@ class GoogleCloudAiplatformV1GenerationConfig { (json_['frequencyPenalty'] as core.num?)?.toDouble(), logprobs: json_['logprobs'] as core.int?, maxOutputTokens: json_['maxOutputTokens'] as core.int?, + mediaResolution: json_['mediaResolution'] as core.String?, presencePenalty: (json_['presencePenalty'] as core.num?)?.toDouble(), responseLogprobs: json_['responseLogprobs'] as core.bool?, responseMimeType: json_['responseMimeType'] as core.String?, @@ -43241,7 +43289,6 @@ class GoogleCloudAiplatformV1GenerationConfig { ?.map((value) => value as core.String) .toList(), temperature: (json_['temperature'] as core.num?)?.toDouble(), - tokenResolution: json_['tokenResolution'] as core.String?, topK: (json_['topK'] as core.num?)?.toDouble(), topP: (json_['topP'] as core.num?)?.toDouble(), ); @@ -43252,6 +43299,7 @@ class GoogleCloudAiplatformV1GenerationConfig { if (frequencyPenalty != null) 'frequencyPenalty': frequencyPenalty!, if (logprobs != null) 'logprobs': logprobs!, if (maxOutputTokens != null) 'maxOutputTokens': maxOutputTokens!, + if (mediaResolution != null) 'mediaResolution': mediaResolution!, if (presencePenalty != null) 'presencePenalty': presencePenalty!, if (responseLogprobs != null) 'responseLogprobs': responseLogprobs!, if (responseMimeType != null) 'responseMimeType': responseMimeType!, @@ -43263,7 +43311,6 @@ class GoogleCloudAiplatformV1GenerationConfig { if (speechConfig != null) 'speechConfig': speechConfig!, if (stopSequences != null) 'stopSequences': stopSequences!, if (temperature != null) 'temperature': temperature!, - if (tokenResolution != null) 'tokenResolution': tokenResolution!, if (topK != null) 'topK': topK!, if (topP != null) 'topP': topP!, }; @@ -48981,6 +49028,11 @@ class GoogleCloudAiplatformV1ModelContainerSpec { /// Required. Immutable. core.String? imageUri; + /// Specification for Kubernetes liveness probe. + /// + /// Immutable. + GoogleCloudAiplatformV1Probe? livenessProbe; + /// List of ports to expose from the container. /// /// Vertex AI sends any prediction requests that it receives to the first port @@ -49040,6 +49092,7 @@ class GoogleCloudAiplatformV1ModelContainerSpec { this.healthProbe, this.healthRoute, this.imageUri, + this.livenessProbe, this.ports, this.predictRoute, this.sharedMemorySizeMb, @@ -49069,6 +49122,10 @@ class GoogleCloudAiplatformV1ModelContainerSpec { : null, healthRoute: json_['healthRoute'] as core.String?, imageUri: json_['imageUri'] as core.String?, + livenessProbe: json_.containsKey('livenessProbe') + ? GoogleCloudAiplatformV1Probe.fromJson( + json_['livenessProbe'] as core.Map) + : null, ports: (json_['ports'] as core.List?) ?.map((value) => GoogleCloudAiplatformV1Port.fromJson( value as core.Map)) @@ -49090,6 +49147,7 @@ class GoogleCloudAiplatformV1ModelContainerSpec { if (healthProbe != null) 'healthProbe': healthProbe!, if (healthRoute != null) 'healthRoute': healthRoute!, if (imageUri != null) 'imageUri': imageUri!, + if (livenessProbe != null) 'livenessProbe': livenessProbe!, if (ports != null) 'ports': ports!, if (predictRoute != null) 'predictRoute': predictRoute!, if (sharedMemorySizeMb != null) @@ -55141,12 +55199,23 @@ class GoogleCloudAiplatformV1Probe { /// ExecAction probes the health of a container by executing a command. GoogleCloudAiplatformV1ProbeExecAction? exec; + /// GrpcAction probes the health of a container by sending a gRPC request. + GoogleCloudAiplatformV1ProbeGrpcAction? grpc; + + /// HttpGetAction probes the health of a container by sending an HTTP GET + /// request. + GoogleCloudAiplatformV1ProbeHttpGetAction? httpGet; + /// How often (in seconds) to perform the probe. /// /// Default to 10 seconds. Minimum value is 1. Must be less than /// timeout_seconds. Maps to Kubernetes probe argument 'periodSeconds'. core.int? periodSeconds; + /// TcpSocketAction probes the health of a container by opening a TCP socket + /// connection. + GoogleCloudAiplatformV1ProbeTcpSocketAction? tcpSocket; + /// Number of seconds after which the probe times out. /// /// Defaults to 1 second. Minimum value is 1. Must be greater or equal to @@ -55155,7 +55224,10 @@ class GoogleCloudAiplatformV1Probe { GoogleCloudAiplatformV1Probe({ this.exec, + this.grpc, + this.httpGet, this.periodSeconds, + this.tcpSocket, this.timeoutSeconds, }); @@ -55165,13 +55237,28 @@ class GoogleCloudAiplatformV1Probe { ? GoogleCloudAiplatformV1ProbeExecAction.fromJson( json_['exec'] as core.Map) : null, + grpc: json_.containsKey('grpc') + ? GoogleCloudAiplatformV1ProbeGrpcAction.fromJson( + json_['grpc'] as core.Map) + : null, + httpGet: json_.containsKey('httpGet') + ? GoogleCloudAiplatformV1ProbeHttpGetAction.fromJson( + json_['httpGet'] as core.Map) + : null, periodSeconds: json_['periodSeconds'] as core.int?, + tcpSocket: json_.containsKey('tcpSocket') + ? GoogleCloudAiplatformV1ProbeTcpSocketAction.fromJson( + json_['tcpSocket'] as core.Map) + : null, timeoutSeconds: json_['timeoutSeconds'] as core.int?, ); core.Map toJson() => { if (exec != null) 'exec': exec!, + if (grpc != null) 'grpc': grpc!, + if (httpGet != null) 'httpGet': httpGet!, if (periodSeconds != null) 'periodSeconds': periodSeconds!, + if (tcpSocket != null) 'tcpSocket': tcpSocket!, if (timeoutSeconds != null) 'timeoutSeconds': timeoutSeconds!, }; } @@ -55179,6 +55266,147 @@ class GoogleCloudAiplatformV1Probe { /// ExecAction specifies a command to execute. typedef GoogleCloudAiplatformV1ProbeExecAction = $ExecAction; +/// GrpcAction checks the health of a container using a gRPC service. +class GoogleCloudAiplatformV1ProbeGrpcAction { + /// Port number of the gRPC service. + /// + /// Number must be in the range 1 to 65535. + core.int? port; + + /// Service is the name of the service to place in the gRPC HealthCheckRequest + /// (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + /// + /// If this is not specified, the default behavior is defined by gRPC. + core.String? service; + + GoogleCloudAiplatformV1ProbeGrpcAction({ + this.port, + this.service, + }); + + GoogleCloudAiplatformV1ProbeGrpcAction.fromJson(core.Map json_) + : this( + port: json_['port'] as core.int?, + service: json_['service'] as core.String?, + ); + + core.Map toJson() => { + if (port != null) 'port': port!, + if (service != null) 'service': service!, + }; +} + +/// HttpGetAction describes an action based on HTTP Get requests. +class GoogleCloudAiplatformV1ProbeHttpGetAction { + /// Host name to connect to, defaults to the model serving container's IP. + /// + /// You probably want to set "Host" in httpHeaders instead. + core.String? host; + + /// Custom headers to set in the request. + /// + /// HTTP allows repeated headers. + core.List? httpHeaders; + + /// Path to access on the HTTP server. + core.String? path; + + /// Number of the port to access on the container. + /// + /// Number must be in the range 1 to 65535. + core.int? port; + + /// Scheme to use for connecting to the host. + /// + /// Defaults to HTTP. Acceptable values are "HTTP" or "HTTPS". + core.String? scheme; + + GoogleCloudAiplatformV1ProbeHttpGetAction({ + this.host, + this.httpHeaders, + this.path, + this.port, + this.scheme, + }); + + GoogleCloudAiplatformV1ProbeHttpGetAction.fromJson(core.Map json_) + : this( + host: json_['host'] as core.String?, + httpHeaders: (json_['httpHeaders'] as core.List?) + ?.map((value) => GoogleCloudAiplatformV1ProbeHttpHeader.fromJson( + value as core.Map)) + .toList(), + path: json_['path'] as core.String?, + port: json_['port'] as core.int?, + scheme: json_['scheme'] as core.String?, + ); + + core.Map toJson() => { + if (host != null) 'host': host!, + if (httpHeaders != null) 'httpHeaders': httpHeaders!, + if (path != null) 'path': path!, + if (port != null) 'port': port!, + if (scheme != null) 'scheme': scheme!, + }; +} + +/// HttpHeader describes a custom header to be used in HTTP probes +class GoogleCloudAiplatformV1ProbeHttpHeader { + /// The header field name. + /// + /// This will be canonicalized upon output, so case-variant names will be + /// understood as the same header. + core.String? name; + + /// The header field value + core.String? value; + + GoogleCloudAiplatformV1ProbeHttpHeader({ + this.name, + this.value, + }); + + GoogleCloudAiplatformV1ProbeHttpHeader.fromJson(core.Map json_) + : this( + name: json_['name'] as core.String?, + value: json_['value'] as core.String?, + ); + + core.Map toJson() => { + if (name != null) 'name': name!, + if (value != null) 'value': value!, + }; +} + +/// TcpSocketAction probes the health of a container by opening a TCP socket +/// connection. +class GoogleCloudAiplatformV1ProbeTcpSocketAction { + /// Optional: Host name to connect to, defaults to the model serving + /// container's IP. + core.String? host; + + /// Number of the port to access on the container. + /// + /// Number must be in the range 1 to 65535. + core.int? port; + + GoogleCloudAiplatformV1ProbeTcpSocketAction({ + this.host, + this.port, + }); + + GoogleCloudAiplatformV1ProbeTcpSocketAction.fromJson(core.Map json_) + : this( + host: json_['host'] as core.String?, + port: json_['port'] as core.int?, + ); + + core.Map toJson() => { + if (host != null) 'host': host!, + if (port != null) 'port': port!, + }; +} + /// PscAutomatedEndpoints defines the output of the forwarding rule /// automatically created by each PscAutomationConfig. class GoogleCloudAiplatformV1PscAutomatedEndpoints { @@ -60821,6 +61049,46 @@ class GoogleCloudAiplatformV1StratifiedSplit { }; } +/// Request message for ReasoningEngineExecutionService.StreamQuery. +class GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest { + /// Class method to be used for the stream query. + /// + /// It is optional and defaults to "stream_query" if unspecified. + /// + /// Optional. + core.String? classMethod; + + /// Input content provided by users in JSON object format. + /// + /// Examples include text query, function calling parameters, media bytes, + /// etc. + /// + /// Optional. + /// + /// The values for Object must be JSON objects. It can consist of `num`, + /// `String`, `bool` and `null` as well as `Map` and `List` values. + core.Map? input; + + GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest({ + this.classMethod, + this.input, + }); + + GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest.fromJson( + core.Map json_) + : this( + classMethod: json_['classMethod'] as core.String?, + input: json_.containsKey('input') + ? json_['input'] as core.Map + : null, + ); + + core.Map toJson() => { + if (classMethod != null) 'classMethod': classMethod!, + if (input != null) 'input': input!, + }; +} + /// Request message for PredictionService.StreamRawPredict. class GoogleCloudAiplatformV1StreamRawPredictRequest { /// The prediction input. diff --git a/generated/googleapis/lib/composer/v1.dart b/generated/googleapis/lib/composer/v1.dart index 4b352c628..fa6b3cf7a 100644 --- a/generated/googleapis/lib/composer/v1.dart +++ b/generated/googleapis/lib/composer/v1.dart @@ -1217,7 +1217,7 @@ class ProjectsLocationsEnvironmentsWorkloadsResource { /// /// Workload is a unit that runs a single Composer component. This method is /// supported for Cloud Composer environments in versions - /// composer-3.*.*-airflow-*.*.* and newer. + /// composer-2.*.*-airflow-*.*.* and newer. /// /// Request parameters: /// diff --git a/generated/googleapis/lib/datamigration/v1.dart b/generated/googleapis/lib/datamigration/v1.dart index 89eb9ddcd..823805693 100644 --- a/generated/googleapis/lib/datamigration/v1.dart +++ b/generated/googleapis/lib/datamigration/v1.dart @@ -8715,6 +8715,11 @@ class RestartMigrationJobRequest { /// Optional. MigrationJobObjectsConfig? objectsFilter; + /// If true, only failed objects will be restarted. + /// + /// Optional. + core.bool? restartFailedObjects; + /// Restart the migration job without running prior configuration /// verification. /// @@ -8725,6 +8730,7 @@ class RestartMigrationJobRequest { RestartMigrationJobRequest({ this.objectsFilter, + this.restartFailedObjects, this.skipValidation, }); @@ -8734,11 +8740,14 @@ class RestartMigrationJobRequest { ? MigrationJobObjectsConfig.fromJson( json_['objectsFilter'] as core.Map) : null, + restartFailedObjects: json_['restartFailedObjects'] as core.bool?, skipValidation: json_['skipValidation'] as core.bool?, ); core.Map toJson() => { if (objectsFilter != null) 'objectsFilter': objectsFilter!, + if (restartFailedObjects != null) + 'restartFailedObjects': restartFailedObjects!, if (skipValidation != null) 'skipValidation': skipValidation!, }; } diff --git a/generated/googleapis/lib/domains/v1.dart b/generated/googleapis/lib/domains/v1.dart index 42b0742b0..9ecd90e61 100644 --- a/generated/googleapis/lib/domains/v1.dart +++ b/generated/googleapis/lib/domains/v1.dart @@ -3064,19 +3064,19 @@ class Policy { }; } -/// Represents a postal address, e.g. for postal delivery or payments addresses. +/// Represents a postal address. /// -/// Given a postal address, a postal service can deliver items to a premise, -/// P.O. Box or similar. It is not intended to model geographical locations -/// (roads, towns, mountains). In typical usage an address would be created via -/// user input or from importing existing data, depending on the type of -/// process. Advice on address input / editing: - Use an -/// internationalization-ready address widget such as -/// https://github.com/google/libaddressinput) - Users should not be presented -/// with UI elements for input or editing of fields outside countries where that -/// field is used. For more guidance on how to use this schema, please see: +/// For example for postal delivery or payments addresses. Given a postal +/// address, a postal service can deliver items to a premise, P.O. Box or +/// similar. It is not intended to model geographical locations (roads, towns, +/// mountains). In typical usage an address would be created by user input or +/// from importing existing data, depending on the type of process. Advice on +/// address input / editing: - Use an internationalization-ready address widget +/// such as https://github.com/google/libaddressinput) - Users should not be +/// presented with UI elements for input or editing of fields outside countries +/// where that field is used. For more guidance on how to use this schema, see: /// https://support.google.com/business/answer/6397478 -typedef PostalAddress = $PostalAddress01; +typedef PostalAddress = $PostalAddress00; /// Configures a RRSetRoutingPolicy such that all queries are responded with the /// primary_targets if they are healthy. diff --git a/generated/googleapis/lib/netapp/v1.dart b/generated/googleapis/lib/netapp/v1.dart index 070e2ff98..451fd8de0 100644 --- a/generated/googleapis/lib/netapp/v1.dart +++ b/generated/googleapis/lib/netapp/v1.dart @@ -3163,6 +3163,16 @@ class Backup { /// `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}`. core.String? name; + /// Reserved for future use + /// + /// Output only. + core.bool? satisfiesPzi; + + /// Reserved for future use + /// + /// Output only. + core.bool? satisfiesPzs; + /// If specified, backup will be created from the given snapshot. /// /// If not specified, there will be a new snapshot taken to initiate the @@ -3207,6 +3217,8 @@ class Backup { this.description, this.labels, this.name, + this.satisfiesPzi, + this.satisfiesPzs, this.sourceSnapshot, this.sourceVolume, this.state, @@ -3227,6 +3239,8 @@ class Backup { ), ), name: json_['name'] as core.String?, + satisfiesPzi: json_['satisfiesPzi'] as core.bool?, + satisfiesPzs: json_['satisfiesPzs'] as core.bool?, sourceSnapshot: json_['sourceSnapshot'] as core.String?, sourceVolume: json_['sourceVolume'] as core.String?, state: json_['state'] as core.String?, @@ -3240,6 +3254,8 @@ class Backup { if (description != null) 'description': description!, if (labels != null) 'labels': labels!, if (name != null) 'name': name!, + if (satisfiesPzi != null) 'satisfiesPzi': satisfiesPzi!, + if (satisfiesPzs != null) 'satisfiesPzs': satisfiesPzs!, if (sourceSnapshot != null) 'sourceSnapshot': sourceSnapshot!, if (sourceVolume != null) 'sourceVolume': sourceVolume!, if (state != null) 'state': state!, @@ -5120,6 +5136,16 @@ class StoragePool { /// Optional. core.String? replicaZone; + /// Reserved for future use + /// + /// Output only. + core.bool? satisfiesPzi; + + /// Reserved for future use + /// + /// Output only. + core.bool? satisfiesPzs; + /// Service level of the storage pool /// /// Required. @@ -5180,6 +5206,8 @@ class StoragePool { this.network, this.psaRange, this.replicaZone, + this.satisfiesPzi, + this.satisfiesPzs, this.serviceLevel, this.state, this.stateDetails, @@ -5210,6 +5238,8 @@ class StoragePool { network: json_['network'] as core.String?, psaRange: json_['psaRange'] as core.String?, replicaZone: json_['replicaZone'] as core.String?, + satisfiesPzi: json_['satisfiesPzi'] as core.bool?, + satisfiesPzs: json_['satisfiesPzs'] as core.bool?, serviceLevel: json_['serviceLevel'] as core.String?, state: json_['state'] as core.String?, stateDetails: json_['stateDetails'] as core.String?, @@ -5234,6 +5264,8 @@ class StoragePool { if (network != null) 'network': network!, if (psaRange != null) 'psaRange': psaRange!, if (replicaZone != null) 'replicaZone': replicaZone!, + if (satisfiesPzi != null) 'satisfiesPzi': satisfiesPzi!, + if (satisfiesPzs != null) 'satisfiesPzs': satisfiesPzs!, if (serviceLevel != null) 'serviceLevel': serviceLevel!, if (state != null) 'state': state!, if (stateDetails != null) 'stateDetails': stateDetails!, diff --git a/generated/googleapis/lib/servicecontrol/v2.dart b/generated/googleapis/lib/servicecontrol/v2.dart index 383e1d16c..83e5b18ad 100644 --- a/generated/googleapis/lib/servicecontrol/v2.dart +++ b/generated/googleapis/lib/servicecontrol/v2.dart @@ -497,6 +497,15 @@ class CheckRequest { /// Response message for the Check method. class CheckResponse { + /// Optional response metadata that will be emitted as dynamic metadata to be + /// consumed by the caller of ServiceController. + /// + /// For compatibility with the ext_authz interface. + /// + /// The values for Object must be JSON objects. It can consist of `num`, + /// `String`, `bool` and `null` as well as `Map` and `List` values. + core.Map? dynamicMetadata; + /// Returns a set of request contexts generated from the `CheckRequest`. core.Map? headers; @@ -507,12 +516,16 @@ class CheckResponse { Status? status; CheckResponse({ + this.dynamicMetadata, this.headers, this.status, }); CheckResponse.fromJson(core.Map json_) : this( + dynamicMetadata: json_.containsKey('dynamicMetadata') + ? json_['dynamicMetadata'] as core.Map + : null, headers: (json_['headers'] as core.Map?)?.map( (key, value) => core.MapEntry( @@ -527,6 +540,7 @@ class CheckResponse { ); core.Map toJson() => { + if (dynamicMetadata != null) 'dynamicMetadata': dynamicMetadata!, if (headers != null) 'headers': headers!, if (status != null) 'status': status!, }; diff --git a/generated/googleapis/lib/shared.dart b/generated/googleapis/lib/shared.dart index 959ce6f4c..3b858c850 100644 --- a/generated/googleapis/lib/shared.dart +++ b/generated/googleapis/lib/shared.dart @@ -17277,6 +17277,7 @@ class $PortConfig { /// - cloudchannel:v1 : GoogleTypePostalAddress /// - contentwarehouse:v1 : GoogleTypePostalAddress /// - documentai:v1 : GoogleTypePostalAddress +/// - domains:v1 : PostalAddress /// - mybusinessaccountmanagement:v1 : PostalAddress /// - mybusinessbusinessinformation:v1 : PostalAddress /// - mybusinessverifications:v1 : PostalAddress @@ -17442,7 +17443,6 @@ class $PostalAddress00 { /// Used by: /// -/// - domains:v1 : PostalAddress /// - jobs:v3 : PostalAddress /// - jobs:v4 : PostalAddress class $PostalAddress01 { diff --git a/generated/googleapis/test/aiplatform/v1_test.dart b/generated/googleapis/test/aiplatform/v1_test.dart index 16e171749..6b40d6d98 100644 --- a/generated/googleapis/test/aiplatform/v1_test.dart +++ b/generated/googleapis/test/aiplatform/v1_test.dart @@ -10892,6 +10892,7 @@ api.GoogleCloudAiplatformV1GenerationConfig o.frequencyPenalty = 42.0; o.logprobs = 42; o.maxOutputTokens = 42; + o.mediaResolution = 'foo'; o.presencePenalty = 42.0; o.responseLogprobs = true; o.responseMimeType = 'foo'; @@ -10903,7 +10904,6 @@ api.GoogleCloudAiplatformV1GenerationConfig o.speechConfig = buildGoogleCloudAiplatformV1SpeechConfig(); o.stopSequences = buildUnnamed138(); o.temperature = 42.0; - o.tokenResolution = 'foo'; o.topK = 42.0; o.topP = 42.0; } @@ -10932,6 +10932,10 @@ void checkGoogleCloudAiplatformV1GenerationConfig( o.maxOutputTokens!, unittest.equals(42), ); + unittest.expect( + o.mediaResolution!, + unittest.equals('foo'), + ); unittest.expect( o.presencePenalty!, unittest.equals(42.0), @@ -10954,10 +10958,6 @@ void checkGoogleCloudAiplatformV1GenerationConfig( o.temperature!, unittest.equals(42.0), ); - unittest.expect( - o.tokenResolution!, - unittest.equals('foo'), - ); unittest.expect( o.topK!, unittest.equals(42.0), @@ -16155,6 +16155,7 @@ api.GoogleCloudAiplatformV1ModelContainerSpec o.healthProbe = buildGoogleCloudAiplatformV1Probe(); o.healthRoute = 'foo'; o.imageUri = 'foo'; + o.livenessProbe = buildGoogleCloudAiplatformV1Probe(); o.ports = buildUnnamed241(); o.predictRoute = 'foo'; o.sharedMemorySizeMb = 'foo'; @@ -16185,6 +16186,7 @@ void checkGoogleCloudAiplatformV1ModelContainerSpec( o.imageUri!, unittest.equals('foo'), ); + checkGoogleCloudAiplatformV1Probe(o.livenessProbe!); checkUnnamed241(o.ports!); unittest.expect( o.predictRoute!, @@ -20961,7 +20963,10 @@ api.GoogleCloudAiplatformV1Probe buildGoogleCloudAiplatformV1Probe() { buildCounterGoogleCloudAiplatformV1Probe++; if (buildCounterGoogleCloudAiplatformV1Probe < 3) { o.exec = buildGoogleCloudAiplatformV1ProbeExecAction(); + o.grpc = buildGoogleCloudAiplatformV1ProbeGrpcAction(); + o.httpGet = buildGoogleCloudAiplatformV1ProbeHttpGetAction(); o.periodSeconds = 42; + o.tcpSocket = buildGoogleCloudAiplatformV1ProbeTcpSocketAction(); o.timeoutSeconds = 42; } buildCounterGoogleCloudAiplatformV1Probe--; @@ -20972,10 +20977,13 @@ void checkGoogleCloudAiplatformV1Probe(api.GoogleCloudAiplatformV1Probe o) { buildCounterGoogleCloudAiplatformV1Probe++; if (buildCounterGoogleCloudAiplatformV1Probe < 3) { checkGoogleCloudAiplatformV1ProbeExecAction(o.exec!); + checkGoogleCloudAiplatformV1ProbeGrpcAction(o.grpc!); + checkGoogleCloudAiplatformV1ProbeHttpGetAction(o.httpGet!); unittest.expect( o.periodSeconds!, unittest.equals(42), ); + checkGoogleCloudAiplatformV1ProbeTcpSocketAction(o.tcpSocket!); unittest.expect( o.timeoutSeconds!, unittest.equals(42), @@ -21022,6 +21030,145 @@ void checkGoogleCloudAiplatformV1ProbeExecAction( buildCounterGoogleCloudAiplatformV1ProbeExecAction--; } +core.int buildCounterGoogleCloudAiplatformV1ProbeGrpcAction = 0; +api.GoogleCloudAiplatformV1ProbeGrpcAction + buildGoogleCloudAiplatformV1ProbeGrpcAction() { + final o = api.GoogleCloudAiplatformV1ProbeGrpcAction(); + buildCounterGoogleCloudAiplatformV1ProbeGrpcAction++; + if (buildCounterGoogleCloudAiplatformV1ProbeGrpcAction < 3) { + o.port = 42; + o.service = 'foo'; + } + buildCounterGoogleCloudAiplatformV1ProbeGrpcAction--; + return o; +} + +void checkGoogleCloudAiplatformV1ProbeGrpcAction( + api.GoogleCloudAiplatformV1ProbeGrpcAction o) { + buildCounterGoogleCloudAiplatformV1ProbeGrpcAction++; + if (buildCounterGoogleCloudAiplatformV1ProbeGrpcAction < 3) { + unittest.expect( + o.port!, + unittest.equals(42), + ); + unittest.expect( + o.service!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudAiplatformV1ProbeGrpcAction--; +} + +core.List buildUnnamed294() => [ + buildGoogleCloudAiplatformV1ProbeHttpHeader(), + buildGoogleCloudAiplatformV1ProbeHttpHeader(), + ]; + +void checkUnnamed294(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudAiplatformV1ProbeHttpHeader(o[0]); + checkGoogleCloudAiplatformV1ProbeHttpHeader(o[1]); +} + +core.int buildCounterGoogleCloudAiplatformV1ProbeHttpGetAction = 0; +api.GoogleCloudAiplatformV1ProbeHttpGetAction + buildGoogleCloudAiplatformV1ProbeHttpGetAction() { + final o = api.GoogleCloudAiplatformV1ProbeHttpGetAction(); + buildCounterGoogleCloudAiplatformV1ProbeHttpGetAction++; + if (buildCounterGoogleCloudAiplatformV1ProbeHttpGetAction < 3) { + o.host = 'foo'; + o.httpHeaders = buildUnnamed294(); + o.path = 'foo'; + o.port = 42; + o.scheme = 'foo'; + } + buildCounterGoogleCloudAiplatformV1ProbeHttpGetAction--; + return o; +} + +void checkGoogleCloudAiplatformV1ProbeHttpGetAction( + api.GoogleCloudAiplatformV1ProbeHttpGetAction o) { + buildCounterGoogleCloudAiplatformV1ProbeHttpGetAction++; + if (buildCounterGoogleCloudAiplatformV1ProbeHttpGetAction < 3) { + unittest.expect( + o.host!, + unittest.equals('foo'), + ); + checkUnnamed294(o.httpHeaders!); + unittest.expect( + o.path!, + unittest.equals('foo'), + ); + unittest.expect( + o.port!, + unittest.equals(42), + ); + unittest.expect( + o.scheme!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudAiplatformV1ProbeHttpGetAction--; +} + +core.int buildCounterGoogleCloudAiplatformV1ProbeHttpHeader = 0; +api.GoogleCloudAiplatformV1ProbeHttpHeader + buildGoogleCloudAiplatformV1ProbeHttpHeader() { + final o = api.GoogleCloudAiplatformV1ProbeHttpHeader(); + buildCounterGoogleCloudAiplatformV1ProbeHttpHeader++; + if (buildCounterGoogleCloudAiplatformV1ProbeHttpHeader < 3) { + o.name = 'foo'; + o.value = 'foo'; + } + buildCounterGoogleCloudAiplatformV1ProbeHttpHeader--; + return o; +} + +void checkGoogleCloudAiplatformV1ProbeHttpHeader( + api.GoogleCloudAiplatformV1ProbeHttpHeader o) { + buildCounterGoogleCloudAiplatformV1ProbeHttpHeader++; + if (buildCounterGoogleCloudAiplatformV1ProbeHttpHeader < 3) { + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + unittest.expect( + o.value!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudAiplatformV1ProbeHttpHeader--; +} + +core.int buildCounterGoogleCloudAiplatformV1ProbeTcpSocketAction = 0; +api.GoogleCloudAiplatformV1ProbeTcpSocketAction + buildGoogleCloudAiplatformV1ProbeTcpSocketAction() { + final o = api.GoogleCloudAiplatformV1ProbeTcpSocketAction(); + buildCounterGoogleCloudAiplatformV1ProbeTcpSocketAction++; + if (buildCounterGoogleCloudAiplatformV1ProbeTcpSocketAction < 3) { + o.host = 'foo'; + o.port = 42; + } + buildCounterGoogleCloudAiplatformV1ProbeTcpSocketAction--; + return o; +} + +void checkGoogleCloudAiplatformV1ProbeTcpSocketAction( + api.GoogleCloudAiplatformV1ProbeTcpSocketAction o) { + buildCounterGoogleCloudAiplatformV1ProbeTcpSocketAction++; + if (buildCounterGoogleCloudAiplatformV1ProbeTcpSocketAction < 3) { + unittest.expect( + o.host!, + unittest.equals('foo'), + ); + unittest.expect( + o.port!, + unittest.equals(42), + ); + } + buildCounterGoogleCloudAiplatformV1ProbeTcpSocketAction--; +} + core.int buildCounterGoogleCloudAiplatformV1PscAutomatedEndpoints = 0; api.GoogleCloudAiplatformV1PscAutomatedEndpoints buildGoogleCloudAiplatformV1PscAutomatedEndpoints() { @@ -21056,12 +21203,12 @@ void checkGoogleCloudAiplatformV1PscAutomatedEndpoints( buildCounterGoogleCloudAiplatformV1PscAutomatedEndpoints--; } -core.List buildUnnamed294() => [ +core.List buildUnnamed295() => [ 'foo', 'foo', ]; -void checkUnnamed294(core.List o) { +void checkUnnamed295(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -21079,7 +21226,7 @@ api.GoogleCloudAiplatformV1PublisherModel final o = api.GoogleCloudAiplatformV1PublisherModel(); buildCounterGoogleCloudAiplatformV1PublisherModel++; if (buildCounterGoogleCloudAiplatformV1PublisherModel < 3) { - o.frameworks = buildUnnamed294(); + o.frameworks = buildUnnamed295(); o.launchStage = 'foo'; o.name = 'foo'; o.openSourceCategory = 'foo'; @@ -21098,7 +21245,7 @@ void checkGoogleCloudAiplatformV1PublisherModel( api.GoogleCloudAiplatformV1PublisherModel o) { buildCounterGoogleCloudAiplatformV1PublisherModel++; if (buildCounterGoogleCloudAiplatformV1PublisherModel < 3) { - checkUnnamed294(o.frameworks!); + checkUnnamed295(o.frameworks!); unittest.expect( o.launchStage!, unittest.equals('foo'), @@ -21264,12 +21411,12 @@ void checkGoogleCloudAiplatformV1PublisherModelCallToActionDeploy( buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionDeploy--; } -core.Map buildUnnamed295() => { +core.Map buildUnnamed296() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed295(core.Map o) { +void checkUnnamed296(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -21291,7 +21438,7 @@ api.GoogleCloudAiplatformV1PublisherModelCallToActionDeployDeployMetadata buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionDeployDeployMetadata++; if (buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionDeployDeployMetadata < 3) { - o.labels = buildUnnamed295(); + o.labels = buildUnnamed296(); o.sampleRequest = 'foo'; } buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionDeployDeployMetadata--; @@ -21304,7 +21451,7 @@ void checkGoogleCloudAiplatformV1PublisherModelCallToActionDeployDeployMetadata( buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionDeployDeployMetadata++; if (buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionDeployDeployMetadata < 3) { - checkUnnamed295(o.labels!); + checkUnnamed296(o.labels!); unittest.expect( o.sampleRequest!, unittest.equals('foo'), @@ -21313,12 +21460,12 @@ void checkGoogleCloudAiplatformV1PublisherModelCallToActionDeployDeployMetadata( buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionDeployDeployMetadata--; } -core.List buildUnnamed296() => [ +core.List buildUnnamed297() => [ 'foo', 'foo', ]; -void checkUnnamed296(core.List o) { +void checkUnnamed297(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -21338,7 +21485,7 @@ api.GoogleCloudAiplatformV1PublisherModelCallToActionDeployGke buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionDeployGke++; if (buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionDeployGke < 3) { - o.gkeYamlConfigs = buildUnnamed296(); + o.gkeYamlConfigs = buildUnnamed297(); } buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionDeployGke--; return o; @@ -21349,18 +21496,18 @@ void checkGoogleCloudAiplatformV1PublisherModelCallToActionDeployGke( buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionDeployGke++; if (buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionDeployGke < 3) { - checkUnnamed296(o.gkeYamlConfigs!); + checkUnnamed297(o.gkeYamlConfigs!); } buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionDeployGke--; } core.List - buildUnnamed297() => [ + buildUnnamed298() => [ buildGoogleCloudAiplatformV1PublisherModelCallToActionDeploy(), buildGoogleCloudAiplatformV1PublisherModelCallToActionDeploy(), ]; -void checkUnnamed297( +void checkUnnamed298( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1PublisherModelCallToActionDeploy(o[0]); @@ -21376,7 +21523,7 @@ api.GoogleCloudAiplatformV1PublisherModelCallToActionDeployVertex buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionDeployVertex++; if (buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionDeployVertex < 3) { - o.multiDeployVertex = buildUnnamed297(); + o.multiDeployVertex = buildUnnamed298(); } buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionDeployVertex--; return o; @@ -21387,7 +21534,7 @@ void checkGoogleCloudAiplatformV1PublisherModelCallToActionDeployVertex( buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionDeployVertex++; if (buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionDeployVertex < 3) { - checkUnnamed297(o.multiDeployVertex!); + checkUnnamed298(o.multiDeployVertex!); } buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionDeployVertex--; } @@ -21395,12 +21542,12 @@ void checkGoogleCloudAiplatformV1PublisherModelCallToActionDeployVertex( core.List< api .GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences> - buildUnnamed298() => [ + buildUnnamed299() => [ buildGoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences(), buildGoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences(), ]; -void checkUnnamed298( +void checkUnnamed299( core.List< api .GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences> @@ -21422,7 +21569,7 @@ api.GoogleCloudAiplatformV1PublisherModelCallToActionOpenFineTuningPipelines buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionOpenFineTuningPipelines++; if (buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionOpenFineTuningPipelines < 3) { - o.fineTuningPipelines = buildUnnamed298(); + o.fineTuningPipelines = buildUnnamed299(); } buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionOpenFineTuningPipelines--; return o; @@ -21434,7 +21581,7 @@ void checkGoogleCloudAiplatformV1PublisherModelCallToActionOpenFineTuningPipelin buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionOpenFineTuningPipelines++; if (buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionOpenFineTuningPipelines < 3) { - checkUnnamed298(o.fineTuningPipelines!); + checkUnnamed299(o.fineTuningPipelines!); } buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionOpenFineTuningPipelines--; } @@ -21442,12 +21589,12 @@ void checkGoogleCloudAiplatformV1PublisherModelCallToActionOpenFineTuningPipelin core.List< api .GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences> - buildUnnamed299() => [ + buildUnnamed300() => [ buildGoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences(), buildGoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences(), ]; -void checkUnnamed299( +void checkUnnamed300( core.List< api .GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences> @@ -21469,7 +21616,7 @@ api.GoogleCloudAiplatformV1PublisherModelCallToActionOpenNotebooks buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionOpenNotebooks++; if (buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionOpenNotebooks < 3) { - o.notebooks = buildUnnamed299(); + o.notebooks = buildUnnamed300(); } buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionOpenNotebooks--; return o; @@ -21480,19 +21627,19 @@ void checkGoogleCloudAiplatformV1PublisherModelCallToActionOpenNotebooks( buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionOpenNotebooks++; if (buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionOpenNotebooks < 3) { - checkUnnamed299(o.notebooks!); + checkUnnamed300(o.notebooks!); } buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionOpenNotebooks--; } core.Map - buildUnnamed300() => { + buildUnnamed301() => { 'x': buildGoogleCloudAiplatformV1PublisherModelResourceReference(), 'y': buildGoogleCloudAiplatformV1PublisherModelResourceReference(), }; -void checkUnnamed300( +void checkUnnamed301( core.Map o) { @@ -21511,7 +21658,7 @@ api.GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences++; if (buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences < 3) { - o.references = buildUnnamed300(); + o.references = buildUnnamed301(); o.resourceDescription = 'foo'; o.resourceTitle = 'foo'; o.resourceUseCase = 'foo'; @@ -21527,7 +21674,7 @@ void checkGoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceRefer buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences++; if (buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences < 3) { - checkUnnamed300(o.references!); + checkUnnamed301(o.references!); unittest.expect( o.resourceDescription!, unittest.equals('foo'), @@ -21549,12 +21696,12 @@ void checkGoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceRefer } core.List - buildUnnamed301() => [ + buildUnnamed302() => [ buildGoogleCloudAiplatformV1PublisherModelDocumentation(), buildGoogleCloudAiplatformV1PublisherModelDocumentation(), ]; -void checkUnnamed301( +void checkUnnamed302( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1PublisherModelDocumentation(o[0]); @@ -21570,7 +21717,7 @@ api.GoogleCloudAiplatformV1PublisherModelCallToActionViewRestApi buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionViewRestApi++; if (buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionViewRestApi < 3) { - o.documentations = buildUnnamed301(); + o.documentations = buildUnnamed302(); o.title = 'foo'; } buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionViewRestApi--; @@ -21582,7 +21729,7 @@ void checkGoogleCloudAiplatformV1PublisherModelCallToActionViewRestApi( buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionViewRestApi++; if (buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionViewRestApi < 3) { - checkUnnamed301(o.documentations!); + checkUnnamed302(o.documentations!); unittest.expect( o.title!, unittest.equals('foo'), @@ -21737,12 +21884,12 @@ void checkGoogleCloudAiplatformV1PurgeExecutionsRequest( buildCounterGoogleCloudAiplatformV1PurgeExecutionsRequest--; } -core.List buildUnnamed302() => [ +core.List buildUnnamed303() => [ 'foo', 'foo', ]; -void checkUnnamed302(core.List o) { +void checkUnnamed303(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -21754,23 +21901,23 @@ void checkUnnamed302(core.List o) { ); } -core.List buildUnnamed303() => [ +core.List buildUnnamed304() => [ buildGoogleCloudAiplatformV1EnvVar(), buildGoogleCloudAiplatformV1EnvVar(), ]; -void checkUnnamed303(core.List o) { +void checkUnnamed304(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1EnvVar(o[0]); checkGoogleCloudAiplatformV1EnvVar(o[1]); } -core.List buildUnnamed304() => [ +core.List buildUnnamed305() => [ 'foo', 'foo', ]; -void checkUnnamed304(core.List o) { +void checkUnnamed305(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -21788,10 +21935,10 @@ api.GoogleCloudAiplatformV1PythonPackageSpec final o = api.GoogleCloudAiplatformV1PythonPackageSpec(); buildCounterGoogleCloudAiplatformV1PythonPackageSpec++; if (buildCounterGoogleCloudAiplatformV1PythonPackageSpec < 3) { - o.args = buildUnnamed302(); - o.env = buildUnnamed303(); + o.args = buildUnnamed303(); + o.env = buildUnnamed304(); o.executorImageUri = 'foo'; - o.packageUris = buildUnnamed304(); + o.packageUris = buildUnnamed305(); o.pythonModule = 'foo'; } buildCounterGoogleCloudAiplatformV1PythonPackageSpec--; @@ -21802,13 +21949,13 @@ void checkGoogleCloudAiplatformV1PythonPackageSpec( api.GoogleCloudAiplatformV1PythonPackageSpec o) { buildCounterGoogleCloudAiplatformV1PythonPackageSpec++; if (buildCounterGoogleCloudAiplatformV1PythonPackageSpec < 3) { - checkUnnamed302(o.args!); - checkUnnamed303(o.env!); + checkUnnamed303(o.args!); + checkUnnamed304(o.env!); unittest.expect( o.executorImageUri!, unittest.equals('foo'), ); - checkUnnamed304(o.packageUris!); + checkUnnamed305(o.packageUris!); unittest.expect( o.pythonModule!, unittest.equals('foo'), @@ -21817,23 +21964,23 @@ void checkGoogleCloudAiplatformV1PythonPackageSpec( buildCounterGoogleCloudAiplatformV1PythonPackageSpec--; } -core.List buildUnnamed305() => [ +core.List buildUnnamed306() => [ buildGoogleCloudAiplatformV1DeployedModelRef(), buildGoogleCloudAiplatformV1DeployedModelRef(), ]; -void checkUnnamed305(core.List o) { +void checkUnnamed306(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1DeployedModelRef(o[0]); checkGoogleCloudAiplatformV1DeployedModelRef(o[1]); } -core.List buildUnnamed306() => [ +core.List buildUnnamed307() => [ buildGoogleCloudAiplatformV1DeployedModel(), buildGoogleCloudAiplatformV1DeployedModel(), ]; -void checkUnnamed306(core.List o) { +void checkUnnamed307(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1DeployedModel(o[0]); checkGoogleCloudAiplatformV1DeployedModel(o[1]); @@ -21845,8 +21992,8 @@ api.GoogleCloudAiplatformV1QueryDeployedModelsResponse final o = api.GoogleCloudAiplatformV1QueryDeployedModelsResponse(); buildCounterGoogleCloudAiplatformV1QueryDeployedModelsResponse++; if (buildCounterGoogleCloudAiplatformV1QueryDeployedModelsResponse < 3) { - o.deployedModelRefs = buildUnnamed305(); - o.deployedModels = buildUnnamed306(); + o.deployedModelRefs = buildUnnamed306(); + o.deployedModels = buildUnnamed307(); o.nextPageToken = 'foo'; o.totalDeployedModelCount = 42; o.totalEndpointCount = 42; @@ -21859,8 +22006,8 @@ void checkGoogleCloudAiplatformV1QueryDeployedModelsResponse( api.GoogleCloudAiplatformV1QueryDeployedModelsResponse o) { buildCounterGoogleCloudAiplatformV1QueryDeployedModelsResponse++; if (buildCounterGoogleCloudAiplatformV1QueryDeployedModelsResponse < 3) { - checkUnnamed305(o.deployedModelRefs!); - checkUnnamed306(o.deployedModels!); + checkUnnamed306(o.deployedModelRefs!); + checkUnnamed307(o.deployedModels!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -21877,7 +22024,7 @@ void checkGoogleCloudAiplatformV1QueryDeployedModelsResponse( buildCounterGoogleCloudAiplatformV1QueryDeployedModelsResponse--; } -core.Map buildUnnamed307() => { +core.Map buildUnnamed308() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -21890,7 +22037,7 @@ core.Map buildUnnamed307() => { }, }; -void checkUnnamed307(core.Map o) { +void checkUnnamed308(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted65 = (o['x']!) as core.Map; unittest.expect(casted65, unittest.hasLength(3)); @@ -21929,7 +22076,7 @@ api.GoogleCloudAiplatformV1QueryReasoningEngineRequest buildCounterGoogleCloudAiplatformV1QueryReasoningEngineRequest++; if (buildCounterGoogleCloudAiplatformV1QueryReasoningEngineRequest < 3) { o.classMethod = 'foo'; - o.input = buildUnnamed307(); + o.input = buildUnnamed308(); } buildCounterGoogleCloudAiplatformV1QueryReasoningEngineRequest--; return o; @@ -21943,7 +22090,7 @@ void checkGoogleCloudAiplatformV1QueryReasoningEngineRequest( o.classMethod!, unittest.equals('foo'), ); - checkUnnamed307(o.input!); + checkUnnamed308(o.input!); } buildCounterGoogleCloudAiplatformV1QueryReasoningEngineRequest--; } @@ -22506,12 +22653,12 @@ void checkGoogleCloudAiplatformV1QuestionAnsweringRelevanceSpec( buildCounterGoogleCloudAiplatformV1QuestionAnsweringRelevanceSpec--; } -core.List buildUnnamed308() => [ +core.List buildUnnamed309() => [ buildGoogleCloudAiplatformV1RagContextsContext(), buildGoogleCloudAiplatformV1RagContextsContext(), ]; -void checkUnnamed308( +void checkUnnamed309( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1RagContextsContext(o[0]); @@ -22524,7 +22671,7 @@ api.GoogleCloudAiplatformV1RagContexts final o = api.GoogleCloudAiplatformV1RagContexts(); buildCounterGoogleCloudAiplatformV1RagContexts++; if (buildCounterGoogleCloudAiplatformV1RagContexts < 3) { - o.contexts = buildUnnamed308(); + o.contexts = buildUnnamed309(); } buildCounterGoogleCloudAiplatformV1RagContexts--; return o; @@ -22534,7 +22681,7 @@ void checkGoogleCloudAiplatformV1RagContexts( api.GoogleCloudAiplatformV1RagContexts o) { buildCounterGoogleCloudAiplatformV1RagContexts++; if (buildCounterGoogleCloudAiplatformV1RagContexts < 3) { - checkUnnamed308(o.contexts!); + checkUnnamed309(o.contexts!); } buildCounterGoogleCloudAiplatformV1RagContexts--; } @@ -23078,12 +23225,12 @@ void checkGoogleCloudAiplatformV1RayMetricSpec( buildCounterGoogleCloudAiplatformV1RayMetricSpec--; } -core.Map buildUnnamed309() => { +core.Map buildUnnamed310() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed309(core.Map o) { +void checkUnnamed310(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -23104,7 +23251,7 @@ api.GoogleCloudAiplatformV1RaySpec buildGoogleCloudAiplatformV1RaySpec() { o.imageUri = 'foo'; o.rayLogsSpec = buildGoogleCloudAiplatformV1RayLogsSpec(); o.rayMetricSpec = buildGoogleCloudAiplatformV1RayMetricSpec(); - o.resourcePoolImages = buildUnnamed309(); + o.resourcePoolImages = buildUnnamed310(); } buildCounterGoogleCloudAiplatformV1RaySpec--; return o; @@ -23123,7 +23270,7 @@ void checkGoogleCloudAiplatformV1RaySpec(api.GoogleCloudAiplatformV1RaySpec o) { ); checkGoogleCloudAiplatformV1RayLogsSpec(o.rayLogsSpec!); checkGoogleCloudAiplatformV1RayMetricSpec(o.rayMetricSpec!); - checkUnnamed309(o.resourcePoolImages!); + checkUnnamed310(o.resourcePoolImages!); } buildCounterGoogleCloudAiplatformV1RaySpec--; } @@ -23180,12 +23327,12 @@ void checkGoogleCloudAiplatformV1ReadFeatureValuesResponse( } core.List - buildUnnamed310() => [ + buildUnnamed311() => [ buildGoogleCloudAiplatformV1ReadFeatureValuesResponseEntityViewData(), buildGoogleCloudAiplatformV1ReadFeatureValuesResponseEntityViewData(), ]; -void checkUnnamed310( +void checkUnnamed311( core.List< api.GoogleCloudAiplatformV1ReadFeatureValuesResponseEntityViewData> o) { @@ -23202,7 +23349,7 @@ api.GoogleCloudAiplatformV1ReadFeatureValuesResponseEntityView buildCounterGoogleCloudAiplatformV1ReadFeatureValuesResponseEntityView++; if (buildCounterGoogleCloudAiplatformV1ReadFeatureValuesResponseEntityView < 3) { - o.data = buildUnnamed310(); + o.data = buildUnnamed311(); o.entityId = 'foo'; } buildCounterGoogleCloudAiplatformV1ReadFeatureValuesResponseEntityView--; @@ -23214,7 +23361,7 @@ void checkGoogleCloudAiplatformV1ReadFeatureValuesResponseEntityView( buildCounterGoogleCloudAiplatformV1ReadFeatureValuesResponseEntityView++; if (buildCounterGoogleCloudAiplatformV1ReadFeatureValuesResponseEntityView < 3) { - checkUnnamed310(o.data!); + checkUnnamed311(o.data!); unittest.expect( o.entityId!, unittest.equals('foo'), @@ -23281,12 +23428,12 @@ void checkGoogleCloudAiplatformV1ReadFeatureValuesResponseFeatureDescriptor( } core.List - buildUnnamed311() => [ + buildUnnamed312() => [ buildGoogleCloudAiplatformV1ReadFeatureValuesResponseFeatureDescriptor(), buildGoogleCloudAiplatformV1ReadFeatureValuesResponseFeatureDescriptor(), ]; -void checkUnnamed311( +void checkUnnamed312( core.List< api .GoogleCloudAiplatformV1ReadFeatureValuesResponseFeatureDescriptor> @@ -23303,7 +23450,7 @@ api.GoogleCloudAiplatformV1ReadFeatureValuesResponseHeader buildCounterGoogleCloudAiplatformV1ReadFeatureValuesResponseHeader++; if (buildCounterGoogleCloudAiplatformV1ReadFeatureValuesResponseHeader < 3) { o.entityType = 'foo'; - o.featureDescriptors = buildUnnamed311(); + o.featureDescriptors = buildUnnamed312(); } buildCounterGoogleCloudAiplatformV1ReadFeatureValuesResponseHeader--; return o; @@ -23317,17 +23464,17 @@ void checkGoogleCloudAiplatformV1ReadFeatureValuesResponseHeader( o.entityType!, unittest.equals('foo'), ); - checkUnnamed311(o.featureDescriptors!); + checkUnnamed312(o.featureDescriptors!); } buildCounterGoogleCloudAiplatformV1ReadFeatureValuesResponseHeader--; } -core.List buildUnnamed312() => [ +core.List buildUnnamed313() => [ 'foo', 'foo', ]; -void checkUnnamed312(core.List o) { +void checkUnnamed313(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -23346,7 +23493,7 @@ api.GoogleCloudAiplatformV1ReadIndexDatapointsRequest buildCounterGoogleCloudAiplatformV1ReadIndexDatapointsRequest++; if (buildCounterGoogleCloudAiplatformV1ReadIndexDatapointsRequest < 3) { o.deployedIndexId = 'foo'; - o.ids = buildUnnamed312(); + o.ids = buildUnnamed313(); } buildCounterGoogleCloudAiplatformV1ReadIndexDatapointsRequest--; return o; @@ -23360,17 +23507,17 @@ void checkGoogleCloudAiplatformV1ReadIndexDatapointsRequest( o.deployedIndexId!, unittest.equals('foo'), ); - checkUnnamed312(o.ids!); + checkUnnamed313(o.ids!); } buildCounterGoogleCloudAiplatformV1ReadIndexDatapointsRequest--; } -core.List buildUnnamed313() => [ +core.List buildUnnamed314() => [ buildGoogleCloudAiplatformV1IndexDatapoint(), buildGoogleCloudAiplatformV1IndexDatapoint(), ]; -void checkUnnamed313(core.List o) { +void checkUnnamed314(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1IndexDatapoint(o[0]); checkGoogleCloudAiplatformV1IndexDatapoint(o[1]); @@ -23382,7 +23529,7 @@ api.GoogleCloudAiplatformV1ReadIndexDatapointsResponse final o = api.GoogleCloudAiplatformV1ReadIndexDatapointsResponse(); buildCounterGoogleCloudAiplatformV1ReadIndexDatapointsResponse++; if (buildCounterGoogleCloudAiplatformV1ReadIndexDatapointsResponse < 3) { - o.datapoints = buildUnnamed313(); + o.datapoints = buildUnnamed314(); } buildCounterGoogleCloudAiplatformV1ReadIndexDatapointsResponse--; return o; @@ -23392,17 +23539,17 @@ void checkGoogleCloudAiplatformV1ReadIndexDatapointsResponse( api.GoogleCloudAiplatformV1ReadIndexDatapointsResponse o) { buildCounterGoogleCloudAiplatformV1ReadIndexDatapointsResponse++; if (buildCounterGoogleCloudAiplatformV1ReadIndexDatapointsResponse < 3) { - checkUnnamed313(o.datapoints!); + checkUnnamed314(o.datapoints!); } buildCounterGoogleCloudAiplatformV1ReadIndexDatapointsResponse--; } -core.List buildUnnamed314() => [ +core.List buildUnnamed315() => [ buildGoogleCloudAiplatformV1TensorboardBlob(), buildGoogleCloudAiplatformV1TensorboardBlob(), ]; -void checkUnnamed314(core.List o) { +void checkUnnamed315(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1TensorboardBlob(o[0]); checkGoogleCloudAiplatformV1TensorboardBlob(o[1]); @@ -23414,7 +23561,7 @@ api.GoogleCloudAiplatformV1ReadTensorboardBlobDataResponse final o = api.GoogleCloudAiplatformV1ReadTensorboardBlobDataResponse(); buildCounterGoogleCloudAiplatformV1ReadTensorboardBlobDataResponse++; if (buildCounterGoogleCloudAiplatformV1ReadTensorboardBlobDataResponse < 3) { - o.blobs = buildUnnamed314(); + o.blobs = buildUnnamed315(); } buildCounterGoogleCloudAiplatformV1ReadTensorboardBlobDataResponse--; return o; @@ -23424,7 +23571,7 @@ void checkGoogleCloudAiplatformV1ReadTensorboardBlobDataResponse( api.GoogleCloudAiplatformV1ReadTensorboardBlobDataResponse o) { buildCounterGoogleCloudAiplatformV1ReadTensorboardBlobDataResponse++; if (buildCounterGoogleCloudAiplatformV1ReadTensorboardBlobDataResponse < 3) { - checkUnnamed314(o.blobs!); + checkUnnamed315(o.blobs!); } buildCounterGoogleCloudAiplatformV1ReadTensorboardBlobDataResponse--; } @@ -23482,14 +23629,14 @@ core.Map< core.String, api .GoogleCloudAiplatformV1ReadTensorboardUsageResponsePerMonthUsageData> - buildUnnamed315() => { + buildUnnamed316() => { 'x': buildGoogleCloudAiplatformV1ReadTensorboardUsageResponsePerMonthUsageData(), 'y': buildGoogleCloudAiplatformV1ReadTensorboardUsageResponsePerMonthUsageData(), }; -void checkUnnamed315( +void checkUnnamed316( core.Map< core.String, api @@ -23508,7 +23655,7 @@ api.GoogleCloudAiplatformV1ReadTensorboardUsageResponse final o = api.GoogleCloudAiplatformV1ReadTensorboardUsageResponse(); buildCounterGoogleCloudAiplatformV1ReadTensorboardUsageResponse++; if (buildCounterGoogleCloudAiplatformV1ReadTensorboardUsageResponse < 3) { - o.monthlyUsageData = buildUnnamed315(); + o.monthlyUsageData = buildUnnamed316(); } buildCounterGoogleCloudAiplatformV1ReadTensorboardUsageResponse--; return o; @@ -23518,19 +23665,19 @@ void checkGoogleCloudAiplatformV1ReadTensorboardUsageResponse( api.GoogleCloudAiplatformV1ReadTensorboardUsageResponse o) { buildCounterGoogleCloudAiplatformV1ReadTensorboardUsageResponse++; if (buildCounterGoogleCloudAiplatformV1ReadTensorboardUsageResponse < 3) { - checkUnnamed315(o.monthlyUsageData!); + checkUnnamed316(o.monthlyUsageData!); } buildCounterGoogleCloudAiplatformV1ReadTensorboardUsageResponse--; } core.List< api.GoogleCloudAiplatformV1ReadTensorboardUsageResponsePerUserUsageData> - buildUnnamed316() => [ + buildUnnamed317() => [ buildGoogleCloudAiplatformV1ReadTensorboardUsageResponsePerUserUsageData(), buildGoogleCloudAiplatformV1ReadTensorboardUsageResponsePerUserUsageData(), ]; -void checkUnnamed316( +void checkUnnamed317( core.List< api .GoogleCloudAiplatformV1ReadTensorboardUsageResponsePerUserUsageData> @@ -23552,7 +23699,7 @@ api.GoogleCloudAiplatformV1ReadTensorboardUsageResponsePerMonthUsageData buildCounterGoogleCloudAiplatformV1ReadTensorboardUsageResponsePerMonthUsageData++; if (buildCounterGoogleCloudAiplatformV1ReadTensorboardUsageResponsePerMonthUsageData < 3) { - o.userUsageData = buildUnnamed316(); + o.userUsageData = buildUnnamed317(); } buildCounterGoogleCloudAiplatformV1ReadTensorboardUsageResponsePerMonthUsageData--; return o; @@ -23564,7 +23711,7 @@ void checkGoogleCloudAiplatformV1ReadTensorboardUsageResponsePerMonthUsageData( buildCounterGoogleCloudAiplatformV1ReadTensorboardUsageResponsePerMonthUsageData++; if (buildCounterGoogleCloudAiplatformV1ReadTensorboardUsageResponsePerMonthUsageData < 3) { - checkUnnamed316(o.userUsageData!); + checkUnnamed317(o.userUsageData!); } buildCounterGoogleCloudAiplatformV1ReadTensorboardUsageResponsePerMonthUsageData--; } @@ -23654,7 +23801,7 @@ void checkGoogleCloudAiplatformV1ReasoningEngine( buildCounterGoogleCloudAiplatformV1ReasoningEngine--; } -core.Map buildUnnamed317() => { +core.Map buildUnnamed318() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -23667,7 +23814,7 @@ core.Map buildUnnamed317() => { }, }; -void checkUnnamed317(core.Map o) { +void checkUnnamed318(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted68 = (o['x']!) as core.Map; unittest.expect(casted68, unittest.hasLength(3)); @@ -23699,15 +23846,15 @@ void checkUnnamed317(core.Map o) { ); } -core.List> buildUnnamed318() => [ - buildUnnamed317(), - buildUnnamed317(), +core.List> buildUnnamed319() => [ + buildUnnamed318(), + buildUnnamed318(), ]; -void checkUnnamed318(core.List> o) { +void checkUnnamed319(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed317(o[0]); - checkUnnamed317(o[1]); + checkUnnamed318(o[0]); + checkUnnamed318(o[1]); } core.int buildCounterGoogleCloudAiplatformV1ReasoningEngineSpec = 0; @@ -23716,7 +23863,7 @@ api.GoogleCloudAiplatformV1ReasoningEngineSpec final o = api.GoogleCloudAiplatformV1ReasoningEngineSpec(); buildCounterGoogleCloudAiplatformV1ReasoningEngineSpec++; if (buildCounterGoogleCloudAiplatformV1ReasoningEngineSpec < 3) { - o.classMethods = buildUnnamed318(); + o.classMethods = buildUnnamed319(); o.packageSpec = buildGoogleCloudAiplatformV1ReasoningEngineSpecPackageSpec(); } @@ -23728,7 +23875,7 @@ void checkGoogleCloudAiplatformV1ReasoningEngineSpec( api.GoogleCloudAiplatformV1ReasoningEngineSpec o) { buildCounterGoogleCloudAiplatformV1ReasoningEngineSpec++; if (buildCounterGoogleCloudAiplatformV1ReasoningEngineSpec < 3) { - checkUnnamed318(o.classMethods!); + checkUnnamed319(o.classMethods!); checkGoogleCloudAiplatformV1ReasoningEngineSpecPackageSpec(o.packageSpec!); } buildCounterGoogleCloudAiplatformV1ReasoningEngineSpec--; @@ -23817,12 +23964,12 @@ void checkGoogleCloudAiplatformV1RebootPersistentResourceRequest( buildCounterGoogleCloudAiplatformV1RebootPersistentResourceRequest--; } -core.List buildUnnamed319() => [ +core.List buildUnnamed320() => [ 'foo', 'foo', ]; -void checkUnnamed319(core.List o) { +void checkUnnamed320(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -23840,7 +23987,7 @@ api.GoogleCloudAiplatformV1RemoveContextChildrenRequest final o = api.GoogleCloudAiplatformV1RemoveContextChildrenRequest(); buildCounterGoogleCloudAiplatformV1RemoveContextChildrenRequest++; if (buildCounterGoogleCloudAiplatformV1RemoveContextChildrenRequest < 3) { - o.childContexts = buildUnnamed319(); + o.childContexts = buildUnnamed320(); } buildCounterGoogleCloudAiplatformV1RemoveContextChildrenRequest--; return o; @@ -23850,7 +23997,7 @@ void checkGoogleCloudAiplatformV1RemoveContextChildrenRequest( api.GoogleCloudAiplatformV1RemoveContextChildrenRequest o) { buildCounterGoogleCloudAiplatformV1RemoveContextChildrenRequest++; if (buildCounterGoogleCloudAiplatformV1RemoveContextChildrenRequest < 3) { - checkUnnamed319(o.childContexts!); + checkUnnamed320(o.childContexts!); } buildCounterGoogleCloudAiplatformV1RemoveContextChildrenRequest--; } @@ -23872,12 +24019,12 @@ void checkGoogleCloudAiplatformV1RemoveContextChildrenResponse( buildCounterGoogleCloudAiplatformV1RemoveContextChildrenResponse--; } -core.List buildUnnamed320() => [ +core.List buildUnnamed321() => [ 'foo', 'foo', ]; -void checkUnnamed320(core.List o) { +void checkUnnamed321(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -23895,7 +24042,7 @@ api.GoogleCloudAiplatformV1RemoveDatapointsRequest final o = api.GoogleCloudAiplatformV1RemoveDatapointsRequest(); buildCounterGoogleCloudAiplatformV1RemoveDatapointsRequest++; if (buildCounterGoogleCloudAiplatformV1RemoveDatapointsRequest < 3) { - o.datapointIds = buildUnnamed320(); + o.datapointIds = buildUnnamed321(); } buildCounterGoogleCloudAiplatformV1RemoveDatapointsRequest--; return o; @@ -23905,7 +24052,7 @@ void checkGoogleCloudAiplatformV1RemoveDatapointsRequest( api.GoogleCloudAiplatformV1RemoveDatapointsRequest o) { buildCounterGoogleCloudAiplatformV1RemoveDatapointsRequest++; if (buildCounterGoogleCloudAiplatformV1RemoveDatapointsRequest < 3) { - checkUnnamed320(o.datapointIds!); + checkUnnamed321(o.datapointIds!); } buildCounterGoogleCloudAiplatformV1RemoveDatapointsRequest--; } @@ -23927,12 +24074,12 @@ void checkGoogleCloudAiplatformV1RemoveDatapointsResponse( buildCounterGoogleCloudAiplatformV1RemoveDatapointsResponse--; } -core.List buildUnnamed321() => [ +core.List buildUnnamed322() => [ 'foo', 'foo', ]; -void checkUnnamed321(core.List o) { +void checkUnnamed322(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -23952,7 +24099,7 @@ api.GoogleCloudAiplatformV1ReservationAffinity if (buildCounterGoogleCloudAiplatformV1ReservationAffinity < 3) { o.key = 'foo'; o.reservationAffinityType = 'foo'; - o.values = buildUnnamed321(); + o.values = buildUnnamed322(); } buildCounterGoogleCloudAiplatformV1ReservationAffinity--; return o; @@ -23970,7 +24117,7 @@ void checkGoogleCloudAiplatformV1ReservationAffinity( o.reservationAffinityType!, unittest.equals('foo'), ); - checkUnnamed321(o.values!); + checkUnnamed322(o.values!); } buildCounterGoogleCloudAiplatformV1ReservationAffinity--; } @@ -24045,12 +24192,12 @@ void checkGoogleCloudAiplatformV1ResourcePoolAutoscalingSpec( buildCounterGoogleCloudAiplatformV1ResourcePoolAutoscalingSpec--; } -core.Map buildUnnamed322() => { +core.Map buildUnnamed323() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed322(core.Map o) { +void checkUnnamed323(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -24068,7 +24215,7 @@ api.GoogleCloudAiplatformV1ResourceRuntime final o = api.GoogleCloudAiplatformV1ResourceRuntime(); buildCounterGoogleCloudAiplatformV1ResourceRuntime++; if (buildCounterGoogleCloudAiplatformV1ResourceRuntime < 3) { - o.accessUris = buildUnnamed322(); + o.accessUris = buildUnnamed323(); } buildCounterGoogleCloudAiplatformV1ResourceRuntime--; return o; @@ -24078,7 +24225,7 @@ void checkGoogleCloudAiplatformV1ResourceRuntime( api.GoogleCloudAiplatformV1ResourceRuntime o) { buildCounterGoogleCloudAiplatformV1ResourceRuntime++; if (buildCounterGoogleCloudAiplatformV1ResourceRuntime < 3) { - checkUnnamed322(o.accessUris!); + checkUnnamed323(o.accessUris!); } buildCounterGoogleCloudAiplatformV1ResourceRuntime--; } @@ -24249,12 +24396,12 @@ void checkGoogleCloudAiplatformV1RetrieveContextsRequest( core.List< api .GoogleCloudAiplatformV1RetrieveContextsRequestVertexRagStoreRagResource> - buildUnnamed323() => [ + buildUnnamed324() => [ buildGoogleCloudAiplatformV1RetrieveContextsRequestVertexRagStoreRagResource(), buildGoogleCloudAiplatformV1RetrieveContextsRequestVertexRagStoreRagResource(), ]; -void checkUnnamed323( +void checkUnnamed324( core.List< api .GoogleCloudAiplatformV1RetrieveContextsRequestVertexRagStoreRagResource> @@ -24275,7 +24422,7 @@ api.GoogleCloudAiplatformV1RetrieveContextsRequestVertexRagStore buildCounterGoogleCloudAiplatformV1RetrieveContextsRequestVertexRagStore++; if (buildCounterGoogleCloudAiplatformV1RetrieveContextsRequestVertexRagStore < 3) { - o.ragResources = buildUnnamed323(); + o.ragResources = buildUnnamed324(); o.vectorDistanceThreshold = 42.0; } buildCounterGoogleCloudAiplatformV1RetrieveContextsRequestVertexRagStore--; @@ -24287,7 +24434,7 @@ void checkGoogleCloudAiplatformV1RetrieveContextsRequestVertexRagStore( buildCounterGoogleCloudAiplatformV1RetrieveContextsRequestVertexRagStore++; if (buildCounterGoogleCloudAiplatformV1RetrieveContextsRequestVertexRagStore < 3) { - checkUnnamed323(o.ragResources!); + checkUnnamed324(o.ragResources!); unittest.expect( o.vectorDistanceThreshold!, unittest.equals(42.0), @@ -24296,12 +24443,12 @@ void checkGoogleCloudAiplatformV1RetrieveContextsRequestVertexRagStore( buildCounterGoogleCloudAiplatformV1RetrieveContextsRequestVertexRagStore--; } -core.List buildUnnamed324() => [ +core.List buildUnnamed325() => [ 'foo', 'foo', ]; -void checkUnnamed324(core.List o) { +void checkUnnamed325(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -24324,7 +24471,7 @@ api.GoogleCloudAiplatformV1RetrieveContextsRequestVertexRagStoreRagResource if (buildCounterGoogleCloudAiplatformV1RetrieveContextsRequestVertexRagStoreRagResource < 3) { o.ragCorpus = 'foo'; - o.ragFileIds = buildUnnamed324(); + o.ragFileIds = buildUnnamed325(); } buildCounterGoogleCloudAiplatformV1RetrieveContextsRequestVertexRagStoreRagResource--; return o; @@ -24340,7 +24487,7 @@ void checkGoogleCloudAiplatformV1RetrieveContextsRequestVertexRagStoreRagResourc o.ragCorpus!, unittest.equals('foo'), ); - checkUnnamed324(o.ragFileIds!); + checkUnnamed325(o.ragFileIds!); } buildCounterGoogleCloudAiplatformV1RetrieveContextsRequestVertexRagStoreRagResource--; } @@ -24366,12 +24513,12 @@ void checkGoogleCloudAiplatformV1RetrieveContextsResponse( buildCounterGoogleCloudAiplatformV1RetrieveContextsResponse--; } -core.List buildUnnamed325() => [ +core.List buildUnnamed326() => [ buildGoogleCloudAiplatformV1RougeInstance(), buildGoogleCloudAiplatformV1RougeInstance(), ]; -void checkUnnamed325(core.List o) { +void checkUnnamed326(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1RougeInstance(o[0]); checkGoogleCloudAiplatformV1RougeInstance(o[1]); @@ -24382,7 +24529,7 @@ api.GoogleCloudAiplatformV1RougeInput buildGoogleCloudAiplatformV1RougeInput() { final o = api.GoogleCloudAiplatformV1RougeInput(); buildCounterGoogleCloudAiplatformV1RougeInput++; if (buildCounterGoogleCloudAiplatformV1RougeInput < 3) { - o.instances = buildUnnamed325(); + o.instances = buildUnnamed326(); o.metricSpec = buildGoogleCloudAiplatformV1RougeSpec(); } buildCounterGoogleCloudAiplatformV1RougeInput--; @@ -24393,7 +24540,7 @@ void checkGoogleCloudAiplatformV1RougeInput( api.GoogleCloudAiplatformV1RougeInput o) { buildCounterGoogleCloudAiplatformV1RougeInput++; if (buildCounterGoogleCloudAiplatformV1RougeInput < 3) { - checkUnnamed325(o.instances!); + checkUnnamed326(o.instances!); checkGoogleCloudAiplatformV1RougeSpec(o.metricSpec!); } buildCounterGoogleCloudAiplatformV1RougeInput--; @@ -24452,12 +24599,12 @@ void checkGoogleCloudAiplatformV1RougeMetricValue( buildCounterGoogleCloudAiplatformV1RougeMetricValue--; } -core.List buildUnnamed326() => [ +core.List buildUnnamed327() => [ buildGoogleCloudAiplatformV1RougeMetricValue(), buildGoogleCloudAiplatformV1RougeMetricValue(), ]; -void checkUnnamed326(core.List o) { +void checkUnnamed327(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1RougeMetricValue(o[0]); checkGoogleCloudAiplatformV1RougeMetricValue(o[1]); @@ -24469,7 +24616,7 @@ api.GoogleCloudAiplatformV1RougeResults final o = api.GoogleCloudAiplatformV1RougeResults(); buildCounterGoogleCloudAiplatformV1RougeResults++; if (buildCounterGoogleCloudAiplatformV1RougeResults < 3) { - o.rougeMetricValues = buildUnnamed326(); + o.rougeMetricValues = buildUnnamed327(); } buildCounterGoogleCloudAiplatformV1RougeResults--; return o; @@ -24479,7 +24626,7 @@ void checkGoogleCloudAiplatformV1RougeResults( api.GoogleCloudAiplatformV1RougeResults o) { buildCounterGoogleCloudAiplatformV1RougeResults++; if (buildCounterGoogleCloudAiplatformV1RougeResults < 3) { - checkUnnamed326(o.rougeMetricValues!); + checkUnnamed327(o.rougeMetricValues!); } buildCounterGoogleCloudAiplatformV1RougeResults--; } @@ -25074,23 +25221,23 @@ void checkGoogleCloudAiplatformV1Scheduling( buildCounterGoogleCloudAiplatformV1Scheduling--; } -core.List buildUnnamed327() => [ +core.List buildUnnamed328() => [ buildGoogleCloudAiplatformV1Schema(), buildGoogleCloudAiplatformV1Schema(), ]; -void checkUnnamed327(core.List o) { +void checkUnnamed328(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Schema(o[0]); checkGoogleCloudAiplatformV1Schema(o[1]); } -core.List buildUnnamed328() => [ +core.List buildUnnamed329() => [ 'foo', 'foo', ]; -void checkUnnamed328(core.List o) { +void checkUnnamed329(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -25102,24 +25249,24 @@ void checkUnnamed328(core.List o) { ); } -core.Map buildUnnamed329() => { +core.Map buildUnnamed330() => { 'x': buildGoogleCloudAiplatformV1Schema(), 'y': buildGoogleCloudAiplatformV1Schema(), }; -void checkUnnamed329( +void checkUnnamed330( core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Schema(o['x']!); checkGoogleCloudAiplatformV1Schema(o['y']!); } -core.List buildUnnamed330() => [ +core.List buildUnnamed331() => [ 'foo', 'foo', ]; -void checkUnnamed330(core.List o) { +void checkUnnamed331(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -25131,12 +25278,12 @@ void checkUnnamed330(core.List o) { ); } -core.List buildUnnamed331() => [ +core.List buildUnnamed332() => [ 'foo', 'foo', ]; -void checkUnnamed331(core.List o) { +void checkUnnamed332(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -25153,14 +25300,14 @@ api.GoogleCloudAiplatformV1Schema buildGoogleCloudAiplatformV1Schema() { final o = api.GoogleCloudAiplatformV1Schema(); buildCounterGoogleCloudAiplatformV1Schema++; if (buildCounterGoogleCloudAiplatformV1Schema < 3) { - o.anyOf = buildUnnamed327(); + o.anyOf = buildUnnamed328(); o.default_ = { 'list': [1, 2, 3], 'bool': true, 'string': 'foo' }; o.description = 'foo'; - o.enum_ = buildUnnamed328(); + o.enum_ = buildUnnamed329(); o.example = { 'list': [1, 2, 3], 'bool': true, @@ -25178,9 +25325,9 @@ api.GoogleCloudAiplatformV1Schema buildGoogleCloudAiplatformV1Schema() { o.minimum = 42.0; o.nullable = true; o.pattern = 'foo'; - o.properties = buildUnnamed329(); - o.propertyOrdering = buildUnnamed330(); - o.required = buildUnnamed331(); + o.properties = buildUnnamed330(); + o.propertyOrdering = buildUnnamed331(); + o.required = buildUnnamed332(); o.title = 'foo'; o.type = 'foo'; } @@ -25191,7 +25338,7 @@ api.GoogleCloudAiplatformV1Schema buildGoogleCloudAiplatformV1Schema() { void checkGoogleCloudAiplatformV1Schema(api.GoogleCloudAiplatformV1Schema o) { buildCounterGoogleCloudAiplatformV1Schema++; if (buildCounterGoogleCloudAiplatformV1Schema < 3) { - checkUnnamed327(o.anyOf!); + checkUnnamed328(o.anyOf!); var casted71 = (o.default_!) as core.Map; unittest.expect(casted71, unittest.hasLength(3)); unittest.expect( @@ -25210,7 +25357,7 @@ void checkGoogleCloudAiplatformV1Schema(api.GoogleCloudAiplatformV1Schema o) { o.description!, unittest.equals('foo'), ); - checkUnnamed328(o.enum_!); + checkUnnamed329(o.enum_!); var casted72 = (o.example!) as core.Map; unittest.expect(casted72, unittest.hasLength(3)); unittest.expect( @@ -25267,9 +25414,9 @@ void checkGoogleCloudAiplatformV1Schema(api.GoogleCloudAiplatformV1Schema o) { o.pattern!, unittest.equals('foo'), ); - checkUnnamed329(o.properties!); - checkUnnamed330(o.propertyOrdering!); - checkUnnamed331(o.required!); + checkUnnamed330(o.properties!); + checkUnnamed331(o.propertyOrdering!); + checkUnnamed332(o.required!); unittest.expect( o.title!, unittest.equals('foo'), @@ -25282,12 +25429,12 @@ void checkGoogleCloudAiplatformV1Schema(api.GoogleCloudAiplatformV1Schema o) { buildCounterGoogleCloudAiplatformV1Schema--; } -core.List buildUnnamed332() => [ +core.List buildUnnamed333() => [ buildGoogleCloudAiplatformV1DataItemView(), buildGoogleCloudAiplatformV1DataItemView(), ]; -void checkUnnamed332(core.List o) { +void checkUnnamed333(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1DataItemView(o[0]); checkGoogleCloudAiplatformV1DataItemView(o[1]); @@ -25299,7 +25446,7 @@ api.GoogleCloudAiplatformV1SearchDataItemsResponse final o = api.GoogleCloudAiplatformV1SearchDataItemsResponse(); buildCounterGoogleCloudAiplatformV1SearchDataItemsResponse++; if (buildCounterGoogleCloudAiplatformV1SearchDataItemsResponse < 3) { - o.dataItemViews = buildUnnamed332(); + o.dataItemViews = buildUnnamed333(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudAiplatformV1SearchDataItemsResponse--; @@ -25310,7 +25457,7 @@ void checkGoogleCloudAiplatformV1SearchDataItemsResponse( api.GoogleCloudAiplatformV1SearchDataItemsResponse o) { buildCounterGoogleCloudAiplatformV1SearchDataItemsResponse++; if (buildCounterGoogleCloudAiplatformV1SearchDataItemsResponse < 3) { - checkUnnamed332(o.dataItemViews!); + checkUnnamed333(o.dataItemViews!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -25348,12 +25495,12 @@ void checkGoogleCloudAiplatformV1SearchEntryPoint( buildCounterGoogleCloudAiplatformV1SearchEntryPoint--; } -core.List buildUnnamed333() => [ +core.List buildUnnamed334() => [ buildGoogleCloudAiplatformV1Feature(), buildGoogleCloudAiplatformV1Feature(), ]; -void checkUnnamed333(core.List o) { +void checkUnnamed334(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Feature(o[0]); checkGoogleCloudAiplatformV1Feature(o[1]); @@ -25365,7 +25512,7 @@ api.GoogleCloudAiplatformV1SearchFeaturesResponse final o = api.GoogleCloudAiplatformV1SearchFeaturesResponse(); buildCounterGoogleCloudAiplatformV1SearchFeaturesResponse++; if (buildCounterGoogleCloudAiplatformV1SearchFeaturesResponse < 3) { - o.features = buildUnnamed333(); + o.features = buildUnnamed334(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudAiplatformV1SearchFeaturesResponse--; @@ -25376,7 +25523,7 @@ void checkGoogleCloudAiplatformV1SearchFeaturesResponse( api.GoogleCloudAiplatformV1SearchFeaturesResponse o) { buildCounterGoogleCloudAiplatformV1SearchFeaturesResponse++; if (buildCounterGoogleCloudAiplatformV1SearchFeaturesResponse < 3) { - checkUnnamed333(o.features!); + checkUnnamed334(o.features!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -25420,12 +25567,12 @@ void checkGoogleCloudAiplatformV1SearchMigratableResourcesRequest( buildCounterGoogleCloudAiplatformV1SearchMigratableResourcesRequest--; } -core.List buildUnnamed334() => [ +core.List buildUnnamed335() => [ buildGoogleCloudAiplatformV1MigratableResource(), buildGoogleCloudAiplatformV1MigratableResource(), ]; -void checkUnnamed334( +void checkUnnamed335( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1MigratableResource(o[0]); @@ -25440,7 +25587,7 @@ api.GoogleCloudAiplatformV1SearchMigratableResourcesResponse buildCounterGoogleCloudAiplatformV1SearchMigratableResourcesResponse++; if (buildCounterGoogleCloudAiplatformV1SearchMigratableResourcesResponse < 3) { - o.migratableResources = buildUnnamed334(); + o.migratableResources = buildUnnamed335(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudAiplatformV1SearchMigratableResourcesResponse--; @@ -25452,7 +25599,7 @@ void checkGoogleCloudAiplatformV1SearchMigratableResourcesResponse( buildCounterGoogleCloudAiplatformV1SearchMigratableResourcesResponse++; if (buildCounterGoogleCloudAiplatformV1SearchMigratableResourcesResponse < 3) { - checkUnnamed334(o.migratableResources!); + checkUnnamed335(o.migratableResources!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -25464,12 +25611,12 @@ void checkGoogleCloudAiplatformV1SearchMigratableResourcesResponse( core.List< api .GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesRequestStatsAnomaliesObjective> - buildUnnamed335() => [ + buildUnnamed336() => [ buildGoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesRequestStatsAnomaliesObjective(), buildGoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesRequestStatsAnomaliesObjective(), ]; -void checkUnnamed335( +void checkUnnamed336( core.List< api .GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesRequestStatsAnomaliesObjective> @@ -25494,7 +25641,7 @@ api.GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesRequest o.deployedModelId = 'foo'; o.endTime = 'foo'; o.featureDisplayName = 'foo'; - o.objectives = buildUnnamed335(); + o.objectives = buildUnnamed336(); o.pageSize = 42; o.pageToken = 'foo'; o.startTime = 'foo'; @@ -25521,7 +25668,7 @@ void checkGoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesRe o.featureDisplayName!, unittest.equals('foo'), ); - checkUnnamed335(o.objectives!); + checkUnnamed336(o.objectives!); unittest.expect( o.pageSize!, unittest.equals(42), @@ -25574,12 +25721,12 @@ void checkGoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesRe } core.List - buildUnnamed336() => [ + buildUnnamed337() => [ buildGoogleCloudAiplatformV1ModelMonitoringStatsAnomalies(), buildGoogleCloudAiplatformV1ModelMonitoringStatsAnomalies(), ]; -void checkUnnamed336( +void checkUnnamed337( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1ModelMonitoringStatsAnomalies(o[0]); @@ -25596,7 +25743,7 @@ api.GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesResponse buildCounterGoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesResponse++; if (buildCounterGoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesResponse < 3) { - o.monitoringStats = buildUnnamed336(); + o.monitoringStats = buildUnnamed337(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesResponse--; @@ -25609,7 +25756,7 @@ void checkGoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesRe buildCounterGoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesResponse++; if (buildCounterGoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesResponse < 3) { - checkUnnamed336(o.monitoringStats!); + checkUnnamed337(o.monitoringStats!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -25726,12 +25873,12 @@ void checkGoogleCloudAiplatformV1ServiceAccountSpec( } core.List - buildUnnamed337() => [ + buildUnnamed338() => [ buildGoogleCloudAiplatformV1SharePointSourcesSharePointSource(), buildGoogleCloudAiplatformV1SharePointSourcesSharePointSource(), ]; -void checkUnnamed337( +void checkUnnamed338( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1SharePointSourcesSharePointSource(o[0]); @@ -25744,7 +25891,7 @@ api.GoogleCloudAiplatformV1SharePointSources final o = api.GoogleCloudAiplatformV1SharePointSources(); buildCounterGoogleCloudAiplatformV1SharePointSources++; if (buildCounterGoogleCloudAiplatformV1SharePointSources < 3) { - o.sharePointSources = buildUnnamed337(); + o.sharePointSources = buildUnnamed338(); } buildCounterGoogleCloudAiplatformV1SharePointSources--; return o; @@ -25754,7 +25901,7 @@ void checkGoogleCloudAiplatformV1SharePointSources( api.GoogleCloudAiplatformV1SharePointSources o) { buildCounterGoogleCloudAiplatformV1SharePointSources++; if (buildCounterGoogleCloudAiplatformV1SharePointSources < 3) { - checkUnnamed337(o.sharePointSources!); + checkUnnamed338(o.sharePointSources!); } buildCounterGoogleCloudAiplatformV1SharePointSources--; } @@ -25845,12 +25992,12 @@ void checkGoogleCloudAiplatformV1ShieldedVmConfig( } core.List - buildUnnamed338() => [ + buildUnnamed339() => [ buildGoogleCloudAiplatformV1SlackSourceSlackChannels(), buildGoogleCloudAiplatformV1SlackSourceSlackChannels(), ]; -void checkUnnamed338( +void checkUnnamed339( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1SlackSourceSlackChannels(o[0]); @@ -25863,7 +26010,7 @@ api.GoogleCloudAiplatformV1SlackSource final o = api.GoogleCloudAiplatformV1SlackSource(); buildCounterGoogleCloudAiplatformV1SlackSource++; if (buildCounterGoogleCloudAiplatformV1SlackSource < 3) { - o.channels = buildUnnamed338(); + o.channels = buildUnnamed339(); } buildCounterGoogleCloudAiplatformV1SlackSource--; return o; @@ -25873,18 +26020,18 @@ void checkGoogleCloudAiplatformV1SlackSource( api.GoogleCloudAiplatformV1SlackSource o) { buildCounterGoogleCloudAiplatformV1SlackSource++; if (buildCounterGoogleCloudAiplatformV1SlackSource < 3) { - checkUnnamed338(o.channels!); + checkUnnamed339(o.channels!); } buildCounterGoogleCloudAiplatformV1SlackSource--; } core.List - buildUnnamed339() => [ + buildUnnamed340() => [ buildGoogleCloudAiplatformV1SlackSourceSlackChannelsSlackChannel(), buildGoogleCloudAiplatformV1SlackSourceSlackChannelsSlackChannel(), ]; -void checkUnnamed339( +void checkUnnamed340( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -25899,7 +26046,7 @@ api.GoogleCloudAiplatformV1SlackSourceSlackChannels buildCounterGoogleCloudAiplatformV1SlackSourceSlackChannels++; if (buildCounterGoogleCloudAiplatformV1SlackSourceSlackChannels < 3) { o.apiKeyConfig = buildGoogleCloudAiplatformV1ApiAuthApiKeyConfig(); - o.channels = buildUnnamed339(); + o.channels = buildUnnamed340(); } buildCounterGoogleCloudAiplatformV1SlackSourceSlackChannels--; return o; @@ -25910,7 +26057,7 @@ void checkGoogleCloudAiplatformV1SlackSourceSlackChannels( buildCounterGoogleCloudAiplatformV1SlackSourceSlackChannels++; if (buildCounterGoogleCloudAiplatformV1SlackSourceSlackChannels < 3) { checkGoogleCloudAiplatformV1ApiAuthApiKeyConfig(o.apiKeyConfig!); - checkUnnamed339(o.channels!); + checkUnnamed340(o.channels!); } buildCounterGoogleCloudAiplatformV1SlackSourceSlackChannels--; } @@ -25983,12 +26130,12 @@ void checkGoogleCloudAiplatformV1SmoothGradConfig( buildCounterGoogleCloudAiplatformV1SmoothGradConfig--; } -core.List buildUnnamed340() => [ +core.List buildUnnamed341() => [ 'foo', 'foo', ]; -void checkUnnamed340(core.List o) { +void checkUnnamed341(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -26000,12 +26147,12 @@ void checkUnnamed340(core.List o) { ); } -core.List buildUnnamed341() => [ +core.List buildUnnamed342() => [ 'foo', 'foo', ]; -void checkUnnamed341(core.List o) { +void checkUnnamed342(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -26017,12 +26164,12 @@ void checkUnnamed341(core.List o) { ); } -core.List buildUnnamed342() => [ +core.List buildUnnamed343() => [ 'foo', 'foo', ]; -void checkUnnamed342(core.List o) { +void checkUnnamed343(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -26042,10 +26189,10 @@ api.GoogleCloudAiplatformV1SpecialistPool if (buildCounterGoogleCloudAiplatformV1SpecialistPool < 3) { o.displayName = 'foo'; o.name = 'foo'; - o.pendingDataLabelingJobs = buildUnnamed340(); - o.specialistManagerEmails = buildUnnamed341(); + o.pendingDataLabelingJobs = buildUnnamed341(); + o.specialistManagerEmails = buildUnnamed342(); o.specialistManagersCount = 42; - o.specialistWorkerEmails = buildUnnamed342(); + o.specialistWorkerEmails = buildUnnamed343(); } buildCounterGoogleCloudAiplatformV1SpecialistPool--; return o; @@ -26063,13 +26210,13 @@ void checkGoogleCloudAiplatformV1SpecialistPool( o.name!, unittest.equals('foo'), ); - checkUnnamed340(o.pendingDataLabelingJobs!); - checkUnnamed341(o.specialistManagerEmails!); + checkUnnamed341(o.pendingDataLabelingJobs!); + checkUnnamed342(o.specialistManagerEmails!); unittest.expect( o.specialistManagersCount!, unittest.equals(42), ); - checkUnnamed342(o.specialistWorkerEmails!); + checkUnnamed343(o.specialistWorkerEmails!); } buildCounterGoogleCloudAiplatformV1SpecialistPool--; } @@ -26185,6 +26332,80 @@ void checkGoogleCloudAiplatformV1StratifiedSplit( buildCounterGoogleCloudAiplatformV1StratifiedSplit--; } +core.Map buildUnnamed344() => { + 'x': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + 'y': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + }; + +void checkUnnamed344(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + var casted73 = (o['x']!) as core.Map; + unittest.expect(casted73, unittest.hasLength(3)); + unittest.expect( + casted73['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted73['bool'], + unittest.equals(true), + ); + unittest.expect( + casted73['string'], + unittest.equals('foo'), + ); + var casted74 = (o['y']!) as core.Map; + unittest.expect(casted74, unittest.hasLength(3)); + unittest.expect( + casted74['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted74['bool'], + unittest.equals(true), + ); + unittest.expect( + casted74['string'], + unittest.equals('foo'), + ); +} + +core.int buildCounterGoogleCloudAiplatformV1StreamQueryReasoningEngineRequest = + 0; +api.GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest + buildGoogleCloudAiplatformV1StreamQueryReasoningEngineRequest() { + final o = api.GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest(); + buildCounterGoogleCloudAiplatformV1StreamQueryReasoningEngineRequest++; + if (buildCounterGoogleCloudAiplatformV1StreamQueryReasoningEngineRequest < + 3) { + o.classMethod = 'foo'; + o.input = buildUnnamed344(); + } + buildCounterGoogleCloudAiplatformV1StreamQueryReasoningEngineRequest--; + return o; +} + +void checkGoogleCloudAiplatformV1StreamQueryReasoningEngineRequest( + api.GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest o) { + buildCounterGoogleCloudAiplatformV1StreamQueryReasoningEngineRequest++; + if (buildCounterGoogleCloudAiplatformV1StreamQueryReasoningEngineRequest < + 3) { + unittest.expect( + o.classMethod!, + unittest.equals('foo'), + ); + checkUnnamed344(o.input!); + } + buildCounterGoogleCloudAiplatformV1StreamQueryReasoningEngineRequest--; +} + core.int buildCounterGoogleCloudAiplatformV1StreamRawPredictRequest = 0; api.GoogleCloudAiplatformV1StreamRawPredictRequest buildGoogleCloudAiplatformV1StreamRawPredictRequest() { @@ -26206,12 +26427,12 @@ void checkGoogleCloudAiplatformV1StreamRawPredictRequest( buildCounterGoogleCloudAiplatformV1StreamRawPredictRequest--; } -core.List buildUnnamed343() => [ +core.List buildUnnamed345() => [ buildGoogleCloudAiplatformV1Tensor(), buildGoogleCloudAiplatformV1Tensor(), ]; -void checkUnnamed343(core.List o) { +void checkUnnamed345(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Tensor(o[0]); checkGoogleCloudAiplatformV1Tensor(o[1]); @@ -26223,7 +26444,7 @@ api.GoogleCloudAiplatformV1StreamingPredictRequest final o = api.GoogleCloudAiplatformV1StreamingPredictRequest(); buildCounterGoogleCloudAiplatformV1StreamingPredictRequest++; if (buildCounterGoogleCloudAiplatformV1StreamingPredictRequest < 3) { - o.inputs = buildUnnamed343(); + o.inputs = buildUnnamed345(); o.parameters = buildGoogleCloudAiplatformV1Tensor(); } buildCounterGoogleCloudAiplatformV1StreamingPredictRequest--; @@ -26234,18 +26455,18 @@ void checkGoogleCloudAiplatformV1StreamingPredictRequest( api.GoogleCloudAiplatformV1StreamingPredictRequest o) { buildCounterGoogleCloudAiplatformV1StreamingPredictRequest++; if (buildCounterGoogleCloudAiplatformV1StreamingPredictRequest < 3) { - checkUnnamed343(o.inputs!); + checkUnnamed345(o.inputs!); checkGoogleCloudAiplatformV1Tensor(o.parameters!); } buildCounterGoogleCloudAiplatformV1StreamingPredictRequest--; } -core.List buildUnnamed344() => [ +core.List buildUnnamed346() => [ buildGoogleCloudAiplatformV1Tensor(), buildGoogleCloudAiplatformV1Tensor(), ]; -void checkUnnamed344(core.List o) { +void checkUnnamed346(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Tensor(o[0]); checkGoogleCloudAiplatformV1Tensor(o[1]); @@ -26257,7 +26478,7 @@ api.GoogleCloudAiplatformV1StreamingPredictResponse final o = api.GoogleCloudAiplatformV1StreamingPredictResponse(); buildCounterGoogleCloudAiplatformV1StreamingPredictResponse++; if (buildCounterGoogleCloudAiplatformV1StreamingPredictResponse < 3) { - o.outputs = buildUnnamed344(); + o.outputs = buildUnnamed346(); o.parameters = buildGoogleCloudAiplatformV1Tensor(); } buildCounterGoogleCloudAiplatformV1StreamingPredictResponse--; @@ -26268,18 +26489,18 @@ void checkGoogleCloudAiplatformV1StreamingPredictResponse( api.GoogleCloudAiplatformV1StreamingPredictResponse o) { buildCounterGoogleCloudAiplatformV1StreamingPredictResponse++; if (buildCounterGoogleCloudAiplatformV1StreamingPredictResponse < 3) { - checkUnnamed344(o.outputs!); + checkUnnamed346(o.outputs!); checkGoogleCloudAiplatformV1Tensor(o.parameters!); } buildCounterGoogleCloudAiplatformV1StreamingPredictResponse--; } -core.List buildUnnamed345() => [ +core.List buildUnnamed347() => [ 'foo', 'foo', ]; -void checkUnnamed345(core.List o) { +void checkUnnamed347(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -26299,7 +26520,7 @@ api.GoogleCloudAiplatformV1StreamingReadFeatureValuesRequest buildCounterGoogleCloudAiplatformV1StreamingReadFeatureValuesRequest++; if (buildCounterGoogleCloudAiplatformV1StreamingReadFeatureValuesRequest < 3) { - o.entityIds = buildUnnamed345(); + o.entityIds = buildUnnamed347(); o.featureSelector = buildGoogleCloudAiplatformV1FeatureSelector(); } buildCounterGoogleCloudAiplatformV1StreamingReadFeatureValuesRequest--; @@ -26311,18 +26532,18 @@ void checkGoogleCloudAiplatformV1StreamingReadFeatureValuesRequest( buildCounterGoogleCloudAiplatformV1StreamingReadFeatureValuesRequest++; if (buildCounterGoogleCloudAiplatformV1StreamingReadFeatureValuesRequest < 3) { - checkUnnamed345(o.entityIds!); + checkUnnamed347(o.entityIds!); checkGoogleCloudAiplatformV1FeatureSelector(o.featureSelector!); } buildCounterGoogleCloudAiplatformV1StreamingReadFeatureValuesRequest--; } -core.List buildUnnamed346() => [ +core.List buildUnnamed348() => [ 'foo', 'foo', ]; -void checkUnnamed346(core.List o) { +void checkUnnamed348(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -26340,7 +26561,7 @@ api.GoogleCloudAiplatformV1StringArray final o = api.GoogleCloudAiplatformV1StringArray(); buildCounterGoogleCloudAiplatformV1StringArray++; if (buildCounterGoogleCloudAiplatformV1StringArray < 3) { - o.values = buildUnnamed346(); + o.values = buildUnnamed348(); } buildCounterGoogleCloudAiplatformV1StringArray--; return o; @@ -26350,7 +26571,7 @@ void checkGoogleCloudAiplatformV1StringArray( api.GoogleCloudAiplatformV1StringArray o) { buildCounterGoogleCloudAiplatformV1StringArray++; if (buildCounterGoogleCloudAiplatformV1StringArray < 3) { - checkUnnamed346(o.values!); + checkUnnamed348(o.values!); } buildCounterGoogleCloudAiplatformV1StringArray--; } @@ -26381,12 +26602,12 @@ void checkGoogleCloudAiplatformV1StructFieldValue( buildCounterGoogleCloudAiplatformV1StructFieldValue--; } -core.List buildUnnamed347() => [ +core.List buildUnnamed349() => [ buildGoogleCloudAiplatformV1StructFieldValue(), buildGoogleCloudAiplatformV1StructFieldValue(), ]; -void checkUnnamed347(core.List o) { +void checkUnnamed349(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1StructFieldValue(o[0]); checkGoogleCloudAiplatformV1StructFieldValue(o[1]); @@ -26398,7 +26619,7 @@ api.GoogleCloudAiplatformV1StructValue final o = api.GoogleCloudAiplatformV1StructValue(); buildCounterGoogleCloudAiplatformV1StructValue++; if (buildCounterGoogleCloudAiplatformV1StructValue < 3) { - o.values = buildUnnamed347(); + o.values = buildUnnamed349(); } buildCounterGoogleCloudAiplatformV1StructValue--; return o; @@ -26408,7 +26629,7 @@ void checkGoogleCloudAiplatformV1StructValue( api.GoogleCloudAiplatformV1StructValue o) { buildCounterGoogleCloudAiplatformV1StructValue++; if (buildCounterGoogleCloudAiplatformV1StructValue < 3) { - checkUnnamed347(o.values!); + checkUnnamed349(o.values!); } buildCounterGoogleCloudAiplatformV1StructValue--; } @@ -26457,12 +26678,12 @@ void checkGoogleCloudAiplatformV1Study(api.GoogleCloudAiplatformV1Study o) { buildCounterGoogleCloudAiplatformV1Study--; } -core.List buildUnnamed348() => [ +core.List buildUnnamed350() => [ buildGoogleCloudAiplatformV1StudySpecMetricSpec(), buildGoogleCloudAiplatformV1StudySpecMetricSpec(), ]; -void checkUnnamed348( +void checkUnnamed350( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1StudySpecMetricSpec(o[0]); @@ -26470,12 +26691,12 @@ void checkUnnamed348( } core.List - buildUnnamed349() => [ + buildUnnamed351() => [ buildGoogleCloudAiplatformV1StudySpecParameterSpec(), buildGoogleCloudAiplatformV1StudySpecParameterSpec(), ]; -void checkUnnamed349( +void checkUnnamed351( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1StudySpecParameterSpec(o[0]); @@ -26495,9 +26716,9 @@ api.GoogleCloudAiplatformV1StudySpec buildGoogleCloudAiplatformV1StudySpec() { o.measurementSelectionType = 'foo'; o.medianAutomatedStoppingSpec = buildGoogleCloudAiplatformV1StudySpecMedianAutomatedStoppingSpec(); - o.metrics = buildUnnamed348(); + o.metrics = buildUnnamed350(); o.observationNoise = 'foo'; - o.parameters = buildUnnamed349(); + o.parameters = buildUnnamed351(); o.studyStoppingConfig = buildGoogleCloudAiplatformV1StudySpecStudyStoppingConfig(); } @@ -26523,12 +26744,12 @@ void checkGoogleCloudAiplatformV1StudySpec( ); checkGoogleCloudAiplatformV1StudySpecMedianAutomatedStoppingSpec( o.medianAutomatedStoppingSpec!); - checkUnnamed348(o.metrics!); + checkUnnamed350(o.metrics!); unittest.expect( o.observationNoise!, unittest.equals('foo'), ); - checkUnnamed349(o.parameters!); + checkUnnamed351(o.parameters!); checkGoogleCloudAiplatformV1StudySpecStudyStoppingConfig( o.studyStoppingConfig!); } @@ -26700,12 +26921,12 @@ void checkGoogleCloudAiplatformV1StudySpecMetricSpecSafetyMetricConfig( core.List< api .GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpec> - buildUnnamed350() => [ + buildUnnamed352() => [ buildGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpec(), buildGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpec(), ]; -void checkUnnamed350( +void checkUnnamed352( core.List< api .GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpec> @@ -26725,7 +26946,7 @@ api.GoogleCloudAiplatformV1StudySpecParameterSpec if (buildCounterGoogleCloudAiplatformV1StudySpecParameterSpec < 3) { o.categoricalValueSpec = buildGoogleCloudAiplatformV1StudySpecParameterSpecCategoricalValueSpec(); - o.conditionalParameterSpecs = buildUnnamed350(); + o.conditionalParameterSpecs = buildUnnamed352(); o.discreteValueSpec = buildGoogleCloudAiplatformV1StudySpecParameterSpecDiscreteValueSpec(); o.doubleValueSpec = @@ -26745,7 +26966,7 @@ void checkGoogleCloudAiplatformV1StudySpecParameterSpec( if (buildCounterGoogleCloudAiplatformV1StudySpecParameterSpec < 3) { checkGoogleCloudAiplatformV1StudySpecParameterSpecCategoricalValueSpec( o.categoricalValueSpec!); - checkUnnamed350(o.conditionalParameterSpecs!); + checkUnnamed352(o.conditionalParameterSpecs!); checkGoogleCloudAiplatformV1StudySpecParameterSpecDiscreteValueSpec( o.discreteValueSpec!); checkGoogleCloudAiplatformV1StudySpecParameterSpecDoubleValueSpec( @@ -26764,12 +26985,12 @@ void checkGoogleCloudAiplatformV1StudySpecParameterSpec( buildCounterGoogleCloudAiplatformV1StudySpecParameterSpec--; } -core.List buildUnnamed351() => [ +core.List buildUnnamed353() => [ 'foo', 'foo', ]; -void checkUnnamed351(core.List o) { +void checkUnnamed353(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -26792,7 +27013,7 @@ api.GoogleCloudAiplatformV1StudySpecParameterSpecCategoricalValueSpec if (buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecCategoricalValueSpec < 3) { o.defaultValue = 'foo'; - o.values = buildUnnamed351(); + o.values = buildUnnamed353(); } buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecCategoricalValueSpec--; return o; @@ -26807,7 +27028,7 @@ void checkGoogleCloudAiplatformV1StudySpecParameterSpecCategoricalValueSpec( o.defaultValue!, unittest.equals('foo'), ); - checkUnnamed351(o.values!); + checkUnnamed353(o.values!); } buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecCategoricalValueSpec--; } @@ -26851,12 +27072,12 @@ void checkGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpec( buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpec--; } -core.List buildUnnamed352() => [ +core.List buildUnnamed354() => [ 'foo', 'foo', ]; -void checkUnnamed352(core.List o) { +void checkUnnamed354(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -26878,7 +27099,7 @@ api.GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecCategor buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecCategoricalValueCondition++; if (buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecCategoricalValueCondition < 3) { - o.values = buildUnnamed352(); + o.values = buildUnnamed354(); } buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecCategoricalValueCondition--; return o; @@ -26890,17 +27111,17 @@ void checkGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecC buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecCategoricalValueCondition++; if (buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecCategoricalValueCondition < 3) { - checkUnnamed352(o.values!); + checkUnnamed354(o.values!); } buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecCategoricalValueCondition--; } -core.List buildUnnamed353() => [ +core.List buildUnnamed355() => [ 42.0, 42.0, ]; -void checkUnnamed353(core.List o) { +void checkUnnamed355(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -26922,7 +27143,7 @@ api.GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecDiscret buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecDiscreteValueCondition++; if (buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecDiscreteValueCondition < 3) { - o.values = buildUnnamed353(); + o.values = buildUnnamed355(); } buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecDiscreteValueCondition--; return o; @@ -26934,17 +27155,17 @@ void checkGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecD buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecDiscreteValueCondition++; if (buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecDiscreteValueCondition < 3) { - checkUnnamed353(o.values!); + checkUnnamed355(o.values!); } buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecDiscreteValueCondition--; } -core.List buildUnnamed354() => [ +core.List buildUnnamed356() => [ 'foo', 'foo', ]; -void checkUnnamed354(core.List o) { +void checkUnnamed356(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -26966,7 +27187,7 @@ api.GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecIntValu buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecIntValueCondition++; if (buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecIntValueCondition < 3) { - o.values = buildUnnamed354(); + o.values = buildUnnamed356(); } buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecIntValueCondition--; return o; @@ -26978,17 +27199,17 @@ void checkGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecI buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecIntValueCondition++; if (buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecIntValueCondition < 3) { - checkUnnamed354(o.values!); + checkUnnamed356(o.values!); } buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecIntValueCondition--; } -core.List buildUnnamed355() => [ +core.List buildUnnamed357() => [ 42.0, 42.0, ]; -void checkUnnamed355(core.List o) { +void checkUnnamed357(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -27011,7 +27232,7 @@ api.GoogleCloudAiplatformV1StudySpecParameterSpecDiscreteValueSpec if (buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecDiscreteValueSpec < 3) { o.defaultValue = 42.0; - o.values = buildUnnamed355(); + o.values = buildUnnamed357(); } buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecDiscreteValueSpec--; return o; @@ -27026,7 +27247,7 @@ void checkGoogleCloudAiplatformV1StudySpecParameterSpecDiscreteValueSpec( o.defaultValue!, unittest.equals(42.0), ); - checkUnnamed355(o.values!); + checkUnnamed357(o.values!); } buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecDiscreteValueSpec--; } @@ -27185,12 +27406,12 @@ void checkGoogleCloudAiplatformV1StudyTimeConstraint( buildCounterGoogleCloudAiplatformV1StudyTimeConstraint--; } -core.List buildUnnamed356() => [ +core.List buildUnnamed358() => [ buildGoogleCloudAiplatformV1TrialContext(), buildGoogleCloudAiplatformV1TrialContext(), ]; -void checkUnnamed356(core.List o) { +void checkUnnamed358(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1TrialContext(o[0]); checkGoogleCloudAiplatformV1TrialContext(o[1]); @@ -27203,7 +27424,7 @@ api.GoogleCloudAiplatformV1SuggestTrialsRequest buildCounterGoogleCloudAiplatformV1SuggestTrialsRequest++; if (buildCounterGoogleCloudAiplatformV1SuggestTrialsRequest < 3) { o.clientId = 'foo'; - o.contexts = buildUnnamed356(); + o.contexts = buildUnnamed358(); o.suggestionCount = 42; } buildCounterGoogleCloudAiplatformV1SuggestTrialsRequest--; @@ -27218,7 +27439,7 @@ void checkGoogleCloudAiplatformV1SuggestTrialsRequest( o.clientId!, unittest.equals('foo'), ); - checkUnnamed356(o.contexts!); + checkUnnamed358(o.contexts!); unittest.expect( o.suggestionCount!, unittest.equals(42), @@ -27628,12 +27849,12 @@ void checkGoogleCloudAiplatformV1SupervisedHyperParameters( buildCounterGoogleCloudAiplatformV1SupervisedHyperParameters--; } -core.List buildUnnamed357() => [ +core.List buildUnnamed359() => [ 'foo', 'foo', ]; -void checkUnnamed357(core.List o) { +void checkUnnamed359(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -27645,12 +27866,12 @@ void checkUnnamed357(core.List o) { ); } -core.List buildUnnamed358() => [ +core.List buildUnnamed360() => [ buildGoogleCloudAiplatformV1Content(), buildGoogleCloudAiplatformV1Content(), ]; -void checkUnnamed358(core.List o) { +void checkUnnamed360(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Content(o[0]); checkGoogleCloudAiplatformV1Content(o[1]); @@ -27666,10 +27887,10 @@ api.GoogleCloudAiplatformV1SupervisedTuningDataStats o.totalBillableTokenCount = 'foo'; o.totalTruncatedExampleCount = 'foo'; o.totalTuningCharacterCount = 'foo'; - o.truncatedExampleIndices = buildUnnamed357(); + o.truncatedExampleIndices = buildUnnamed359(); o.tuningDatasetExampleCount = 'foo'; o.tuningStepCount = 'foo'; - o.userDatasetExamples = buildUnnamed358(); + o.userDatasetExamples = buildUnnamed360(); o.userInputTokenDistribution = buildGoogleCloudAiplatformV1SupervisedTuningDatasetDistribution(); o.userMessagePerExampleDistribution = @@ -27701,7 +27922,7 @@ void checkGoogleCloudAiplatformV1SupervisedTuningDataStats( o.totalTuningCharacterCount!, unittest.equals('foo'), ); - checkUnnamed357(o.truncatedExampleIndices!); + checkUnnamed359(o.truncatedExampleIndices!); unittest.expect( o.tuningDatasetExampleCount!, unittest.equals('foo'), @@ -27710,7 +27931,7 @@ void checkGoogleCloudAiplatformV1SupervisedTuningDataStats( o.tuningStepCount!, unittest.equals('foo'), ); - checkUnnamed358(o.userDatasetExamples!); + checkUnnamed360(o.userDatasetExamples!); checkGoogleCloudAiplatformV1SupervisedTuningDatasetDistribution( o.userInputTokenDistribution!); checkGoogleCloudAiplatformV1SupervisedTuningDatasetDistribution( @@ -27724,12 +27945,12 @@ void checkGoogleCloudAiplatformV1SupervisedTuningDataStats( core.List< api .GoogleCloudAiplatformV1SupervisedTuningDatasetDistributionDatasetBucket> - buildUnnamed359() => [ + buildUnnamed361() => [ buildGoogleCloudAiplatformV1SupervisedTuningDatasetDistributionDatasetBucket(), buildGoogleCloudAiplatformV1SupervisedTuningDatasetDistributionDatasetBucket(), ]; -void checkUnnamed359( +void checkUnnamed361( core.List< api .GoogleCloudAiplatformV1SupervisedTuningDatasetDistributionDatasetBucket> @@ -27750,7 +27971,7 @@ api.GoogleCloudAiplatformV1SupervisedTuningDatasetDistribution if (buildCounterGoogleCloudAiplatformV1SupervisedTuningDatasetDistribution < 3) { o.billableSum = 'foo'; - o.buckets = buildUnnamed359(); + o.buckets = buildUnnamed361(); o.max = 42.0; o.mean = 42.0; o.median = 42.0; @@ -27772,7 +27993,7 @@ void checkGoogleCloudAiplatformV1SupervisedTuningDatasetDistribution( o.billableSum!, unittest.equals('foo'), ); - checkUnnamed359(o.buckets!); + checkUnnamed361(o.buckets!); unittest.expect( o.max!, unittest.equals(42.0), @@ -27938,23 +28159,23 @@ void checkGoogleCloudAiplatformV1TFRecordDestination( buildCounterGoogleCloudAiplatformV1TFRecordDestination--; } -core.List buildUnnamed360() => [ +core.List buildUnnamed362() => [ true, true, ]; -void checkUnnamed360(core.List o) { +void checkUnnamed362(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.isTrue); unittest.expect(o[1], unittest.isTrue); } -core.List buildUnnamed361() => [ +core.List buildUnnamed363() => [ 'foo', 'foo', ]; -void checkUnnamed361(core.List o) { +void checkUnnamed363(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -27966,12 +28187,12 @@ void checkUnnamed361(core.List o) { ); } -core.List buildUnnamed362() => [ +core.List buildUnnamed364() => [ 42.0, 42.0, ]; -void checkUnnamed362(core.List o) { +void checkUnnamed364(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -27983,12 +28204,12 @@ void checkUnnamed362(core.List o) { ); } -core.List buildUnnamed363() => [ +core.List buildUnnamed365() => [ 42.0, 42.0, ]; -void checkUnnamed363(core.List o) { +void checkUnnamed365(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -28000,12 +28221,12 @@ void checkUnnamed363(core.List o) { ); } -core.List buildUnnamed364() => [ +core.List buildUnnamed366() => [ 'foo', 'foo', ]; -void checkUnnamed364(core.List o) { +void checkUnnamed366(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -28017,12 +28238,12 @@ void checkUnnamed364(core.List o) { ); } -core.List buildUnnamed365() => [ +core.List buildUnnamed367() => [ 42, 42, ]; -void checkUnnamed365(core.List o) { +void checkUnnamed367(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -28034,23 +28255,23 @@ void checkUnnamed365(core.List o) { ); } -core.List buildUnnamed366() => [ +core.List buildUnnamed368() => [ buildGoogleCloudAiplatformV1Tensor(), buildGoogleCloudAiplatformV1Tensor(), ]; -void checkUnnamed366(core.List o) { +void checkUnnamed368(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Tensor(o[0]); checkGoogleCloudAiplatformV1Tensor(o[1]); } -core.List buildUnnamed367() => [ +core.List buildUnnamed369() => [ 'foo', 'foo', ]; -void checkUnnamed367(core.List o) { +void checkUnnamed369(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -28062,12 +28283,12 @@ void checkUnnamed367(core.List o) { ); } -core.List buildUnnamed368() => [ +core.List buildUnnamed370() => [ 'foo', 'foo', ]; -void checkUnnamed368(core.List o) { +void checkUnnamed370(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -28079,24 +28300,24 @@ void checkUnnamed368(core.List o) { ); } -core.Map buildUnnamed369() => { +core.Map buildUnnamed371() => { 'x': buildGoogleCloudAiplatformV1Tensor(), 'y': buildGoogleCloudAiplatformV1Tensor(), }; -void checkUnnamed369( +void checkUnnamed371( core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Tensor(o['x']!); checkGoogleCloudAiplatformV1Tensor(o['y']!); } -core.List buildUnnamed370() => [ +core.List buildUnnamed372() => [ 'foo', 'foo', ]; -void checkUnnamed370(core.List o) { +void checkUnnamed372(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -28108,12 +28329,12 @@ void checkUnnamed370(core.List o) { ); } -core.List buildUnnamed371() => [ +core.List buildUnnamed373() => [ 42, 42, ]; -void checkUnnamed371(core.List o) { +void checkUnnamed373(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -28130,20 +28351,20 @@ api.GoogleCloudAiplatformV1Tensor buildGoogleCloudAiplatformV1Tensor() { final o = api.GoogleCloudAiplatformV1Tensor(); buildCounterGoogleCloudAiplatformV1Tensor++; if (buildCounterGoogleCloudAiplatformV1Tensor < 3) { - o.boolVal = buildUnnamed360(); - o.bytesVal = buildUnnamed361(); - o.doubleVal = buildUnnamed362(); + o.boolVal = buildUnnamed362(); + o.bytesVal = buildUnnamed363(); + o.doubleVal = buildUnnamed364(); o.dtype = 'foo'; - o.floatVal = buildUnnamed363(); - o.int64Val = buildUnnamed364(); - o.intVal = buildUnnamed365(); - o.listVal = buildUnnamed366(); - o.shape = buildUnnamed367(); - o.stringVal = buildUnnamed368(); - o.structVal = buildUnnamed369(); + o.floatVal = buildUnnamed365(); + o.int64Val = buildUnnamed366(); + o.intVal = buildUnnamed367(); + o.listVal = buildUnnamed368(); + o.shape = buildUnnamed369(); + o.stringVal = buildUnnamed370(); + o.structVal = buildUnnamed371(); o.tensorVal = 'foo'; - o.uint64Val = buildUnnamed370(); - o.uintVal = buildUnnamed371(); + o.uint64Val = buildUnnamed372(); + o.uintVal = buildUnnamed373(); } buildCounterGoogleCloudAiplatformV1Tensor--; return o; @@ -28152,36 +28373,36 @@ api.GoogleCloudAiplatformV1Tensor buildGoogleCloudAiplatformV1Tensor() { void checkGoogleCloudAiplatformV1Tensor(api.GoogleCloudAiplatformV1Tensor o) { buildCounterGoogleCloudAiplatformV1Tensor++; if (buildCounterGoogleCloudAiplatformV1Tensor < 3) { - checkUnnamed360(o.boolVal!); - checkUnnamed361(o.bytesVal!); - checkUnnamed362(o.doubleVal!); + checkUnnamed362(o.boolVal!); + checkUnnamed363(o.bytesVal!); + checkUnnamed364(o.doubleVal!); unittest.expect( o.dtype!, unittest.equals('foo'), ); - checkUnnamed363(o.floatVal!); - checkUnnamed364(o.int64Val!); - checkUnnamed365(o.intVal!); - checkUnnamed366(o.listVal!); - checkUnnamed367(o.shape!); - checkUnnamed368(o.stringVal!); - checkUnnamed369(o.structVal!); + checkUnnamed365(o.floatVal!); + checkUnnamed366(o.int64Val!); + checkUnnamed367(o.intVal!); + checkUnnamed368(o.listVal!); + checkUnnamed369(o.shape!); + checkUnnamed370(o.stringVal!); + checkUnnamed371(o.structVal!); unittest.expect( o.tensorVal!, unittest.equals('foo'), ); - checkUnnamed370(o.uint64Val!); - checkUnnamed371(o.uintVal!); + checkUnnamed372(o.uint64Val!); + checkUnnamed373(o.uintVal!); } buildCounterGoogleCloudAiplatformV1Tensor--; } -core.Map buildUnnamed372() => { +core.Map buildUnnamed374() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed372(core.Map o) { +void checkUnnamed374(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -28206,7 +28427,7 @@ api.GoogleCloudAiplatformV1Tensorboard o.encryptionSpec = buildGoogleCloudAiplatformV1EncryptionSpec(); o.etag = 'foo'; o.isDefault = true; - o.labels = buildUnnamed372(); + o.labels = buildUnnamed374(); o.name = 'foo'; o.runCount = 42; o.satisfiesPzi = true; @@ -28243,7 +28464,7 @@ void checkGoogleCloudAiplatformV1Tensorboard( unittest.equals('foo'), ); unittest.expect(o.isDefault!, unittest.isTrue); - checkUnnamed372(o.labels!); + checkUnnamed374(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -28291,12 +28512,12 @@ void checkGoogleCloudAiplatformV1TensorboardBlob( buildCounterGoogleCloudAiplatformV1TensorboardBlob--; } -core.List buildUnnamed373() => [ +core.List buildUnnamed375() => [ buildGoogleCloudAiplatformV1TensorboardBlob(), buildGoogleCloudAiplatformV1TensorboardBlob(), ]; -void checkUnnamed373(core.List o) { +void checkUnnamed375(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1TensorboardBlob(o[0]); checkGoogleCloudAiplatformV1TensorboardBlob(o[1]); @@ -28308,7 +28529,7 @@ api.GoogleCloudAiplatformV1TensorboardBlobSequence final o = api.GoogleCloudAiplatformV1TensorboardBlobSequence(); buildCounterGoogleCloudAiplatformV1TensorboardBlobSequence++; if (buildCounterGoogleCloudAiplatformV1TensorboardBlobSequence < 3) { - o.values = buildUnnamed373(); + o.values = buildUnnamed375(); } buildCounterGoogleCloudAiplatformV1TensorboardBlobSequence--; return o; @@ -28318,17 +28539,17 @@ void checkGoogleCloudAiplatformV1TensorboardBlobSequence( api.GoogleCloudAiplatformV1TensorboardBlobSequence o) { buildCounterGoogleCloudAiplatformV1TensorboardBlobSequence++; if (buildCounterGoogleCloudAiplatformV1TensorboardBlobSequence < 3) { - checkUnnamed373(o.values!); + checkUnnamed375(o.values!); } buildCounterGoogleCloudAiplatformV1TensorboardBlobSequence--; } -core.Map buildUnnamed374() => { +core.Map buildUnnamed376() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed374(core.Map o) { +void checkUnnamed376(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -28350,7 +28571,7 @@ api.GoogleCloudAiplatformV1TensorboardExperiment o.description = 'foo'; o.displayName = 'foo'; o.etag = 'foo'; - o.labels = buildUnnamed374(); + o.labels = buildUnnamed376(); o.name = 'foo'; o.source = 'foo'; o.updateTime = 'foo'; @@ -28379,7 +28600,7 @@ void checkGoogleCloudAiplatformV1TensorboardExperiment( o.etag!, unittest.equals('foo'), ); - checkUnnamed374(o.labels!); + checkUnnamed376(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -28396,12 +28617,12 @@ void checkGoogleCloudAiplatformV1TensorboardExperiment( buildCounterGoogleCloudAiplatformV1TensorboardExperiment--; } -core.Map buildUnnamed375() => { +core.Map buildUnnamed377() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed375(core.Map o) { +void checkUnnamed377(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -28423,7 +28644,7 @@ api.GoogleCloudAiplatformV1TensorboardRun o.description = 'foo'; o.displayName = 'foo'; o.etag = 'foo'; - o.labels = buildUnnamed375(); + o.labels = buildUnnamed377(); o.name = 'foo'; o.updateTime = 'foo'; } @@ -28451,7 +28672,7 @@ void checkGoogleCloudAiplatformV1TensorboardRun( o.etag!, unittest.equals('foo'), ); - checkUnnamed375(o.labels!); + checkUnnamed377(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -28617,12 +28838,12 @@ void checkGoogleCloudAiplatformV1ThresholdConfig( buildCounterGoogleCloudAiplatformV1ThresholdConfig--; } -core.List buildUnnamed376() => [ +core.List buildUnnamed378() => [ buildGoogleCloudAiplatformV1TimeSeriesDataPoint(), buildGoogleCloudAiplatformV1TimeSeriesDataPoint(), ]; -void checkUnnamed376( +void checkUnnamed378( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1TimeSeriesDataPoint(o[0]); @@ -28637,7 +28858,7 @@ api.GoogleCloudAiplatformV1TimeSeriesData if (buildCounterGoogleCloudAiplatformV1TimeSeriesData < 3) { o.tensorboardTimeSeriesId = 'foo'; o.valueType = 'foo'; - o.values = buildUnnamed376(); + o.values = buildUnnamed378(); } buildCounterGoogleCloudAiplatformV1TimeSeriesData--; return o; @@ -28655,7 +28876,7 @@ void checkGoogleCloudAiplatformV1TimeSeriesData( o.valueType!, unittest.equals('foo'), ); - checkUnnamed376(o.values!); + checkUnnamed378(o.values!); } buildCounterGoogleCloudAiplatformV1TimeSeriesData--; } @@ -28734,12 +28955,12 @@ void checkGoogleCloudAiplatformV1TimestampSplit( buildCounterGoogleCloudAiplatformV1TimestampSplit--; } -core.List buildUnnamed377() => [ +core.List buildUnnamed379() => [ 'foo', 'foo', ]; -void checkUnnamed377(core.List o) { +void checkUnnamed379(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -28751,12 +28972,12 @@ void checkUnnamed377(core.List o) { ); } -core.List buildUnnamed378() => [ +core.List buildUnnamed380() => [ 'foo', 'foo', ]; -void checkUnnamed378(core.List o) { +void checkUnnamed380(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -28774,8 +28995,8 @@ api.GoogleCloudAiplatformV1TokensInfo buildGoogleCloudAiplatformV1TokensInfo() { buildCounterGoogleCloudAiplatformV1TokensInfo++; if (buildCounterGoogleCloudAiplatformV1TokensInfo < 3) { o.role = 'foo'; - o.tokenIds = buildUnnamed377(); - o.tokens = buildUnnamed378(); + o.tokenIds = buildUnnamed379(); + o.tokens = buildUnnamed380(); } buildCounterGoogleCloudAiplatformV1TokensInfo--; return o; @@ -28789,18 +29010,18 @@ void checkGoogleCloudAiplatformV1TokensInfo( o.role!, unittest.equals('foo'), ); - checkUnnamed377(o.tokenIds!); - checkUnnamed378(o.tokens!); + checkUnnamed379(o.tokenIds!); + checkUnnamed380(o.tokens!); } buildCounterGoogleCloudAiplatformV1TokensInfo--; } -core.List buildUnnamed379() => [ +core.List buildUnnamed381() => [ buildGoogleCloudAiplatformV1FunctionDeclaration(), buildGoogleCloudAiplatformV1FunctionDeclaration(), ]; -void checkUnnamed379( +void checkUnnamed381( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1FunctionDeclaration(o[0]); @@ -28812,7 +29033,7 @@ api.GoogleCloudAiplatformV1Tool buildGoogleCloudAiplatformV1Tool() { final o = api.GoogleCloudAiplatformV1Tool(); buildCounterGoogleCloudAiplatformV1Tool++; if (buildCounterGoogleCloudAiplatformV1Tool < 3) { - o.functionDeclarations = buildUnnamed379(); + o.functionDeclarations = buildUnnamed381(); o.googleSearch = buildGoogleCloudAiplatformV1ToolGoogleSearch(); o.googleSearchRetrieval = buildGoogleCloudAiplatformV1GoogleSearchRetrieval(); @@ -28825,7 +29046,7 @@ api.GoogleCloudAiplatformV1Tool buildGoogleCloudAiplatformV1Tool() { void checkGoogleCloudAiplatformV1Tool(api.GoogleCloudAiplatformV1Tool o) { buildCounterGoogleCloudAiplatformV1Tool++; if (buildCounterGoogleCloudAiplatformV1Tool < 3) { - checkUnnamed379(o.functionDeclarations!); + checkUnnamed381(o.functionDeclarations!); checkGoogleCloudAiplatformV1ToolGoogleSearch(o.googleSearch!); checkGoogleCloudAiplatformV1GoogleSearchRetrieval(o.googleSearchRetrieval!); checkGoogleCloudAiplatformV1Retrieval(o.retrieval!); @@ -28861,13 +29082,13 @@ void checkGoogleCloudAiplatformV1ToolCall( buildCounterGoogleCloudAiplatformV1ToolCall--; } -core.List buildUnnamed380() => +core.List buildUnnamed382() => [ buildGoogleCloudAiplatformV1ToolCallValidInstance(), buildGoogleCloudAiplatformV1ToolCallValidInstance(), ]; -void checkUnnamed380( +void checkUnnamed382( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1ToolCallValidInstance(o[0]); @@ -28880,7 +29101,7 @@ api.GoogleCloudAiplatformV1ToolCallValidInput final o = api.GoogleCloudAiplatformV1ToolCallValidInput(); buildCounterGoogleCloudAiplatformV1ToolCallValidInput++; if (buildCounterGoogleCloudAiplatformV1ToolCallValidInput < 3) { - o.instances = buildUnnamed380(); + o.instances = buildUnnamed382(); o.metricSpec = buildGoogleCloudAiplatformV1ToolCallValidSpec(); } buildCounterGoogleCloudAiplatformV1ToolCallValidInput--; @@ -28891,7 +29112,7 @@ void checkGoogleCloudAiplatformV1ToolCallValidInput( api.GoogleCloudAiplatformV1ToolCallValidInput o) { buildCounterGoogleCloudAiplatformV1ToolCallValidInput++; if (buildCounterGoogleCloudAiplatformV1ToolCallValidInput < 3) { - checkUnnamed380(o.instances!); + checkUnnamed382(o.instances!); checkGoogleCloudAiplatformV1ToolCallValidSpec(o.metricSpec!); } buildCounterGoogleCloudAiplatformV1ToolCallValidInput--; @@ -28951,12 +29172,12 @@ void checkGoogleCloudAiplatformV1ToolCallValidMetricValue( } core.List - buildUnnamed381() => [ + buildUnnamed383() => [ buildGoogleCloudAiplatformV1ToolCallValidMetricValue(), buildGoogleCloudAiplatformV1ToolCallValidMetricValue(), ]; -void checkUnnamed381( +void checkUnnamed383( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1ToolCallValidMetricValue(o[0]); @@ -28969,7 +29190,7 @@ api.GoogleCloudAiplatformV1ToolCallValidResults final o = api.GoogleCloudAiplatformV1ToolCallValidResults(); buildCounterGoogleCloudAiplatformV1ToolCallValidResults++; if (buildCounterGoogleCloudAiplatformV1ToolCallValidResults < 3) { - o.toolCallValidMetricValues = buildUnnamed381(); + o.toolCallValidMetricValues = buildUnnamed383(); } buildCounterGoogleCloudAiplatformV1ToolCallValidResults--; return o; @@ -28979,7 +29200,7 @@ void checkGoogleCloudAiplatformV1ToolCallValidResults( api.GoogleCloudAiplatformV1ToolCallValidResults o) { buildCounterGoogleCloudAiplatformV1ToolCallValidResults++; if (buildCounterGoogleCloudAiplatformV1ToolCallValidResults < 3) { - checkUnnamed381(o.toolCallValidMetricValues!); + checkUnnamed383(o.toolCallValidMetricValues!); } buildCounterGoogleCloudAiplatformV1ToolCallValidResults--; } @@ -29039,13 +29260,13 @@ void checkGoogleCloudAiplatformV1ToolGoogleSearch( buildCounterGoogleCloudAiplatformV1ToolGoogleSearch--; } -core.List buildUnnamed382() => +core.List buildUnnamed384() => [ buildGoogleCloudAiplatformV1ToolNameMatchInstance(), buildGoogleCloudAiplatformV1ToolNameMatchInstance(), ]; -void checkUnnamed382( +void checkUnnamed384( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1ToolNameMatchInstance(o[0]); @@ -29058,7 +29279,7 @@ api.GoogleCloudAiplatformV1ToolNameMatchInput final o = api.GoogleCloudAiplatformV1ToolNameMatchInput(); buildCounterGoogleCloudAiplatformV1ToolNameMatchInput++; if (buildCounterGoogleCloudAiplatformV1ToolNameMatchInput < 3) { - o.instances = buildUnnamed382(); + o.instances = buildUnnamed384(); o.metricSpec = buildGoogleCloudAiplatformV1ToolNameMatchSpec(); } buildCounterGoogleCloudAiplatformV1ToolNameMatchInput--; @@ -29069,7 +29290,7 @@ void checkGoogleCloudAiplatformV1ToolNameMatchInput( api.GoogleCloudAiplatformV1ToolNameMatchInput o) { buildCounterGoogleCloudAiplatformV1ToolNameMatchInput++; if (buildCounterGoogleCloudAiplatformV1ToolNameMatchInput < 3) { - checkUnnamed382(o.instances!); + checkUnnamed384(o.instances!); checkGoogleCloudAiplatformV1ToolNameMatchSpec(o.metricSpec!); } buildCounterGoogleCloudAiplatformV1ToolNameMatchInput--; @@ -29129,12 +29350,12 @@ void checkGoogleCloudAiplatformV1ToolNameMatchMetricValue( } core.List - buildUnnamed383() => [ + buildUnnamed385() => [ buildGoogleCloudAiplatformV1ToolNameMatchMetricValue(), buildGoogleCloudAiplatformV1ToolNameMatchMetricValue(), ]; -void checkUnnamed383( +void checkUnnamed385( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1ToolNameMatchMetricValue(o[0]); @@ -29147,7 +29368,7 @@ api.GoogleCloudAiplatformV1ToolNameMatchResults final o = api.GoogleCloudAiplatformV1ToolNameMatchResults(); buildCounterGoogleCloudAiplatformV1ToolNameMatchResults++; if (buildCounterGoogleCloudAiplatformV1ToolNameMatchResults < 3) { - o.toolNameMatchMetricValues = buildUnnamed383(); + o.toolNameMatchMetricValues = buildUnnamed385(); } buildCounterGoogleCloudAiplatformV1ToolNameMatchResults--; return o; @@ -29157,7 +29378,7 @@ void checkGoogleCloudAiplatformV1ToolNameMatchResults( api.GoogleCloudAiplatformV1ToolNameMatchResults o) { buildCounterGoogleCloudAiplatformV1ToolNameMatchResults++; if (buildCounterGoogleCloudAiplatformV1ToolNameMatchResults < 3) { - checkUnnamed383(o.toolNameMatchMetricValues!); + checkUnnamed385(o.toolNameMatchMetricValues!); } buildCounterGoogleCloudAiplatformV1ToolNameMatchResults--; } @@ -29180,12 +29401,12 @@ void checkGoogleCloudAiplatformV1ToolNameMatchSpec( } core.List - buildUnnamed384() => [ + buildUnnamed386() => [ buildGoogleCloudAiplatformV1ToolParameterKVMatchInstance(), buildGoogleCloudAiplatformV1ToolParameterKVMatchInstance(), ]; -void checkUnnamed384( +void checkUnnamed386( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1ToolParameterKVMatchInstance(o[0]); @@ -29198,7 +29419,7 @@ api.GoogleCloudAiplatformV1ToolParameterKVMatchInput final o = api.GoogleCloudAiplatformV1ToolParameterKVMatchInput(); buildCounterGoogleCloudAiplatformV1ToolParameterKVMatchInput++; if (buildCounterGoogleCloudAiplatformV1ToolParameterKVMatchInput < 3) { - o.instances = buildUnnamed384(); + o.instances = buildUnnamed386(); o.metricSpec = buildGoogleCloudAiplatformV1ToolParameterKVMatchSpec(); } buildCounterGoogleCloudAiplatformV1ToolParameterKVMatchInput--; @@ -29209,7 +29430,7 @@ void checkGoogleCloudAiplatformV1ToolParameterKVMatchInput( api.GoogleCloudAiplatformV1ToolParameterKVMatchInput o) { buildCounterGoogleCloudAiplatformV1ToolParameterKVMatchInput++; if (buildCounterGoogleCloudAiplatformV1ToolParameterKVMatchInput < 3) { - checkUnnamed384(o.instances!); + checkUnnamed386(o.instances!); checkGoogleCloudAiplatformV1ToolParameterKVMatchSpec(o.metricSpec!); } buildCounterGoogleCloudAiplatformV1ToolParameterKVMatchInput--; @@ -29269,12 +29490,12 @@ void checkGoogleCloudAiplatformV1ToolParameterKVMatchMetricValue( } core.List - buildUnnamed385() => [ + buildUnnamed387() => [ buildGoogleCloudAiplatformV1ToolParameterKVMatchMetricValue(), buildGoogleCloudAiplatformV1ToolParameterKVMatchMetricValue(), ]; -void checkUnnamed385( +void checkUnnamed387( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1ToolParameterKVMatchMetricValue(o[0]); @@ -29287,7 +29508,7 @@ api.GoogleCloudAiplatformV1ToolParameterKVMatchResults final o = api.GoogleCloudAiplatformV1ToolParameterKVMatchResults(); buildCounterGoogleCloudAiplatformV1ToolParameterKVMatchResults++; if (buildCounterGoogleCloudAiplatformV1ToolParameterKVMatchResults < 3) { - o.toolParameterKvMatchMetricValues = buildUnnamed385(); + o.toolParameterKvMatchMetricValues = buildUnnamed387(); } buildCounterGoogleCloudAiplatformV1ToolParameterKVMatchResults--; return o; @@ -29297,7 +29518,7 @@ void checkGoogleCloudAiplatformV1ToolParameterKVMatchResults( api.GoogleCloudAiplatformV1ToolParameterKVMatchResults o) { buildCounterGoogleCloudAiplatformV1ToolParameterKVMatchResults++; if (buildCounterGoogleCloudAiplatformV1ToolParameterKVMatchResults < 3) { - checkUnnamed385(o.toolParameterKvMatchMetricValues!); + checkUnnamed387(o.toolParameterKvMatchMetricValues!); } buildCounterGoogleCloudAiplatformV1ToolParameterKVMatchResults--; } @@ -29324,12 +29545,12 @@ void checkGoogleCloudAiplatformV1ToolParameterKVMatchSpec( } core.List - buildUnnamed386() => [ + buildUnnamed388() => [ buildGoogleCloudAiplatformV1ToolParameterKeyMatchInstance(), buildGoogleCloudAiplatformV1ToolParameterKeyMatchInstance(), ]; -void checkUnnamed386( +void checkUnnamed388( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1ToolParameterKeyMatchInstance(o[0]); @@ -29342,7 +29563,7 @@ api.GoogleCloudAiplatformV1ToolParameterKeyMatchInput final o = api.GoogleCloudAiplatformV1ToolParameterKeyMatchInput(); buildCounterGoogleCloudAiplatformV1ToolParameterKeyMatchInput++; if (buildCounterGoogleCloudAiplatformV1ToolParameterKeyMatchInput < 3) { - o.instances = buildUnnamed386(); + o.instances = buildUnnamed388(); o.metricSpec = buildGoogleCloudAiplatformV1ToolParameterKeyMatchSpec(); } buildCounterGoogleCloudAiplatformV1ToolParameterKeyMatchInput--; @@ -29353,7 +29574,7 @@ void checkGoogleCloudAiplatformV1ToolParameterKeyMatchInput( api.GoogleCloudAiplatformV1ToolParameterKeyMatchInput o) { buildCounterGoogleCloudAiplatformV1ToolParameterKeyMatchInput++; if (buildCounterGoogleCloudAiplatformV1ToolParameterKeyMatchInput < 3) { - checkUnnamed386(o.instances!); + checkUnnamed388(o.instances!); checkGoogleCloudAiplatformV1ToolParameterKeyMatchSpec(o.metricSpec!); } buildCounterGoogleCloudAiplatformV1ToolParameterKeyMatchInput--; @@ -29414,12 +29635,12 @@ void checkGoogleCloudAiplatformV1ToolParameterKeyMatchMetricValue( } core.List - buildUnnamed387() => [ + buildUnnamed389() => [ buildGoogleCloudAiplatformV1ToolParameterKeyMatchMetricValue(), buildGoogleCloudAiplatformV1ToolParameterKeyMatchMetricValue(), ]; -void checkUnnamed387( +void checkUnnamed389( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1ToolParameterKeyMatchMetricValue(o[0]); @@ -29432,7 +29653,7 @@ api.GoogleCloudAiplatformV1ToolParameterKeyMatchResults final o = api.GoogleCloudAiplatformV1ToolParameterKeyMatchResults(); buildCounterGoogleCloudAiplatformV1ToolParameterKeyMatchResults++; if (buildCounterGoogleCloudAiplatformV1ToolParameterKeyMatchResults < 3) { - o.toolParameterKeyMatchMetricValues = buildUnnamed387(); + o.toolParameterKeyMatchMetricValues = buildUnnamed389(); } buildCounterGoogleCloudAiplatformV1ToolParameterKeyMatchResults--; return o; @@ -29442,7 +29663,7 @@ void checkGoogleCloudAiplatformV1ToolParameterKeyMatchResults( api.GoogleCloudAiplatformV1ToolParameterKeyMatchResults o) { buildCounterGoogleCloudAiplatformV1ToolParameterKeyMatchResults++; if (buildCounterGoogleCloudAiplatformV1ToolParameterKeyMatchResults < 3) { - checkUnnamed387(o.toolParameterKeyMatchMetricValues!); + checkUnnamed389(o.toolParameterKeyMatchMetricValues!); } buildCounterGoogleCloudAiplatformV1ToolParameterKeyMatchResults--; } @@ -29488,12 +29709,12 @@ void checkGoogleCloudAiplatformV1TrainingConfig( buildCounterGoogleCloudAiplatformV1TrainingConfig--; } -core.Map buildUnnamed388() => { +core.Map buildUnnamed390() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed388(core.Map o) { +void checkUnnamed390(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -29517,7 +29738,7 @@ api.GoogleCloudAiplatformV1TrainingPipeline o.endTime = 'foo'; o.error = buildGoogleRpcStatus(); o.inputDataConfig = buildGoogleCloudAiplatformV1InputDataConfig(); - o.labels = buildUnnamed388(); + o.labels = buildUnnamed390(); o.modelId = 'foo'; o.modelToUpload = buildGoogleCloudAiplatformV1Model(); o.name = 'foo'; @@ -29560,7 +29781,7 @@ void checkGoogleCloudAiplatformV1TrainingPipeline( ); checkGoogleRpcStatus(o.error!); checkGoogleCloudAiplatformV1InputDataConfig(o.inputDataConfig!); - checkUnnamed388(o.labels!); + checkUnnamed390(o.labels!); unittest.expect( o.modelId!, unittest.equals('foo'), @@ -29586,32 +29807,32 @@ void checkGoogleCloudAiplatformV1TrainingPipeline( o.trainingTaskDefinition!, unittest.equals('foo'), ); - var casted73 = (o.trainingTaskInputs!) as core.Map; - unittest.expect(casted73, unittest.hasLength(3)); + var casted75 = (o.trainingTaskInputs!) as core.Map; + unittest.expect(casted75, unittest.hasLength(3)); unittest.expect( - casted73['list'], + casted75['list'], unittest.equals([1, 2, 3]), ); unittest.expect( - casted73['bool'], + casted75['bool'], unittest.equals(true), ); unittest.expect( - casted73['string'], + casted75['string'], unittest.equals('foo'), ); - var casted74 = (o.trainingTaskMetadata!) as core.Map; - unittest.expect(casted74, unittest.hasLength(3)); + var casted76 = (o.trainingTaskMetadata!) as core.Map; + unittest.expect(casted76, unittest.hasLength(3)); unittest.expect( - casted74['list'], + casted76['list'], unittest.equals([1, 2, 3]), ); unittest.expect( - casted74['bool'], + casted76['bool'], unittest.equals(true), ); unittest.expect( - casted74['string'], + casted76['string'], unittest.equals('foo'), ); unittest.expect( @@ -29622,12 +29843,12 @@ void checkGoogleCloudAiplatformV1TrainingPipeline( buildCounterGoogleCloudAiplatformV1TrainingPipeline--; } -core.List buildUnnamed389() => [ +core.List buildUnnamed391() => [ buildGoogleCloudAiplatformV1ToolCall(), buildGoogleCloudAiplatformV1ToolCall(), ]; -void checkUnnamed389(core.List o) { +void checkUnnamed391(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1ToolCall(o[0]); checkGoogleCloudAiplatformV1ToolCall(o[1]); @@ -29638,7 +29859,7 @@ api.GoogleCloudAiplatformV1Trajectory buildGoogleCloudAiplatformV1Trajectory() { final o = api.GoogleCloudAiplatformV1Trajectory(); buildCounterGoogleCloudAiplatformV1Trajectory++; if (buildCounterGoogleCloudAiplatformV1Trajectory < 3) { - o.toolCalls = buildUnnamed389(); + o.toolCalls = buildUnnamed391(); } buildCounterGoogleCloudAiplatformV1Trajectory--; return o; @@ -29648,18 +29869,18 @@ void checkGoogleCloudAiplatformV1Trajectory( api.GoogleCloudAiplatformV1Trajectory o) { buildCounterGoogleCloudAiplatformV1Trajectory++; if (buildCounterGoogleCloudAiplatformV1Trajectory < 3) { - checkUnnamed389(o.toolCalls!); + checkUnnamed391(o.toolCalls!); } buildCounterGoogleCloudAiplatformV1Trajectory--; } core.List - buildUnnamed390() => [ + buildUnnamed392() => [ buildGoogleCloudAiplatformV1TrajectoryAnyOrderMatchInstance(), buildGoogleCloudAiplatformV1TrajectoryAnyOrderMatchInstance(), ]; -void checkUnnamed390( +void checkUnnamed392( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1TrajectoryAnyOrderMatchInstance(o[0]); @@ -29672,7 +29893,7 @@ api.GoogleCloudAiplatformV1TrajectoryAnyOrderMatchInput final o = api.GoogleCloudAiplatformV1TrajectoryAnyOrderMatchInput(); buildCounterGoogleCloudAiplatformV1TrajectoryAnyOrderMatchInput++; if (buildCounterGoogleCloudAiplatformV1TrajectoryAnyOrderMatchInput < 3) { - o.instances = buildUnnamed390(); + o.instances = buildUnnamed392(); o.metricSpec = buildGoogleCloudAiplatformV1TrajectoryAnyOrderMatchSpec(); } buildCounterGoogleCloudAiplatformV1TrajectoryAnyOrderMatchInput--; @@ -29683,7 +29904,7 @@ void checkGoogleCloudAiplatformV1TrajectoryAnyOrderMatchInput( api.GoogleCloudAiplatformV1TrajectoryAnyOrderMatchInput o) { buildCounterGoogleCloudAiplatformV1TrajectoryAnyOrderMatchInput++; if (buildCounterGoogleCloudAiplatformV1TrajectoryAnyOrderMatchInput < 3) { - checkUnnamed390(o.instances!); + checkUnnamed392(o.instances!); checkGoogleCloudAiplatformV1TrajectoryAnyOrderMatchSpec(o.metricSpec!); } buildCounterGoogleCloudAiplatformV1TrajectoryAnyOrderMatchInput--; @@ -29740,12 +29961,12 @@ void checkGoogleCloudAiplatformV1TrajectoryAnyOrderMatchMetricValue( } core.List - buildUnnamed391() => [ + buildUnnamed393() => [ buildGoogleCloudAiplatformV1TrajectoryAnyOrderMatchMetricValue(), buildGoogleCloudAiplatformV1TrajectoryAnyOrderMatchMetricValue(), ]; -void checkUnnamed391( +void checkUnnamed393( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -29759,7 +29980,7 @@ api.GoogleCloudAiplatformV1TrajectoryAnyOrderMatchResults final o = api.GoogleCloudAiplatformV1TrajectoryAnyOrderMatchResults(); buildCounterGoogleCloudAiplatformV1TrajectoryAnyOrderMatchResults++; if (buildCounterGoogleCloudAiplatformV1TrajectoryAnyOrderMatchResults < 3) { - o.trajectoryAnyOrderMatchMetricValues = buildUnnamed391(); + o.trajectoryAnyOrderMatchMetricValues = buildUnnamed393(); } buildCounterGoogleCloudAiplatformV1TrajectoryAnyOrderMatchResults--; return o; @@ -29769,7 +29990,7 @@ void checkGoogleCloudAiplatformV1TrajectoryAnyOrderMatchResults( api.GoogleCloudAiplatformV1TrajectoryAnyOrderMatchResults o) { buildCounterGoogleCloudAiplatformV1TrajectoryAnyOrderMatchResults++; if (buildCounterGoogleCloudAiplatformV1TrajectoryAnyOrderMatchResults < 3) { - checkUnnamed391(o.trajectoryAnyOrderMatchMetricValues!); + checkUnnamed393(o.trajectoryAnyOrderMatchMetricValues!); } buildCounterGoogleCloudAiplatformV1TrajectoryAnyOrderMatchResults--; } @@ -29792,12 +30013,12 @@ void checkGoogleCloudAiplatformV1TrajectoryAnyOrderMatchSpec( } core.List - buildUnnamed392() => [ + buildUnnamed394() => [ buildGoogleCloudAiplatformV1TrajectoryExactMatchInstance(), buildGoogleCloudAiplatformV1TrajectoryExactMatchInstance(), ]; -void checkUnnamed392( +void checkUnnamed394( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1TrajectoryExactMatchInstance(o[0]); @@ -29810,7 +30031,7 @@ api.GoogleCloudAiplatformV1TrajectoryExactMatchInput final o = api.GoogleCloudAiplatformV1TrajectoryExactMatchInput(); buildCounterGoogleCloudAiplatformV1TrajectoryExactMatchInput++; if (buildCounterGoogleCloudAiplatformV1TrajectoryExactMatchInput < 3) { - o.instances = buildUnnamed392(); + o.instances = buildUnnamed394(); o.metricSpec = buildGoogleCloudAiplatformV1TrajectoryExactMatchSpec(); } buildCounterGoogleCloudAiplatformV1TrajectoryExactMatchInput--; @@ -29821,7 +30042,7 @@ void checkGoogleCloudAiplatformV1TrajectoryExactMatchInput( api.GoogleCloudAiplatformV1TrajectoryExactMatchInput o) { buildCounterGoogleCloudAiplatformV1TrajectoryExactMatchInput++; if (buildCounterGoogleCloudAiplatformV1TrajectoryExactMatchInput < 3) { - checkUnnamed392(o.instances!); + checkUnnamed394(o.instances!); checkGoogleCloudAiplatformV1TrajectoryExactMatchSpec(o.metricSpec!); } buildCounterGoogleCloudAiplatformV1TrajectoryExactMatchInput--; @@ -29875,12 +30096,12 @@ void checkGoogleCloudAiplatformV1TrajectoryExactMatchMetricValue( } core.List - buildUnnamed393() => [ + buildUnnamed395() => [ buildGoogleCloudAiplatformV1TrajectoryExactMatchMetricValue(), buildGoogleCloudAiplatformV1TrajectoryExactMatchMetricValue(), ]; -void checkUnnamed393( +void checkUnnamed395( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1TrajectoryExactMatchMetricValue(o[0]); @@ -29893,7 +30114,7 @@ api.GoogleCloudAiplatformV1TrajectoryExactMatchResults final o = api.GoogleCloudAiplatformV1TrajectoryExactMatchResults(); buildCounterGoogleCloudAiplatformV1TrajectoryExactMatchResults++; if (buildCounterGoogleCloudAiplatformV1TrajectoryExactMatchResults < 3) { - o.trajectoryExactMatchMetricValues = buildUnnamed393(); + o.trajectoryExactMatchMetricValues = buildUnnamed395(); } buildCounterGoogleCloudAiplatformV1TrajectoryExactMatchResults--; return o; @@ -29903,7 +30124,7 @@ void checkGoogleCloudAiplatformV1TrajectoryExactMatchResults( api.GoogleCloudAiplatformV1TrajectoryExactMatchResults o) { buildCounterGoogleCloudAiplatformV1TrajectoryExactMatchResults++; if (buildCounterGoogleCloudAiplatformV1TrajectoryExactMatchResults < 3) { - checkUnnamed393(o.trajectoryExactMatchMetricValues!); + checkUnnamed395(o.trajectoryExactMatchMetricValues!); } buildCounterGoogleCloudAiplatformV1TrajectoryExactMatchResults--; } @@ -29926,12 +30147,12 @@ void checkGoogleCloudAiplatformV1TrajectoryExactMatchSpec( } core.List - buildUnnamed394() => [ + buildUnnamed396() => [ buildGoogleCloudAiplatformV1TrajectoryInOrderMatchInstance(), buildGoogleCloudAiplatformV1TrajectoryInOrderMatchInstance(), ]; -void checkUnnamed394( +void checkUnnamed396( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1TrajectoryInOrderMatchInstance(o[0]); @@ -29944,7 +30165,7 @@ api.GoogleCloudAiplatformV1TrajectoryInOrderMatchInput final o = api.GoogleCloudAiplatformV1TrajectoryInOrderMatchInput(); buildCounterGoogleCloudAiplatformV1TrajectoryInOrderMatchInput++; if (buildCounterGoogleCloudAiplatformV1TrajectoryInOrderMatchInput < 3) { - o.instances = buildUnnamed394(); + o.instances = buildUnnamed396(); o.metricSpec = buildGoogleCloudAiplatformV1TrajectoryInOrderMatchSpec(); } buildCounterGoogleCloudAiplatformV1TrajectoryInOrderMatchInput--; @@ -29955,7 +30176,7 @@ void checkGoogleCloudAiplatformV1TrajectoryInOrderMatchInput( api.GoogleCloudAiplatformV1TrajectoryInOrderMatchInput o) { buildCounterGoogleCloudAiplatformV1TrajectoryInOrderMatchInput++; if (buildCounterGoogleCloudAiplatformV1TrajectoryInOrderMatchInput < 3) { - checkUnnamed394(o.instances!); + checkUnnamed396(o.instances!); checkGoogleCloudAiplatformV1TrajectoryInOrderMatchSpec(o.metricSpec!); } buildCounterGoogleCloudAiplatformV1TrajectoryInOrderMatchInput--; @@ -30012,12 +30233,12 @@ void checkGoogleCloudAiplatformV1TrajectoryInOrderMatchMetricValue( } core.List - buildUnnamed395() => [ + buildUnnamed397() => [ buildGoogleCloudAiplatformV1TrajectoryInOrderMatchMetricValue(), buildGoogleCloudAiplatformV1TrajectoryInOrderMatchMetricValue(), ]; -void checkUnnamed395( +void checkUnnamed397( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1TrajectoryInOrderMatchMetricValue(o[0]); @@ -30030,7 +30251,7 @@ api.GoogleCloudAiplatformV1TrajectoryInOrderMatchResults final o = api.GoogleCloudAiplatformV1TrajectoryInOrderMatchResults(); buildCounterGoogleCloudAiplatformV1TrajectoryInOrderMatchResults++; if (buildCounterGoogleCloudAiplatformV1TrajectoryInOrderMatchResults < 3) { - o.trajectoryInOrderMatchMetricValues = buildUnnamed395(); + o.trajectoryInOrderMatchMetricValues = buildUnnamed397(); } buildCounterGoogleCloudAiplatformV1TrajectoryInOrderMatchResults--; return o; @@ -30040,7 +30261,7 @@ void checkGoogleCloudAiplatformV1TrajectoryInOrderMatchResults( api.GoogleCloudAiplatformV1TrajectoryInOrderMatchResults o) { buildCounterGoogleCloudAiplatformV1TrajectoryInOrderMatchResults++; if (buildCounterGoogleCloudAiplatformV1TrajectoryInOrderMatchResults < 3) { - checkUnnamed395(o.trajectoryInOrderMatchMetricValues!); + checkUnnamed397(o.trajectoryInOrderMatchMetricValues!); } buildCounterGoogleCloudAiplatformV1TrajectoryInOrderMatchResults--; } @@ -30063,12 +30284,12 @@ void checkGoogleCloudAiplatformV1TrajectoryInOrderMatchSpec( } core.List - buildUnnamed396() => [ + buildUnnamed398() => [ buildGoogleCloudAiplatformV1TrajectoryPrecisionInstance(), buildGoogleCloudAiplatformV1TrajectoryPrecisionInstance(), ]; -void checkUnnamed396( +void checkUnnamed398( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1TrajectoryPrecisionInstance(o[0]); @@ -30081,7 +30302,7 @@ api.GoogleCloudAiplatformV1TrajectoryPrecisionInput final o = api.GoogleCloudAiplatformV1TrajectoryPrecisionInput(); buildCounterGoogleCloudAiplatformV1TrajectoryPrecisionInput++; if (buildCounterGoogleCloudAiplatformV1TrajectoryPrecisionInput < 3) { - o.instances = buildUnnamed396(); + o.instances = buildUnnamed398(); o.metricSpec = buildGoogleCloudAiplatformV1TrajectoryPrecisionSpec(); } buildCounterGoogleCloudAiplatformV1TrajectoryPrecisionInput--; @@ -30092,7 +30313,7 @@ void checkGoogleCloudAiplatformV1TrajectoryPrecisionInput( api.GoogleCloudAiplatformV1TrajectoryPrecisionInput o) { buildCounterGoogleCloudAiplatformV1TrajectoryPrecisionInput++; if (buildCounterGoogleCloudAiplatformV1TrajectoryPrecisionInput < 3) { - checkUnnamed396(o.instances!); + checkUnnamed398(o.instances!); checkGoogleCloudAiplatformV1TrajectoryPrecisionSpec(o.metricSpec!); } buildCounterGoogleCloudAiplatformV1TrajectoryPrecisionInput--; @@ -30146,12 +30367,12 @@ void checkGoogleCloudAiplatformV1TrajectoryPrecisionMetricValue( } core.List - buildUnnamed397() => [ + buildUnnamed399() => [ buildGoogleCloudAiplatformV1TrajectoryPrecisionMetricValue(), buildGoogleCloudAiplatformV1TrajectoryPrecisionMetricValue(), ]; -void checkUnnamed397( +void checkUnnamed399( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1TrajectoryPrecisionMetricValue(o[0]); @@ -30164,7 +30385,7 @@ api.GoogleCloudAiplatformV1TrajectoryPrecisionResults final o = api.GoogleCloudAiplatformV1TrajectoryPrecisionResults(); buildCounterGoogleCloudAiplatformV1TrajectoryPrecisionResults++; if (buildCounterGoogleCloudAiplatformV1TrajectoryPrecisionResults < 3) { - o.trajectoryPrecisionMetricValues = buildUnnamed397(); + o.trajectoryPrecisionMetricValues = buildUnnamed399(); } buildCounterGoogleCloudAiplatformV1TrajectoryPrecisionResults--; return o; @@ -30174,7 +30395,7 @@ void checkGoogleCloudAiplatformV1TrajectoryPrecisionResults( api.GoogleCloudAiplatformV1TrajectoryPrecisionResults o) { buildCounterGoogleCloudAiplatformV1TrajectoryPrecisionResults++; if (buildCounterGoogleCloudAiplatformV1TrajectoryPrecisionResults < 3) { - checkUnnamed397(o.trajectoryPrecisionMetricValues!); + checkUnnamed399(o.trajectoryPrecisionMetricValues!); } buildCounterGoogleCloudAiplatformV1TrajectoryPrecisionResults--; } @@ -30197,12 +30418,12 @@ void checkGoogleCloudAiplatformV1TrajectoryPrecisionSpec( } core.List - buildUnnamed398() => [ + buildUnnamed400() => [ buildGoogleCloudAiplatformV1TrajectoryRecallInstance(), buildGoogleCloudAiplatformV1TrajectoryRecallInstance(), ]; -void checkUnnamed398( +void checkUnnamed400( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1TrajectoryRecallInstance(o[0]); @@ -30215,7 +30436,7 @@ api.GoogleCloudAiplatformV1TrajectoryRecallInput final o = api.GoogleCloudAiplatformV1TrajectoryRecallInput(); buildCounterGoogleCloudAiplatformV1TrajectoryRecallInput++; if (buildCounterGoogleCloudAiplatformV1TrajectoryRecallInput < 3) { - o.instances = buildUnnamed398(); + o.instances = buildUnnamed400(); o.metricSpec = buildGoogleCloudAiplatformV1TrajectoryRecallSpec(); } buildCounterGoogleCloudAiplatformV1TrajectoryRecallInput--; @@ -30226,7 +30447,7 @@ void checkGoogleCloudAiplatformV1TrajectoryRecallInput( api.GoogleCloudAiplatformV1TrajectoryRecallInput o) { buildCounterGoogleCloudAiplatformV1TrajectoryRecallInput++; if (buildCounterGoogleCloudAiplatformV1TrajectoryRecallInput < 3) { - checkUnnamed398(o.instances!); + checkUnnamed400(o.instances!); checkGoogleCloudAiplatformV1TrajectoryRecallSpec(o.metricSpec!); } buildCounterGoogleCloudAiplatformV1TrajectoryRecallInput--; @@ -30280,12 +30501,12 @@ void checkGoogleCloudAiplatformV1TrajectoryRecallMetricValue( } core.List - buildUnnamed399() => [ + buildUnnamed401() => [ buildGoogleCloudAiplatformV1TrajectoryRecallMetricValue(), buildGoogleCloudAiplatformV1TrajectoryRecallMetricValue(), ]; -void checkUnnamed399( +void checkUnnamed401( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1TrajectoryRecallMetricValue(o[0]); @@ -30298,7 +30519,7 @@ api.GoogleCloudAiplatformV1TrajectoryRecallResults final o = api.GoogleCloudAiplatformV1TrajectoryRecallResults(); buildCounterGoogleCloudAiplatformV1TrajectoryRecallResults++; if (buildCounterGoogleCloudAiplatformV1TrajectoryRecallResults < 3) { - o.trajectoryRecallMetricValues = buildUnnamed399(); + o.trajectoryRecallMetricValues = buildUnnamed401(); } buildCounterGoogleCloudAiplatformV1TrajectoryRecallResults--; return o; @@ -30308,7 +30529,7 @@ void checkGoogleCloudAiplatformV1TrajectoryRecallResults( api.GoogleCloudAiplatformV1TrajectoryRecallResults o) { buildCounterGoogleCloudAiplatformV1TrajectoryRecallResults++; if (buildCounterGoogleCloudAiplatformV1TrajectoryRecallResults < 3) { - checkUnnamed399(o.trajectoryRecallMetricValues!); + checkUnnamed401(o.trajectoryRecallMetricValues!); } buildCounterGoogleCloudAiplatformV1TrajectoryRecallResults--; } @@ -30331,12 +30552,12 @@ void checkGoogleCloudAiplatformV1TrajectoryRecallSpec( } core.List - buildUnnamed400() => [ + buildUnnamed402() => [ buildGoogleCloudAiplatformV1TrajectorySingleToolUseInstance(), buildGoogleCloudAiplatformV1TrajectorySingleToolUseInstance(), ]; -void checkUnnamed400( +void checkUnnamed402( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1TrajectorySingleToolUseInstance(o[0]); @@ -30349,7 +30570,7 @@ api.GoogleCloudAiplatformV1TrajectorySingleToolUseInput final o = api.GoogleCloudAiplatformV1TrajectorySingleToolUseInput(); buildCounterGoogleCloudAiplatformV1TrajectorySingleToolUseInput++; if (buildCounterGoogleCloudAiplatformV1TrajectorySingleToolUseInput < 3) { - o.instances = buildUnnamed400(); + o.instances = buildUnnamed402(); o.metricSpec = buildGoogleCloudAiplatformV1TrajectorySingleToolUseSpec(); } buildCounterGoogleCloudAiplatformV1TrajectorySingleToolUseInput--; @@ -30360,7 +30581,7 @@ void checkGoogleCloudAiplatformV1TrajectorySingleToolUseInput( api.GoogleCloudAiplatformV1TrajectorySingleToolUseInput o) { buildCounterGoogleCloudAiplatformV1TrajectorySingleToolUseInput++; if (buildCounterGoogleCloudAiplatformV1TrajectorySingleToolUseInput < 3) { - checkUnnamed400(o.instances!); + checkUnnamed402(o.instances!); checkGoogleCloudAiplatformV1TrajectorySingleToolUseSpec(o.metricSpec!); } buildCounterGoogleCloudAiplatformV1TrajectorySingleToolUseInput--; @@ -30415,12 +30636,12 @@ void checkGoogleCloudAiplatformV1TrajectorySingleToolUseMetricValue( } core.List - buildUnnamed401() => [ + buildUnnamed403() => [ buildGoogleCloudAiplatformV1TrajectorySingleToolUseMetricValue(), buildGoogleCloudAiplatformV1TrajectorySingleToolUseMetricValue(), ]; -void checkUnnamed401( +void checkUnnamed403( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -30434,7 +30655,7 @@ api.GoogleCloudAiplatformV1TrajectorySingleToolUseResults final o = api.GoogleCloudAiplatformV1TrajectorySingleToolUseResults(); buildCounterGoogleCloudAiplatformV1TrajectorySingleToolUseResults++; if (buildCounterGoogleCloudAiplatformV1TrajectorySingleToolUseResults < 3) { - o.trajectorySingleToolUseMetricValues = buildUnnamed401(); + o.trajectorySingleToolUseMetricValues = buildUnnamed403(); } buildCounterGoogleCloudAiplatformV1TrajectorySingleToolUseResults--; return o; @@ -30444,7 +30665,7 @@ void checkGoogleCloudAiplatformV1TrajectorySingleToolUseResults( api.GoogleCloudAiplatformV1TrajectorySingleToolUseResults o) { buildCounterGoogleCloudAiplatformV1TrajectorySingleToolUseResults++; if (buildCounterGoogleCloudAiplatformV1TrajectorySingleToolUseResults < 3) { - checkUnnamed401(o.trajectorySingleToolUseMetricValues!); + checkUnnamed403(o.trajectorySingleToolUseMetricValues!); } buildCounterGoogleCloudAiplatformV1TrajectorySingleToolUseResults--; } @@ -30473,34 +30694,34 @@ void checkGoogleCloudAiplatformV1TrajectorySingleToolUseSpec( buildCounterGoogleCloudAiplatformV1TrajectorySingleToolUseSpec--; } -core.List buildUnnamed402() => [ +core.List buildUnnamed404() => [ buildGoogleCloudAiplatformV1Measurement(), buildGoogleCloudAiplatformV1Measurement(), ]; -void checkUnnamed402(core.List o) { +void checkUnnamed404(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Measurement(o[0]); checkGoogleCloudAiplatformV1Measurement(o[1]); } -core.List buildUnnamed403() => [ +core.List buildUnnamed405() => [ buildGoogleCloudAiplatformV1TrialParameter(), buildGoogleCloudAiplatformV1TrialParameter(), ]; -void checkUnnamed403(core.List o) { +void checkUnnamed405(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1TrialParameter(o[0]); checkGoogleCloudAiplatformV1TrialParameter(o[1]); } -core.Map buildUnnamed404() => { +core.Map buildUnnamed406() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed404(core.Map o) { +void checkUnnamed406(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -30523,12 +30744,12 @@ api.GoogleCloudAiplatformV1Trial buildGoogleCloudAiplatformV1Trial() { o.finalMeasurement = buildGoogleCloudAiplatformV1Measurement(); o.id = 'foo'; o.infeasibleReason = 'foo'; - o.measurements = buildUnnamed402(); + o.measurements = buildUnnamed404(); o.name = 'foo'; - o.parameters = buildUnnamed403(); + o.parameters = buildUnnamed405(); o.startTime = 'foo'; o.state = 'foo'; - o.webAccessUris = buildUnnamed404(); + o.webAccessUris = buildUnnamed406(); } buildCounterGoogleCloudAiplatformV1Trial--; return o; @@ -30558,12 +30779,12 @@ void checkGoogleCloudAiplatformV1Trial(api.GoogleCloudAiplatformV1Trial o) { o.infeasibleReason!, unittest.equals('foo'), ); - checkUnnamed402(o.measurements!); + checkUnnamed404(o.measurements!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed403(o.parameters!); + checkUnnamed405(o.parameters!); unittest.expect( o.startTime!, unittest.equals('foo'), @@ -30572,17 +30793,17 @@ void checkGoogleCloudAiplatformV1Trial(api.GoogleCloudAiplatformV1Trial o) { o.state!, unittest.equals('foo'), ); - checkUnnamed404(o.webAccessUris!); + checkUnnamed406(o.webAccessUris!); } buildCounterGoogleCloudAiplatformV1Trial--; } -core.List buildUnnamed405() => [ +core.List buildUnnamed407() => [ buildGoogleCloudAiplatformV1TrialParameter(), buildGoogleCloudAiplatformV1TrialParameter(), ]; -void checkUnnamed405(core.List o) { +void checkUnnamed407(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1TrialParameter(o[0]); checkGoogleCloudAiplatformV1TrialParameter(o[1]); @@ -30595,7 +30816,7 @@ api.GoogleCloudAiplatformV1TrialContext buildCounterGoogleCloudAiplatformV1TrialContext++; if (buildCounterGoogleCloudAiplatformV1TrialContext < 3) { o.description = 'foo'; - o.parameters = buildUnnamed405(); + o.parameters = buildUnnamed407(); } buildCounterGoogleCloudAiplatformV1TrialContext--; return o; @@ -30609,7 +30830,7 @@ void checkGoogleCloudAiplatformV1TrialContext( o.description!, unittest.equals('foo'), ); - checkUnnamed405(o.parameters!); + checkUnnamed407(o.parameters!); } buildCounterGoogleCloudAiplatformV1TrialContext--; } @@ -30639,18 +30860,18 @@ void checkGoogleCloudAiplatformV1TrialParameter( o.parameterId!, unittest.equals('foo'), ); - var casted75 = (o.value!) as core.Map; - unittest.expect(casted75, unittest.hasLength(3)); + var casted77 = (o.value!) as core.Map; + unittest.expect(casted77, unittest.hasLength(3)); unittest.expect( - casted75['list'], + casted77['list'], unittest.equals([1, 2, 3]), ); unittest.expect( - casted75['bool'], + casted77['bool'], unittest.equals(true), ); unittest.expect( - casted75['string'], + casted77['string'], unittest.equals('foo'), ); } @@ -30742,12 +30963,12 @@ void checkGoogleCloudAiplatformV1TuningDataStats( buildCounterGoogleCloudAiplatformV1TuningDataStats--; } -core.Map buildUnnamed406() => { +core.Map buildUnnamed408() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed406(core.Map o) { +void checkUnnamed408(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -30771,7 +30992,7 @@ api.GoogleCloudAiplatformV1TuningJob buildGoogleCloudAiplatformV1TuningJob() { o.endTime = 'foo'; o.error = buildGoogleRpcStatus(); o.experiment = 'foo'; - o.labels = buildUnnamed406(); + o.labels = buildUnnamed408(); o.name = 'foo'; o.serviceAccount = 'foo'; o.startTime = 'foo'; @@ -30812,7 +31033,7 @@ void checkGoogleCloudAiplatformV1TuningJob( o.experiment!, unittest.equals('foo'), ); - checkUnnamed406(o.labels!); + checkUnnamed408(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -30868,12 +31089,12 @@ void checkGoogleCloudAiplatformV1UndeployIndexRequest( buildCounterGoogleCloudAiplatformV1UndeployIndexRequest--; } -core.Map buildUnnamed407() => { +core.Map buildUnnamed409() => { 'x': 42, 'y': 42, }; -void checkUnnamed407(core.Map o) { +void checkUnnamed409(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -30892,7 +31113,7 @@ api.GoogleCloudAiplatformV1UndeployModelRequest buildCounterGoogleCloudAiplatformV1UndeployModelRequest++; if (buildCounterGoogleCloudAiplatformV1UndeployModelRequest < 3) { o.deployedModelId = 'foo'; - o.trafficSplit = buildUnnamed407(); + o.trafficSplit = buildUnnamed409(); } buildCounterGoogleCloudAiplatformV1UndeployModelRequest--; return o; @@ -30906,7 +31127,7 @@ void checkGoogleCloudAiplatformV1UndeployModelRequest( o.deployedModelId!, unittest.equals('foo'), ); - checkUnnamed407(o.trafficSplit!); + checkUnnamed409(o.trafficSplit!); } buildCounterGoogleCloudAiplatformV1UndeployModelRequest--; } @@ -31104,12 +31325,12 @@ void checkGoogleCloudAiplatformV1UploadRagFileResponse( buildCounterGoogleCloudAiplatformV1UploadRagFileResponse--; } -core.List buildUnnamed408() => [ +core.List buildUnnamed410() => [ buildGoogleCloudAiplatformV1IndexDatapoint(), buildGoogleCloudAiplatformV1IndexDatapoint(), ]; -void checkUnnamed408(core.List o) { +void checkUnnamed410(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1IndexDatapoint(o[0]); checkGoogleCloudAiplatformV1IndexDatapoint(o[1]); @@ -31121,7 +31342,7 @@ api.GoogleCloudAiplatformV1UpsertDatapointsRequest final o = api.GoogleCloudAiplatformV1UpsertDatapointsRequest(); buildCounterGoogleCloudAiplatformV1UpsertDatapointsRequest++; if (buildCounterGoogleCloudAiplatformV1UpsertDatapointsRequest < 3) { - o.datapoints = buildUnnamed408(); + o.datapoints = buildUnnamed410(); o.updateMask = 'foo'; } buildCounterGoogleCloudAiplatformV1UpsertDatapointsRequest--; @@ -31132,7 +31353,7 @@ void checkGoogleCloudAiplatformV1UpsertDatapointsRequest( api.GoogleCloudAiplatformV1UpsertDatapointsRequest o) { buildCounterGoogleCloudAiplatformV1UpsertDatapointsRequest++; if (buildCounterGoogleCloudAiplatformV1UpsertDatapointsRequest < 3) { - checkUnnamed408(o.datapoints!); + checkUnnamed410(o.datapoints!); unittest.expect( o.updateMask!, unittest.equals('foo'), @@ -31249,12 +31470,12 @@ void checkGoogleCloudAiplatformV1VertexAISearch( } core.List - buildUnnamed409() => [ + buildUnnamed411() => [ buildGoogleCloudAiplatformV1VertexRagStoreRagResource(), buildGoogleCloudAiplatformV1VertexRagStoreRagResource(), ]; -void checkUnnamed409( +void checkUnnamed411( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1VertexRagStoreRagResource(o[0]); @@ -31267,7 +31488,7 @@ api.GoogleCloudAiplatformV1VertexRagStore final o = api.GoogleCloudAiplatformV1VertexRagStore(); buildCounterGoogleCloudAiplatformV1VertexRagStore++; if (buildCounterGoogleCloudAiplatformV1VertexRagStore < 3) { - o.ragResources = buildUnnamed409(); + o.ragResources = buildUnnamed411(); o.ragRetrievalConfig = buildGoogleCloudAiplatformV1RagRetrievalConfig(); o.similarityTopK = 42; o.vectorDistanceThreshold = 42.0; @@ -31280,7 +31501,7 @@ void checkGoogleCloudAiplatformV1VertexRagStore( api.GoogleCloudAiplatformV1VertexRagStore o) { buildCounterGoogleCloudAiplatformV1VertexRagStore++; if (buildCounterGoogleCloudAiplatformV1VertexRagStore < 3) { - checkUnnamed409(o.ragResources!); + checkUnnamed411(o.ragResources!); checkGoogleCloudAiplatformV1RagRetrievalConfig(o.ragRetrievalConfig!); unittest.expect( o.similarityTopK!, @@ -31294,12 +31515,12 @@ void checkGoogleCloudAiplatformV1VertexRagStore( buildCounterGoogleCloudAiplatformV1VertexRagStore--; } -core.List buildUnnamed410() => [ +core.List buildUnnamed412() => [ 'foo', 'foo', ]; -void checkUnnamed410(core.List o) { +void checkUnnamed412(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -31318,7 +31539,7 @@ api.GoogleCloudAiplatformV1VertexRagStoreRagResource buildCounterGoogleCloudAiplatformV1VertexRagStoreRagResource++; if (buildCounterGoogleCloudAiplatformV1VertexRagStoreRagResource < 3) { o.ragCorpus = 'foo'; - o.ragFileIds = buildUnnamed410(); + o.ragFileIds = buildUnnamed412(); } buildCounterGoogleCloudAiplatformV1VertexRagStoreRagResource--; return o; @@ -31332,7 +31553,7 @@ void checkGoogleCloudAiplatformV1VertexRagStoreRagResource( o.ragCorpus!, unittest.equals('foo'), ); - checkUnnamed410(o.ragFileIds!); + checkUnnamed412(o.ragFileIds!); } buildCounterGoogleCloudAiplatformV1VertexRagStoreRagResource--; } @@ -31387,12 +31608,12 @@ void checkGoogleCloudAiplatformV1VoiceConfig( buildCounterGoogleCloudAiplatformV1VoiceConfig--; } -core.List buildUnnamed411() => [ +core.List buildUnnamed413() => [ buildGoogleCloudAiplatformV1NfsMount(), buildGoogleCloudAiplatformV1NfsMount(), ]; -void checkUnnamed411(core.List o) { +void checkUnnamed413(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1NfsMount(o[0]); checkGoogleCloudAiplatformV1NfsMount(o[1]); @@ -31407,7 +31628,7 @@ api.GoogleCloudAiplatformV1WorkerPoolSpec o.containerSpec = buildGoogleCloudAiplatformV1ContainerSpec(); o.diskSpec = buildGoogleCloudAiplatformV1DiskSpec(); o.machineSpec = buildGoogleCloudAiplatformV1MachineSpec(); - o.nfsMounts = buildUnnamed411(); + o.nfsMounts = buildUnnamed413(); o.pythonPackageSpec = buildGoogleCloudAiplatformV1PythonPackageSpec(); o.replicaCount = 'foo'; } @@ -31422,7 +31643,7 @@ void checkGoogleCloudAiplatformV1WorkerPoolSpec( checkGoogleCloudAiplatformV1ContainerSpec(o.containerSpec!); checkGoogleCloudAiplatformV1DiskSpec(o.diskSpec!); checkGoogleCloudAiplatformV1MachineSpec(o.machineSpec!); - checkUnnamed411(o.nfsMounts!); + checkUnnamed413(o.nfsMounts!); checkGoogleCloudAiplatformV1PythonPackageSpec(o.pythonPackageSpec!); unittest.expect( o.replicaCount!, @@ -31433,12 +31654,12 @@ void checkGoogleCloudAiplatformV1WorkerPoolSpec( } core.Map - buildUnnamed412() => { + buildUnnamed414() => { 'x': buildGoogleCloudAiplatformV1FeatureValue(), 'y': buildGoogleCloudAiplatformV1FeatureValue(), }; -void checkUnnamed412( +void checkUnnamed414( core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1FeatureValue(o['x']!); @@ -31452,7 +31673,7 @@ api.GoogleCloudAiplatformV1WriteFeatureValuesPayload buildCounterGoogleCloudAiplatformV1WriteFeatureValuesPayload++; if (buildCounterGoogleCloudAiplatformV1WriteFeatureValuesPayload < 3) { o.entityId = 'foo'; - o.featureValues = buildUnnamed412(); + o.featureValues = buildUnnamed414(); } buildCounterGoogleCloudAiplatformV1WriteFeatureValuesPayload--; return o; @@ -31466,18 +31687,18 @@ void checkGoogleCloudAiplatformV1WriteFeatureValuesPayload( o.entityId!, unittest.equals('foo'), ); - checkUnnamed412(o.featureValues!); + checkUnnamed414(o.featureValues!); } buildCounterGoogleCloudAiplatformV1WriteFeatureValuesPayload--; } core.List - buildUnnamed413() => [ + buildUnnamed415() => [ buildGoogleCloudAiplatformV1WriteFeatureValuesPayload(), buildGoogleCloudAiplatformV1WriteFeatureValuesPayload(), ]; -void checkUnnamed413( +void checkUnnamed415( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1WriteFeatureValuesPayload(o[0]); @@ -31490,7 +31711,7 @@ api.GoogleCloudAiplatformV1WriteFeatureValuesRequest final o = api.GoogleCloudAiplatformV1WriteFeatureValuesRequest(); buildCounterGoogleCloudAiplatformV1WriteFeatureValuesRequest++; if (buildCounterGoogleCloudAiplatformV1WriteFeatureValuesRequest < 3) { - o.payloads = buildUnnamed413(); + o.payloads = buildUnnamed415(); } buildCounterGoogleCloudAiplatformV1WriteFeatureValuesRequest--; return o; @@ -31500,7 +31721,7 @@ void checkGoogleCloudAiplatformV1WriteFeatureValuesRequest( api.GoogleCloudAiplatformV1WriteFeatureValuesRequest o) { buildCounterGoogleCloudAiplatformV1WriteFeatureValuesRequest++; if (buildCounterGoogleCloudAiplatformV1WriteFeatureValuesRequest < 3) { - checkUnnamed413(o.payloads!); + checkUnnamed415(o.payloads!); } buildCounterGoogleCloudAiplatformV1WriteFeatureValuesRequest--; } @@ -31523,12 +31744,12 @@ void checkGoogleCloudAiplatformV1WriteFeatureValuesResponse( } core.List - buildUnnamed414() => [ + buildUnnamed416() => [ buildGoogleCloudAiplatformV1WriteTensorboardRunDataRequest(), buildGoogleCloudAiplatformV1WriteTensorboardRunDataRequest(), ]; -void checkUnnamed414( +void checkUnnamed416( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1WriteTensorboardRunDataRequest(o[0]); @@ -31544,7 +31765,7 @@ api.GoogleCloudAiplatformV1WriteTensorboardExperimentDataRequest buildCounterGoogleCloudAiplatformV1WriteTensorboardExperimentDataRequest++; if (buildCounterGoogleCloudAiplatformV1WriteTensorboardExperimentDataRequest < 3) { - o.writeRunDataRequests = buildUnnamed414(); + o.writeRunDataRequests = buildUnnamed416(); } buildCounterGoogleCloudAiplatformV1WriteTensorboardExperimentDataRequest--; return o; @@ -31555,7 +31776,7 @@ void checkGoogleCloudAiplatformV1WriteTensorboardExperimentDataRequest( buildCounterGoogleCloudAiplatformV1WriteTensorboardExperimentDataRequest++; if (buildCounterGoogleCloudAiplatformV1WriteTensorboardExperimentDataRequest < 3) { - checkUnnamed414(o.writeRunDataRequests!); + checkUnnamed416(o.writeRunDataRequests!); } buildCounterGoogleCloudAiplatformV1WriteTensorboardExperimentDataRequest--; } @@ -31581,12 +31802,12 @@ void checkGoogleCloudAiplatformV1WriteTensorboardExperimentDataResponse( buildCounterGoogleCloudAiplatformV1WriteTensorboardExperimentDataResponse--; } -core.List buildUnnamed415() => [ +core.List buildUnnamed417() => [ buildGoogleCloudAiplatformV1TimeSeriesData(), buildGoogleCloudAiplatformV1TimeSeriesData(), ]; -void checkUnnamed415(core.List o) { +void checkUnnamed417(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1TimeSeriesData(o[0]); checkGoogleCloudAiplatformV1TimeSeriesData(o[1]); @@ -31599,7 +31820,7 @@ api.GoogleCloudAiplatformV1WriteTensorboardRunDataRequest buildCounterGoogleCloudAiplatformV1WriteTensorboardRunDataRequest++; if (buildCounterGoogleCloudAiplatformV1WriteTensorboardRunDataRequest < 3) { o.tensorboardRun = 'foo'; - o.timeSeriesData = buildUnnamed415(); + o.timeSeriesData = buildUnnamed417(); } buildCounterGoogleCloudAiplatformV1WriteTensorboardRunDataRequest--; return o; @@ -31613,7 +31834,7 @@ void checkGoogleCloudAiplatformV1WriteTensorboardRunDataRequest( o.tensorboardRun!, unittest.equals('foo'), ); - checkUnnamed415(o.timeSeriesData!); + checkUnnamed417(o.timeSeriesData!); } buildCounterGoogleCloudAiplatformV1WriteTensorboardRunDataRequest--; } @@ -31663,12 +31884,12 @@ void checkGoogleCloudAiplatformV1XraiAttribution( buildCounterGoogleCloudAiplatformV1XraiAttribution--; } -core.List buildUnnamed416() => [ +core.List buildUnnamed418() => [ buildGoogleCloudLocationLocation(), buildGoogleCloudLocationLocation(), ]; -void checkUnnamed416(core.List o) { +void checkUnnamed418(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudLocationLocation(o[0]); checkGoogleCloudLocationLocation(o[1]); @@ -31680,7 +31901,7 @@ api.GoogleCloudLocationListLocationsResponse final o = api.GoogleCloudLocationListLocationsResponse(); buildCounterGoogleCloudLocationListLocationsResponse++; if (buildCounterGoogleCloudLocationListLocationsResponse < 3) { - o.locations = buildUnnamed416(); + o.locations = buildUnnamed418(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudLocationListLocationsResponse--; @@ -31691,7 +31912,7 @@ void checkGoogleCloudLocationListLocationsResponse( api.GoogleCloudLocationListLocationsResponse o) { buildCounterGoogleCloudLocationListLocationsResponse++; if (buildCounterGoogleCloudLocationListLocationsResponse < 3) { - checkUnnamed416(o.locations!); + checkUnnamed418(o.locations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -31700,12 +31921,12 @@ void checkGoogleCloudLocationListLocationsResponse( buildCounterGoogleCloudLocationListLocationsResponse--; } -core.Map buildUnnamed417() => { +core.Map buildUnnamed419() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed417(core.Map o) { +void checkUnnamed419(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -31717,7 +31938,7 @@ void checkUnnamed417(core.Map o) { ); } -core.Map buildUnnamed418() => { +core.Map buildUnnamed420() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -31730,34 +31951,34 @@ core.Map buildUnnamed418() => { }, }; -void checkUnnamed418(core.Map o) { +void checkUnnamed420(core.Map o) { unittest.expect(o, unittest.hasLength(2)); - var casted76 = (o['x']!) as core.Map; - unittest.expect(casted76, unittest.hasLength(3)); + var casted78 = (o['x']!) as core.Map; + unittest.expect(casted78, unittest.hasLength(3)); unittest.expect( - casted76['list'], + casted78['list'], unittest.equals([1, 2, 3]), ); unittest.expect( - casted76['bool'], + casted78['bool'], unittest.equals(true), ); unittest.expect( - casted76['string'], + casted78['string'], unittest.equals('foo'), ); - var casted77 = (o['y']!) as core.Map; - unittest.expect(casted77, unittest.hasLength(3)); + var casted79 = (o['y']!) as core.Map; + unittest.expect(casted79, unittest.hasLength(3)); unittest.expect( - casted77['list'], + casted79['list'], unittest.equals([1, 2, 3]), ); unittest.expect( - casted77['bool'], + casted79['bool'], unittest.equals(true), ); unittest.expect( - casted77['string'], + casted79['string'], unittest.equals('foo'), ); } @@ -31768,9 +31989,9 @@ api.GoogleCloudLocationLocation buildGoogleCloudLocationLocation() { buildCounterGoogleCloudLocationLocation++; if (buildCounterGoogleCloudLocationLocation < 3) { o.displayName = 'foo'; - o.labels = buildUnnamed417(); + o.labels = buildUnnamed419(); o.locationId = 'foo'; - o.metadata = buildUnnamed418(); + o.metadata = buildUnnamed420(); o.name = 'foo'; } buildCounterGoogleCloudLocationLocation--; @@ -31784,12 +32005,12 @@ void checkGoogleCloudLocationLocation(api.GoogleCloudLocationLocation o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed417(o.labels!); + checkUnnamed419(o.labels!); unittest.expect( o.locationId!, unittest.equals('foo'), ); - checkUnnamed418(o.metadata!); + checkUnnamed420(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -31798,12 +32019,12 @@ void checkGoogleCloudLocationLocation(api.GoogleCloudLocationLocation o) { buildCounterGoogleCloudLocationLocation--; } -core.List buildUnnamed419() => [ +core.List buildUnnamed421() => [ 'foo', 'foo', ]; -void checkUnnamed419(core.List o) { +void checkUnnamed421(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -31821,7 +32042,7 @@ api.GoogleIamV1Binding buildGoogleIamV1Binding() { buildCounterGoogleIamV1Binding++; if (buildCounterGoogleIamV1Binding < 3) { o.condition = buildGoogleTypeExpr(); - o.members = buildUnnamed419(); + o.members = buildUnnamed421(); o.role = 'foo'; } buildCounterGoogleIamV1Binding--; @@ -31832,7 +32053,7 @@ void checkGoogleIamV1Binding(api.GoogleIamV1Binding o) { buildCounterGoogleIamV1Binding++; if (buildCounterGoogleIamV1Binding < 3) { checkGoogleTypeExpr(o.condition!); - checkUnnamed419(o.members!); + checkUnnamed421(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -31841,12 +32062,12 @@ void checkGoogleIamV1Binding(api.GoogleIamV1Binding o) { buildCounterGoogleIamV1Binding--; } -core.List buildUnnamed420() => [ +core.List buildUnnamed422() => [ buildGoogleIamV1Binding(), buildGoogleIamV1Binding(), ]; -void checkUnnamed420(core.List o) { +void checkUnnamed422(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleIamV1Binding(o[0]); checkGoogleIamV1Binding(o[1]); @@ -31857,7 +32078,7 @@ api.GoogleIamV1Policy buildGoogleIamV1Policy() { final o = api.GoogleIamV1Policy(); buildCounterGoogleIamV1Policy++; if (buildCounterGoogleIamV1Policy < 3) { - o.bindings = buildUnnamed420(); + o.bindings = buildUnnamed422(); o.etag = 'foo'; o.version = 42; } @@ -31868,7 +32089,7 @@ api.GoogleIamV1Policy buildGoogleIamV1Policy() { void checkGoogleIamV1Policy(api.GoogleIamV1Policy o) { buildCounterGoogleIamV1Policy++; if (buildCounterGoogleIamV1Policy < 3) { - checkUnnamed420(o.bindings!); + checkUnnamed422(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -31900,12 +32121,12 @@ void checkGoogleIamV1SetIamPolicyRequest(api.GoogleIamV1SetIamPolicyRequest o) { buildCounterGoogleIamV1SetIamPolicyRequest--; } -core.List buildUnnamed421() => [ +core.List buildUnnamed423() => [ 'foo', 'foo', ]; -void checkUnnamed421(core.List o) { +void checkUnnamed423(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -31923,7 +32144,7 @@ api.GoogleIamV1TestIamPermissionsResponse final o = api.GoogleIamV1TestIamPermissionsResponse(); buildCounterGoogleIamV1TestIamPermissionsResponse++; if (buildCounterGoogleIamV1TestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed421(); + o.permissions = buildUnnamed423(); } buildCounterGoogleIamV1TestIamPermissionsResponse--; return o; @@ -31933,17 +32154,17 @@ void checkGoogleIamV1TestIamPermissionsResponse( api.GoogleIamV1TestIamPermissionsResponse o) { buildCounterGoogleIamV1TestIamPermissionsResponse++; if (buildCounterGoogleIamV1TestIamPermissionsResponse < 3) { - checkUnnamed421(o.permissions!); + checkUnnamed423(o.permissions!); } buildCounterGoogleIamV1TestIamPermissionsResponse--; } -core.List buildUnnamed422() => [ +core.List buildUnnamed424() => [ buildGoogleLongrunningOperation(), buildGoogleLongrunningOperation(), ]; -void checkUnnamed422(core.List o) { +void checkUnnamed424(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleLongrunningOperation(o[0]); checkGoogleLongrunningOperation(o[1]); @@ -31956,7 +32177,7 @@ api.GoogleLongrunningListOperationsResponse buildCounterGoogleLongrunningListOperationsResponse++; if (buildCounterGoogleLongrunningListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed422(); + o.operations = buildUnnamed424(); } buildCounterGoogleLongrunningListOperationsResponse--; return o; @@ -31970,12 +32191,12 @@ void checkGoogleLongrunningListOperationsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed422(o.operations!); + checkUnnamed424(o.operations!); } buildCounterGoogleLongrunningListOperationsResponse--; } -core.Map buildUnnamed423() => { +core.Map buildUnnamed425() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -31988,39 +32209,39 @@ core.Map buildUnnamed423() => { }, }; -void checkUnnamed423(core.Map o) { +void checkUnnamed425(core.Map o) { unittest.expect(o, unittest.hasLength(2)); - var casted78 = (o['x']!) as core.Map; - unittest.expect(casted78, unittest.hasLength(3)); + var casted80 = (o['x']!) as core.Map; + unittest.expect(casted80, unittest.hasLength(3)); unittest.expect( - casted78['list'], + casted80['list'], unittest.equals([1, 2, 3]), ); unittest.expect( - casted78['bool'], + casted80['bool'], unittest.equals(true), ); unittest.expect( - casted78['string'], + casted80['string'], unittest.equals('foo'), ); - var casted79 = (o['y']!) as core.Map; - unittest.expect(casted79, unittest.hasLength(3)); + var casted81 = (o['y']!) as core.Map; + unittest.expect(casted81, unittest.hasLength(3)); unittest.expect( - casted79['list'], + casted81['list'], unittest.equals([1, 2, 3]), ); unittest.expect( - casted79['bool'], + casted81['bool'], unittest.equals(true), ); unittest.expect( - casted79['string'], + casted81['string'], unittest.equals('foo'), ); } -core.Map buildUnnamed424() => { +core.Map buildUnnamed426() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -32033,34 +32254,34 @@ core.Map buildUnnamed424() => { }, }; -void checkUnnamed424(core.Map o) { +void checkUnnamed426(core.Map o) { unittest.expect(o, unittest.hasLength(2)); - var casted80 = (o['x']!) as core.Map; - unittest.expect(casted80, unittest.hasLength(3)); + var casted82 = (o['x']!) as core.Map; + unittest.expect(casted82, unittest.hasLength(3)); unittest.expect( - casted80['list'], + casted82['list'], unittest.equals([1, 2, 3]), ); unittest.expect( - casted80['bool'], + casted82['bool'], unittest.equals(true), ); unittest.expect( - casted80['string'], + casted82['string'], unittest.equals('foo'), ); - var casted81 = (o['y']!) as core.Map; - unittest.expect(casted81, unittest.hasLength(3)); + var casted83 = (o['y']!) as core.Map; + unittest.expect(casted83, unittest.hasLength(3)); unittest.expect( - casted81['list'], + casted83['list'], unittest.equals([1, 2, 3]), ); unittest.expect( - casted81['bool'], + casted83['bool'], unittest.equals(true), ); unittest.expect( - casted81['string'], + casted83['string'], unittest.equals('foo'), ); } @@ -32072,9 +32293,9 @@ api.GoogleLongrunningOperation buildGoogleLongrunningOperation() { if (buildCounterGoogleLongrunningOperation < 3) { o.done = true; o.error = buildGoogleRpcStatus(); - o.metadata = buildUnnamed423(); + o.metadata = buildUnnamed425(); o.name = 'foo'; - o.response = buildUnnamed424(); + o.response = buildUnnamed426(); } buildCounterGoogleLongrunningOperation--; return o; @@ -32085,12 +32306,12 @@ void checkGoogleLongrunningOperation(api.GoogleLongrunningOperation o) { if (buildCounterGoogleLongrunningOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkGoogleRpcStatus(o.error!); - checkUnnamed423(o.metadata!); + checkUnnamed425(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed424(o.response!); + checkUnnamed426(o.response!); } buildCounterGoogleLongrunningOperation--; } @@ -32110,7 +32331,7 @@ void checkGoogleProtobufEmpty(api.GoogleProtobufEmpty o) { buildCounterGoogleProtobufEmpty--; } -core.Map buildUnnamed425() => { +core.Map buildUnnamed427() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -32123,47 +32344,47 @@ core.Map buildUnnamed425() => { }, }; -void checkUnnamed425(core.Map o) { +void checkUnnamed427(core.Map o) { unittest.expect(o, unittest.hasLength(2)); - var casted82 = (o['x']!) as core.Map; - unittest.expect(casted82, unittest.hasLength(3)); + var casted84 = (o['x']!) as core.Map; + unittest.expect(casted84, unittest.hasLength(3)); unittest.expect( - casted82['list'], + casted84['list'], unittest.equals([1, 2, 3]), ); unittest.expect( - casted82['bool'], + casted84['bool'], unittest.equals(true), ); unittest.expect( - casted82['string'], + casted84['string'], unittest.equals('foo'), ); - var casted83 = (o['y']!) as core.Map; - unittest.expect(casted83, unittest.hasLength(3)); + var casted85 = (o['y']!) as core.Map; + unittest.expect(casted85, unittest.hasLength(3)); unittest.expect( - casted83['list'], + casted85['list'], unittest.equals([1, 2, 3]), ); unittest.expect( - casted83['bool'], + casted85['bool'], unittest.equals(true), ); unittest.expect( - casted83['string'], + casted85['string'], unittest.equals('foo'), ); } -core.List> buildUnnamed426() => [ - buildUnnamed425(), - buildUnnamed425(), +core.List> buildUnnamed428() => [ + buildUnnamed427(), + buildUnnamed427(), ]; -void checkUnnamed426(core.List> o) { +void checkUnnamed428(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed425(o[0]); - checkUnnamed425(o[1]); + checkUnnamed427(o[0]); + checkUnnamed427(o[1]); } core.int buildCounterGoogleRpcStatus = 0; @@ -32172,7 +32393,7 @@ api.GoogleRpcStatus buildGoogleRpcStatus() { buildCounterGoogleRpcStatus++; if (buildCounterGoogleRpcStatus < 3) { o.code = 42; - o.details = buildUnnamed426(); + o.details = buildUnnamed428(); o.message = 'foo'; } buildCounterGoogleRpcStatus--; @@ -32186,7 +32407,7 @@ void checkGoogleRpcStatus(api.GoogleRpcStatus o) { o.code!, unittest.equals(42), ); - checkUnnamed426(o.details!); + checkUnnamed428(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -32323,12 +32544,12 @@ void checkGoogleTypeMoney(api.GoogleTypeMoney o) { buildCounterGoogleTypeMoney--; } -core.List buildUnnamed427() => [ +core.List buildUnnamed429() => [ 'foo', 'foo', ]; -void checkUnnamed427(core.List o) { +void checkUnnamed429(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -32340,12 +32561,12 @@ void checkUnnamed427(core.List o) { ); } -core.List buildUnnamed428() => [ +core.List buildUnnamed430() => [ 'foo', 'foo', ]; -void checkUnnamed428(core.List o) { +void checkUnnamed430(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -32357,12 +32578,12 @@ void checkUnnamed428(core.List o) { ); } -core.List buildUnnamed429() => [ +core.List buildUnnamed431() => [ 'foo', 'foo', ]; -void checkUnnamed429(core.List o) { +void checkUnnamed431(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -32374,12 +32595,12 @@ void checkUnnamed429(core.List o) { ); } -core.List buildUnnamed430() => [ +core.List buildUnnamed432() => [ 'foo', 'foo', ]; -void checkUnnamed430(core.List o) { +void checkUnnamed432(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -32391,12 +32612,12 @@ void checkUnnamed430(core.List o) { ); } -core.List buildUnnamed431() => [ +core.List buildUnnamed433() => [ 'foo', 'foo', ]; -void checkUnnamed431(core.List o) { +void checkUnnamed433(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -32408,12 +32629,12 @@ void checkUnnamed431(core.List o) { ); } -core.List buildUnnamed432() => [ +core.List buildUnnamed434() => [ 'foo', 'foo', ]; -void checkUnnamed432(core.List o) { +void checkUnnamed434(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -32425,12 +32646,12 @@ void checkUnnamed432(core.List o) { ); } -core.List buildUnnamed433() => [ +core.List buildUnnamed435() => [ 'foo', 'foo', ]; -void checkUnnamed433(core.List o) { +void checkUnnamed435(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -32442,12 +32663,12 @@ void checkUnnamed433(core.List o) { ); } -core.List buildUnnamed434() => [ +core.List buildUnnamed436() => [ 'foo', 'foo', ]; -void checkUnnamed434(core.List o) { +void checkUnnamed436(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -32459,12 +32680,12 @@ void checkUnnamed434(core.List o) { ); } -core.List buildUnnamed435() => [ +core.List buildUnnamed437() => [ 'foo', 'foo', ]; -void checkUnnamed435(core.List o) { +void checkUnnamed437(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -37944,6 +38165,46 @@ void main() { }); }); + unittest.group('obj-schema-GoogleCloudAiplatformV1ProbeGrpcAction', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudAiplatformV1ProbeGrpcAction(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudAiplatformV1ProbeGrpcAction.fromJson( + oJson as core.Map); + checkGoogleCloudAiplatformV1ProbeGrpcAction(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudAiplatformV1ProbeHttpGetAction', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudAiplatformV1ProbeHttpGetAction(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudAiplatformV1ProbeHttpGetAction.fromJson( + oJson as core.Map); + checkGoogleCloudAiplatformV1ProbeHttpGetAction(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudAiplatformV1ProbeHttpHeader', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudAiplatformV1ProbeHttpHeader(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudAiplatformV1ProbeHttpHeader.fromJson( + oJson as core.Map); + checkGoogleCloudAiplatformV1ProbeHttpHeader(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudAiplatformV1ProbeTcpSocketAction', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudAiplatformV1ProbeTcpSocketAction(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudAiplatformV1ProbeTcpSocketAction.fromJson( + oJson as core.Map); + checkGoogleCloudAiplatformV1ProbeTcpSocketAction(od); + }); + }); + unittest.group('obj-schema-GoogleCloudAiplatformV1PscAutomatedEndpoints', () { unittest.test('to-json--from-json', () async { final o = buildGoogleCloudAiplatformV1PscAutomatedEndpoints(); @@ -39543,6 +39804,19 @@ void main() { }); }); + unittest.group( + 'obj-schema-GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudAiplatformV1StreamQueryReasoningEngineRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest.fromJson( + oJson as core.Map); + checkGoogleCloudAiplatformV1StreamQueryReasoningEngineRequest(od); + }); + }); + unittest.group('obj-schema-GoogleCloudAiplatformV1StreamRawPredictRequest', () { unittest.test('to-json--from-json', () async { @@ -45176,7 +45450,7 @@ void main() { final mock = HttpServerMock(); final res = api.AiplatformApi(mock).projects.locations.datasets; final arg_dataset = 'foo'; - final arg_annotationFilters = buildUnnamed427(); + final arg_annotationFilters = buildUnnamed429(); final arg_annotationsFilter = 'foo'; final arg_annotationsLimit = 42; final arg_dataItemFilter = 'foo'; @@ -51703,7 +51977,7 @@ void main() { final res = api.AiplatformApi(mock).projects.locations.featureOnlineStores; final arg_resource = 'foo'; - final arg_permissions = buildUnnamed428(); + final arg_permissions = buildUnnamed430(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = req.url.path; @@ -52434,7 +52708,7 @@ void main() { .featureOnlineStores .featureViews; final arg_resource = 'foo'; - final arg_permissions = buildUnnamed429(); + final arg_permissions = buildUnnamed431(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = req.url.path; @@ -53738,7 +54012,7 @@ void main() { final mock = HttpServerMock(); final res = api.AiplatformApi(mock).projects.locations.featurestores; final arg_resource = 'foo'; - final arg_permissions = buildUnnamed430(); + final arg_permissions = buildUnnamed432(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = req.url.path; @@ -54568,7 +54842,7 @@ void main() { final res = api.AiplatformApi(mock).projects.locations.featurestores.entityTypes; final arg_resource = 'foo'; - final arg_permissions = buildUnnamed431(); + final arg_permissions = buildUnnamed433(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = req.url.path; @@ -63607,7 +63881,7 @@ void main() { final mock = HttpServerMock(); final res = api.AiplatformApi(mock).projects.locations.models; final arg_resource = 'foo'; - final arg_permissions = buildUnnamed432(); + final arg_permissions = buildUnnamed434(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = req.url.path; @@ -66256,7 +66530,7 @@ void main() { final res = api.AiplatformApi(mock).projects.locations.notebookRuntimeTemplates; final arg_resource = 'foo'; - final arg_permissions = buildUnnamed433(); + final arg_permissions = buildUnnamed435(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = req.url.path; @@ -71206,6 +71480,65 @@ void main() { checkGoogleCloudAiplatformV1QueryReasoningEngineResponse( response as api.GoogleCloudAiplatformV1QueryReasoningEngineResponse); }); + + unittest.test('method--streamQuery', () async { + final mock = HttpServerMock(); + final res = api.AiplatformApi(mock).projects.locations.reasoningEngines; + final arg_request = + buildGoogleCloudAiplatformV1StreamQueryReasoningEngineRequest(); + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest + .fromJson(json as core.Map); + checkGoogleCloudAiplatformV1StreamQueryReasoningEngineRequest(obj); + + final path = req.url.path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = req.url.query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildGoogleApiHttpBody()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.streamQuery(arg_request, arg_name, $fields: arg_$fields); + checkGoogleApiHttpBody(response as api.GoogleApiHttpBody); + }); }); unittest.group('resource-ProjectsLocationsReasoningEnginesOperationsResource', @@ -74333,7 +74666,7 @@ void main() { final mock = HttpServerMock(); final res = api.AiplatformApi(mock).projects.locations.tensorboards; final arg_tensorboard = 'foo'; - final arg_timeSeries = buildUnnamed434(); + final arg_timeSeries = buildUnnamed436(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = req.url.path; @@ -76909,7 +77242,7 @@ void main() { .runs .timeSeries; final arg_timeSeries = 'foo'; - final arg_blobIds = buildUnnamed435(); + final arg_blobIds = buildUnnamed437(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = req.url.path; diff --git a/generated/googleapis/test/datamigration/v1_test.dart b/generated/googleapis/test/datamigration/v1_test.dart index 448a1d1b9..da2e5ac26 100644 --- a/generated/googleapis/test/datamigration/v1_test.dart +++ b/generated/googleapis/test/datamigration/v1_test.dart @@ -4367,6 +4367,7 @@ api.RestartMigrationJobRequest buildRestartMigrationJobRequest() { buildCounterRestartMigrationJobRequest++; if (buildCounterRestartMigrationJobRequest < 3) { o.objectsFilter = buildMigrationJobObjectsConfig(); + o.restartFailedObjects = true; o.skipValidation = true; } buildCounterRestartMigrationJobRequest--; @@ -4377,6 +4378,7 @@ void checkRestartMigrationJobRequest(api.RestartMigrationJobRequest o) { buildCounterRestartMigrationJobRequest++; if (buildCounterRestartMigrationJobRequest < 3) { checkMigrationJobObjectsConfig(o.objectsFilter!); + unittest.expect(o.restartFailedObjects!, unittest.isTrue); unittest.expect(o.skipValidation!, unittest.isTrue); } buildCounterRestartMigrationJobRequest--; diff --git a/generated/googleapis/test/netapp/v1_test.dart b/generated/googleapis/test/netapp/v1_test.dart index 3a2e0aa02..d3f84f60b 100644 --- a/generated/googleapis/test/netapp/v1_test.dart +++ b/generated/googleapis/test/netapp/v1_test.dart @@ -225,6 +225,8 @@ api.Backup buildBackup() { o.description = 'foo'; o.labels = buildUnnamed4(); o.name = 'foo'; + o.satisfiesPzi = true; + o.satisfiesPzs = true; o.sourceSnapshot = 'foo'; o.sourceVolume = 'foo'; o.state = 'foo'; @@ -258,6 +260,8 @@ void checkBackup(api.Backup o) { o.name!, unittest.equals('foo'), ); + unittest.expect(o.satisfiesPzi!, unittest.isTrue); + unittest.expect(o.satisfiesPzs!, unittest.isTrue); unittest.expect( o.sourceSnapshot!, unittest.equals('foo'), @@ -2196,6 +2200,8 @@ api.StoragePool buildStoragePool() { o.network = 'foo'; o.psaRange = 'foo'; o.replicaZone = 'foo'; + o.satisfiesPzi = true; + o.satisfiesPzs = true; o.serviceLevel = 'foo'; o.state = 'foo'; o.stateDetails = 'foo'; @@ -2254,6 +2260,8 @@ void checkStoragePool(api.StoragePool o) { o.replicaZone!, unittest.equals('foo'), ); + unittest.expect(o.satisfiesPzi!, unittest.isTrue); + unittest.expect(o.satisfiesPzs!, unittest.isTrue); unittest.expect( o.serviceLevel!, unittest.equals('foo'), diff --git a/generated/googleapis/test/servicecontrol/v2_test.dart b/generated/googleapis/test/servicecontrol/v2_test.dart index fd15b2791..24e3a8c82 100644 --- a/generated/googleapis/test/servicecontrol/v2_test.dart +++ b/generated/googleapis/test/servicecontrol/v2_test.dart @@ -311,12 +311,57 @@ void checkCheckRequest(api.CheckRequest o) { buildCounterCheckRequest--; } -core.Map buildUnnamed6() => { +core.Map buildUnnamed6() => { + 'x': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + 'y': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + }; + +void checkUnnamed6(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + var casted5 = (o['x']!) as core.Map; + unittest.expect(casted5, unittest.hasLength(3)); + unittest.expect( + casted5['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted5['bool'], + unittest.equals(true), + ); + unittest.expect( + casted5['string'], + unittest.equals('foo'), + ); + var casted6 = (o['y']!) as core.Map; + unittest.expect(casted6, unittest.hasLength(3)); + unittest.expect( + casted6['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted6['bool'], + unittest.equals(true), + ); + unittest.expect( + casted6['string'], + unittest.equals('foo'), + ); +} + +core.Map buildUnnamed7() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed6(core.Map o) { +void checkUnnamed7(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -333,7 +378,8 @@ api.CheckResponse buildCheckResponse() { final o = api.CheckResponse(); buildCounterCheckResponse++; if (buildCounterCheckResponse < 3) { - o.headers = buildUnnamed6(); + o.dynamicMetadata = buildUnnamed6(); + o.headers = buildUnnamed7(); o.status = buildStatus(); } buildCounterCheckResponse--; @@ -343,18 +389,19 @@ api.CheckResponse buildCheckResponse() { void checkCheckResponse(api.CheckResponse o) { buildCounterCheckResponse++; if (buildCounterCheckResponse < 3) { - checkUnnamed6(o.headers!); + checkUnnamed6(o.dynamicMetadata!); + checkUnnamed7(o.headers!); checkStatus(o.status!); } buildCounterCheckResponse--; } -core.Map buildUnnamed7() => { +core.Map buildUnnamed8() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed7(core.Map o) { +void checkUnnamed8(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -372,7 +419,7 @@ api.Peer buildPeer() { buildCounterPeer++; if (buildCounterPeer < 3) { o.ip = 'foo'; - o.labels = buildUnnamed7(); + o.labels = buildUnnamed8(); o.port = 'foo'; o.principal = 'foo'; o.regionCode = 'foo'; @@ -388,7 +435,7 @@ void checkPeer(api.Peer o) { o.ip!, unittest.equals('foo'), ); - checkUnnamed7(o.labels!); + checkUnnamed8(o.labels!); unittest.expect( o.port!, unittest.equals('foo'), @@ -405,12 +452,12 @@ void checkPeer(api.Peer o) { buildCounterPeer--; } -core.List buildUnnamed8() => [ +core.List buildUnnamed9() => [ buildAttributeContext(), buildAttributeContext(), ]; -void checkUnnamed8(core.List o) { +void checkUnnamed9(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAttributeContext(o[0]); checkAttributeContext(o[1]); @@ -421,7 +468,7 @@ api.ReportRequest buildReportRequest() { final o = api.ReportRequest(); buildCounterReportRequest++; if (buildCounterReportRequest < 3) { - o.operations = buildUnnamed8(); + o.operations = buildUnnamed9(); o.serviceConfigId = 'foo'; } buildCounterReportRequest--; @@ -431,7 +478,7 @@ api.ReportRequest buildReportRequest() { void checkReportRequest(api.ReportRequest o) { buildCounterReportRequest++; if (buildCounterReportRequest < 3) { - checkUnnamed8(o.operations!); + checkUnnamed9(o.operations!); unittest.expect( o.serviceConfigId!, unittest.equals('foo'), @@ -440,7 +487,7 @@ void checkReportRequest(api.ReportRequest o) { buildCounterReportRequest--; } -core.Map buildUnnamed9() => { +core.Map buildUnnamed10() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -453,34 +500,34 @@ core.Map buildUnnamed9() => { }, }; -void checkUnnamed9(core.Map o) { +void checkUnnamed10(core.Map o) { unittest.expect(o, unittest.hasLength(2)); - var casted5 = (o['x']!) as core.Map; - unittest.expect(casted5, unittest.hasLength(3)); + var casted7 = (o['x']!) as core.Map; + unittest.expect(casted7, unittest.hasLength(3)); unittest.expect( - casted5['list'], + casted7['list'], unittest.equals([1, 2, 3]), ); unittest.expect( - casted5['bool'], + casted7['bool'], unittest.equals(true), ); unittest.expect( - casted5['string'], + casted7['string'], unittest.equals('foo'), ); - var casted6 = (o['y']!) as core.Map; - unittest.expect(casted6, unittest.hasLength(3)); + var casted8 = (o['y']!) as core.Map; + unittest.expect(casted8, unittest.hasLength(3)); unittest.expect( - casted6['list'], + casted8['list'], unittest.equals([1, 2, 3]), ); unittest.expect( - casted6['bool'], + casted8['bool'], unittest.equals(true), ); unittest.expect( - casted6['string'], + casted8['string'], unittest.equals('foo'), ); } @@ -490,7 +537,7 @@ api.ReportResponse buildReportResponse() { final o = api.ReportResponse(); buildCounterReportResponse++; if (buildCounterReportResponse < 3) { - o.extensions = buildUnnamed9(); + o.extensions = buildUnnamed10(); } buildCounterReportResponse--; return o; @@ -499,17 +546,17 @@ api.ReportResponse buildReportResponse() { void checkReportResponse(api.ReportResponse o) { buildCounterReportResponse++; if (buildCounterReportResponse < 3) { - checkUnnamed9(o.extensions!); + checkUnnamed10(o.extensions!); } buildCounterReportResponse--; } -core.Map buildUnnamed10() => { +core.Map buildUnnamed11() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed10(core.Map o) { +void checkUnnamed11(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -527,7 +574,7 @@ api.Request buildRequest() { buildCounterRequest++; if (buildCounterRequest < 3) { o.auth = buildAuth(); - o.headers = buildUnnamed10(); + o.headers = buildUnnamed11(); o.host = 'foo'; o.id = 'foo'; o.method = 'foo'; @@ -547,7 +594,7 @@ void checkRequest(api.Request o) { buildCounterRequest++; if (buildCounterRequest < 3) { checkAuth(o.auth!); - checkUnnamed10(o.headers!); + checkUnnamed11(o.headers!); unittest.expect( o.host!, unittest.equals('foo'), @@ -592,12 +639,12 @@ void checkRequest(api.Request o) { buildCounterRequest--; } -core.Map buildUnnamed11() => { +core.Map buildUnnamed12() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed11(core.Map o) { +void checkUnnamed12(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -609,12 +656,12 @@ void checkUnnamed11(core.Map o) { ); } -core.Map buildUnnamed12() => { +core.Map buildUnnamed13() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed12(core.Map o) { +void checkUnnamed13(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -631,12 +678,12 @@ api.Resource buildResource() { final o = api.Resource(); buildCounterResource++; if (buildCounterResource < 3) { - o.annotations = buildUnnamed11(); + o.annotations = buildUnnamed12(); o.createTime = 'foo'; o.deleteTime = 'foo'; o.displayName = 'foo'; o.etag = 'foo'; - o.labels = buildUnnamed12(); + o.labels = buildUnnamed13(); o.location = 'foo'; o.name = 'foo'; o.service = 'foo'; @@ -651,7 +698,7 @@ api.Resource buildResource() { void checkResource(api.Resource o) { buildCounterResource++; if (buildCounterResource < 3) { - checkUnnamed11(o.annotations!); + checkUnnamed12(o.annotations!); unittest.expect( o.createTime!, unittest.equals('foo'), @@ -668,7 +715,7 @@ void checkResource(api.Resource o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed12(o.labels!); + checkUnnamed13(o.labels!); unittest.expect( o.location!, unittest.equals('foo'), @@ -739,12 +786,12 @@ void checkResourceInfo(api.ResourceInfo o) { buildCounterResourceInfo--; } -core.Map buildUnnamed13() => { +core.Map buildUnnamed14() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed13(core.Map o) { +void checkUnnamed14(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -763,7 +810,7 @@ api.Response buildResponse() { if (buildCounterResponse < 3) { o.backendLatency = 'foo'; o.code = 'foo'; - o.headers = buildUnnamed13(); + o.headers = buildUnnamed14(); o.size = 'foo'; o.time = 'foo'; } @@ -782,7 +829,7 @@ void checkResponse(api.Response o) { o.code!, unittest.equals('foo'), ); - checkUnnamed13(o.headers!); + checkUnnamed14(o.headers!); unittest.expect( o.size!, unittest.equals('foo'), @@ -795,7 +842,7 @@ void checkResponse(api.Response o) { buildCounterResponse--; } -core.Map buildUnnamed14() => { +core.Map buildUnnamed15() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -808,47 +855,47 @@ core.Map buildUnnamed14() => { }, }; -void checkUnnamed14(core.Map o) { +void checkUnnamed15(core.Map o) { unittest.expect(o, unittest.hasLength(2)); - var casted7 = (o['x']!) as core.Map; - unittest.expect(casted7, unittest.hasLength(3)); + var casted9 = (o['x']!) as core.Map; + unittest.expect(casted9, unittest.hasLength(3)); unittest.expect( - casted7['list'], + casted9['list'], unittest.equals([1, 2, 3]), ); unittest.expect( - casted7['bool'], + casted9['bool'], unittest.equals(true), ); unittest.expect( - casted7['string'], + casted9['string'], unittest.equals('foo'), ); - var casted8 = (o['y']!) as core.Map; - unittest.expect(casted8, unittest.hasLength(3)); + var casted10 = (o['y']!) as core.Map; + unittest.expect(casted10, unittest.hasLength(3)); unittest.expect( - casted8['list'], + casted10['list'], unittest.equals([1, 2, 3]), ); unittest.expect( - casted8['bool'], + casted10['bool'], unittest.equals(true), ); unittest.expect( - casted8['string'], + casted10['string'], unittest.equals('foo'), ); } -core.List> buildUnnamed15() => [ - buildUnnamed14(), - buildUnnamed14(), +core.List> buildUnnamed16() => [ + buildUnnamed15(), + buildUnnamed15(), ]; -void checkUnnamed15(core.List> o) { +void checkUnnamed16(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed14(o[0]); - checkUnnamed14(o[1]); + checkUnnamed15(o[0]); + checkUnnamed15(o[1]); } core.int buildCounterStatus = 0; @@ -857,7 +904,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed15(); + o.details = buildUnnamed16(); o.message = 'foo'; } buildCounterStatus--; @@ -871,7 +918,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed15(o.details!); + checkUnnamed16(o.details!); unittest.expect( o.message!, unittest.equals('foo'),